KFontDialog::getFontAndText() improvement

Jarosław Staniek js at iidea.pl
Sat May 14 14:23:07 BST 2005


At least I found it usable to have 'theString' arg. displayed in a chooser 
when using KFontDialog::getFontAndText():

http://developer.kde.org/documentation/library/cvs-api/kdeui/html/kfontdialog_8cpp-source.html#l00778

Currently 'theString' is not displayed, it's only filled with text from the 
chooser after Accept. The proposal is to add in line 786:

if (!theString.isEmpty())
	dlg.chooser->setSampleText(theString);

-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska / Kexi Team
  http://www.openoffice.com.pl  |  http://www.kexi-project.org
  KDElibs/Windows: http://wiki.kde.org/tiki-index.php?page=KDElibs+for+win32




More information about the kde-core-devel mailing list