Class: QgsNumericFormatSelectorWidget

class qgis.gui.QgsNumericFormatSelectorWidget(parent: QWidget = None)

Bases: QgsPanelWidget

Constructor for QgsNumericFormatSelectorWidget with the specified parent widget.

A widget which allows choice of numeric formats and the properties of them.

New in version 3.12.

Parameters

parent

actionEvent()
changeEvent()
changed

Emitted whenever the format configured55 in the widget is changed. [signal]

childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
format(self)QgsNumericFormat

Returns a new format object representing the settings currently configured in the widget.

The caller takes ownership of the returned object.

Return type

QgsNumericFormat

hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
setFormat(self, format: QgsNumericFormat)

Sets the format to show in the widget.

Parameters

format (QgsNumericFormat) –

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