QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsCharacterSelectorDialog Class Reference

A dialog for selecting a single character from a single font. More...

#include <qgscharacterselectordialog.h>

Inheritance diagram for QgsCharacterSelectorDialog:

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.

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 36 of file qgscharacterselectordialog.h.

Constructor & Destructor Documentation

◆ QgsCharacterSelectorDialog()

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

Definition at line 23 of file qgscharacterselectordialog.cpp.

Member Function Documentation

◆ selectCharacter

QChar QgsCharacterSelectorDialog::selectCharacter ( bool * gotChar,
const QFont & font,
const QString & style,
QChar initialSelection = QChar() )
slot

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 34 of file qgscharacterselectordialog.cpp.

Member Data Documentation

◆ mChar

QChar QgsCharacterSelectorDialog::mChar
protected

Definition at line 56 of file qgscharacterselectordialog.h.

◆ mCharWidget

CharacterWidget* QgsCharacterSelectorDialog::mCharWidget = nullptr
protected

Definition at line 57 of file qgscharacterselectordialog.h.


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