22 : QDialog( parent, fl )
23 , mChar( QChar::Null )
33 mCharSelectLabelFont->setText( QStringLiteral(
"%1 %2" ).arg( font.family(), style ) );
37 mCharSelectScrollArea->viewport()->update();
39 QApplication::setOverrideCursor( Qt::ArrowCursor );
41 QApplication::restoreOverrideCursor();
43 if ( res == QDialog::Accepted )
45 if ( !
mChar.isNull() && gotChar )
53 void QgsCharacterSelectorDialog::setCharacter( QChar chr )
QgsCharacterSelectorDialog(QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
CharacterWidget * mCharWidget
const QChar & selectCharacter(bool *gotChar, const QFont &font, const QString &style)