ewoksorange.gui.widgets.parameter_form.ParameterForm#

class ewoksorange.gui.widgets.parameter_form.ParameterForm(*args, margin=0, spacing=4, **kwargs)[source]#

Bases: QWidget

DrawChildren = 2#
DrawWindowBackground = 1#
IgnoreMask = 4#
class PaintDeviceMetric(*values)#

Bases: Enum

PdmDepth = 6#
PdmDevicePixelRatio = 11#
PdmDevicePixelRatioF_EncodedA = 13#
PdmDevicePixelRatioF_EncodedB = 14#
PdmDevicePixelRatioScaled = 12#
PdmDpiX = 7#
PdmDpiY = 8#
PdmHeight = 2#
PdmHeightMM = 4#
PdmNumColors = 5#
PdmPhysicalDpiX = 9#
PdmPhysicalDpiY = 10#
PdmWidth = 1#
PdmWidthMM = 3#
PdmDepth = 6#
PdmDevicePixelRatio = 11#
PdmDevicePixelRatioF_EncodedA = 13#
PdmDevicePixelRatioF_EncodedB = 14#
PdmDevicePixelRatioScaled = 12#
PdmDpiX = 7#
PdmDpiY = 8#
PdmHeight = 2#
PdmHeightMM = 4#
PdmNumColors = 5#
PdmPhysicalDpiX = 9#
PdmPhysicalDpiY = 10#
PdmWidth = 1#
PdmWidthMM = 3#
class RenderFlag(*values)#

Bases: Flag

DrawChildren = 2#
DrawWindowBackground = 1#
IgnoreMask = 4#
classmethod acceptDrops(self) bool#
classmethod accessibleDescription(self) str#
classmethod accessibleIdentifier(self) str#
classmethod accessibleName(self) str#
classmethod actionEvent(self, a0: QActionEvent | None)#
classmethod actions(self) list[QAction]#
classmethod activateWindow(self)#
classmethod addAction(self, icon: QIcon, text: str | None) QAction | None#
classmethod addAction(self, icon: QIcon, text: str | None, slot: PYQT_SLOT, type: Qt.ConnectionType = Qt.AutoConnection) QAction | None
classmethod addAction(self, icon: QIcon, text: str | None, shortcut: QKeySequence | QKeySequence.StandardKey | str | None | int) QAction | None
classmethod addAction(self, icon: QIcon, text: str | None, shortcut: QKeySequence | QKeySequence.StandardKey | str | None | int, slot: PYQT_SLOT, type: Qt.ConnectionType = Qt.AutoConnection) QAction | None
classmethod addAction(self, text: str | None) QAction | None
classmethod addAction(self, text: str | None, shortcut: QKeySequence | QKeySequence.StandardKey | str | None | int) QAction | None
classmethod addAction(self, text: str | None, slot: PYQT_SLOT, type: Qt.ConnectionType = Qt.AutoConnection) QAction | None
classmethod addAction(self, text: str | None, shortcut: QKeySequence | QKeySequence.StandardKey | str | None | int, slot: PYQT_SLOT, type: Qt.ConnectionType = Qt.AutoConnection) QAction | None
classmethod addAction(self, action: QAction | None)
classmethod addActions(self, actions: Iterable[QAction])#
addParameter(name, value=<MISSING_DATA>, value_for_type='', value_change_callback=None, label=None, readonly=None, enabled=None, select=None, select_label='...', checked=None, checkbox_label='checked', serialize=<function _default_serialize>, deserialize=<function _default_deserialize>, bool_label='')[source]#

Add one row to the form.

Each row contains: - a label widget (left column) - a value widget (centre column): type determined by value_for_type - an optional select button (right column): opened when select is set - an optional checkbox (far-right column): present when checked is set

Parameters#

name:

Identifier of the row

value:

Initial value displayed in the widget. Defaults to MISSING_DATA.

value_for_type:

Determines the widget type: - str → QLineEdit - bool → QCheckBox - numbers.Integral → QSpinBox - numbers.Real → QDoubleSpinBox - Sequence → QComboBox (items are the choices)

value_change_callback:

Called with no arguments whenever the user edits the value. When provided, readonly defaults to False; otherwise True.

label:

Text shown in the label widget. Defaults to name.

readonly:

When True the value widget is not editable. Default: True when no value_change_callback, False otherwise.

enabled:

When False all widgets in the row are greyed out. Default: True.

select:

Adds a "..." button that opens a dialog. See SelectMode. Only valid when value_for_type is a str.

select_label:

Text shown on the select button. Default: "...".

checked:

When set, adds a checkbox in the far-right column initialised to this value. Its meaning is application-defined.

checkbox_label:

Text shown next to the optional checkbox. Default: "checked".

serialize:

Converts the parameter value to a value the widget can display (str, number, or bool). Identity by default.

deserialize:

Converts the widget’s internal value back to a parameter value. Identity by default. Should raise on invalid input so the form can fall back to MISSING_DATA.

bool_label:

Text shown inside the QCheckBox when value_for_type is a bool. Default: "".

type name:

str

param name:

type value:

Any

param value:

type value_for_type:

Any

param value_for_type:

type value_change_callback:

Optional[Callable]

param value_change_callback:

type label:

Optional[str]

param label:

type readonly:

Optional[bool]

param readonly:

type enabled:

Optional[bool]

param enabled:

type select:

Union[SelectMode, str, None]

param select:

type select_label:

str

param select_label:

type checked:

Optional[bool]

param checked:

type checkbox_label:

str

param checkbox_label:

type serialize:

Callable[[Any], Union[str, Number, bool, MissingData]]

param serialize:

type deserialize:

Callable[[Union[str, Number, bool, MissingData]], Any]

param deserialize:

type bool_label:

str

param bool_label:

addStretch()[source]#

Append a stretchable blank row to the form

classmethod adjustSize(self)#
classmethod autoFillBackground(self) bool#
classmethod backgroundRole(self) QPalette.ColorRole#
classmethod baseSize(self) QSize#
classmethod blockSignals(self, b: bool) bool#
classmethod changeEvent(self, a0: QEvent | None)#
classmethod childAt(self, p: QPoint) QWidget | None#
classmethod childAt(self, p: QPointF) QWidget | None
classmethod childAt(self, ax: int, ay: int) QWidget | None
classmethod childEvent(self, a0: QChildEvent | None)#
classmethod children(self) list[QObject]#
classmethod childrenRect(self) QRect#
classmethod childrenRegion(self) QRegion#
classmethod clearFocus(self)#
classmethod clearMask(self)#
classmethod close(self) bool#
classmethod closeEvent(self, a0: QCloseEvent | None)#
classmethod colorCount(self) int#
classmethod connectNotify(self, signal: QMetaMethod)#
classmethod contentsMargins(self) QMargins#
classmethod contentsRect(self) QRect#
classmethod contextMenuEvent(self, a0: QContextMenuEvent | None)#
classmethod contextMenuPolicy(self) Qt.ContextMenuPolicy#
classmethod create(self, window: PyQt6.sip.voidptr = None, initializeWindow: bool = True, destroyOldWindow: bool = True)#
classmethod createWindowContainer(window: QWindow | None, parent: QWidget | None = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget#
classmethod cursor(self) QCursor#
customContextMenuRequested#

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

classmethod customEvent(self, a0: QEvent | None)#
classmethod deleteLater(self)#
classmethod depth(self) int#
classmethod destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)#
destroyed#

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

classmethod devType(self) int#
classmethod devicePixelRatio(self) float#
classmethod devicePixelRatioF(self) float#
classmethod devicePixelRatioFScale() float#
classmethod disconnect(a0: QMetaObject.Connection) bool#
classmethod disconnect(self)
classmethod disconnectNotify(self, signal: QMetaMethod)#
classmethod dragEnterEvent(self, a0: QDragEnterEvent | None)#
classmethod dragLeaveEvent(self, a0: QDragLeaveEvent | None)#
classmethod dragMoveEvent(self, a0: QDragMoveEvent | None)#
classmethod dropEvent(self, a0: QDropEvent | None)#
classmethod dumpObjectInfo(self)#
classmethod dumpObjectTree(self)#
classmethod dynamicPropertyNames(self) list[QByteArray]#
classmethod effectiveWinId(self) PyQt6.sip.voidptr#
classmethod ensurePolished(self)#
classmethod enterEvent(self, event: QEnterEvent | None)#
classmethod event(self, a0: QEvent | None) bool#
classmethod eventFilter(self, a0: QObject | None, a1: QEvent | None) bool#
classmethod find(a0: PyQt6.sip.voidptr) QWidget | None#
classmethod findChild(self, type: type[QObjectT], name: str | None = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObjectT#
classmethod findChild(self, types: tuple[type[QObjectT], ...], name: str | None = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObjectT
classmethod findChildren(self, type: type[QObjectT], name: str | None = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) list[QObjectT]#
classmethod findChildren(self, types: tuple[type[QObjectT], ...], name: str | None = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) list[QObjectT]
classmethod findChildren(self, type: type[QObjectT], re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) list[QObjectT]
classmethod findChildren(self, types: tuple[type[QObjectT], ...], re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) list[QObjectT]
classmethod focusInEvent(self, a0: QFocusEvent | None)#
classmethod focusNextChild(self) bool#
classmethod focusNextPrevChild(self, next: bool) bool#
classmethod focusOutEvent(self, a0: QFocusEvent | None)#
classmethod focusPolicy(self) Qt.FocusPolicy#
classmethod focusPreviousChild(self) bool#
classmethod focusProxy(self) QWidget | None#
classmethod focusWidget(self) QWidget | None#
classmethod font(self) QFont#
classmethod fontInfo(self) QFontInfo#
classmethod fontMetrics(self) QFontMetrics#
classmethod foregroundRole(self) QPalette.ColorRole#
classmethod frameGeometry(self) QRect#
classmethod frameSize(self) QSize#
classmethod geometry(self) QRect#
get_parameter_checked(name)[source]#
Parameters:

name (str)

Return type:

Optional[bool]

get_parameter_enabled(name)[source]#
Parameters:

name (str)

Return type:

Optional[bool]

get_parameter_names()[source]#
Return type:

Set[str]

get_parameter_readonly(name)[source]#
Parameters:

name (str)

Return type:

Optional[bool]

get_parameter_value(name)[source]#
Parameters:

name (str)

get_parameter_values()[source]#
Return type:

Dict[str, Any]

get_parameters_checked()[source]#
Return type:

Dict[str, bool]

get_parameters_enabled()[source]#
Return type:

Dict[str, bool]

get_parameters_readonly()[source]#
Return type:

Dict[str, bool]

classmethod grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) QPixmap#
classmethod grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())#
classmethod grabKeyboard(self)#
classmethod grabMouse(self)#
classmethod grabMouse(self, a0: QCursor | Qt.CursorShape)
classmethod grabShortcut(self, key: QKeySequence | QKeySequence.StandardKey | str | None | int, context: Qt.ShortcutContext = Qt.WindowShortcut) int#
classmethod graphicsEffect(self) QGraphicsEffect | None#
classmethod graphicsProxyWidget(self) QGraphicsProxyWidget | None#
classmethod hasFocus(self) bool#
classmethod hasHeightForWidth(self) bool#
classmethod hasMouseTracking(self) bool#
classmethod hasTabletTracking(self) bool#
has_parameter(name)[source]#
Parameters:

name (str)

classmethod height(self) int#
classmethod heightForWidth(self, a0: int) int#
classmethod heightMM(self) int#
classmethod hide(self)#
classmethod hideEvent(self, a0: QHideEvent | None)#
classmethod inherits(self, classname: str) bool#
classmethod initPainter(self, painter: QPainter | None)#
classmethod inputMethodEvent(self, a0: QInputMethodEvent | None)#
classmethod inputMethodHints(self) Qt.InputMethodHint#
classmethod inputMethodQuery(self, a0: Qt.InputMethodQuery) Any#
classmethod insertAction(self, before: QAction | None, action: QAction | None)#
classmethod insertActions(self, before: QAction | None, actions: Iterable[QAction])#
classmethod installEventFilter(self, a0: QObject | None)#
classmethod isActiveWindow(self) bool#
classmethod isAncestorOf(self, child: QWidget | None) bool#
classmethod isEnabled(self) bool#
classmethod isEnabledTo(self, a0: QWidget | None) bool#
classmethod isFullScreen(self) bool#
classmethod isHidden(self) bool#
classmethod isLeftToRight(self) bool#
classmethod isMaximized(self) bool#
classmethod isMinimized(self) bool#
classmethod isModal(self) bool#
classmethod isQmlExposed(self) bool#
classmethod isQuickItemType(self) bool#
classmethod isRightToLeft(self) bool#
classmethod isSignalConnected(self, signal: QMetaMethod) bool#
classmethod isVisible(self) bool#
classmethod isVisibleTo(self, a0: QWidget | None) bool#
classmethod isWidgetType(self) bool#
classmethod isWindow(self) bool#
classmethod isWindowModified(self) bool#
classmethod isWindowType(self) bool#
keyPressEvent(self, a0: QKeyEvent | None)[source]#
classmethod keyReleaseEvent(self, a0: QKeyEvent | None)#
classmethod keyboardGrabber() QWidget | None#
classmethod killTimer(self, id: int)#
classmethod layout(self) QLayout | None#
classmethod layoutDirection(self) Qt.LayoutDirection#
classmethod leaveEvent(self, a0: QEvent | None)#
classmethod locale(self) QLocale#
classmethod logicalDpiX(self) int#
classmethod logicalDpiY(self) int#
classmethod lower(self)#
classmethod mapFrom(self, a0: QWidget | None, a1: QPoint) QPoint#
classmethod mapFrom(self, a0: QWidget | None, a1: QPointF) QPointF
classmethod mapFromGlobal(self, a0: QPoint) QPoint#
classmethod mapFromGlobal(self, a0: QPointF) QPointF
classmethod mapFromParent(self, a0: QPoint) QPoint#
classmethod mapFromParent(self, a0: QPointF) QPointF
classmethod mapTo(self, a0: QWidget | None, a1: QPoint) QPoint#
classmethod mapTo(self, a0: QWidget | None, a1: QPointF) QPointF
classmethod mapToGlobal(self, a0: QPoint) QPoint#
classmethod mapToGlobal(self, a0: QPointF) QPointF
classmethod mapToParent(self, a0: QPoint) QPoint#
classmethod mapToParent(self, a0: QPointF) QPointF
classmethod mask(self) QRegion#
classmethod maximumHeight(self) int#
classmethod maximumSize(self) QSize#
classmethod maximumWidth(self) int#
classmethod metaObject(self) QMetaObject | None#
classmethod metric(self, a0: QPaintDevice.PaintDeviceMetric) int#
classmethod minimumHeight(self) int#
classmethod minimumSize(self) QSize#
classmethod minimumSizeHint(self) QSize#
classmethod minimumWidth(self) int#
classmethod mouseDoubleClickEvent(self, a0: QMouseEvent | None)#
classmethod mouseGrabber() QWidget | None#
classmethod mouseMoveEvent(self, a0: QMouseEvent | None)#
classmethod mousePressEvent(self, a0: QMouseEvent | None)#
classmethod mouseReleaseEvent(self, a0: QMouseEvent | None)#
classmethod move(self, a0: QPoint)#
classmethod move(self, ax: int, ay: int)
classmethod moveEvent(self, a0: QMoveEvent | None)#
classmethod moveToThread(self, thread: QThread | None)#
classmethod nativeEvent(self, eventType: QByteArray | bytes | bytearray | memoryview, message: PyQt6.sip.voidptr)#
classmethod nativeParentWidget(self) QWidget | None#
classmethod nextInFocusChain(self) QWidget | None#
classmethod normalGeometry(self) QRect#
classmethod objectName(self) str#
objectNameChanged#

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

classmethod overrideWindowFlags(self, type: Qt.WindowType)#
classmethod overrideWindowState(self, state: Qt.WindowState)#
classmethod paintEngine(self) QPaintEngine | None#
classmethod paintEvent(self, a0: QPaintEvent | None)#
classmethod paintingActive(self) bool#
classmethod palette(self) QPalette#
classmethod parent(self) QObject | None#
classmethod parentWidget(self) QWidget | None#
classmethod physicalDpiX(self) int#
classmethod physicalDpiY(self) int#
classmethod pos(self) QPoint#
classmethod previousInFocusChain(self) QWidget | None#
classmethod property(self, name: str) Any#
classmethod pyqtConfigure(...)#

Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.

classmethod raise_(self)#
classmethod receivers(self, signal: PYQT_SIGNAL) int#
classmethod rect(self) QRect#
classmethod releaseKeyboard(self)#
classmethod releaseMouse(self)#
classmethod releaseShortcut(self, id: int)#
classmethod removeAction(self, action: QAction | None)#
classmethod removeEventFilter(self, a0: QObject | None)#
classmethod render(self, target: QPaintDevice | None, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))#
classmethod render(self, painter: QPainter | None, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))
classmethod repaint(self)#
classmethod repaint(self, x: int, y: int, w: int, h: int)
classmethod repaint(self, a0: QRect)
classmethod repaint(self, a0: QRegion)
classmethod resize(self, a0: QSize)#
classmethod resize(self, w: int, h: int)
classmethod resizeEvent(self, a0: QResizeEvent | None)#
classmethod restoreGeometry(self, geometry: QByteArray | bytes | bytearray | memoryview) bool#
classmethod saveGeometry(self) QByteArray#
classmethod screen(self) QScreen | None#
classmethod scroll(self, dx: int, dy: int)#
classmethod scroll(self, dx: int, dy: int, a2: QRect)
classmethod sender(self) QObject | None#
classmethod senderSignalIndex(self) int#
classmethod setAcceptDrops(self, on: bool)#
classmethod setAccessibleDescription(self, description: str | None)#
classmethod setAccessibleIdentifier(self, identifier: str | None)#
classmethod setAccessibleName(self, name: str | None)#
classmethod setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)#
classmethod setAutoFillBackground(self, enabled: bool)#
classmethod setBackgroundRole(self, a0: QPalette.ColorRole)#
classmethod setBaseSize(self, basew: int, baseh: int)#
classmethod setBaseSize(self, s: QSize)
classmethod setContentsMargins(self, left: int, top: int, right: int, bottom: int)#
classmethod setContentsMargins(self, margins: QMargins)
classmethod setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)#
classmethod setCursor(self, a0: QCursor | Qt.CursorShape)#
classmethod setDisabled(self, a0: bool)#
classmethod setEnabled(self, a0: bool)#
classmethod setFixedHeight(self, h: int)#
classmethod setFixedSize(self, a0: QSize)#
classmethod setFixedSize(self, w: int, h: int)
classmethod setFixedWidth(self, w: int)#
classmethod setFocus(self)#
classmethod setFocus(self, reason: Qt.FocusReason)
classmethod setFocusPolicy(self, policy: Qt.FocusPolicy)#
classmethod setFocusProxy(self, a0: QWidget | None)#
classmethod setFont(self, a0: QFont)#
classmethod setForegroundRole(self, a0: QPalette.ColorRole)#
classmethod setGeometry(self, a0: QRect)#
classmethod setGeometry(self, ax: int, ay: int, aw: int, ah: int)
classmethod setGraphicsEffect(self, effect: QGraphicsEffect | None)#
classmethod setHidden(self, hidden: bool)#
classmethod setInputMethodHints(self, hints: Qt.InputMethodHint)#
classmethod setLayout(self, a0: QLayout | None)#
classmethod setLayoutDirection(self, direction: Qt.LayoutDirection)#
classmethod setLocale(self, locale: QLocale)#
classmethod setMask(self, a0: QBitmap)#
classmethod setMask(self, a0: QRegion)
classmethod setMaximumHeight(self, maxh: int)#
classmethod setMaximumSize(self, maxw: int, maxh: int)#
classmethod setMaximumSize(self, s: QSize)
classmethod setMaximumWidth(self, maxw: int)#
classmethod setMinimumHeight(self, minh: int)#
classmethod setMinimumSize(self, minw: int, minh: int)#
classmethod setMinimumSize(self, s: QSize)
classmethod setMinimumWidth(self, minw: int)#
classmethod setMouseTracking(self, enable: bool)#
classmethod setObjectName(self, name: QByteArray | bytes | bytearray | memoryview | str | None)#
classmethod setPalette(self, a0: QPalette)#
classmethod setParent(self, parent: QWidget | None)#
classmethod setParent(self, parent: QWidget | None, f: Qt.WindowType)
classmethod setProperty(self, name: str, value: Any) bool#
classmethod setScreen(self, a0: QScreen | None)#
classmethod setShortcutAutoRepeat(self, id: int, enabled: bool = True)#
classmethod setShortcutEnabled(self, id: int, enabled: bool = True)#
classmethod setSizeIncrement(self, w: int, h: int)#
classmethod setSizeIncrement(self, s: QSize)
classmethod setSizePolicy(self, a0: QSizePolicy)#
classmethod setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy)
classmethod setStatusTip(self, a0: str | None)#
classmethod setStyle(self, a0: QStyle | None)#
classmethod setStyleSheet(self, styleSheet: str | None)#
classmethod setTabOrder(a0: QWidget | None, a1: QWidget | None)#
classmethod setTabletTracking(self, enable: bool)#
classmethod setToolTip(self, a0: str | None)#
classmethod setToolTipDuration(self, msec: int)#
classmethod setUpdatesEnabled(self, enable: bool)#
classmethod setVisible(self, visible: bool)#
classmethod setWhatsThis(self, a0: str | None)#
classmethod setWindowFilePath(self, filePath: str | None)#
classmethod setWindowFlag(self, a0: Qt.WindowType, on: bool = True)#
classmethod setWindowFlags(self, type: Qt.WindowType)#
classmethod setWindowIcon(self, icon: QIcon)#
classmethod setWindowIconText(self, a0: str | None)#
classmethod setWindowModality(self, windowModality: Qt.WindowModality)#
classmethod setWindowModified(self, a0: bool)#
classmethod setWindowOpacity(self, level: float)#
classmethod setWindowRole(self, a0: str | None)#
classmethod setWindowState(self, state: Qt.WindowState)#
classmethod setWindowTitle(self, a0: str | None)#
set_parameter_checked(name, value)[source]#
Parameters:
  • name (str)

  • value (bool)

Return type:

None

set_parameter_enabled(name, value)[source]#
Parameters:
  • name (str)

  • value (bool)

Return type:

None

set_parameter_readonly(name, value)[source]#
Parameters:
  • name (str)

  • value (bool)

Return type:

None

set_parameter_value(name, value)[source]#

When the value cannot be serialized or cannot be set to the widget, the parameter value will set to MISSING_DATA.

Parameters:
  • name (str)

  • value (Any)

set_parameter_values(params)[source]#
Parameters:

params (Dict[str, Any])

Return type:

None

set_parameters_checked(params)[source]#
Parameters:

params (Dict[str, bool])

Return type:

None

set_parameters_enabled(params)[source]#
Parameters:

params (Dict[str, bool])

Return type:

None

set_parameters_readonly(params)[source]#
Parameters:

params (Dict[str, bool])

Return type:

None

classmethod sharedPainter(self) QPainter | None#
classmethod show(self)#
classmethod showEvent(self, a0: QShowEvent | None)#
classmethod showFullScreen(self)#
classmethod showMaximized(self)#
classmethod showMinimized(self)#
classmethod showNormal(self)#
classmethod signalsBlocked(self) bool#
classmethod size(self) QSize#
classmethod sizeHint(self) QSize#
classmethod sizeIncrement(self) QSize#
classmethod sizePolicy(self) QSizePolicy#
classmethod stackUnder(self, a0: QWidget | None)#
classmethod startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int#
staticMetaObject = <PyQt6.QtCore.QMetaObject object>#
classmethod statusTip(self) str#
classmethod style(self) QStyle | None#
classmethod styleSheet(self) str#
classmethod tabletEvent(self, a0: QTabletEvent | None)#
classmethod testAttribute(self, attribute: Qt.WidgetAttribute) bool#
classmethod thread(self) QThread | None#
classmethod timerEvent(self, a0: QTimerEvent | None)#
classmethod toolTip(self) str#
classmethod toolTipDuration(self) int#
classmethod tr(sourceText: str, disambiguation: str = None, n: int = -1) str#
classmethod underMouse(self) bool#
classmethod ungrabGesture(self, type: Qt.GestureType)#
classmethod unsetCursor(self)#
classmethod unsetLayoutDirection(self)#
classmethod unsetLocale(self)#
classmethod update(self)#
classmethod update(self, a0: QRect)
classmethod update(self, a0: QRegion)
classmethod update(self, ax: int, ay: int, aw: int, ah: int)
classmethod updateGeometry(self)#
classmethod updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)#
classmethod updatesEnabled(self) bool#
classmethod visibleRegion(self) QRegion#
classmethod whatsThis(self) str#
classmethod wheelEvent(self, a0: QWheelEvent | None)#
classmethod width(self) int#
classmethod widthMM(self) int#
classmethod winId(self) PyQt6.sip.voidptr#
classmethod window(self) QWidget | None#
classmethod windowFilePath(self) str#
classmethod windowFlags(self) Qt.WindowType#
classmethod windowHandle(self) QWindow | None#
classmethod windowIcon(self) QIcon#
windowIconChanged#

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

classmethod windowIconText(self) str#
windowIconTextChanged#

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

classmethod windowModality(self) Qt.WindowModality#
classmethod windowOpacity(self) float#
classmethod windowRole(self) str#
classmethod windowState(self) Qt.WindowState#
classmethod windowTitle(self) str#
windowTitleChanged#

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

classmethod windowType(self) Qt.WindowType#
classmethod x(self) int#
classmethod y(self) int#