Review Request: Add KFontDialog->setSampleText()

Kurt Hindenburg kurt.hindenburg at gmail.com
Sun Jan 1 19:36:27 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
> 
> Thomas L├╝bking wrote:
>     can interim be easily compensated by 
>     
>     QList<KFontChooser*> chooserList = myDialog->findChildren<KFontChooser*>();
>     if (!chooserList.isEmpty())
>        chooserList.at(0)->setSampleText("iIlLoO0");

Thanks for this - I'll use it in the mean time.


- Kurt


-----------------------------------------------------------
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/d210a8af/attachment.htm>


More information about the kde-core-devel mailing list