Review Request: Add KFontDialog->setSampleText()

Thomas Lübking thomas.luebking at web.de
Sun Jan 1 17:35:34 GMT 2012



> On Jan. 1, 2012, 2:49 p.m., Albert Astals Cid wrote:
> > As far as i understand, this is new api and has to go into frameworks only, not 4.8 since that's basically just a bugfixed 4.7.x

can interim be easily compensated by 

QList<KFontChooser*> chooserList = myDialog->findChildren<KFontChooser*>();
if (!chooserList.isEmpty())
   chooserList.at(0)->setSampleText("iIlLoO0");


- Thomas


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103357/#review9405
-----------------------------------------------------------


On Dec. 8, 2011, 4:11 a.m., Kurt Hindenburg wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103357/
> -----------------------------------------------------------
> 
> (Updated Dec. 8, 2011, 4:11 a.m.)
> 
> 
> Review request for kdelibs.
> 
> 
> Description
> -------
> 
> Currently there is no way to  change the sample text in KFontDialog.  I would like to change the sample text in Konsole to display characters that may appear similar in some fonts (iIlLoO0).
> 
> 
> Diffs
> -----
> 
>   kdeui/fonts/kfontdialog.h 371345e 
>   kdeui/fonts/kfontdialog.cpp efd6a35 
> 
> Diff: http://git.reviewboard.kde.org/r/103357/diff/diff
> 
> 
> Testing
> -------
> 
> Compiled on master branch and testing in Konsole.
> 
> 
> Thanks,
> 
> Kurt Hindenburg
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120101/9053f152/attachment.htm>


More information about the kde-core-devel mailing list