Subgroup: Options

Class: QgsOptionsWidgetFactory

class qgis.gui.QgsOptionsWidgetFactory

Bases: PyQt5.QtCore.QObject

Constructor

QgsOptionsWidgetFactory(title: str, icon: QIcon) Constructor

Methods

blockSignals
childEvent
children
connectNotify
createWidget Factory function to create the widget on demand as needed by the options dialog.
customEvent
deleteLater
disconnect
disconnectNotify
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
event
eventFilter
findChild findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
findChildren findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
icon The icon that will be shown in the UI for the panel.
inherits
installEventFilter
isSignalConnected
isWidgetType
isWindowType
killTimer
metaObject
moveToThread
objectName
parent
property
pyqtConfigure Each keyword argument is either the name of a Qt property or a Qt signal.
receivers
removeEventFilter
sender
senderSignalIndex
setIcon Set the icon to show in the interface for the factory object.
setObjectName
setParent
setProperty
setTitle Set the title for the interface.
signalsBlocked
startTimer
thread
timerEvent
title The title of the panel.
tr

Attributes

destroyed destroyed(self, QObject = None) [signal]
objectNameChanged objectNameChanged(self, str) [signal]
staticMetaObject
childEvent()
connectNotify()
createWidget(self, parent: QWidget = None) → QgsOptionsPageWidget

Factory function to create the widget on demand as needed by the options dialog.

Parameters:parent – The parent of the widget.
Returns:A new widget to show as a page in the options dialog.
customEvent()
disconnectNotify()
icon(self) → QIcon

The icon that will be shown in the UI for the panel.

Returns:A QIcon for the panel icon.

See also

setIcon()

isSignalConnected()
receivers()
sender()
senderSignalIndex()
setIcon(self, icon: QIcon)

Set the icon to show in the interface for the factory object.

See also

icon()

setTitle(self, title: str)

Set the title for the interface.

See also

title()

timerEvent()
title(self) → str

The title of the panel.

See also

setTitle()