Class: QgsCharacterSelectorDialog

class qgis.gui.QgsCharacterSelectorDialog

Bases: PyQt5.QtWidgets.QDialog

A dialog for selecting a single character from a single font

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
selectCharacter(self, font: QFont, style: str, initialSelection: str = '') → Tuple[str, bool]

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 (str) –

  • initialSelection (str = '') –

Return type

Tuple[str, bool]

sender()
senderSignalIndex()
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()