QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Slots | Public Member Functions | Protected Attributes | List of all members
QgsCharacterSelectorDialog Class Reference

#include <qgscharacterselectordialog.h>

Inheritance diagram for QgsCharacterSelectorDialog:
Inheritance graph

Public Slots

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. More...

Public Member Functions

 QgsCharacterSelectorDialog (QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)

Protected Attributes

QChar mChar
CharacterWidgetmCharWidget = nullptr

Detailed Description

A dialog for selecting a single character from a single font

Definition at line 34 of file qgscharacterselectordialog.h.

Constructor & Destructor Documentation

◆ QgsCharacterSelectorDialog()

QgsCharacterSelectorDialog::QgsCharacterSelectorDialog ( QWidget *  parent = nullptr,
Qt::WindowFlags  fl = QgsGuiUtils::ModalDialogFlags 

Definition at line 21 of file qgscharacterselectordialog.cpp.

Member Function Documentation

◆ selectCharacter

QChar QgsCharacterSelectorDialog::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.

If initialSelection is specified, then that character will be initially selected in the dialog.

Definition at line 32 of file qgscharacterselectordialog.cpp.

Member Data Documentation

◆ mChar

QChar QgsCharacterSelectorDialog::mChar

Definition at line 54 of file qgscharacterselectordialog.h.

◆ mCharWidget

CharacterWidget* QgsCharacterSelectorDialog::mCharWidget = nullptr

Definition at line 55 of file qgscharacterselectordialog.h.

The documentation for this class was generated from the following files: