Class: QgsCharacterSelectorDialog¶
A dialog for selecting a single character from a single font.
Class Hierarchy¶
Base classes¶
Methods
Opens the dialog modally and returns when the user has selected a character. |
- class qgis.gui.QgsCharacterSelectorDialog[source]¶
Bases:
QDialog
- selectCharacter(self, font: QFont, style: str | None, initialSelection: str = '')[source]¶
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.- Parameters:
font (QFont)
style (Optional[str])
initialSelection (str = '') -> (str)