QGIS API Documentation 3.41.0-Master (181b2f43d8e)
Loading...
Searching...
No Matches
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.
 

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 22 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 33 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: