schrodinger.ui.qt.filter_dialog_dir.filter_widgets module¶
- class schrodinger.ui.qt.filter_dialog_dir.filter_widgets.NumericOperator(value)¶
Bases:
enum.Enum
An enumeration.
- BETWEEN = 'numeric_between'¶
- LESS = 'numeric_less'¶
- GREATER = 'numeric_greater'¶
- class schrodinger.ui.qt.filter_dialog_dir.filter_widgets.TextOperator(value)¶
Bases:
enum.Enum
An enumeration.
- CONTAINS = 'text_contains'¶
- class schrodinger.ui.qt.filter_dialog_dir.filter_widgets.BoolOperator(value)¶
Bases:
enum.Enum
An enumeration.
- TRUE = 'bool_true'¶
- FALSE = 'bool_false'¶
- schrodinger.ui.qt.filter_dialog_dir.filter_widgets.adjust_min_max_values(min_val, max_val, decimals)¶
This function returns adjusted min/max values based on the number of decimal places that are displayed in widgets.
- Parameters
min_val (float, int or None) – original minimum value
max_val (float, int or None) – original maximum value
decimals (int) – number of decimal points to display in min/max spin boxes or the double slider (default value is 2)
- Returns
tuple that contains new minimum and maximum values
- Return type
tuple
- class schrodinger.ui.qt.filter_dialog_dir.filter_widgets.BaseCriterion(parent, prop, checked, removable)¶
Bases:
PyQt6.QtCore.QObject
Base class representing single property criterion and its widgets. Criterion widgets would include property checkbox, criterion type combo box, criterion limiter widget and a gear button. Subclasses should define criterion limiter widget since it changes with property type: dual slider or two spin boxes for numeric types, line edit for string type and none for boolean type.
- Variables
CRITERION_CHOICES – criterion choices that would be shown in the criterion type combo box, such as ‘between (inclusive)’ etc. This variable should be defined in subclasses.
criterionChanged – this signal is emitted when either property checkbox state is changed or new criterion type is selected.
removeCriterion – this signal is emitted when user clicks ‘Remove’ item in the gear menu.
- CRITERION_CHOICES = None¶
- criterionChanged¶
- removeCriterion¶
- __init__(parent, prop, checked, removable)¶
Initializer
- Parameters
parent (QtWidgets.QWidget) – parent widget
prop (str) – name of property used in this criterion
checked (bool) – indicates whether this criterion is ‘checked’.
removable (bool) – indicates whether this criterion can be removed from the filter widget.
- createWidgets()¶
Creates widgets used in this criterion. Here we create criterion type combo box and gear button. Limiter widget should be defined in subclasses.
- classmethod dataName2ViewName(prop)¶
Get a display/view/user name from a data name of a CT property.
- reset()¶
Reset criterion. Additional reset functionality should be implemented in subclasses.
- getLimits()¶
- setLimits(values)¶
- valueMatches(value)¶
Return True if the given value matches the criteria; False otherwise.
- Parameters
value (float, int, or str) – Value to test
- criterionTypeChanged()¶
This function is called when criterion type is changed. This function should be redefined in subclasses if any action should be taken.
- widgets()¶
Returns a list of widgets for this criterion.
- Returns
list of widgets
- Return type
list
- isChecked()¶
Returns True if this criterion is toggled on and False otherwise.
- Returns
check state of this criterion
- Return type
bool
- setChecked(checked: bool)¶
Set the property check box to either checked or unchecked.
- property prop_type¶
- setEnabled(enabled: bool)¶
Set all child widgets enabled/disabled.
- isEnabled() bool ¶
Return whether or not the child widgets are enabled/disabled.
- blockSignals(self, b: bool) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- connectNotify(self, signal: QMetaMethod)¶
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- inherits(self, classname: str) bool ¶
- installEventFilter(self, a0: QObject)¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- killTimer(self, id: int)¶
- metaObject(self) QMetaObject ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self) QObject ¶
- property(self, name: str) Any ¶
- 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.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeEventFilter(self, a0: QObject)¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- signalsBlocked(self) bool ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- class schrodinger.ui.qt.filter_dialog_dir.filter_widgets.NumericCriterion(parent, prop, checked, min_val, max_val, decimals=2, use_dual_slider=True, removable=True)¶
Bases:
schrodinger.ui.qt.filter_dialog_dir.filter_widgets.BaseCriterion
Numeric type (float or int) property criterion that uses two spin box widgets or a dual slider.
- CRITERION_CHOICES = {'between (inclusive)': NumericOperator.BETWEEN, 'greater than': NumericOperator.GREATER, 'less than': NumericOperator.LESS}¶
- __init__(parent, prop, checked, min_val, max_val, decimals=2, use_dual_slider=True, removable=True)¶
Initializer
- Parameters
parent (QtWidgets.QWidget) – parent object
prop (str) – property name
min_val (int or float) – minimum value
max_val (int or float) – maximum value
decimals (int) – number of decimal points to display in min/max spin boxes or the double slider (default value is 2)
use_dual_slider (bool) – indicates whether dual slider widget should be used when ‘between (inclusive)’ type is selected.
removable (bool) – this argument indicates whether it should be possible to remove criterion from the widget.
- createWidgets()¶
See base class for documentation.
- reset()¶
Reset criterion. Additional reset functionality should be implemented in subclasses.
- getLimits()¶
Returns tuple that contains minimum and maximum values. When type is ‘less than’ minimum value is None. When type is ‘greater than’ maximum value is None. Will return None if a non-standard numeric operator is selected.
- Returns
minimum and maximum values or None
- Return type
tuple or None
- setLimits(values)¶
Set minimum and maximum values for this criterion.
- Parameters
values (tuple) – tuple that contains minimum and maximum values
- criterionTypeChanged()¶
This function is called when selection is changed in type combo box. Depending on criterion type it shows appropriate widgets.
- blockSignals(self, b: bool) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- connectNotify(self, signal: QMetaMethod)¶
- criterionChanged¶
- customEvent(self, a0: QEvent)¶
- classmethod dataName2ViewName(prop)¶
Get a display/view/user name from a data name of a CT property.
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- inherits(self, classname: str) bool ¶
- installEventFilter(self, a0: QObject)¶
- isChecked()¶
Returns True if this criterion is toggled on and False otherwise.
- Returns
check state of this criterion
- Return type
bool
- isEnabled() bool ¶
Return whether or not the child widgets are enabled/disabled.
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- killTimer(self, id: int)¶
- metaObject(self) QMetaObject ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self) QObject ¶
- property prop_type¶
- property(self, name: str) Any ¶
- 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.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeCriterion¶
- removeEventFilter(self, a0: QObject)¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setChecked(checked: bool)¶
Set the property check box to either checked or unchecked.
- setEnabled(enabled: bool)¶
Set all child widgets enabled/disabled.
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- signalsBlocked(self) bool ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- valueMatches(value)¶
Return True if the given value matches the criteria; False otherwise.
- Parameters
value (float, int, or str) – Value to test
- widgets()¶
Returns a list of widgets for this criterion.
- Returns
list of widgets
- Return type
list
- class schrodinger.ui.qt.filter_dialog_dir.filter_widgets.StringCriterion(parent, prop, checked, removable)¶
Bases:
schrodinger.ui.qt.filter_dialog_dir.filter_widgets.BaseCriterion
String property criterion. Renders as an entry field. Asterisk (*) means match anything. For example, “*” matches all values, and “1*0” will match 10, 1000, 150, etc. Question mark (?) matches any single character.
- CRITERION_CHOICES = {'contains': TextOperator.CONTAINS}¶
- createWidgets()¶
Creates widgets used in this criterion. Here we create criterion type combo box and gear button. Limiter widget should be defined in subclasses.
- reset()¶
Reset criterion. Additional reset functionality should be implemented in subclasses.
- getLimits()¶
Returns text of ‘contains’ text box.
- Returns
criterion text
- Return type
str
- setLimits(value)¶
Sets text that should be shown in ‘contains’ text box.
- Parameters
value (str) – criterion text
- __init__(parent, prop, checked, removable)¶
Initializer
- Parameters
parent (QtWidgets.QWidget) – parent widget
prop (str) – name of property used in this criterion
checked (bool) – indicates whether this criterion is ‘checked’.
removable (bool) – indicates whether this criterion can be removed from the filter widget.
- blockSignals(self, b: bool) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- connectNotify(self, signal: QMetaMethod)¶
- criterionChanged¶
- criterionTypeChanged()¶
This function is called when criterion type is changed. This function should be redefined in subclasses if any action should be taken.
- customEvent(self, a0: QEvent)¶
- classmethod dataName2ViewName(prop)¶
Get a display/view/user name from a data name of a CT property.
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- inherits(self, classname: str) bool ¶
- installEventFilter(self, a0: QObject)¶
- isChecked()¶
Returns True if this criterion is toggled on and False otherwise.
- Returns
check state of this criterion
- Return type
bool
- isEnabled() bool ¶
Return whether or not the child widgets are enabled/disabled.
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- killTimer(self, id: int)¶
- metaObject(self) QMetaObject ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self) QObject ¶
- property prop_type¶
- property(self, name: str) Any ¶
- 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.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeCriterion¶
- removeEventFilter(self, a0: QObject)¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setChecked(checked: bool)¶
Set the property check box to either checked or unchecked.
- setEnabled(enabled: bool)¶
Set all child widgets enabled/disabled.
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- signalsBlocked(self) bool ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- valueMatches(value)¶
Return True if the given value matches the criteria; False otherwise.
- Parameters
value (float, int, or str) – Value to test
- widgets()¶
Returns a list of widgets for this criterion.
- Returns
list of widgets
- Return type
list
- class schrodinger.ui.qt.filter_dialog_dir.filter_widgets.BoolCriterion(parent, prop, checked, removable)¶
Bases:
schrodinger.ui.qt.filter_dialog_dir.filter_widgets.BaseCriterion
Bool property criterion. It does not have a limiter widget. Instead, limits is just either True or False depending on current selection in criterion choices combo box widget.
- CRITERION_CHOICES = {'has value False': BoolOperator.FALSE, 'has value True': BoolOperator.TRUE}¶
- reset()¶
Reset criterion. Additional reset functionality should be implemented in subclasses.
- getLimits()¶
Returns True or False depending on whether ‘has value True’ or ‘has value False’ option is selected in type combo box.
- Returns
boolean value for this criterion
- Return type
bool
- setLimits(value)¶
Sets boolean value for this criterion. This value is used to set selection in type combo box.
- Parameters
value (bool) – boolean value
- __init__(parent, prop, checked, removable)¶
Initializer
- Parameters
parent (QtWidgets.QWidget) – parent widget
prop (str) – name of property used in this criterion
checked (bool) – indicates whether this criterion is ‘checked’.
removable (bool) – indicates whether this criterion can be removed from the filter widget.
- blockSignals(self, b: bool) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- connectNotify(self, signal: QMetaMethod)¶
- createWidgets()¶
Creates widgets used in this criterion. Here we create criterion type combo box and gear button. Limiter widget should be defined in subclasses.
- criterionChanged¶
- criterionTypeChanged()¶
This function is called when criterion type is changed. This function should be redefined in subclasses if any action should be taken.
- customEvent(self, a0: QEvent)¶
- classmethod dataName2ViewName(prop)¶
Get a display/view/user name from a data name of a CT property.
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- inherits(self, classname: str) bool ¶
- installEventFilter(self, a0: QObject)¶
- isChecked()¶
Returns True if this criterion is toggled on and False otherwise.
- Returns
check state of this criterion
- Return type
bool
- isEnabled() bool ¶
Return whether or not the child widgets are enabled/disabled.
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- killTimer(self, id: int)¶
- metaObject(self) QMetaObject ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self) QObject ¶
- property prop_type¶
- property(self, name: str) Any ¶
- 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.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeCriterion¶
- removeEventFilter(self, a0: QObject)¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setChecked(checked: bool)¶
Set the property check box to either checked or unchecked.
- setEnabled(enabled: bool)¶
Set all child widgets enabled/disabled.
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- signalsBlocked(self) bool ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- valueMatches(value)¶
Return True if the given value matches the criteria; False otherwise.
- Parameters
value (float, int, or str) – Value to test
- widgets()¶
Returns a list of widgets for this criterion.
- Returns
list of widgets
- Return type
list
- class schrodinger.ui.qt.filter_dialog_dir.filter_widgets.CriteriaLayout¶
Bases:
PyQt6.QtWidgets.QGridLayout
Grid layout that contains widgets for the filter criteria.
- addCriterionRow(criterion)¶
Adds criterion widgets to the layout.
- Parameters
criterion (BaseCriterion) – criterion object that contains widgets that will be added to this layout.
- SetDefaultConstraint = 0¶
- SetFixedSize = 3¶
- SetMaximumSize = 4¶
- SetMinAndMaxSize = 5¶
- SetMinimumSize = 2¶
- SetNoConstraint = 1¶
- class SizeConstraint(value)¶
Bases:
enum.Enum
An enumeration.
- SetDefaultConstraint = 0¶
- SetNoConstraint = 1¶
- SetMinimumSize = 2¶
- SetFixedSize = 3¶
- SetMaximumSize = 4¶
- SetMinAndMaxSize = 5¶
- __init__(*args, **kwargs)¶
- __len__()¶
Return len(self).
- activate(self) bool ¶
- addChildLayout(self, l: QLayout)¶
- addChildWidget(self, w: QWidget)¶
- addItem(self, item: QLayoutItem, row: int, column: int, rowSpan: int = 1, columnSpan: int = 1, alignment: Qt.AlignmentFlag = Qt.Alignment())¶
- addItem(self, a0: QLayoutItem) None
- addLayout(self, a0: QLayout, row: int, column: int, alignment: Qt.AlignmentFlag = Qt.Alignment())¶
- addLayout(self, a0: QLayout, row: int, column: int, rowSpan: int, columnSpan: int, alignment: Qt.AlignmentFlag = Qt.Alignment()) None
- addWidget(self, w: QWidget)¶
- addWidget(self, a0: QWidget, row: int, column: int, alignment: Qt.AlignmentFlag = Qt.Alignment()) None
- addWidget(self, a0: QWidget, row: int, column: int, rowSpan: int, columnSpan: int, alignment: Qt.AlignmentFlag = Qt.Alignment()) None
- alignment(self) Qt.AlignmentFlag ¶
- alignmentRect(self, a0: QRect) QRect ¶
- blockSignals(self, b: bool) bool ¶
- cellRect(self, row: int, column: int) QRect ¶
- childEvent(self, e: QChildEvent)¶
- children(self) List[QObject] ¶
- closestAcceptableSize(w: QWidget, s: QSize) QSize ¶
- columnCount(self) int ¶
- columnMinimumWidth(self, column: int) int ¶
- columnStretch(self, column: int) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- controlTypes(self) QSizePolicy.ControlType ¶
- count(self) int ¶
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- expandingDirections(self) Qt.Orientation ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- getItemPosition(self, idx: int) Tuple[int, int, int, int] ¶
- hasHeightForWidth(self) bool ¶
- heightForWidth(self, a0: int) int ¶
- horizontalSpacing(self) int ¶
- indexOf(self, a0: QWidget) int ¶
- indexOf(self, a0: QLayoutItem) int
- inherits(self, classname: str) bool ¶
- installEventFilter(self, a0: QObject)¶
- invalidate(self)¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- itemAt(self, a0: int) QLayoutItem ¶
- itemAtPosition(self, row: int, column: int) QLayoutItem ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- maximumSize(self) QSize ¶
- metaObject(self) QMetaObject ¶
- minimumHeightForWidth(self, a0: int) int ¶
- minimumSize(self) QSize ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- originCorner(self) Qt.Corner ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- property(self, name: str) Any ¶
- 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.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeEventFilter(self, a0: QObject)¶
- removeItem(self, a0: QLayoutItem)¶
- removeWidget(self, w: QWidget)¶
- replaceWidget(self, from_: QWidget, to: QWidget, options: Qt.FindChildOption = Qt.FindChildrenRecursively) QLayoutItem ¶
- rowCount(self) int ¶
- rowMinimumHeight(self, row: int) int ¶
- rowStretch(self, row: int) int ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAlignment(self, w: QWidget, alignment: Qt.AlignmentFlag) bool ¶
- setAlignment(self, l: QLayout, alignment: Qt.AlignmentFlag) bool
- setAlignment(self, a0: Qt.AlignmentFlag) None
- setColumnMinimumWidth(self, column: int, minSize: int)¶
- setColumnStretch(self, column: int, stretch: int)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setDefaultPositioning(self, n: int, orient: Qt.Orientation)¶
- setEnabled(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setHorizontalSpacing(self, spacing: int)¶
- setMenuBar(self, w: QWidget)¶
- setObjectName(self, name: str)¶
- setOriginCorner(self, a0: Qt.Corner)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- setRowMinimumHeight(self, row: int, minSize: int)¶
- setRowStretch(self, row: int, stretch: int)¶
- setSizeConstraint(self, a0: QLayout.SizeConstraint)¶
- setSpacing(self, spacing: int)¶
- setVerticalSpacing(self, spacing: int)¶
- signalsBlocked(self) bool ¶
- sizeConstraint(self) QLayout.SizeConstraint ¶
- sizeHint(self) QSize ¶
- spacerItem(self) QSpacerItem ¶
- spacing(self) int ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- takeAt(self, a0: int) QLayoutItem ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- totalHeightForWidth(self, w: int) int ¶
- totalMaximumSize(self) QSize ¶
- totalMinimumSize(self) QSize ¶
- totalSizeHint(self) QSize ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- unsetContentsMargins(self)¶
- update(self)¶
- verticalSpacing(self) int ¶
- widget(self) QWidget ¶
- widgetEvent(self, a0: QEvent)¶
- class schrodinger.ui.qt.filter_dialog_dir.filter_widgets.FilterWidget(parent=None, use_dual_slider=True, show_matches=True, removable=True, **kwargs)¶
Bases:
PyQt6.QtWidgets.QWidget
Filter widget that is used in filter dialogs.
- criteriaChanged¶
- __init__(parent=None, use_dual_slider=True, show_matches=True, removable=True, **kwargs)¶
Class initializer.
- Parameters
parent (QWidget) – parent widget of this dialog.
use_dual_slider (bool) – indicates whether dual slider widget should be shown for ‘between (inclusive)’ type.
show_matches (bool) – determines whether label showing number of matches should be shown. We need to hide it when using filter dialog and no structures are available yet. For example, Custom R-group Enumeration GUI.
removable (bool) – indicates whether criteria should be ‘removable’.
- setup()¶
Instantiate tab widget and tabs.
- getCriteria()¶
Returns list of filtering criteria.
- Returns
criteria list
- Return type
list
- addCriterion(prop, limiter=None, checked=True)¶
Adds new criterion to this dialog.
- Parameters
prop (str) – property name
limiter (str or Tuple[int, int] or Tuple[float, float] or bool or None) – ‘limiter’ for this criterion, which is a filter string for str types, a range of values for int/real types and True or False value for boolean types.
checked (bool) – this argument indicates whether this criterion should be toggled on or off.
- removeCriterion(criterion_to_delete)¶
Removes given criterion from filter dialog.
- Parameters
criterion_to_delete (BaseCriterion) – criterion object
- updateFilterObj()¶
Updates filter object using current criteria settings.
- updateWidget(filter_obj, props_for_ligs)¶
Updates filter widget for the given filter object and properties present in the ligands.
- Parameters
filter_obj (Filter) – filter object
props_for_ligs (list(dict(str, object))) – list of property dictionaries that should be used to construct this filter
- addPropertyClicked()¶
Open a property selector dialog, for letting the user select a property to filter by.
- createCriterionForProp(prop, limiter, checked)¶
Create a criterion object for the give property, and initialize the valid range/values based on properties in self.values_by_prop.
- Parameters
prop (str) – property name
limiter (str or bool or tuple or None) – ‘limiter’ for this criterion, which is a filter string for str types, a range of values for int/real types and True or False value for boolean types.
checked (bool) – this argument indicates whether this criterion should be toggled on or off.
- resetAll()¶
Reset all criteria (show all ligands):
- updateMatchLabel()¶
Update the label at the bottom of the dialog box, showing how many ligands match all criteria.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- 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.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶