Class: QgsCharacterSelectorDialog

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

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.gui.QgsCharacterSelectorDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

Methods

selectCharacter

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 = '')

Return type:

(str, Optional[bool])