schrodinger.ui.qt.standard_widgets.buttons module¶
Module containing classes for buttons styled for use in Schrodinger panels.
- schrodinger.ui.qt.standard_widgets.buttons.apply_style_sheet_to_button(button, style, margin_height=0, margin_width=3)[source]¶
Apply a Schrodinger color scheme CSS to the given QPushButton object.
- Parameters
button (QtWidgets.QPushButton) – Button to apply the styling to.
style (
StyledButton.Style
) – Style to usemargin_height (Union[float, int]) – Margin height of the PushButton in pixels
margin_width (Union[float, int]) – Margin width of the PushButton in pixels
- class schrodinger.ui.qt.standard_widgets.buttons.DoubleClickButtonMixin(*args, **kwargs)[source]¶
Bases:
object
Mixin that includes a double click signal for push button.
Include this mixin with a QPushButton subclass and singleClicked and doubleClicked will work out of the box.
- Variables
DOUBLE_CLICK_TIME (int) – the amount of time to trigger double click (ms)
doubleClicked (QtCore.pyqtSignal) – a signal that the button was double clicked
singleClicked (QtCore.pyqtSignal) – a signal that the button was single clicked
- doubleClicked¶
- singleClicked¶
- class schrodinger.ui.qt.standard_widgets.buttons.StyledButton(*args, **kwargs)[source]¶
Bases:
PyQt5.QtWidgets.QPushButton
A QPushButton that uses custom CSS, and offers ability to be “highlighted” with a green background (e.g. for Run buttons).
- class Style(value)[source]¶
Bases:
enum.Enum
An enumeration.
- Standard = 'Standard'¶
- Highlighted = 'Highlighted'¶
- HighlightedText = 'HighlightedText'¶
- setStyle(style)[source]¶
Set the style of the button to one of available styles.
- Parameters
style – Style to use.
- setHighlighted(highlighted)[source]¶
Whether to make the button background green, to make the button “jump out” to the user as the next likely action to take. Similar to a “default” button state (often used in dialog boxes), except that it doesn’t activate on pressing of the “Enter” key.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- 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¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) → None
- class RenderFlags(QWidget.RenderFlags) → None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- acceptDrops(self) → bool¶
- accessibleDescription(self) → str¶
- accessibleName(self) → str¶
- actionEvent(self, QActionEvent)¶
- actions(self) → List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- animateClick(self, msecs: int = 100)¶
- autoDefault(self) → bool¶
- autoExclusive(self) → bool¶
- autoFillBackground(self) → bool¶
- autoRepeat(self) → bool¶
- autoRepeatDelay(self) → int¶
- autoRepeatInterval(self) → int¶
- backgroundRole(self) → QPalette.ColorRole¶
- baseSize(self) → QSize¶
- blockSignals(self, bool) → bool¶
- changeEvent(self, QEvent)¶
- checkStateSet(self)¶
- childAt(self, QPoint) → QWidget¶
- StyledButton.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) → List[QObject]¶
- childrenRect(self) → QRect¶
- childrenRegion(self) → QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- click(self)¶
- clicked¶
clicked(self, checked: bool = False) [signal]
- close(self) → bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) → int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) → QMargins¶
- contentsRect(self) → QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) → Qt.ContextMenuPolicy¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
- cursor(self) → QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- depth(self) → int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) → int¶
- devicePixelRatio(self) → int¶
- devicePixelRatioF(self) → float¶
- devicePixelRatioFScale() → float¶
- disconnect(QMetaObject.Connection) → bool¶
- disconnect(self) → None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) → List[QByteArray]¶
- effectiveWinId(self) → PyQt5.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) → bool¶
- eventFilter(self, QObject, QEvent) → bool¶
- find(PyQt5.sip.voidptr) → QWidget¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) → bool¶
- focusNextPrevChild(self, bool) → bool¶
- focusOutEvent(self, 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¶
- getContentsMargins(self) → Tuple[int, int, int, int]¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) → QPixmap¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) → None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
- graphicsEffect(self) → QGraphicsEffect¶
- graphicsProxyWidget(self) → QGraphicsProxyWidget¶
- group(self) → QButtonGroup¶
- hasFocus(self) → bool¶
- hasHeightForWidth(self) → bool¶
- hasMouseTracking(self) → bool¶
- hasTabletTracking(self) → bool¶
- height(self) → int¶
- heightForWidth(self, int) → int¶
- heightMM(self) → int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hitButton(self, QPoint) → bool¶
- icon(self) → QIcon¶
- iconSize(self) → QSize¶
- inherits(self, str) → bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionButton)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) → Qt.InputMethodHints¶
- inputMethodQuery(self, Qt.InputMethodQuery) → Any¶
- StyledButton.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) → bool¶
- isAncestorOf(self, QWidget) → bool¶
- isCheckable(self) → bool¶
- isChecked(self) → bool¶
- isDefault(self) → bool¶
- isDown(self) → bool¶
- isEnabled(self) → bool¶
- isEnabledTo(self, QWidget) → bool¶
- isFlat(self) → bool¶
- isFullScreen(self) → bool¶
- isHidden(self) → bool¶
- isLeftToRight(self) → bool¶
- isMaximized(self) → bool¶
- isMinimized(self) → bool¶
- isModal(self) → bool¶
- isRightToLeft(self) → bool¶
- isSignalConnected(self, QMetaMethod) → bool¶
- isVisible(self) → bool¶
- isVisibleTo(self, QWidget) → bool¶
- isWidgetType(self) → bool¶
- isWindow(self) → bool¶
- isWindowModified(self) → bool¶
- isWindowType(self) → bool¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() → QWidget¶
- killTimer(self, int)¶
- layout(self) → QLayout¶
- layoutDirection(self) → Qt.LayoutDirection¶
- leaveEvent(self, QEvent)¶
- locale(self) → QLocale¶
- logicalDpiX(self) → int¶
- logicalDpiY(self) → int¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) → QPoint¶
- mapFromGlobal(self, QPoint) → QPoint¶
- mapFromParent(self, QPoint) → QPoint¶
- mapTo(self, QWidget, QPoint) → QPoint¶
- mapToGlobal(self, QPoint) → QPoint¶
- mapToParent(self, QPoint) → QPoint¶
- mask(self) → QRegion¶
- maximumHeight(self) → int¶
- maximumSize(self) → QSize¶
- maximumWidth(self) → int¶
- menu(self) → QMenu¶
- metaObject(self) → QMetaObject¶
- metric(self, QPaintDevice.PaintDeviceMetric) → int¶
- minimumHeight(self) → int¶
- minimumSize(self) → QSize¶
- minimumSizeHint(self) → QSize¶
- minimumWidth(self) → int¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() → QWidget¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- StyledButton.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
- nativeParentWidget(self) → QWidget¶
- nextCheckState(self)¶
- nextInFocusChain(self) → QWidget¶
- normalGeometry(self) → QRect¶
- objectName(self) → str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) → QPaintEngine¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) → bool¶
- palette(self) → QPalette¶
- parent(self) → QObject¶
- parentWidget(self) → QWidget¶
- physicalDpiX(self) → int¶
- physicalDpiY(self) → int¶
- pos(self) → QPoint¶
- pressed¶
pressed(self) [signal]
- previousInFocusChain(self) → QWidget¶
- property(self, 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, PYQT_SIGNAL) → int¶
- rect(self) → QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- released¶
released(self) [signal]
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) → None
- repaint(self)¶
- StyledButton.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) → None
- repaint(self, QRegion) → None
- resize(self, QSize)¶
- StyledButton.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) → bool¶
- saveGeometry(self) → QByteArray¶
- StyledButton.scroll(self, int, int)
- StyledButton.scroll(self, int, int, QRect) -> None
- sender(self) → QObject¶
- senderSignalIndex(self) → int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoDefault(self, bool)¶
- setAutoExclusive(self, bool)¶
- setAutoFillBackground(self, bool)¶
- setAutoRepeat(self, bool)¶
- setAutoRepeatDelay(self, int)¶
- setAutoRepeatInterval(self, int)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- StyledButton.setBaseSize(self, int, int)
- setBaseSize(self, QSize) → None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- StyledButton.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) → None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefault(self, bool)¶
- setDisabled(self, bool)¶
- setDown(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- StyledButton.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFlat(self, bool)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) → None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- StyledButton.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setIconSize(self, QSize)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) → None
- setMaximumHeight(self, int)¶
- StyledButton.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) → None¶
- setMaximumWidth(self, int)¶
- setMenu(self, QMenu)¶
- setMinimumHeight(self, int)¶
- StyledButton.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) → None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) → None
- setProperty(self, str, Any) → bool¶
- setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- StyledButton.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) → None¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) → None
- setStatusTip(self, str)¶
- setStyleSheet(self, str)¶
- StyledButton.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setText(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- sharedPainter(self) → QPainter¶
- shortcut(self) → QKeySequence¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMenu(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) → bool¶
- size(self) → QSize¶
- sizeHint(self) → QSize¶
- sizeIncrement(self) → QSize¶
- sizePolicy(self) → QSizePolicy¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) → str¶
- style(self) → QStyle¶
- styleSheet(self) → str¶
- tabletEvent(self, QTabletEvent)¶
- testAttribute(self, Qt.WidgetAttribute) → bool¶
- text(self) → str¶
- thread(self) → QThread¶
- timerEvent(self, QTimerEvent)¶
- toggle(self)¶
- toggled¶
toggled(self, bool) [signal]
- toolTip(self) → str¶
- toolTipDuration(self) → int¶
- tr(self, str, disambiguation: str = None, n: int = - 1) → str¶
- underMouse(self) → bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) → None
- update(self, QRegion) → None
- StyledButton.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) → bool¶
- visibleRegion(self) → QRegion¶
- whatsThis(self) → str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) → int¶
- widthMM(self) → int¶
- winId(self) → PyQt5.sip.voidptr¶
- window(self) → QWidget¶
- windowFilePath(self) → str¶
- windowFlags(self) → Qt.WindowFlags¶
- windowHandle(self) → QWindow¶
- windowIcon(self) → QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) → str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) → Qt.WindowModality¶
- windowOpacity(self) → float¶
- windowRole(self) → str¶
- windowState(self) → Qt.WindowStates¶
- windowTitle(self) → str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) → Qt.WindowType¶
- x(self) → int¶
- y(self) → int¶
- class schrodinger.ui.qt.standard_widgets.buttons.SplitStyledButton(*args, **kwargs)[source]¶
Bases:
schrodinger.ui.qt.standard_widgets.buttons.StyledButton
A StyledButton with no margin used for adjacent alignment.
Create a split button by placing multiple in an individual HBoxLayout with no spacing.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- 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¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) → None
- class RenderFlags(QWidget.RenderFlags) → None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- class Style(value)¶
Bases:
enum.Enum
An enumeration.
- Standard = 'Standard'¶
- Highlighted = 'Highlighted'¶
- HighlightedText = 'HighlightedText'¶
- __init__(*args, **kwargs)¶
- acceptDrops(self) → bool¶
- accessibleDescription(self) → str¶
- accessibleName(self) → str¶
- actionEvent(self, QActionEvent)¶
- actions(self) → List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- animateClick(self, msecs: int = 100)¶
- autoDefault(self) → bool¶
- autoExclusive(self) → bool¶
- autoFillBackground(self) → bool¶
- autoRepeat(self) → bool¶
- autoRepeatDelay(self) → int¶
- autoRepeatInterval(self) → int¶
- backgroundRole(self) → QPalette.ColorRole¶
- baseSize(self) → QSize¶
- blockSignals(self, bool) → bool¶
- changeEvent(self, QEvent)¶
- checkStateSet(self)¶
- childAt(self, QPoint) → QWidget¶
- SplitStyledButton.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) → List[QObject]¶
- childrenRect(self) → QRect¶
- childrenRegion(self) → QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- click(self)¶
- clicked¶
clicked(self, checked: bool = False) [signal]
- close(self) → bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) → int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) → QMargins¶
- contentsRect(self) → QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) → Qt.ContextMenuPolicy¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
- cursor(self) → QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- depth(self) → int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) → int¶
- devicePixelRatio(self) → int¶
- devicePixelRatioF(self) → float¶
- devicePixelRatioFScale() → float¶
- disconnect(QMetaObject.Connection) → bool¶
- disconnect(self) → None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) → List[QByteArray]¶
- effectiveWinId(self) → PyQt5.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) → bool¶
- eventFilter(self, QObject, QEvent) → bool¶
- find(PyQt5.sip.voidptr) → QWidget¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) → bool¶
- focusNextPrevChild(self, bool) → bool¶
- focusOutEvent(self, 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¶
- getContentsMargins(self) → Tuple[int, int, int, int]¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) → QPixmap¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) → None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
- graphicsEffect(self) → QGraphicsEffect¶
- graphicsProxyWidget(self) → QGraphicsProxyWidget¶
- group(self) → QButtonGroup¶
- hasFocus(self) → bool¶
- hasHeightForWidth(self) → bool¶
- hasMouseTracking(self) → bool¶
- hasTabletTracking(self) → bool¶
- height(self) → int¶
- heightForWidth(self, int) → int¶
- heightMM(self) → int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hitButton(self, QPoint) → bool¶
- icon(self) → QIcon¶
- iconSize(self) → QSize¶
- inherits(self, str) → bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionButton)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) → Qt.InputMethodHints¶
- inputMethodQuery(self, Qt.InputMethodQuery) → Any¶
- SplitStyledButton.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) → bool¶
- isAncestorOf(self, QWidget) → bool¶
- isCheckable(self) → bool¶
- isChecked(self) → bool¶
- isDefault(self) → bool¶
- isDown(self) → bool¶
- isEnabled(self) → bool¶
- isEnabledTo(self, QWidget) → bool¶
- isFlat(self) → bool¶
- isFullScreen(self) → bool¶
- isHidden(self) → bool¶
- isLeftToRight(self) → bool¶
- isMaximized(self) → bool¶
- isMinimized(self) → bool¶
- isModal(self) → bool¶
- isRightToLeft(self) → bool¶
- isSignalConnected(self, QMetaMethod) → bool¶
- isVisible(self) → bool¶
- isVisibleTo(self, QWidget) → bool¶
- isWidgetType(self) → bool¶
- isWindow(self) → bool¶
- isWindowModified(self) → bool¶
- isWindowType(self) → bool¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() → QWidget¶
- killTimer(self, int)¶
- layout(self) → QLayout¶
- layoutDirection(self) → Qt.LayoutDirection¶
- leaveEvent(self, QEvent)¶
- locale(self) → QLocale¶
- logicalDpiX(self) → int¶
- logicalDpiY(self) → int¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) → QPoint¶
- mapFromGlobal(self, QPoint) → QPoint¶
- mapFromParent(self, QPoint) → QPoint¶
- mapTo(self, QWidget, QPoint) → QPoint¶
- mapToGlobal(self, QPoint) → QPoint¶
- mapToParent(self, QPoint) → QPoint¶
- mask(self) → QRegion¶
- maximumHeight(self) → int¶
- maximumSize(self) → QSize¶
- maximumWidth(self) → int¶
- menu(self) → QMenu¶
- metaObject(self) → QMetaObject¶
- metric(self, QPaintDevice.PaintDeviceMetric) → int¶
- minimumHeight(self) → int¶
- minimumSize(self) → QSize¶
- minimumSizeHint(self) → QSize¶
- minimumWidth(self) → int¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() → QWidget¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- SplitStyledButton.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
- nativeParentWidget(self) → QWidget¶
- nextCheckState(self)¶
- nextInFocusChain(self) → QWidget¶
- normalGeometry(self) → QRect¶
- objectName(self) → str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) → QPaintEngine¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) → bool¶
- palette(self) → QPalette¶
- parent(self) → QObject¶
- parentWidget(self) → QWidget¶
- physicalDpiX(self) → int¶
- physicalDpiY(self) → int¶
- pos(self) → QPoint¶
- pressed¶
pressed(self) [signal]
- previousInFocusChain(self) → QWidget¶
- property(self, 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, PYQT_SIGNAL) → int¶
- rect(self) → QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- released¶
released(self) [signal]
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) → None
- repaint(self)¶
- SplitStyledButton.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) → None
- repaint(self, QRegion) → None
- resize(self, QSize)¶
- SplitStyledButton.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) → bool¶
- saveGeometry(self) → QByteArray¶
- SplitStyledButton.scroll(self, int, int)
- SplitStyledButton.scroll(self, int, int, QRect) -> None
- sender(self) → QObject¶
- senderSignalIndex(self) → int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoDefault(self, bool)¶
- setAutoExclusive(self, bool)¶
- setAutoFillBackground(self, bool)¶
- setAutoRepeat(self, bool)¶
- setAutoRepeatDelay(self, int)¶
- setAutoRepeatInterval(self, int)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- SplitStyledButton.setBaseSize(self, int, int)
- setBaseSize(self, QSize) → None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- SplitStyledButton.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) → None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefault(self, bool)¶
- setDisabled(self, bool)¶
- setDown(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- SplitStyledButton.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFlat(self, bool)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) → None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- SplitStyledButton.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setHighlighted(highlighted)¶
Whether to make the button background green, to make the button “jump out” to the user as the next likely action to take. Similar to a “default” button state (often used in dialog boxes), except that it doesn’t activate on pressing of the “Enter” key.
- setIcon(self, QIcon)¶
- setIconSize(self, QSize)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) → None
- setMaximumHeight(self, int)¶
- SplitStyledButton.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) → None¶
- setMaximumWidth(self, int)¶
- setMenu(self, QMenu)¶
- setMinimumHeight(self, int)¶
- SplitStyledButton.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) → None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) → None
- setProperty(self, str, Any) → bool¶
- setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- SplitStyledButton.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) → None¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) → None
- setStatusTip(self, str)¶
- setStyle(style)¶
Set the style of the button to one of available styles.
- Parameters
style – Style to use.
- setStyleSheet(self, str)¶
- SplitStyledButton.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setText(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- sharedPainter(self) → QPainter¶
- shortcut(self) → QKeySequence¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMenu(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) → bool¶
- size(self) → QSize¶
- sizeHint(self) → QSize¶
- sizeIncrement(self) → QSize¶
- sizePolicy(self) → QSizePolicy¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) → str¶
- style(self) → QStyle¶
- styleSheet(self) → str¶
- tabletEvent(self, QTabletEvent)¶
- testAttribute(self, Qt.WidgetAttribute) → bool¶
- text(self) → str¶
- thread(self) → QThread¶
- timerEvent(self, QTimerEvent)¶
- toggle(self)¶
- toggled¶
toggled(self, bool) [signal]
- toolTip(self) → str¶
- toolTipDuration(self) → int¶
- tr(self, str, disambiguation: str = None, n: int = - 1) → str¶
- underMouse(self) → bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) → None
- update(self, QRegion) → None
- SplitStyledButton.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) → bool¶
- visibleRegion(self) → QRegion¶
- whatsThis(self) → str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) → int¶
- widthMM(self) → int¶
- winId(self) → PyQt5.sip.voidptr¶
- window(self) → QWidget¶
- windowFilePath(self) → str¶
- windowFlags(self) → Qt.WindowFlags¶
- windowHandle(self) → QWindow¶
- windowIcon(self) → QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) → str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) → Qt.WindowModality¶
- windowOpacity(self) → float¶
- windowRole(self) → str¶
- windowState(self) → Qt.WindowStates¶
- windowTitle(self) → str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) → Qt.WindowType¶
- x(self) → int¶
- y(self) → int¶
- class schrodinger.ui.qt.standard_widgets.buttons.DoubleClickSplitStyledButton(*args, **kwargs)[source]¶
Bases:
schrodinger.ui.qt.standard_widgets.buttons.DoubleClickButtonMixin
,schrodinger.ui.qt.standard_widgets.buttons.SplitStyledButton
Button with split styling and double click signal.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- 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¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) → None
- class RenderFlags(QWidget.RenderFlags) → None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- class Style(value)¶
Bases:
enum.Enum
An enumeration.
- Standard = 'Standard'¶
- Highlighted = 'Highlighted'¶
- HighlightedText = 'HighlightedText'¶
- __init__(*args, **kwargs)¶
- acceptDrops(self) → bool¶
- accessibleDescription(self) → str¶
- accessibleName(self) → str¶
- actionEvent(self, QActionEvent)¶
- actions(self) → List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- animateClick(self, msecs: int = 100)¶
- autoDefault(self) → bool¶
- autoExclusive(self) → bool¶
- autoFillBackground(self) → bool¶
- autoRepeat(self) → bool¶
- autoRepeatDelay(self) → int¶
- autoRepeatInterval(self) → int¶
- backgroundRole(self) → QPalette.ColorRole¶
- baseSize(self) → QSize¶
- blockSignals(self, bool) → bool¶
- changeEvent(self, QEvent)¶
- checkStateSet(self)¶
- childAt(self, QPoint) → QWidget¶
- DoubleClickSplitStyledButton.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) → List[QObject]¶
- childrenRect(self) → QRect¶
- childrenRegion(self) → QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- click(self)¶
- clicked¶
clicked(self, checked: bool = False) [signal]
- close(self) → bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) → int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) → QMargins¶
- contentsRect(self) → QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) → Qt.ContextMenuPolicy¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
- cursor(self) → QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- depth(self) → int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) → int¶
- devicePixelRatio(self) → int¶
- devicePixelRatioF(self) → float¶
- devicePixelRatioFScale() → float¶
- disconnect(QMetaObject.Connection) → bool¶
- disconnect(self) → None
- disconnectNotify(self, QMetaMethod)¶
- doubleClicked¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) → List[QByteArray]¶
- effectiveWinId(self) → PyQt5.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) → bool¶
- eventFilter(self, QObject, QEvent) → bool¶
- find(PyQt5.sip.voidptr) → QWidget¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) → bool¶
- focusNextPrevChild(self, bool) → bool¶
- focusOutEvent(self, 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¶
- getContentsMargins(self) → Tuple[int, int, int, int]¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) → QPixmap¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) → None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
- graphicsEffect(self) → QGraphicsEffect¶
- graphicsProxyWidget(self) → QGraphicsProxyWidget¶
- group(self) → QButtonGroup¶
- hasFocus(self) → bool¶
- hasHeightForWidth(self) → bool¶
- hasMouseTracking(self) → bool¶
- hasTabletTracking(self) → bool¶
- height(self) → int¶
- heightForWidth(self, int) → int¶
- heightMM(self) → int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hitButton(self, QPoint) → bool¶
- icon(self) → QIcon¶
- iconSize(self) → QSize¶
- inherits(self, str) → bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionButton)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) → Qt.InputMethodHints¶
- inputMethodQuery(self, Qt.InputMethodQuery) → Any¶
- DoubleClickSplitStyledButton.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) → bool¶
- isAncestorOf(self, QWidget) → bool¶
- isCheckable(self) → bool¶
- isChecked(self) → bool¶
- isDefault(self) → bool¶
- isDown(self) → bool¶
- isEnabled(self) → bool¶
- isEnabledTo(self, QWidget) → bool¶
- isFlat(self) → bool¶
- isFullScreen(self) → bool¶
- isHidden(self) → bool¶
- isLeftToRight(self) → bool¶
- isMaximized(self) → bool¶
- isMinimized(self) → bool¶
- isModal(self) → bool¶
- isRightToLeft(self) → bool¶
- isSignalConnected(self, QMetaMethod) → bool¶
- isVisible(self) → bool¶
- isVisibleTo(self, QWidget) → bool¶
- isWidgetType(self) → bool¶
- isWindow(self) → bool¶
- isWindowModified(self) → bool¶
- isWindowType(self) → bool¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() → QWidget¶
- killTimer(self, int)¶
- layout(self) → QLayout¶
- layoutDirection(self) → Qt.LayoutDirection¶
- leaveEvent(self, QEvent)¶
- locale(self) → QLocale¶
- logicalDpiX(self) → int¶
- logicalDpiY(self) → int¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) → QPoint¶
- mapFromGlobal(self, QPoint) → QPoint¶
- mapFromParent(self, QPoint) → QPoint¶
- mapTo(self, QWidget, QPoint) → QPoint¶
- mapToGlobal(self, QPoint) → QPoint¶
- mapToParent(self, QPoint) → QPoint¶
- mask(self) → QRegion¶
- maximumHeight(self) → int¶
- maximumSize(self) → QSize¶
- maximumWidth(self) → int¶
- menu(self) → QMenu¶
- metaObject(self) → QMetaObject¶
- metric(self, QPaintDevice.PaintDeviceMetric) → int¶
- minimumHeight(self) → int¶
- minimumSize(self) → QSize¶
- minimumSizeHint(self) → QSize¶
- minimumWidth(self) → int¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() → QWidget¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- DoubleClickSplitStyledButton.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
- nativeParentWidget(self) → QWidget¶
- nextCheckState(self)¶
- nextInFocusChain(self) → QWidget¶
- normalGeometry(self) → QRect¶
- objectName(self) → str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) → QPaintEngine¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) → bool¶
- palette(self) → QPalette¶
- parent(self) → QObject¶
- parentWidget(self) → QWidget¶
- physicalDpiX(self) → int¶
- physicalDpiY(self) → int¶
- pos(self) → QPoint¶
- pressed¶
pressed(self) [signal]
- previousInFocusChain(self) → QWidget¶
- property(self, 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, PYQT_SIGNAL) → int¶
- rect(self) → QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- released¶
released(self) [signal]
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) → None
- repaint(self)¶
- DoubleClickSplitStyledButton.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) → None
- repaint(self, QRegion) → None
- resize(self, QSize)¶
- DoubleClickSplitStyledButton.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) → bool¶
- saveGeometry(self) → QByteArray¶
- DoubleClickSplitStyledButton.scroll(self, int, int)
- DoubleClickSplitStyledButton.scroll(self, int, int, QRect) -> None
- sender(self) → QObject¶
- senderSignalIndex(self) → int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoDefault(self, bool)¶
- setAutoExclusive(self, bool)¶
- setAutoFillBackground(self, bool)¶
- setAutoRepeat(self, bool)¶
- setAutoRepeatDelay(self, int)¶
- setAutoRepeatInterval(self, int)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- DoubleClickSplitStyledButton.setBaseSize(self, int, int)
- setBaseSize(self, QSize) → None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- DoubleClickSplitStyledButton.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) → None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefault(self, bool)¶
- setDisabled(self, bool)¶
- setDown(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- DoubleClickSplitStyledButton.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFlat(self, bool)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) → None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- DoubleClickSplitStyledButton.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setHighlighted(highlighted)¶
Whether to make the button background green, to make the button “jump out” to the user as the next likely action to take. Similar to a “default” button state (often used in dialog boxes), except that it doesn’t activate on pressing of the “Enter” key.
- setIcon(self, QIcon)¶
- setIconSize(self, QSize)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) → None
- setMaximumHeight(self, int)¶
- DoubleClickSplitStyledButton.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) → None¶
- setMaximumWidth(self, int)¶
- setMenu(self, QMenu)¶
- setMinimumHeight(self, int)¶
- DoubleClickSplitStyledButton.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) → None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) → None
- setProperty(self, str, Any) → bool¶
- setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- DoubleClickSplitStyledButton.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) → None¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) → None
- setStatusTip(self, str)¶
- setStyle(style)¶
Set the style of the button to one of available styles.
- Parameters
style – Style to use.
- setStyleSheet(self, str)¶
- DoubleClickSplitStyledButton.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setText(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- sharedPainter(self) → QPainter¶
- shortcut(self) → QKeySequence¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMenu(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) → bool¶
- singleClicked¶
- size(self) → QSize¶
- sizeHint(self) → QSize¶
- sizeIncrement(self) → QSize¶
- sizePolicy(self) → QSizePolicy¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) → str¶
- style(self) → QStyle¶
- styleSheet(self) → str¶
- tabletEvent(self, QTabletEvent)¶
- testAttribute(self, Qt.WidgetAttribute) → bool¶
- text(self) → str¶
- thread(self) → QThread¶
- timerEvent(self, QTimerEvent)¶
- toggle(self)¶
- toggled¶
toggled(self, bool) [signal]
- toolTip(self) → str¶
- toolTipDuration(self) → int¶
- tr(self, str, disambiguation: str = None, n: int = - 1) → str¶
- underMouse(self) → bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) → None
- update(self, QRegion) → None
- DoubleClickSplitStyledButton.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updateStyleSheet()¶
- updatesEnabled(self) → bool¶
- visibleRegion(self) → QRegion¶
- whatsThis(self) → str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) → int¶
- widthMM(self) → int¶
- winId(self) → PyQt5.sip.voidptr¶
- window(self) → QWidget¶
- windowFilePath(self) → str¶
- windowFlags(self) → Qt.WindowFlags¶
- windowHandle(self) → QWindow¶
- windowIcon(self) → QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) → str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) → Qt.WindowModality¶
- windowOpacity(self) → float¶
- windowRole(self) → str¶
- windowState(self) → Qt.WindowStates¶
- windowTitle(self) → str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) → Qt.WindowType¶
- x(self) → int¶
- y(self) → int¶
- class schrodinger.ui.qt.standard_widgets.buttons.FlatButton(*args, **kwargs)[source]¶
Bases:
PyQt5.QtWidgets.QToolButton
A flat icon toolbutton. To use this, it’s necessary to call setIconPath with the appropriate path to get the icon to show up. If a different icon is to be used for hover/pressed states, call setHoverIconPath. The size of the icon can be specified using
setIconSize_
(there is already a Qt setIconSize method on the class)- DelayedPopup = 0¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- InstantPopup = 2¶
- MenuButtonPopup = 1¶
- class PaintDeviceMetric¶
Bases:
int
- 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¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) → None
- class RenderFlags(QWidget.RenderFlags) → None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- class ToolButtonPopupMode¶
Bases:
int
- acceptDrops(self) → bool¶
- accessibleDescription(self) → str¶
- accessibleName(self) → str¶
- actionEvent(self, QActionEvent)¶
- actions(self) → List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- animateClick(self, msecs: int = 100)¶
- arrowType(self) → Qt.ArrowType¶
- autoExclusive(self) → bool¶
- autoFillBackground(self) → bool¶
- autoRaise(self) → bool¶
- autoRepeat(self) → bool¶
- autoRepeatDelay(self) → int¶
- autoRepeatInterval(self) → int¶
- backgroundRole(self) → QPalette.ColorRole¶
- baseSize(self) → QSize¶
- blockSignals(self, bool) → bool¶
- changeEvent(self, QEvent)¶
- checkStateSet(self)¶
- childAt(self, QPoint) → QWidget¶
- FlatButton.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) → List[QObject]¶
- childrenRect(self) → QRect¶
- childrenRegion(self) → QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- click(self)¶
- clicked¶
clicked(self, checked: bool = False) [signal]
- close(self) → bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) → int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) → QMargins¶
- contentsRect(self) → QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) → Qt.ContextMenuPolicy¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
- cursor(self) → QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) → QAction¶
- deleteLater(self)¶
- depth(self) → int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) → int¶
- devicePixelRatio(self) → int¶
- devicePixelRatioF(self) → float¶
- devicePixelRatioFScale() → float¶
- disconnect(QMetaObject.Connection) → bool¶
- disconnect(self) → None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) → List[QByteArray]¶
- effectiveWinId(self) → PyQt5.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) → bool¶
- eventFilter(self, QObject, QEvent) → bool¶
- find(PyQt5.sip.voidptr) → QWidget¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) → bool¶
- focusNextPrevChild(self, bool) → bool¶
- focusOutEvent(self, 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¶
- getContentsMargins(self) → Tuple[int, int, int, int]¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) → QPixmap¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) → None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
- graphicsEffect(self) → QGraphicsEffect¶
- graphicsProxyWidget(self) → QGraphicsProxyWidget¶
- group(self) → QButtonGroup¶
- hasFocus(self) → bool¶
- hasHeightForWidth(self) → bool¶
- hasMouseTracking(self) → bool¶
- hasTabletTracking(self) → bool¶
- height(self) → int¶
- heightForWidth(self, int) → int¶
- heightMM(self) → int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hitButton(self, QPoint) → bool¶
- icon(self) → QIcon¶
- iconSize(self) → QSize¶
- inherits(self, str) → bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionToolButton)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) → Qt.InputMethodHints¶
- inputMethodQuery(self, Qt.InputMethodQuery) → Any¶
- FlatButton.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) → bool¶
- isAncestorOf(self, QWidget) → bool¶
- isCheckable(self) → bool¶
- isChecked(self) → bool¶
- isDown(self) → bool¶
- isEnabled(self) → bool¶
- isEnabledTo(self, 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, QMetaMethod) → bool¶
- isVisible(self) → bool¶
- isVisibleTo(self, QWidget) → bool¶
- isWidgetType(self) → bool¶
- isWindow(self) → bool¶
- isWindowModified(self) → bool¶
- isWindowType(self) → bool¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() → QWidget¶
- killTimer(self, int)¶
- layout(self) → QLayout¶
- layoutDirection(self) → Qt.LayoutDirection¶
- leaveEvent(self, QEvent)¶
- locale(self) → QLocale¶
- logicalDpiX(self) → int¶
- logicalDpiY(self) → int¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) → QPoint¶
- mapFromGlobal(self, QPoint) → QPoint¶
- mapFromParent(self, QPoint) → QPoint¶
- mapTo(self, QWidget, QPoint) → QPoint¶
- mapToGlobal(self, QPoint) → QPoint¶
- mapToParent(self, QPoint) → QPoint¶
- mask(self) → QRegion¶
- maximumHeight(self) → int¶
- maximumSize(self) → QSize¶
- maximumWidth(self) → int¶
- menu(self) → QMenu¶
- metaObject(self) → QMetaObject¶
- metric(self, QPaintDevice.PaintDeviceMetric) → int¶
- minimumHeight(self) → int¶
- minimumSize(self) → QSize¶
- minimumSizeHint(self) → QSize¶
- minimumWidth(self) → int¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() → QWidget¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- FlatButton.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
- nativeParentWidget(self) → QWidget¶
- nextCheckState(self)¶
- nextInFocusChain(self) → QWidget¶
- normalGeometry(self) → QRect¶
- objectName(self) → str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) → QPaintEngine¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) → bool¶
- palette(self) → QPalette¶
- parent(self) → QObject¶
- parentWidget(self) → QWidget¶
- physicalDpiX(self) → int¶
- physicalDpiY(self) → int¶
- popupMode(self) → QToolButton.ToolButtonPopupMode¶
- pos(self) → QPoint¶
- pressed¶
pressed(self) [signal]
- previousInFocusChain(self) → QWidget¶
- property(self, 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, PYQT_SIGNAL) → int¶
- rect(self) → QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- released¶
released(self) [signal]
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) → None
- repaint(self)¶
- FlatButton.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) → None
- repaint(self, QRegion) → None
- resize(self, QSize)¶
- FlatButton.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) → bool¶
- saveGeometry(self) → QByteArray¶
- FlatButton.scroll(self, int, int)
- FlatButton.scroll(self, int, int, QRect) -> None
- sender(self) → QObject¶
- senderSignalIndex(self) → int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setArrowType(self, Qt.ArrowType)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoExclusive(self, bool)¶
- setAutoFillBackground(self, bool)¶
- setAutoRaise(self, bool)¶
- setAutoRepeat(self, bool)¶
- setAutoRepeatDelay(self, int)¶
- setAutoRepeatInterval(self, int)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- FlatButton.setBaseSize(self, int, int)
- setBaseSize(self, QSize) → None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- FlatButton.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) → None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDisabled(self, bool)¶
- setDown(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- FlatButton.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) → None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- FlatButton.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setIconSize(self, QSize)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) → None
- setMaximumHeight(self, int)¶
- FlatButton.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) → None¶
- setMaximumWidth(self, int)¶
- setMenu(self, QMenu)¶
- setMinimumHeight(self, int)¶
- FlatButton.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) → None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) → None
- setPopupMode(self, QToolButton.ToolButtonPopupMode)¶
- setProperty(self, str, Any) → bool¶
- setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- FlatButton.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) → None¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) → None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- FlatButton.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setText(self, str)¶
- setToolButtonStyle(self, Qt.ToolButtonStyle)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- sharedPainter(self) → QPainter¶
- shortcut(self) → QKeySequence¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMenu(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) → bool¶
- size(self) → QSize¶
- sizeHint(self) → QSize¶
- sizeIncrement(self) → QSize¶
- sizePolicy(self) → QSizePolicy¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) → str¶
- style(self) → QStyle¶
- styleSheet(self) → str¶
- tabletEvent(self, QTabletEvent)¶
- testAttribute(self, Qt.WidgetAttribute) → bool¶
- text(self) → str¶
- thread(self) → QThread¶
- timerEvent(self, QTimerEvent)¶
- toggle(self)¶
- toggled¶
toggled(self, bool) [signal]
- toolButtonStyle(self) → Qt.ToolButtonStyle¶
- toolTip(self) → str¶
- toolTipDuration(self) → int¶
- tr(self, str, disambiguation: str = None, n: int = - 1) → str¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) → bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) → None
- update(self, QRegion) → None
- FlatButton.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) → bool¶
- visibleRegion(self) → QRegion¶
- whatsThis(self) → str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) → int¶
- widthMM(self) → int¶
- winId(self) → PyQt5.sip.voidptr¶
- window(self) → QWidget¶
- windowFilePath(self) → str¶
- windowFlags(self) → Qt.WindowFlags¶
- windowHandle(self) → QWindow¶
- windowIcon(self) → QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) → str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) → Qt.WindowModality¶
- windowOpacity(self) → float¶
- windowRole(self) → str¶
- windowState(self) → Qt.WindowStates¶
- windowTitle(self) → str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) → Qt.WindowType¶
- x(self) → int¶
- y(self) → int¶
- class schrodinger.ui.qt.standard_widgets.buttons.PrimaryPushButton(*args, **kwargs)[source]¶
Bases:
schrodinger.ui.qt.standard_widgets.buttons._PanelXPushButton
Subclass to apply primary button styling.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- 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¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) → None
- class RenderFlags(QWidget.RenderFlags) → None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- __init__(*args, **kwargs)¶
- acceptDrops(self) → bool¶
- accessibleDescription(self) → str¶
- accessibleName(self) → str¶
- actionEvent(self, QActionEvent)¶
- actions(self) → List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- animateClick(self, msecs: int = 100)¶
- autoDefault(self) → bool¶
- autoExclusive(self) → bool¶
- autoFillBackground(self) → bool¶
- autoRepeat(self) → bool¶
- autoRepeatDelay(self) → int¶
- autoRepeatInterval(self) → int¶
- backgroundRole(self) → QPalette.ColorRole¶
- baseSize(self) → QSize¶
- blockSignals(self, bool) → bool¶
- changeEvent(self, QEvent)¶
- checkStateSet(self)¶
- childAt(self, QPoint) → QWidget¶
- PrimaryPushButton.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) → List[QObject]¶
- childrenRect(self) → QRect¶
- childrenRegion(self) → QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- click(self)¶
- clicked¶
clicked(self, checked: bool = False) [signal]
- close(self) → bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) → int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) → QMargins¶
- contentsRect(self) → QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) → Qt.ContextMenuPolicy¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
- cursor(self) → QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- depth(self) → int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) → int¶
- devicePixelRatio(self) → int¶
- devicePixelRatioF(self) → float¶
- devicePixelRatioFScale() → float¶
- disconnect(QMetaObject.Connection) → bool¶
- disconnect(self) → None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) → List[QByteArray]¶
- effectiveWinId(self) → PyQt5.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) → bool¶
- eventFilter(self, QObject, QEvent) → bool¶
- find(PyQt5.sip.voidptr) → QWidget¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) → bool¶
- focusNextPrevChild(self, bool) → bool¶
- focusOutEvent(self, 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¶
- getContentsMargins(self) → Tuple[int, int, int, int]¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) → QPixmap¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) → None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
- graphicsEffect(self) → QGraphicsEffect¶
- graphicsProxyWidget(self) → QGraphicsProxyWidget¶
- group(self) → QButtonGroup¶
- hasFocus(self) → bool¶
- hasHeightForWidth(self) → bool¶
- hasMouseTracking(self) → bool¶
- hasTabletTracking(self) → bool¶
- height(self) → int¶
- heightForWidth(self, int) → int¶
- heightMM(self) → int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hitButton(self, QPoint) → bool¶
- icon(self) → QIcon¶
- iconSize(self) → QSize¶
- inherits(self, str) → bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionButton)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) → Qt.InputMethodHints¶
- inputMethodQuery(self, Qt.InputMethodQuery) → Any¶
- PrimaryPushButton.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) → bool¶
- isAncestorOf(self, QWidget) → bool¶
- isCheckable(self) → bool¶
- isChecked(self) → bool¶
- isDefault(self) → bool¶
- isDown(self) → bool¶
- isEnabled(self) → bool¶
- isEnabledTo(self, QWidget) → bool¶
- isFlat(self) → bool¶
- isFullScreen(self) → bool¶
- isHidden(self) → bool¶
- isLeftToRight(self) → bool¶
- isMaximized(self) → bool¶
- isMinimized(self) → bool¶
- isModal(self) → bool¶
- isRightToLeft(self) → bool¶
- isSignalConnected(self, QMetaMethod) → bool¶
- isVisible(self) → bool¶
- isVisibleTo(self, QWidget) → bool¶
- isWidgetType(self) → bool¶
- isWindow(self) → bool¶
- isWindowModified(self) → bool¶
- isWindowType(self) → bool¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() → QWidget¶
- killTimer(self, int)¶
- layout(self) → QLayout¶
- layoutDirection(self) → Qt.LayoutDirection¶
- leaveEvent(self, QEvent)¶
- locale(self) → QLocale¶
- logicalDpiX(self) → int¶
- logicalDpiY(self) → int¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) → QPoint¶
- mapFromGlobal(self, QPoint) → QPoint¶
- mapFromParent(self, QPoint) → QPoint¶
- mapTo(self, QWidget, QPoint) → QPoint¶
- mapToGlobal(self, QPoint) → QPoint¶
- mapToParent(self, QPoint) → QPoint¶
- mask(self) → QRegion¶
- maximumHeight(self) → int¶
- maximumSize(self) → QSize¶
- maximumWidth(self) → int¶
- menu(self) → QMenu¶
- metaObject(self) → QMetaObject¶
- metric(self, QPaintDevice.PaintDeviceMetric) → int¶
- minimumHeight(self) → int¶
- minimumSize(self) → QSize¶
- minimumSizeHint(self) → QSize¶
- minimumWidth(self) → int¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() → QWidget¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- PrimaryPushButton.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
- nativeParentWidget(self) → QWidget¶
- nextCheckState(self)¶
- nextInFocusChain(self) → QWidget¶
- normalGeometry(self) → QRect¶
- objectName(self) → str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) → QPaintEngine¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) → bool¶
- palette(self) → QPalette¶
- parent(self) → QObject¶
- parentWidget(self) → QWidget¶
- physicalDpiX(self) → int¶
- physicalDpiY(self) → int¶
- pos(self) → QPoint¶
- pressed¶
pressed(self) [signal]
- previousInFocusChain(self) → QWidget¶
- property(self, 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, PYQT_SIGNAL) → int¶
- rect(self) → QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- released¶
released(self) [signal]
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) → None
- repaint(self)¶
- PrimaryPushButton.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) → None
- repaint(self, QRegion) → None
- resize(self, QSize)¶
- PrimaryPushButton.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) → bool¶
- saveGeometry(self) → QByteArray¶
- PrimaryPushButton.scroll(self, int, int)
- PrimaryPushButton.scroll(self, int, int, QRect) -> None
- sender(self) → QObject¶
- senderSignalIndex(self) → int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoDefault(self, bool)¶
- setAutoExclusive(self, bool)¶
- setAutoFillBackground(self, bool)¶
- setAutoRepeat(self, bool)¶
- setAutoRepeatDelay(self, int)¶
- setAutoRepeatInterval(self, int)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- PrimaryPushButton.setBaseSize(self, int, int)
- setBaseSize(self, QSize) → None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- PrimaryPushButton.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) → None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefault(self, bool)¶
- setDisabled(self, bool)¶
- setDown(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- PrimaryPushButton.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFlat(self, bool)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) → None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- PrimaryPushButton.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setIconSize(self, QSize)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) → None
- setMaximumHeight(self, int)¶
- PrimaryPushButton.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) → None¶
- setMaximumWidth(self, int)¶
- setMenu(self, QMenu)¶
- setMinimumHeight(self, int)¶
- PrimaryPushButton.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) → None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) → None
- setProperty(self, str, Any) → bool¶
- setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- PrimaryPushButton.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) → None¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) → None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- PrimaryPushButton.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setText(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- sharedPainter(self) → QPainter¶
- shortcut(self) → QKeySequence¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMenu(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) → bool¶
- size(self) → QSize¶
- sizeHint(self) → QSize¶
- sizeIncrement(self) → QSize¶
- sizePolicy(self) → QSizePolicy¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) → str¶
- style(self) → QStyle¶
- styleSheet(self) → str¶
- tabletEvent(self, QTabletEvent)¶
- testAttribute(self, Qt.WidgetAttribute) → bool¶
- text(self) → str¶
- thread(self) → QThread¶
- timerEvent(self, QTimerEvent)¶
- toggle(self)¶
- toggled¶
toggled(self, bool) [signal]
- toolTip(self) → str¶
- toolTipDuration(self) → int¶
- tr(self, str, disambiguation: str = None, n: int = - 1) → str¶
- underMouse(self) → bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) → None
- update(self, QRegion) → None
- PrimaryPushButton.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) → bool¶
- visibleRegion(self) → QRegion¶
- whatsThis(self) → str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) → int¶
- widthMM(self) → int¶
- winId(self) → PyQt5.sip.voidptr¶
- window(self) → QWidget¶
- windowFilePath(self) → str¶
- windowFlags(self) → Qt.WindowFlags¶
- windowHandle(self) → QWindow¶
- windowIcon(self) → QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) → str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) → Qt.WindowModality¶
- windowOpacity(self) → float¶
- windowRole(self) → str¶
- windowState(self) → Qt.WindowStates¶
- windowTitle(self) → str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) → Qt.WindowType¶
- x(self) → int¶
- y(self) → int¶
- class schrodinger.ui.qt.standard_widgets.buttons.SecondaryPushButton(*args, **kwargs)[source]¶
Bases:
schrodinger.ui.qt.standard_widgets.buttons._PanelXPushButton
Subclass to apply secondary button styling.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- 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¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) → None
- class RenderFlags(QWidget.RenderFlags) → None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- __init__(*args, **kwargs)¶
- acceptDrops(self) → bool¶
- accessibleDescription(self) → str¶
- accessibleName(self) → str¶
- actionEvent(self, QActionEvent)¶
- actions(self) → List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- animateClick(self, msecs: int = 100)¶
- autoDefault(self) → bool¶
- autoExclusive(self) → bool¶
- autoFillBackground(self) → bool¶
- autoRepeat(self) → bool¶
- autoRepeatDelay(self) → int¶
- autoRepeatInterval(self) → int¶
- backgroundRole(self) → QPalette.ColorRole¶
- baseSize(self) → QSize¶
- blockSignals(self, bool) → bool¶
- changeEvent(self, QEvent)¶
- checkStateSet(self)¶
- childAt(self, QPoint) → QWidget¶
- SecondaryPushButton.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) → List[QObject]¶
- childrenRect(self) → QRect¶
- childrenRegion(self) → QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- click(self)¶
- clicked¶
clicked(self, checked: bool = False) [signal]
- close(self) → bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) → int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) → QMargins¶
- contentsRect(self) → QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) → Qt.ContextMenuPolicy¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
- cursor(self) → QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- depth(self) → int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) → int¶
- devicePixelRatio(self) → int¶
- devicePixelRatioF(self) → float¶
- devicePixelRatioFScale() → float¶
- disconnect(QMetaObject.Connection) → bool¶
- disconnect(self) → None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) → List[QByteArray]¶
- effectiveWinId(self) → PyQt5.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) → bool¶
- eventFilter(self, QObject, QEvent) → bool¶
- find(PyQt5.sip.voidptr) → QWidget¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) → bool¶
- focusNextPrevChild(self, bool) → bool¶
- focusOutEvent(self, 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¶
- getContentsMargins(self) → Tuple[int, int, int, int]¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) → QPixmap¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) → None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
- graphicsEffect(self) → QGraphicsEffect¶
- graphicsProxyWidget(self) → QGraphicsProxyWidget¶
- group(self) → QButtonGroup¶
- hasFocus(self) → bool¶
- hasHeightForWidth(self) → bool¶
- hasMouseTracking(self) → bool¶
- hasTabletTracking(self) → bool¶
- height(self) → int¶
- heightForWidth(self, int) → int¶
- heightMM(self) → int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hitButton(self, QPoint) → bool¶
- icon(self) → QIcon¶
- iconSize(self) → QSize¶
- inherits(self, str) → bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionButton)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) → Qt.InputMethodHints¶
- inputMethodQuery(self, Qt.InputMethodQuery) → Any¶
- SecondaryPushButton.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) → bool¶
- isAncestorOf(self, QWidget) → bool¶
- isCheckable(self) → bool¶
- isChecked(self) → bool¶
- isDefault(self) → bool¶
- isDown(self) → bool¶
- isEnabled(self) → bool¶
- isEnabledTo(self, QWidget) → bool¶
- isFlat(self) → bool¶
- isFullScreen(self) → bool¶
- isHidden(self) → bool¶
- isLeftToRight(self) → bool¶
- isMaximized(self) → bool¶
- isMinimized(self) → bool¶
- isModal(self) → bool¶
- isRightToLeft(self) → bool¶
- isSignalConnected(self, QMetaMethod) → bool¶
- isVisible(self) → bool¶
- isVisibleTo(self, QWidget) → bool¶
- isWidgetType(self) → bool¶
- isWindow(self) → bool¶
- isWindowModified(self) → bool¶
- isWindowType(self) → bool¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() → QWidget¶
- killTimer(self, int)¶
- layout(self) → QLayout¶
- layoutDirection(self) → Qt.LayoutDirection¶
- leaveEvent(self, QEvent)¶
- locale(self) → QLocale¶
- logicalDpiX(self) → int¶
- logicalDpiY(self) → int¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) → QPoint¶
- mapFromGlobal(self, QPoint) → QPoint¶
- mapFromParent(self, QPoint) → QPoint¶
- mapTo(self, QWidget, QPoint) → QPoint¶
- mapToGlobal(self, QPoint) → QPoint¶
- mapToParent(self, QPoint) → QPoint¶
- mask(self) → QRegion¶
- maximumHeight(self) → int¶
- maximumSize(self) → QSize¶
- maximumWidth(self) → int¶
- menu(self) → QMenu¶
- metaObject(self) → QMetaObject¶
- metric(self, QPaintDevice.PaintDeviceMetric) → int¶
- minimumHeight(self) → int¶
- minimumSize(self) → QSize¶
- minimumSizeHint(self) → QSize¶
- minimumWidth(self) → int¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() → QWidget¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- SecondaryPushButton.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
- nativeParentWidget(self) → QWidget¶
- nextCheckState(self)¶
- nextInFocusChain(self) → QWidget¶
- normalGeometry(self) → QRect¶
- objectName(self) → str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) → QPaintEngine¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) → bool¶
- palette(self) → QPalette¶
- parent(self) → QObject¶
- parentWidget(self) → QWidget¶
- physicalDpiX(self) → int¶
- physicalDpiY(self) → int¶
- pos(self) → QPoint¶
- pressed¶
pressed(self) [signal]
- previousInFocusChain(self) → QWidget¶
- property(self, 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, PYQT_SIGNAL) → int¶
- rect(self) → QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- released¶
released(self) [signal]
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) → None
- repaint(self)¶
- SecondaryPushButton.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) → None
- repaint(self, QRegion) → None
- resize(self, QSize)¶
- SecondaryPushButton.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) → bool¶
- saveGeometry(self) → QByteArray¶
- SecondaryPushButton.scroll(self, int, int)
- SecondaryPushButton.scroll(self, int, int, QRect) -> None
- sender(self) → QObject¶
- senderSignalIndex(self) → int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoDefault(self, bool)¶
- setAutoExclusive(self, bool)¶
- setAutoFillBackground(self, bool)¶
- setAutoRepeat(self, bool)¶
- setAutoRepeatDelay(self, int)¶
- setAutoRepeatInterval(self, int)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- SecondaryPushButton.setBaseSize(self, int, int)
- setBaseSize(self, QSize) → None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- SecondaryPushButton.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) → None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefault(self, bool)¶
- setDisabled(self, bool)¶
- setDown(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- SecondaryPushButton.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFlat(self, bool)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) → None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- SecondaryPushButton.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setIconSize(self, QSize)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) → None
- setMaximumHeight(self, int)¶
- SecondaryPushButton.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) → None¶
- setMaximumWidth(self, int)¶
- setMenu(self, QMenu)¶
- setMinimumHeight(self, int)¶
- SecondaryPushButton.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) → None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) → None
- setProperty(self, str, Any) → bool¶
- setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- SecondaryPushButton.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) → None¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) → None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- SecondaryPushButton.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setText(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- sharedPainter(self) → QPainter¶
- shortcut(self) → QKeySequence¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMenu(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) → bool¶
- size(self) → QSize¶
- sizeHint(self) → QSize¶
- sizeIncrement(self) → QSize¶
- sizePolicy(self) → QSizePolicy¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) → str¶
- style(self) → QStyle¶
- styleSheet(self) → str¶
- tabletEvent(self, QTabletEvent)¶
- testAttribute(self, Qt.WidgetAttribute) → bool¶
- text(self) → str¶
- thread(self) → QThread¶
- timerEvent(self, QTimerEvent)¶
- toggle(self)¶
- toggled¶
toggled(self, bool) [signal]
- toolTip(self) → str¶
- toolTipDuration(self) → int¶
- tr(self, str, disambiguation: str = None, n: int = - 1) → str¶
- underMouse(self) → bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) → None
- update(self, QRegion) → None
- SecondaryPushButton.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) → bool¶
- visibleRegion(self) → QRegion¶
- whatsThis(self) → str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) → int¶
- widthMM(self) → int¶
- winId(self) → PyQt5.sip.voidptr¶
- window(self) → QWidget¶
- windowFilePath(self) → str¶
- windowFlags(self) → Qt.WindowFlags¶
- windowHandle(self) → QWindow¶
- windowIcon(self) → QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) → str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) → Qt.WindowModality¶
- windowOpacity(self) → float¶
- windowRole(self) → str¶
- windowState(self) → Qt.WindowStates¶
- windowTitle(self) → str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) → Qt.WindowType¶
- x(self) → int¶
- y(self) → int¶
- class schrodinger.ui.qt.standard_widgets.buttons.TertiaryPushButton(*args, **kwargs)[source]¶
Bases:
schrodinger.ui.qt.standard_widgets.buttons._PanelXPushButton
Subclass to apply tertiary button styling.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- 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¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) → None
- class RenderFlags(QWidget.RenderFlags) → None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- __init__(*args, **kwargs)¶
- acceptDrops(self) → bool¶
- accessibleDescription(self) → str¶
- accessibleName(self) → str¶
- actionEvent(self, QActionEvent)¶
- actions(self) → List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- animateClick(self, msecs: int = 100)¶
- autoDefault(self) → bool¶
- autoExclusive(self) → bool¶
- autoFillBackground(self) → bool¶
- autoRepeat(self) → bool¶
- autoRepeatDelay(self) → int¶
- autoRepeatInterval(self) → int¶
- backgroundRole(self) → QPalette.ColorRole¶
- baseSize(self) → QSize¶
- blockSignals(self, bool) → bool¶
- changeEvent(self, QEvent)¶
- checkStateSet(self)¶
- childAt(self, QPoint) → QWidget¶
- TertiaryPushButton.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) → List[QObject]¶
- childrenRect(self) → QRect¶
- childrenRegion(self) → QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- click(self)¶
- clicked¶
clicked(self, checked: bool = False) [signal]
- close(self) → bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) → int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) → QMargins¶
- contentsRect(self) → QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) → Qt.ContextMenuPolicy¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
- cursor(self) → QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- depth(self) → int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) → int¶
- devicePixelRatio(self) → int¶
- devicePixelRatioF(self) → float¶
- devicePixelRatioFScale() → float¶
- disconnect(QMetaObject.Connection) → bool¶
- disconnect(self) → None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) → List[QByteArray]¶
- effectiveWinId(self) → PyQt5.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) → bool¶
- eventFilter(self, QObject, QEvent) → bool¶
- find(PyQt5.sip.voidptr) → QWidget¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) → bool¶
- focusNextPrevChild(self, bool) → bool¶
- focusOutEvent(self, 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¶
- getContentsMargins(self) → Tuple[int, int, int, int]¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) → QPixmap¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) → None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
- graphicsEffect(self) → QGraphicsEffect¶
- graphicsProxyWidget(self) → QGraphicsProxyWidget¶
- group(self) → QButtonGroup¶
- hasFocus(self) → bool¶
- hasHeightForWidth(self) → bool¶
- hasMouseTracking(self) → bool¶
- hasTabletTracking(self) → bool¶
- height(self) → int¶
- heightForWidth(self, int) → int¶
- heightMM(self) → int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hitButton(self, QPoint) → bool¶
- icon(self) → QIcon¶
- iconSize(self) → QSize¶
- inherits(self, str) → bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionButton)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) → Qt.InputMethodHints¶
- inputMethodQuery(self, Qt.InputMethodQuery) → Any¶
- TertiaryPushButton.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) → bool¶
- isAncestorOf(self, QWidget) → bool¶
- isCheckable(self) → bool¶
- isChecked(self) → bool¶
- isDefault(self) → bool¶
- isDown(self) → bool¶
- isEnabled(self) → bool¶
- isEnabledTo(self, QWidget) → bool¶
- isFlat(self) → bool¶
- isFullScreen(self) → bool¶
- isHidden(self) → bool¶
- isLeftToRight(self) → bool¶
- isMaximized(self) → bool¶
- isMinimized(self) → bool¶
- isModal(self) → bool¶
- isRightToLeft(self) → bool¶
- isSignalConnected(self, QMetaMethod) → bool¶
- isVisible(self) → bool¶
- isVisibleTo(self, QWidget) → bool¶
- isWidgetType(self) → bool¶
- isWindow(self) → bool¶
- isWindowModified(self) → bool¶
- isWindowType(self) → bool¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() → QWidget¶
- killTimer(self, int)¶
- layout(self) → QLayout¶
- layoutDirection(self) → Qt.LayoutDirection¶
- leaveEvent(self, QEvent)¶
- locale(self) → QLocale¶
- logicalDpiX(self) → int¶
- logicalDpiY(self) → int¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) → QPoint¶
- mapFromGlobal(self, QPoint) → QPoint¶
- mapFromParent(self, QPoint) → QPoint¶
- mapTo(self, QWidget, QPoint) → QPoint¶
- mapToGlobal(self, QPoint) → QPoint¶
- mapToParent(self, QPoint) → QPoint¶
- mask(self) → QRegion¶
- maximumHeight(self) → int¶
- maximumSize(self) → QSize¶
- maximumWidth(self) → int¶
- menu(self) → QMenu¶
- metaObject(self) → QMetaObject¶
- metric(self, QPaintDevice.PaintDeviceMetric) → int¶
- minimumHeight(self) → int¶
- minimumSize(self) → QSize¶
- minimumSizeHint(self) → QSize¶
- minimumWidth(self) → int¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() → QWidget¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- TertiaryPushButton.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
- nativeParentWidget(self) → QWidget¶
- nextCheckState(self)¶
- nextInFocusChain(self) → QWidget¶
- normalGeometry(self) → QRect¶
- objectName(self) → str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) → QPaintEngine¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) → bool¶
- palette(self) → QPalette¶
- parent(self) → QObject¶
- parentWidget(self) → QWidget¶
- physicalDpiX(self) → int¶
- physicalDpiY(self) → int¶
- pos(self) → QPoint¶
- pressed¶
pressed(self) [signal]
- previousInFocusChain(self) → QWidget¶
- property(self, 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, PYQT_SIGNAL) → int¶
- rect(self) → QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- released¶
released(self) [signal]
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) → None
- repaint(self)¶
- TertiaryPushButton.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) → None
- repaint(self, QRegion) → None
- resize(self, QSize)¶
- TertiaryPushButton.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) → bool¶
- saveGeometry(self) → QByteArray¶
- TertiaryPushButton.scroll(self, int, int)
- TertiaryPushButton.scroll(self, int, int, QRect) -> None
- sender(self) → QObject¶
- senderSignalIndex(self) → int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoDefault(self, bool)¶
- setAutoExclusive(self, bool)¶
- setAutoFillBackground(self, bool)¶
- setAutoRepeat(self, bool)¶
- setAutoRepeatDelay(self, int)¶
- setAutoRepeatInterval(self, int)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- TertiaryPushButton.setBaseSize(self, int, int)
- setBaseSize(self, QSize) → None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- TertiaryPushButton.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) → None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefault(self, bool)¶
- setDisabled(self, bool)¶
- setDown(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- TertiaryPushButton.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFlat(self, bool)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) → None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- TertiaryPushButton.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setIconSize(self, QSize)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) → None
- setMaximumHeight(self, int)¶
- TertiaryPushButton.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) → None¶
- setMaximumWidth(self, int)¶
- setMenu(self, QMenu)¶
- setMinimumHeight(self, int)¶
- TertiaryPushButton.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) → None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) → None
- setProperty(self, str, Any) → bool¶
- setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- TertiaryPushButton.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) → None¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) → None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- TertiaryPushButton.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setText(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- sharedPainter(self) → QPainter¶
- shortcut(self) → QKeySequence¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMenu(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) → bool¶
- size(self) → QSize¶
- sizeHint(self) → QSize¶
- sizeIncrement(self) → QSize¶
- sizePolicy(self) → QSizePolicy¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) → str¶
- style(self) → QStyle¶
- styleSheet(self) → str¶
- tabletEvent(self, QTabletEvent)¶
- testAttribute(self, Qt.WidgetAttribute) → bool¶
- text(self) → str¶
- thread(self) → QThread¶
- timerEvent(self, QTimerEvent)¶
- toggle(self)¶
- toggled¶
toggled(self, bool) [signal]
- toolTip(self) → str¶
- toolTipDuration(self) → int¶
- tr(self, str, disambiguation: str = None, n: int = - 1) → str¶
- underMouse(self) → bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) → None
- update(self, QRegion) → None
- TertiaryPushButton.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) → bool¶
- visibleRegion(self) → QRegion¶
- whatsThis(self) → str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) → int¶
- widthMM(self) → int¶
- winId(self) → PyQt5.sip.voidptr¶
- window(self) → QWidget¶
- windowFilePath(self) → str¶
- windowFlags(self) → Qt.WindowFlags¶
- windowHandle(self) → QWindow¶
- windowIcon(self) → QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) → str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) → Qt.WindowModality¶
- windowOpacity(self) → float¶
- windowRole(self) → str¶
- windowState(self) → Qt.WindowStates¶
- windowTitle(self) → str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) → Qt.WindowType¶
- x(self) → int¶
- y(self) → int¶
- class schrodinger.ui.qt.standard_widgets.buttons.DropdownPushButton(*args, **kwargs)[source]¶
Bases:
schrodinger.ui.qt.standard_widgets.buttons._PanelXPushButton
,schrodinger.ui.qt.standard_widgets.buttons._DropdownMixin
Push button with a link and configurable dropdown.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- 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¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) → None
- class RenderFlags(QWidget.RenderFlags) → None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- __init__(*args, **kwargs)¶
- acceptDrops(self) → bool¶
- accessibleDescription(self) → str¶
- accessibleName(self) → str¶
- actionEvent(self, QActionEvent)¶
- actions(self) → List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- animateClick(self, msecs: int = 100)¶
- autoDefault(self) → bool¶
- autoExclusive(self) → bool¶
- autoFillBackground(self) → bool¶
- autoRepeat(self) → bool¶
- autoRepeatDelay(self) → int¶
- autoRepeatInterval(self) → int¶
- backgroundRole(self) → QPalette.ColorRole¶
- baseSize(self) → QSize¶
- blockSignals(self, bool) → bool¶
- changeEvent(self, QEvent)¶
- checkStateSet(self)¶
- childAt(self, QPoint) → QWidget¶
- DropdownPushButton.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) → List[QObject]¶
- childrenRect(self) → QRect¶
- childrenRegion(self) → QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- click(self)¶
- clicked¶
clicked(self, checked: bool = False) [signal]
- close(self) → bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) → int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) → QMargins¶
- contentsRect(self) → QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) → Qt.ContextMenuPolicy¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
- cursor(self) → QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- depth(self) → int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) → int¶
- devicePixelRatio(self) → int¶
- devicePixelRatioF(self) → float¶
- devicePixelRatioFScale() → float¶
- disconnect(QMetaObject.Connection) → bool¶
- disconnect(self) → None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) → List[QByteArray]¶
- effectiveWinId(self) → PyQt5.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) → bool¶
- eventFilter(self, QObject, QEvent) → bool¶
- find(PyQt5.sip.voidptr) → QWidget¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) → bool¶
- focusNextPrevChild(self, bool) → bool¶
- focusOutEvent(self, 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¶
- getContentsMargins(self) → Tuple[int, int, int, int]¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) → QPixmap¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) → None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
- graphicsEffect(self) → QGraphicsEffect¶
- graphicsProxyWidget(self) → QGraphicsProxyWidget¶
- group(self) → QButtonGroup¶
- hasFocus(self) → bool¶
- hasHeightForWidth(self) → bool¶
- hasMouseTracking(self) → bool¶
- hasTabletTracking(self) → bool¶
- height(self) → int¶
- heightForWidth(self, int) → int¶
- heightMM(self) → int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hitButton(self, QPoint) → bool¶
- icon(self) → QIcon¶
- iconSize(self) → QSize¶
- inherits(self, str) → bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionButton)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) → Qt.InputMethodHints¶
- inputMethodQuery(self, Qt.InputMethodQuery) → Any¶
- DropdownPushButton.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) → bool¶
- isAncestorOf(self, QWidget) → bool¶
- isCheckable(self) → bool¶
- isChecked(self) → bool¶
- isDefault(self) → bool¶
- isDown(self) → bool¶
- isEnabled(self) → bool¶
- isEnabledTo(self, QWidget) → bool¶
- isFlat(self) → bool¶
- isFullScreen(self) → bool¶
- isHidden(self) → bool¶
- isLeftToRight(self) → bool¶
- isMaximized(self) → bool¶
- isMinimized(self) → bool¶
- isModal(self) → bool¶
- isRightToLeft(self) → bool¶
- isSignalConnected(self, QMetaMethod) → bool¶
- isVisible(self) → bool¶
- isVisibleTo(self, QWidget) → bool¶
- isWidgetType(self) → bool¶
- isWindow(self) → bool¶
- isWindowModified(self) → bool¶
- isWindowType(self) → bool¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() → QWidget¶
- killTimer(self, int)¶
- layout(self) → QLayout¶
- layoutDirection(self) → Qt.LayoutDirection¶
- leaveEvent(self, QEvent)¶
- locale(self) → QLocale¶
- logicalDpiX(self) → int¶
- logicalDpiY(self) → int¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) → QPoint¶
- mapFromGlobal(self, QPoint) → QPoint¶
- mapFromParent(self, QPoint) → QPoint¶
- mapTo(self, QWidget, QPoint) → QPoint¶
- mapToGlobal(self, QPoint) → QPoint¶
- mapToParent(self, QPoint) → QPoint¶
- mask(self) → QRegion¶
- maximumHeight(self) → int¶
- maximumSize(self) → QSize¶
- maximumWidth(self) → int¶
- menu(self) → QMenu¶
- metaObject(self) → QMetaObject¶
- metric(self, QPaintDevice.PaintDeviceMetric) → int¶
- minimumHeight(self) → int¶
- minimumSize(self) → QSize¶
- minimumSizeHint(self) → QSize¶
- minimumWidth(self) → int¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() → QWidget¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- DropdownPushButton.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
- nativeParentWidget(self) → QWidget¶
- nextCheckState(self)¶
- nextInFocusChain(self) → QWidget¶
- normalGeometry(self) → QRect¶
- objectName(self) → str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) → QPaintEngine¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) → bool¶
- palette(self) → QPalette¶
- parent(self) → QObject¶
- parentWidget(self) → QWidget¶
- physicalDpiX(self) → int¶
- physicalDpiY(self) → int¶
- pos(self) → QPoint¶
- pressed¶
pressed(self) [signal]
- previousInFocusChain(self) → QWidget¶
- property(self, 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, PYQT_SIGNAL) → int¶
- rect(self) → QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- released¶
released(self) [signal]
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) → None
- repaint(self)¶
- DropdownPushButton.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) → None
- repaint(self, QRegion) → None
- resize(self, QSize)¶
- DropdownPushButton.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) → bool¶
- saveGeometry(self) → QByteArray¶
- DropdownPushButton.scroll(self, int, int)
- DropdownPushButton.scroll(self, int, int, QRect) -> None
- sender(self) → QObject¶
- senderSignalIndex(self) → int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoDefault(self, bool)¶
- setAutoExclusive(self, bool)¶
- setAutoFillBackground(self, bool)¶
- setAutoRepeat(self, bool)¶
- setAutoRepeatDelay(self, int)¶
- setAutoRepeatInterval(self, int)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- DropdownPushButton.setBaseSize(self, int, int)
- setBaseSize(self, QSize) → None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- DropdownPushButton.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) → None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefault(self, bool)¶
- setDisabled(self, bool)¶
- setDown(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- DropdownPushButton.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFlat(self, bool)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) → None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- DropdownPushButton.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setIconSize(self, QSize)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) → None
- setMaximumHeight(self, int)¶
- DropdownPushButton.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) → None¶
- setMaximumWidth(self, int)¶
- setMenu(self, QMenu)¶
- setMinimumHeight(self, int)¶
- DropdownPushButton.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) → None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) → None
- setProperty(self, str, Any) → bool¶
- setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- DropdownPushButton.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) → None¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) → None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- DropdownPushButton.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setText(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- sharedPainter(self) → QPainter¶
- shortcut(self) → QKeySequence¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMenu(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) → bool¶
- size(self) → QSize¶
- sizeHint(self) → QSize¶
- sizeIncrement(self) → QSize¶
- sizePolicy(self) → QSizePolicy¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) → str¶
- style(self) → QStyle¶
- styleSheet(self) → str¶
- tabletEvent(self, QTabletEvent)¶
- testAttribute(self, Qt.WidgetAttribute) → bool¶
- text(self) → str¶
- thread(self) → QThread¶
- timerEvent(self, QTimerEvent)¶
- toggle(self)¶
- toggled¶
toggled(self, bool) [signal]
- toolTip(self) → str¶
- toolTipDuration(self) → int¶
- tr(self, str, disambiguation: str = None, n: int = - 1) → str¶
- underMouse(self) → bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) → None
- update(self, QRegion) → None
- DropdownPushButton.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) → bool¶
- visibleRegion(self) → QRegion¶
- whatsThis(self) → str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) → int¶
- widthMM(self) → int¶
- winId(self) → PyQt5.sip.voidptr¶
- window(self) → QWidget¶
- windowFilePath(self) → str¶
- windowFlags(self) → Qt.WindowFlags¶
- windowHandle(self) → QWindow¶
- windowIcon(self) → QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) → str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) → Qt.WindowModality¶
- windowOpacity(self) → float¶
- windowRole(self) → str¶
- windowState(self) → Qt.WindowStates¶
- windowTitle(self) → str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) → Qt.WindowType¶
- x(self) → int¶
- y(self) → int¶
- class schrodinger.ui.qt.standard_widgets.buttons.BaseSplitPushButton(*args, **kwargs)[source]¶
Bases:
schrodinger.ui.qt.standard_widgets.buttons._PanelXPushButton
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- 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¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) → None
- class RenderFlags(QWidget.RenderFlags) → None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- __init__(*args, **kwargs)¶
- acceptDrops(self) → bool¶
- accessibleDescription(self) → str¶
- accessibleName(self) → str¶
- actionEvent(self, QActionEvent)¶
- actions(self) → List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- animateClick(self, msecs: int = 100)¶
- autoDefault(self) → bool¶
- autoExclusive(self) → bool¶
- autoFillBackground(self) → bool¶
- autoRepeat(self) → bool¶
- autoRepeatDelay(self) → int¶
- autoRepeatInterval(self) → int¶
- backgroundRole(self) → QPalette.ColorRole¶
- baseSize(self) → QSize¶
- blockSignals(self, bool) → bool¶
- changeEvent(self, QEvent)¶
- checkStateSet(self)¶
- childAt(self, QPoint) → QWidget¶
- BaseSplitPushButton.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) → List[QObject]¶
- childrenRect(self) → QRect¶
- childrenRegion(self) → QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- click(self)¶
- clicked¶
clicked(self, checked: bool = False) [signal]
- close(self) → bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) → int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) → QMargins¶
- contentsRect(self) → QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) → Qt.ContextMenuPolicy¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
- cursor(self) → QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- depth(self) → int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) → int¶
- devicePixelRatio(self) → int¶
- devicePixelRatioF(self) → float¶
- devicePixelRatioFScale() → float¶
- disconnect(QMetaObject.Connection) → bool¶
- disconnect(self) → None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) → List[QByteArray]¶
- effectiveWinId(self) → PyQt5.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) → bool¶
- eventFilter(self, QObject, QEvent) → bool¶
- find(PyQt5.sip.voidptr) → QWidget¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) → bool¶
- focusNextPrevChild(self, bool) → bool¶
- focusOutEvent(self, 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¶
- getContentsMargins(self) → Tuple[int, int, int, int]¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) → QPixmap¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) → None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
- graphicsEffect(self) → QGraphicsEffect¶
- graphicsProxyWidget(self) → QGraphicsProxyWidget¶
- group(self) → QButtonGroup¶
- hasFocus(self) → bool¶
- hasHeightForWidth(self) → bool¶
- hasMouseTracking(self) → bool¶
- hasTabletTracking(self) → bool¶
- height(self) → int¶
- heightForWidth(self, int) → int¶
- heightMM(self) → int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hitButton(self, QPoint) → bool¶
- icon(self) → QIcon¶
- iconSize(self) → QSize¶
- inherits(self, str) → bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionButton)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) → Qt.InputMethodHints¶
- inputMethodQuery(self, Qt.InputMethodQuery) → Any¶
- BaseSplitPushButton.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) → bool¶
- isAncestorOf(self, QWidget) → bool¶
- isCheckable(self) → bool¶
- isChecked(self) → bool¶
- isDefault(self) → bool¶
- isDown(self) → bool¶
- isEnabled(self) → bool¶
- isEnabledTo(self, QWidget) → bool¶
- isFlat(self) → bool¶
- isFullScreen(self) → bool¶
- isHidden(self) → bool¶
- isLeftToRight(self) → bool¶
- isMaximized(self) → bool¶
- isMinimized(self) → bool¶
- isModal(self) → bool¶
- isRightToLeft(self) → bool¶
- isSignalConnected(self, QMetaMethod) → bool¶
- isVisible(self) → bool¶
- isVisibleTo(self, QWidget) → bool¶
- isWidgetType(self) → bool¶
- isWindow(self) → bool¶
- isWindowModified(self) → bool¶
- isWindowType(self) → bool¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() → QWidget¶
- killTimer(self, int)¶
- layout(self) → QLayout¶
- layoutDirection(self) → Qt.LayoutDirection¶
- leaveEvent(self, QEvent)¶
- locale(self) → QLocale¶
- logicalDpiX(self) → int¶
- logicalDpiY(self) → int¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) → QPoint¶
- mapFromGlobal(self, QPoint) → QPoint¶
- mapFromParent(self, QPoint) → QPoint¶
- mapTo(self, QWidget, QPoint) → QPoint¶
- mapToGlobal(self, QPoint) → QPoint¶
- mapToParent(self, QPoint) → QPoint¶
- mask(self) → QRegion¶
- maximumHeight(self) → int¶
- maximumSize(self) → QSize¶
- maximumWidth(self) → int¶
- menu(self) → QMenu¶
- metaObject(self) → QMetaObject¶
- metric(self, QPaintDevice.PaintDeviceMetric) → int¶
- minimumHeight(self) → int¶
- minimumSize(self) → QSize¶
- minimumSizeHint(self) → QSize¶
- minimumWidth(self) → int¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() → QWidget¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- BaseSplitPushButton.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
- nativeParentWidget(self) → QWidget¶
- nextCheckState(self)¶
- nextInFocusChain(self) → QWidget¶
- normalGeometry(self) → QRect¶
- objectName(self) → str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) → QPaintEngine¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) → bool¶
- palette(self) → QPalette¶
- parent(self) → QObject¶
- parentWidget(self) → QWidget¶
- physicalDpiX(self) → int¶
- physicalDpiY(self) → int¶
- pos(self) → QPoint¶
- pressed¶
pressed(self) [signal]
- previousInFocusChain(self) → QWidget¶
- property(self, 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, PYQT_SIGNAL) → int¶
- rect(self) → QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- released¶
released(self) [signal]
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) → None
- repaint(self)¶
- BaseSplitPushButton.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) → None
- repaint(self, QRegion) → None
- resize(self, QSize)¶
- BaseSplitPushButton.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) → bool¶
- saveGeometry(self) → QByteArray¶
- BaseSplitPushButton.scroll(self, int, int)
- BaseSplitPushButton.scroll(self, int, int, QRect) -> None
- sender(self) → QObject¶
- senderSignalIndex(self) → int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoDefault(self, bool)¶
- setAutoExclusive(self, bool)¶
- setAutoFillBackground(self, bool)¶
- setAutoRepeat(self, bool)¶
- setAutoRepeatDelay(self, int)¶
- setAutoRepeatInterval(self, int)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- BaseSplitPushButton.setBaseSize(self, int, int)
- setBaseSize(self, QSize) → None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- BaseSplitPushButton.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) → None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefault(self, bool)¶
- setDisabled(self, bool)¶
- setDown(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- BaseSplitPushButton.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFlat(self, bool)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) → None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- BaseSplitPushButton.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setIconSize(self, QSize)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) → None
- setMaximumHeight(self, int)¶
- BaseSplitPushButton.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) → None¶
- setMaximumWidth(self, int)¶
- setMenu(self, QMenu)¶
- setMinimumHeight(self, int)¶
- BaseSplitPushButton.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) → None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) → None
- setProperty(self, str, Any) → bool¶
- setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- BaseSplitPushButton.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) → None¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) → None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- BaseSplitPushButton.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setText(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- sharedPainter(self) → QPainter¶
- shortcut(self) → QKeySequence¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMenu(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) → bool¶
- size(self) → QSize¶
- sizeHint(self) → QSize¶
- sizeIncrement(self) → QSize¶
- sizePolicy(self) → QSizePolicy¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) → str¶
- style(self) → QStyle¶
- styleSheet(self) → str¶
- tabletEvent(self, QTabletEvent)¶
- testAttribute(self, Qt.WidgetAttribute) → bool¶
- text(self) → str¶
- thread(self) → QThread¶
- timerEvent(self, QTimerEvent)¶
- toggle(self)¶
- toggled¶
toggled(self, bool) [signal]
- toolTip(self) → str¶
- toolTipDuration(self) → int¶
- tr(self, str, disambiguation: str = None, n: int = - 1) → str¶
- underMouse(self) → bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) → None
- update(self, QRegion) → None
- BaseSplitPushButton.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) → bool¶
- visibleRegion(self) → QRegion¶
- whatsThis(self) → str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) → int¶
- widthMM(self) → int¶
- winId(self) → PyQt5.sip.voidptr¶
- window(self) → QWidget¶
- windowFilePath(self) → str¶
- windowFlags(self) → Qt.WindowFlags¶
- windowHandle(self) → QWindow¶
- windowIcon(self) → QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) → str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) → Qt.WindowModality¶
- windowOpacity(self) → float¶
- windowRole(self) → str¶
- windowState(self) → Qt.WindowStates¶
- windowTitle(self) → str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) → Qt.WindowType¶
- x(self) → int¶
- y(self) → int¶
- class schrodinger.ui.qt.standard_widgets.buttons.SplitPushButton(text: str = '', *args, **kwargs)[source]¶
Bases:
PyQt5.QtWidgets.QWidget
PanelX split push button. Contains both the left and right buttons
- INTERBUTTON_SPACING = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- 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¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) → None
- class RenderFlags(QWidget.RenderFlags) → None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- acceptDrops(self) → bool¶
- accessibleDescription(self) → str¶
- accessibleName(self) → str¶
- actionEvent(self, QActionEvent)¶
- actions(self) → List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) → bool¶
- backgroundRole(self) → QPalette.ColorRole¶
- baseSize(self) → QSize¶
- blockSignals(self, bool) → bool¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) → QWidget¶
- SplitPushButton.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) → List[QObject]¶
- childrenRect(self) → QRect¶
- childrenRegion(self) → QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) → bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) → int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) → QMargins¶
- contentsRect(self) → QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) → Qt.ContextMenuPolicy¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
- cursor(self) → QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- depth(self) → int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) → int¶
- devicePixelRatio(self) → int¶
- devicePixelRatioF(self) → float¶
- devicePixelRatioFScale() → float¶
- disconnect(QMetaObject.Connection) → bool¶
- disconnect(self) → None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) → List[QByteArray]¶
- effectiveWinId(self) → PyQt5.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) → bool¶
- eventFilter(self, QObject, QEvent) → bool¶
- find(PyQt5.sip.voidptr) → QWidget¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) → bool¶
- focusNextPrevChild(self, bool) → bool¶
- focusOutEvent(self, 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¶
- getContentsMargins(self) → Tuple[int, int, int, int]¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) → QPixmap¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) → None
- grabShortcut(self, 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, int) → int¶
- heightMM(self) → int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- inherits(self, str) → bool¶
- initPainter(self, QPainter)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) → Qt.InputMethodHints¶
- inputMethodQuery(self, Qt.InputMethodQuery) → Any¶
- SplitPushButton.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) → bool¶
- isAncestorOf(self, QWidget) → bool¶
- isEnabled(self) → bool¶
- isEnabledTo(self, 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, QMetaMethod) → bool¶
- isVisible(self) → bool¶
- isVisibleTo(self, QWidget) → bool¶
- isWidgetType(self) → bool¶
- isWindow(self) → bool¶
- isWindowModified(self) → bool¶
- isWindowType(self) → bool¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() → QWidget¶
- killTimer(self, int)¶
- layout(self) → QLayout¶
- layoutDirection(self) → Qt.LayoutDirection¶
- leaveEvent(self, QEvent)¶
- locale(self) → QLocale¶
- logicalDpiX(self) → int¶
- logicalDpiY(self) → int¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) → QPoint¶
- mapFromGlobal(self, QPoint) → QPoint¶
- mapFromParent(self, QPoint) → QPoint¶
- mapTo(self, QWidget, QPoint) → QPoint¶
- mapToGlobal(self, QPoint) → QPoint¶
- mapToParent(self, QPoint) → QPoint¶
- mask(self) → QRegion¶
- maximumHeight(self) → int¶
- maximumSize(self) → QSize¶
- maximumWidth(self) → int¶
- metaObject(self) → QMetaObject¶
- metric(self, QPaintDevice.PaintDeviceMetric) → int¶
- minimumHeight(self) → int¶
- minimumSize(self) → QSize¶
- minimumSizeHint(self) → QSize¶
- minimumWidth(self) → int¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() → QWidget¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- SplitPushButton.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
- nativeParentWidget(self) → QWidget¶
- nextInFocusChain(self) → QWidget¶
- normalGeometry(self) → QRect¶
- objectName(self) → str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) → QPaintEngine¶
- paintEvent(self, 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, 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, PYQT_SIGNAL) → int¶
- rect(self) → QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) → None
- repaint(self)¶
- SplitPushButton.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) → None
- repaint(self, QRegion) → None
- resize(self, QSize)¶
- SplitPushButton.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) → bool¶
- saveGeometry(self) → QByteArray¶
- SplitPushButton.scroll(self, int, int)
- SplitPushButton.scroll(self, int, int, QRect) -> None
- sender(self) → QObject¶
- senderSignalIndex(self) → int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- SplitPushButton.setBaseSize(self, int, int)
- setBaseSize(self, QSize) → None¶
- SplitPushButton.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) → None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- SplitPushButton.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) → None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- SplitPushButton.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) → None
- setMaximumHeight(self, int)¶
- SplitPushButton.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) → None¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- SplitPushButton.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) → None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) → None
- setProperty(self, str, Any) → bool¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- SplitPushButton.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) → None¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) → None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- SplitPushButton.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- sharedPainter(self) → QPainter¶
- show(self)¶
- showEvent(self, 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, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) → str¶
- style(self) → QStyle¶
- styleSheet(self) → str¶
- tabletEvent(self, QTabletEvent)¶
- testAttribute(self, Qt.WidgetAttribute) → bool¶
- thread(self) → QThread¶
- timerEvent(self, QTimerEvent)¶
- toolTip(self) → str¶
- toolTipDuration(self) → int¶
- tr(self, str, disambiguation: str = None, n: int = - 1) → str¶
- underMouse(self) → bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) → None
- update(self, QRegion) → None
- SplitPushButton.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) → bool¶
- visibleRegion(self) → QRegion¶
- whatsThis(self) → str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) → int¶
- widthMM(self) → int¶
- winId(self) → PyQt5.sip.voidptr¶
- window(self) → QWidget¶
- windowFilePath(self) → str¶
- windowFlags(self) → Qt.WindowFlags¶
- windowHandle(self) → QWindow¶
- windowIcon(self) → QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) → str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) → Qt.WindowModality¶
- windowOpacity(self) → float¶
- windowRole(self) → str¶
- windowState(self) → Qt.WindowStates¶
- windowTitle(self) → str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) → Qt.WindowType¶
- x(self) → int¶
- y(self) → int¶