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 );
43 const int res = exec();
44 QApplication::restoreOverrideCursor();
46 if ( res == QDialog::Accepted )
48 if ( !
mChar.isNull() && gotChar )
56 void QgsCharacterSelectorDialog::setCharacter( QChar chr )