QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Public Slots | Public Member Functions | Protected Attributes | List of all members
QgsCharacterSelectorDialog Class Reference

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

#include <qgscharacterselectordialog.h>

Inheritance diagram for QgsCharacterSelectorDialog:
Inheritance graph
[legend]

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() 
)
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 32 of file qgscharacterselectordialog.cpp.

Member Data Documentation

◆ mChar

QChar QgsCharacterSelectorDialog::mChar
protected

Definition at line 54 of file qgscharacterselectordialog.h.

◆ mCharWidget

CharacterWidget* QgsCharacterSelectorDialog::mCharWidget = nullptr
protected

Definition at line 55 of file qgscharacterselectordialog.h.


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