Recommend that QgsFontButton is used instead of getFont

This commit is contained in:
Nyall Dawson 2017-07-06 19:42:54 +10:00
parent 43f11f4fa0
commit 49ad7836d3

View File

@ -123,7 +123,11 @@ namespace QgsGuiUtils
QString GUI_EXPORT createFileFilter_( QString const &format );
/**
* Show font selection dialog
* Show font selection dialog.
*
* It is strongly recommended that you do not use this method, and instead use the standard
* QgsFontButton widget to allow users consistent font selection behavior.
*
* \param ok true on ok, false on cancel
* \param initial initial font
* \param title optional dialog title