22   : QDialog( parent, fl )
 
   23   , mChar( QChar::Null )
 
   28   mCharSelectScrollArea->setVerticalOnly( 
true );
 
   34   mCharSelectLabelFont->setText( QStringLiteral( 
"%1 %2" ).arg( font.family(), style ) );
 
   38   mCharSelectScrollArea->viewport()->update();
 
   42   QApplication::setOverrideCursor( Qt::ArrowCursor );
 
   44   QApplication::restoreOverrideCursor();
 
   46   if ( res == QDialog::Accepted )
 
   48     if ( !
mChar.isNull() && gotChar )
 
   56 void QgsCharacterSelectorDialog::setCharacter( QChar chr )
 
CharacterWidget * mCharWidget
QChar selectCharacter(bool *gotChar, const QFont &font, const QString &style, QChar initialSelection=QChar())
Opens the dialog modally and returns when the user has selected a character.
QgsCharacterSelectorDialog(QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)