schrodinger.application.msv.gui.tab_widget module¶
- class schrodinger.application.msv.gui.tab_widget.NewTabNameContexMenu(parent=None)¶
Bases:
PyQt6.QtWidgets.QMenuSimple context menu containing a QLineEdit for changing a tab’s name.
- Variables
renameTab (
QtCore.pyqtSignal) – Signal emitted with the index and name of the tab to be renamed.
- renameTab¶
- __init__(parent=None)¶
- pos(self) QPoint¶
- setTab(tab_idx, tab_name)¶
- Parameters
tab_idx (int) – Current tab index
tab_name (str) – Current tab name
- popup(self, QPoint, action: QAction = None)¶
- onTabNameEdited()¶
Emits the renameTab signal if a valid new tab name was entered.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool¶
- accessibleDescription(self) str¶
- accessibleName(self) str¶
- actionAt(self, QPoint) QAction¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect¶
- actions(self) List[QAction]¶
- activateWindow(self)¶
- activeAction(self) QAction¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction¶
- adjustSize(self)¶
- autoFillBackground(self) bool¶
- backgroundRole(self) QPalette.ColorRole¶
- baseSize(self) QSize¶
- blockSignals(self, bool) bool¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget¶
- NewTabNameContexMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject]¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int¶
- columnCount(self) int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins¶
- contentsRect(self) QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Qt.WindowType = Qt.WindowFlags()) 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) float¶
- 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) PyQt6.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEnterEvent)¶
- event(self, QEvent) bool¶
- eventFilter(self, QObject, QEvent) bool¶
- exec(self) QAction¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt6.sip.voidptr) QWidget¶
- findChild(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: 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¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, Qt.GestureType, flags: 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)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon¶
- inherits(self, str) bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- NewTabNameContexMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction¶
- insertSection(self, QAction, str) QAction¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool¶
- isAncestorOf(self, QWidget) bool¶
- isEmpty(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¶
- isTearOffEnabled(self) bool¶
- isTearOffMenuVisible(self) 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¶
- mapFrom(self, QWidget, QPointF) QPointF
- mapFromGlobal(self, QPoint) QPoint¶
- mapFromGlobal(self, QPointF) QPointF
- mapFromParent(self, QPoint) QPoint¶
- mapFromParent(self, QPointF) QPointF
- mapTo(self, QWidget, QPoint) QPoint¶
- mapTo(self, QWidget, QPointF) QPointF
- mapToGlobal(self, QPoint) QPoint¶
- mapToGlobal(self, QPointF) QPointF
- mapToParent(self, QPoint) QPoint¶
- mapToParent(self, QPointF) QPointF
- 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)¶
- NewTabNameContexMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, QByteArray, PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Qt.WindowType)¶
- overrideWindowState(self, 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¶
- 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: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- NewTabNameContexMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- NewTabNameContexMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- NewTabNameContexMenu.scroll(self, int, int)
- NewTabNameContexMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- separatorsCollapsible(self) bool¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAsDockMenu(self)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- NewTabNameContexMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None¶
- NewTabNameContexMenu.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)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- NewTabNameContexMenu.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)¶
- NewTabNameContexMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- NewTabNameContexMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- NewTabNameContexMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Qt.WindowType) None
- setProperty(self, str, Any) bool¶
- setScreen(self, QScreen)¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- NewTabNameContexMenu.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)¶
- NewTabNameContexMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Qt.WindowType)¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Qt.WindowState)¶
- setWindowTitle(self, str)¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- 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 = <PyQt6.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)¶
- title(self) str¶
- toolTip(self) str¶
- toolTipDuration(self) int¶
- toolTipsVisible(self) bool¶
- tr(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
- NewTabNameContexMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶
- class schrodinger.application.msv.gui.tab_widget.TabLabelContextMenu(parent=None)¶
Bases:
PyQt6.QtWidgets.QMenuContext menu for the tab label. Only shown when a label is clicked on.
Note that setIndex must be called before the menu is shown so that the information about the tab to be operated on is correctly emitted.
- Variables
duplicateTab (
QtCore.pyqtSignal) – A signal emitted with the index of the tab to duplicaterenameTab – A signal emitted with the index of the tab to renamed
- duplicateTab¶
- renameTab¶
- __init__(parent=None)¶
- onRenameTabRequested()¶
Emits the renameTab signal with the current index
- onDuplicateTabRequested()¶
Emits the duplicateTab signals with the current index
- setIndex(index)¶
Set the index on the context menu so we can track which tab should be operated on
- Parameters
index (int) – The index of the tab to operate on
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool¶
- accessibleDescription(self) str¶
- accessibleName(self) str¶
- actionAt(self, QPoint) QAction¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect¶
- actions(self) List[QAction]¶
- activateWindow(self)¶
- activeAction(self) QAction¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction¶
- adjustSize(self)¶
- autoFillBackground(self) bool¶
- backgroundRole(self) QPalette.ColorRole¶
- baseSize(self) QSize¶
- blockSignals(self, bool) bool¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget¶
- TabLabelContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject]¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int¶
- columnCount(self) int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins¶
- contentsRect(self) QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Qt.WindowType = Qt.WindowFlags()) 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) float¶
- 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) PyQt6.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEnterEvent)¶
- event(self, QEvent) bool¶
- eventFilter(self, QObject, QEvent) bool¶
- exec(self) QAction¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt6.sip.voidptr) QWidget¶
- findChild(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: 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¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, Qt.GestureType, flags: 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)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon¶
- inherits(self, str) bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- TabLabelContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction¶
- insertSection(self, QAction, str) QAction¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool¶
- isAncestorOf(self, QWidget) bool¶
- isEmpty(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¶
- isTearOffEnabled(self) bool¶
- isTearOffMenuVisible(self) 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¶
- mapFrom(self, QWidget, QPointF) QPointF
- mapFromGlobal(self, QPoint) QPoint¶
- mapFromGlobal(self, QPointF) QPointF
- mapFromParent(self, QPoint) QPoint¶
- mapFromParent(self, QPointF) QPointF
- mapTo(self, QWidget, QPoint) QPoint¶
- mapTo(self, QWidget, QPointF) QPointF
- mapToGlobal(self, QPoint) QPoint¶
- mapToGlobal(self, QPointF) QPointF
- mapToParent(self, QPoint) QPoint¶
- mapToParent(self, QPointF) QPointF
- 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)¶
- TabLabelContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, QByteArray, PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Qt.WindowType)¶
- overrideWindowState(self, 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¶
- popup(self, QPoint, action: QAction = None)¶
- 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: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- TabLabelContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- TabLabelContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- TabLabelContextMenu.scroll(self, int, int)
- TabLabelContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- separatorsCollapsible(self) bool¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAsDockMenu(self)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- TabLabelContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None¶
- TabLabelContextMenu.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)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- TabLabelContextMenu.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)¶
- TabLabelContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- TabLabelContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- TabLabelContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Qt.WindowType) None
- setProperty(self, str, Any) bool¶
- setScreen(self, QScreen)¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- TabLabelContextMenu.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)¶
- TabLabelContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Qt.WindowType)¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Qt.WindowState)¶
- setWindowTitle(self, str)¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- 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 = <PyQt6.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)¶
- title(self) str¶
- toolTip(self) str¶
- toolTipDuration(self) int¶
- toolTipsVisible(self) bool¶
- tr(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
- TabLabelContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶
- class schrodinger.application.msv.gui.tab_widget.TabBarWithLockableLeftTab(parent=None)¶
Bases:
PyQt6.QtWidgets.QTabBarCustom tab bar with the ability to lock the leftmost tab (e.g. the Workspace tab in Maestro). The locked tab cannot be closed, moved, or renamed.
- Variables
renameTabRequested – Signal emitted to request renaming a tab. Emitted with the index of the tab and the new name.
duplicateTabRequested – Signal emitted to request duplicating a tab. Emitted with the index of the tab.
- renameTabRequested¶
- duplicateTabRequested¶
- __init__(parent=None)¶
- resizeEvent(event)¶
Resize widget
- resizeTabs()¶
This is called when resizeEvent is triggered or when the width of the MSV changes.
- lockLeftmostTab()¶
Prevent the leftmost tab from being moved or closed.
- mousePressEvent(event)¶
If a locked tab is present and clicked on, prevent it from being dragged. If another tab is clicked on, figure out where we need to stop dragging to prevent that tab from being dragged over or past the locked tab.
See Qt documentation for additional method documentation.
- mouseReleaseEvent(event)¶
Undo any changes that were made in mousePressEvent in preparation for tab dragging.
See Qt documentation for additional method documentation.
- mouseMoveEvent(event)¶
Undo any changes that were made in mousePressEvent in preparation for tab dragging.
See Qt documentation for additional method documentation.
- updateCanAddTab(enable: bool, tooltip: str)¶
- contextMenuEvent(self, QContextMenuEvent)¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- LeftSide = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- RightSide = 1¶
- RoundedEast = 3¶
- RoundedNorth = 0¶
- RoundedSouth = 1¶
- RoundedWest = 2¶
- SelectLeftTab = 0¶
- SelectPreviousTab = 2¶
- SelectRightTab = 1¶
- class SelectionBehavior(value)¶
Bases:
enum.EnumAn enumeration.
- SelectLeftTab = 0¶
- SelectRightTab = 1¶
- SelectPreviousTab = 2¶
- class Shape(value)¶
Bases:
enum.EnumAn enumeration.
- RoundedNorth = 0¶
- RoundedSouth = 1¶
- RoundedWest = 2¶
- RoundedEast = 3¶
- TriangularNorth = 4¶
- TriangularSouth = 5¶
- TriangularWest = 6¶
- TriangularEast = 7¶
- TriangularEast = 7¶
- TriangularNorth = 4¶
- TriangularSouth = 5¶
- TriangularWest = 6¶
- __len__()¶
Return len(self).
- acceptDrops(self) bool¶
- accessibleDescription(self) str¶
- accessibleName(self) str¶
- accessibleTabName(self, int) str¶
- actionEvent(self, QActionEvent)¶
- actions(self) List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- addTab(self, str) int¶
- addTab(self, QIcon, str) int
- adjustSize(self)¶
- autoFillBackground(self) bool¶
- autoHide(self) bool¶
- backgroundRole(self) QPalette.ColorRole¶
- baseSize(self) QSize¶
- blockSignals(self, bool) bool¶
- changeCurrentOnDrag(self) bool¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget¶
- TabBarWithLockableLeftTab.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¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy¶
- count(self) int¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget¶
- currentChanged¶
currentChanged(self, int) [signal]
- currentIndex(self) int¶
- 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) float¶
- devicePixelRatioF(self) float¶
- devicePixelRatioFScale() float¶
- disconnect(QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- documentMode(self) bool¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- drawBase(self) bool¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray]¶
- effectiveWinId(self) PyQt6.sip.voidptr¶
- elideMode(self) Qt.TextElideMode¶
- ensurePolished(self)¶
- enterEvent(self, QEnterEvent)¶
- event(self, QEvent) bool¶
- eventFilter(self, QObject, QEvent) bool¶
- expanding(self) bool¶
- find(PyQt6.sip.voidptr) QWidget¶
- findChild(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: 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¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, Qt.GestureType, flags: 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)¶
- iconSize(self) QSize¶
- inherits(self, str) bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionTab, int)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- TabBarWithLockableLeftTab.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertTab(self, int, str) int¶
- insertTab(self, int, QIcon, str) int
- 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¶
- isMovable(self) bool¶
- isRightToLeft(self) bool¶
- isSignalConnected(self, QMetaMethod) bool¶
- isTabEnabled(self, int) bool¶
- isTabVisible(self, int) 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¶
- mapFrom(self, QWidget, QPointF) QPointF
- mapFromGlobal(self, QPoint) QPoint¶
- mapFromGlobal(self, QPointF) QPointF
- mapFromParent(self, QPoint) QPoint¶
- mapFromParent(self, QPointF) QPointF
- mapTo(self, QWidget, QPoint) QPoint¶
- mapTo(self, QWidget, QPointF) QPointF
- mapToGlobal(self, QPoint) QPoint¶
- mapToGlobal(self, QPointF) QPointF
- mapToParent(self, QPoint) QPoint¶
- mapToParent(self, QPointF) QPointF
- 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¶
- minimumTabSizeHint(self, int) QSize¶
- minimumWidth(self) int¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() QWidget¶
- move(self, QPoint)¶
- TabBarWithLockableLeftTab.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- TabBarWithLockableLeftTab.moveTab(self, int, int)
- moveToThread(self, QThread)¶
- nativeEvent(self, QByteArray, PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Qt.WindowType)¶
- overrideWindowState(self, 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)¶
- removeTab(self, int)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- TabBarWithLockableLeftTab.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- TabBarWithLockableLeftTab.resize(self, int, int) -> None
- restoreGeometry(self, QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- TabBarWithLockableLeftTab.scroll(self, int, int)
- TabBarWithLockableLeftTab.scroll(self, int, int, QRect) -> None
- selectionBehaviorOnRemove(self) QTabBar.SelectionBehavior¶
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAccessibleTabName(self, int, str)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setAutoHide(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- TabBarWithLockableLeftTab.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None¶
- setChangeCurrentOnDrag(self, bool)¶
- TabBarWithLockableLeftTab.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCurrentIndex(self, int)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, bool)¶
- setDocumentMode(self, bool)¶
- setDrawBase(self, bool)¶
- setElideMode(self, Qt.TextElideMode)¶
- setEnabled(self, bool)¶
- setExpanding(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- TabBarWithLockableLeftTab.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)¶
- TabBarWithLockableLeftTab.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIconSize(self, QSize)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- TabBarWithLockableLeftTab.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- TabBarWithLockableLeftTab.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setMovable(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Qt.WindowType) None
- setProperty(self, str, Any) bool¶
- setScreen(self, QScreen)¶
- setSelectionBehaviorOnRemove(self, QTabBar.SelectionBehavior)¶
- setShape(self, QTabBar.Shape)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- TabBarWithLockableLeftTab.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)¶
- setTabButton(self, int, QTabBar.ButtonPosition, QWidget)¶
- setTabData(self, int, Any)¶
- setTabEnabled(self, int, bool)¶
- setTabIcon(self, int, QIcon)¶
- TabBarWithLockableLeftTab.setTabOrder(QWidget, QWidget)
- setTabText(self, int, str)¶
- setTabTextColor(self, int, Union[QColor, Qt.GlobalColor, int, QGradient])¶
- setTabToolTip(self, int, str)¶
- setTabVisible(self, int, bool)¶
- setTabWhatsThis(self, int, str)¶
- setTabletTracking(self, bool)¶
- setTabsClosable(self, bool)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setUsesScrollButtons(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Qt.WindowType)¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Qt.WindowState)¶
- setWindowTitle(self, str)¶
- shape(self) QTabBar.Shape¶
- 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 = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str¶
- style(self) QStyle¶
- styleSheet(self) str¶
- tabAt(self, QPoint) int¶
- tabBarClicked¶
tabBarClicked(self, int) [signal]
- tabBarDoubleClicked¶
tabBarDoubleClicked(self, int) [signal]
- tabButton(self, int, QTabBar.ButtonPosition) QWidget¶
- tabCloseRequested¶
tabCloseRequested(self, int) [signal]
- tabData(self, int) Any¶
- tabIcon(self, int) QIcon¶
- tabInserted(self, int)¶
- tabLayoutChange(self)¶
- tabMoved¶
tabMoved(self, int, int) [signal]
- tabRect(self, int) QRect¶
- tabRemoved(self, int)¶
- tabSizeHint(self, int) QSize¶
- tabText(self, int) str¶
- tabTextColor(self, int) QColor¶
- tabToolTip(self, int) str¶
- tabWhatsThis(self, int) str¶
- tabletEvent(self, QTabletEvent)¶
- tabsClosable(self) bool¶
- testAttribute(self, Qt.WidgetAttribute) bool¶
- thread(self) QThread¶
- timerEvent(self, QTimerEvent)¶
- toolTip(self) str¶
- toolTipDuration(self) int¶
- tr(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
- TabBarWithLockableLeftTab.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- usesScrollButtons(self) bool¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶
- class schrodinger.application.msv.gui.tab_widget.NewTabBtn(*args, **kwargs)¶
Bases:
PyQt6.QtWidgets.QPushButton- __init__(*args, **kwargs)¶
- updateCanAddTab(enable: bool, tooltip: str)¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- 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)¶
- 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¶
- NewTabBtn.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: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Qt.WindowType = Qt.WindowFlags()) 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) float¶
- 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) PyQt6.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEnterEvent)¶
- event(self, QEvent) bool¶
- eventFilter(self, QObject, QEvent) bool¶
- find(PyQt6.sip.voidptr) QWidget¶
- findChild(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: 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¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, Qt.GestureType, flags: 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.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- NewTabBtn.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¶
- mapFrom(self, QWidget, QPointF) QPointF
- mapFromGlobal(self, QPoint) QPoint¶
- mapFromGlobal(self, QPointF) QPointF
- mapFromParent(self, QPoint) QPoint¶
- mapFromParent(self, QPointF) QPointF
- mapTo(self, QWidget, QPoint) QPoint¶
- mapTo(self, QWidget, QPointF) QPointF
- mapToGlobal(self, QPoint) QPoint¶
- mapToGlobal(self, QPointF) QPointF
- mapToParent(self, QPoint) QPoint¶
- mapToParent(self, QPointF) QPointF
- 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)¶
- NewTabBtn.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, QByteArray, PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextCheckState(self)¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Qt.WindowType)¶
- overrideWindowState(self, 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: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- NewTabBtn.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- NewTabBtn.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- NewTabBtn.scroll(self, int, int)
- NewTabBtn.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)¶
- NewTabBtn.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- NewTabBtn.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)¶
- NewTabBtn.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)¶
- NewTabBtn.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setIconSize(self, QSize)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- NewTabBtn.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None¶
- setMaximumWidth(self, int)¶
- setMenu(self, QMenu)¶
- setMinimumHeight(self, int)¶
- NewTabBtn.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, Qt.WindowType) None
- setProperty(self, str, Any) bool¶
- setScreen(self, QScreen)¶
- setShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- NewTabBtn.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)¶
- NewTabBtn.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, Qt.WindowType)¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Qt.WindowState)¶
- setWindowTitle(self, str)¶
- 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 = <PyQt6.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(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
- NewTabBtn.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶
- class schrodinger.application.msv.gui.tab_widget.DetachedTabWidget(parent=None, *, tab_bar)¶
Bases:
schrodinger.ui.qt.widgetmixins.basicmixins.InitMixin,PyQt6.QtWidgets.QWidgetThis widget is used to create a QTabWidget where the QTabBar and the QStackedWidget (i.e. tab content area) are laid out separately. This class creates the QStackedWidget and connects the appropriate signals from the supplied QTabBar. Calling code is responsible for laying out the QTabBar and this widget.
Most of the methods can be found in QTabWidget and thus, most of this class’ documentation refers back to QTabWidget’s docs.
See
QTabWidgetdocumentation for signal documentation.- tabBarClicked¶
- tabBarDoubleClicked¶
- tabNumberChanged¶
- CONTENT_MARGINS = (0, 0, 0, 0)¶
- __init__(parent=None, *, tab_bar)¶
- Parameters
tab_bar (
QtWidgets.QTabBar) – a custom tab bar. (mandatory keyword-only argument)
- initLayOut()¶
Create a vertical layout for the widget (
widget_layout) and populate it with two vertical sub-layouts:main_layoutandbottom_layout.If the user has specified the
uidata member, insert the resultantui_widgetintomain_layout.If the widget already has a layout defined, this method will produce a warning (but not a traceback).
main_layoutandbottom_layoutwill be inserted into the existing widget layout, which will not be the same aswidget_layout. It is therefore recommended that this mixin is used only with widgets that do not already have a layout.Suggested subclass use: create, initialize, and populate layouts.
- onTabCloseRequested(idx)¶
Subclasses must override this method
- addTab(widget, label, icon=<PyQt6.QtGui.QIcon object>)¶
- insertTab(idx, widget, label, icon=<PyQt6.QtGui.QIcon object>)¶
- setTabText(idx, label)¶
- tabText(idx)¶
- setTabIcon(idx, icon)¶
- tabIcon(idx)¶
- isTabEnabled(idx)¶
- setTabEnabled(idx, enable)¶
- removeTab(idx)¶
- currentWidget()¶
- setCurrentWidget(widget)¶
- currentIndex()¶
- setCurrentIndex(idx)¶
- indexOf(widget)¶
- tabBar()¶
- tabsClosable()¶
- setTabsClosable(closable)¶
- isMovable()¶
- setMovable(movable)¶
- widget(idx)¶
- count()¶
- iconSize()¶
- setIconSize(size)¶
- documentMode()¶
- setDocumentMode(enabled)¶
- clear()¶
- setTabToolTip(idx, tip)¶
- tabToolTip(idx)¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- 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¶
- DetachedTabWidget.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: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Qt.WindowType = Qt.WindowFlags()) 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) float¶
- 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) PyQt6.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEnterEvent)¶
- event(self, QEvent) bool¶
- eventFilter(self, QObject, QEvent) bool¶
- find(PyQt6.sip.voidptr) QWidget¶
- findChild(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: 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¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, Qt.GestureType, flags: 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¶
- initFinalize()¶
Suggested subclass use: perform any remaining initialization.
- initPainter(self, QPainter)¶
- initSetDefaults()¶
Set widget to its default state. If the widget uses a model/mapper, it’s preferable to reset the widget state by resetting the model.
- initSetOptions()¶
Suggested subclass use: set instance variables, excluding layouts and subwidgets. Also use here to (optionally) apply the legacy stylesheet spacing settings (PANEL-19101).
- initSetUp()¶
Creates widget from
uiand stores itui_widget.Suggested subclass use: create and initialize subwidgets, and connect signals.
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- DetachedTabWidget.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¶
- mapFrom(self, QWidget, QPointF) QPointF
- mapFromGlobal(self, QPoint) QPoint¶
- mapFromGlobal(self, QPointF) QPointF
- mapFromParent(self, QPoint) QPoint¶
- mapFromParent(self, QPointF) QPointF
- mapTo(self, QWidget, QPoint) QPoint¶
- mapTo(self, QWidget, QPointF) QPointF
- mapToGlobal(self, QPoint) QPoint¶
- mapToGlobal(self, QPointF) QPointF
- mapToParent(self, QPoint) QPoint¶
- mapToParent(self, QPointF) QPointF
- 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)¶
- DetachedTabWidget.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, QByteArray, PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Qt.WindowType)¶
- overrideWindowState(self, 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: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- DetachedTabWidget.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- DetachedTabWidget.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- DetachedTabWidget.scroll(self, int, int)
- DetachedTabWidget.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)¶
- DetachedTabWidget.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None¶
- DetachedTabWidget.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)¶
- DetachedTabWidget.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)¶
- DetachedTabWidget.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- DetachedTabWidget.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- DetachedTabWidget.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, Qt.WindowType) None
- setProperty(self, str, Any) bool¶
- setScreen(self, QScreen)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- DetachedTabWidget.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)¶
- DetachedTabWidget.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWidgetLayout()¶
Set the widget layout
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Qt.WindowType)¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Qt.WindowState)¶
- setWindowTitle(self, str)¶
- 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 = <PyQt6.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(str, disambiguation: str = None, n: int = - 1) str¶
- ui_module = None¶
- underMouse(self) bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- DetachedTabWidget.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶
- class schrodinger.application.msv.gui.tab_widget.MSVTabWidget(parent=None, *, tab_bar, struc_model, undo_stack)¶
Bases:
schrodinger.models.mappers.MapperMixin,schrodinger.application.msv.gui.tab_widget.DetachedTabWidgetQTabWidget customized for MSV. This widget acts as a view to an
MsvGuiModel, where each tab corresponds to aPageModel. Actions initiated through this widget are undoable using the undo_stack passed to__init__. Actions initiated through theMsvGuiModelare not undoable.- Variables
canAddTabChanged – A signal emitted to indicate whether it’s possible to add new tabs. Emitted with a bool of whether new tabs can be added and a tooltip for the new tab button.
newWidgetCreated (QtCore.pyqtSignal) – A signal emitted when a new tab is created. Emitted with the new widget.
- MAX_TAB_NUM = 15¶
- ADD_TAB_TOOLTIP = 'Add Tab'¶
- TAB_LIMIT_REACHED_TOOLTIP = 'Tab limit (15) reached'¶
- model_class¶
alias of
schrodinger.application.msv.gui.gui_models.MsvGuiModel
- canAddTabChanged¶
- newWidgetCreated¶
- __init__(parent=None, *, tab_bar, struc_model, undo_stack)¶
- Parameters
parent (QtWidgets.QWidget or None) – The Qt parent
tab_bar (QtWidgets.QTabBar) – The tab bar that will control which page is shown
struc_model (schrodinger.application.msv.structure_model or None) – The structure model used to keep sequences in sync with their associated structures.
undo_stack (schrodinger.application.msv.command.UndoStack) – The undo stack to add commands to.
- makeInitialModel()¶
@overrides: MapperMixin
We use
Noneas our initial model as a performance optimization. MsvGui is responsible for setting the model
- setModel(model)¶
Sets the model object for the mapper. Disconnects the old model, if one is set, and connects the new model. Pass in None to have no model set.
- Parameters
model – the model instance or None
- defineMappings()¶
Override this in the subclass to define mappings. Should return a list of tuples [(<target>, <param>)]. Targets can be:
a basic widget, like
QLineEditorQComboBoxa custom object that inherits
MapperMixinorTargetMixina
TargetSpecinstancea slot
For common widgets, standard signals and getter/setter methods will be used, as defined in
mappers._get_default_access_names().For more fine-grained custom control, instantiate a
TargetSpecobject, which allows custom setters, getters, and signals to be specified.Supplying a slot as the first element of the tuple is equivalent to providing
TargetSpec(slot=my_slot).Note that all target slots are triggered on
setModel()as well as in response to the specified signal.The param is an abstract param reference, e.g. MyModel.my_param.
Example:
def defineMappings(self): combo = self.style_combo return [(self.name_le, MyModel.name), (TargetSpec(combo, getter=combo.currentText, setter=combo.setCurrentText), MyModel.style), (self.coord_widget, MyModel.coord), (self._onASLTextChanged, MyModel.asl_text)]
- getSignalsAndSlots(model)¶
Override this method to specify signal and slot pairs that need to be connected/disconnected whenever the model instance is switched using setModel. The model instance is provided as an argument so that instance-specific signals can be used, but any pairs of signals and slots may be returned from this method.
- Returns
a list of 2-tuples where each tuple is a signal, slot pair
- onTabCloseRequested(idx)¶
Respond to the user clicking the tab close button on the specified tab.
- Parameters
idx (int) – The index of the tab to close.
- removeAllViewPages()¶
- onPagesMutated(new_pages, old_pages)¶
- onPagesAdded(added_pages)¶
- onPagesRemoved(removed_pages)¶
- onPagesMoved(moved_pages)¶
- resizeEvent(event)¶
When expanding the window, the tab bar size does not change, but we still want to resize the tabs.
- removeTab(idx)¶
- lockLeftmostTab()¶
Prevent the leftmost tab from being moved or closed.
- renameTab(index, new_name)¶
Rename the tab at the given index with the new name
- Parameters
index (int) – The index of the tab to rename
new_name (str) – The new name of the tab
- addTab(widget, label, icon=None)¶
- insertTab(idx, widget, label, icon=None)¶
- createNewTab(*, aln=None)¶
Insert a new tab in response to the user clicking on the new tab button. This method should not be called if the tab limit has been reached. (See
MAX_TAB_NUM.)- Parameters
aln (gui_alignment.GuiProteinAlignment) – An alignment to use for the page
- duplicateTab(index)¶
Duplicate the specified tab. This method should not be called if the tab limit has been reached. (See
MAX_TAB_NUM.)- Parameters
index (int) – The index of the tab to duplicate.
- currentPageModel()¶
- setCurrentPageModel(page_model)¶
- onCurrentTabChanged()¶
- setStructureModel(struc_model)¶
Update the structure model on all existing tabs and used to create new tabs.
- Parameters
struc_model (schrodinger.application.msv.structure_model.StructureModel) – The structure model for interacting with sequences associated with three-dimensional structures.
- CONTENT_MARGINS = (0, 0, 0, 0)¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- 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¶
- MSVTabWidget.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject]¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clear()¶
- 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¶
- count()¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget¶
- currentIndex()¶
- currentWidget()¶
- 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) float¶
- devicePixelRatioF(self) float¶
- devicePixelRatioFScale() float¶
- disconnect(QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- documentMode()¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray]¶
- effectiveWinId(self) PyQt6.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEnterEvent)¶
- event(self, QEvent) bool¶
- eventFilter(self, QObject, QEvent) bool¶
- find(PyQt6.sip.voidptr) QWidget¶
- findChild(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: 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¶
- getModel()¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, Qt.GestureType, flags: 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)¶
- iconSize()¶
- indexOf(widget)¶
- inherits(self, str) bool¶
- initFinalize()¶
Suggested subclass use: perform any remaining initialization.
- initLayOut()¶
@overrides: widgetmixins.InitMixin
- initPainter(self, QPainter)¶
- initSetDefaults()¶
@overrides: widgetmixins.InitMixin
- initSetOptions()¶
Suggested subclass use: set instance variables, excluding layouts and subwidgets. Also use here to (optionally) apply the legacy stylesheet spacing settings (PANEL-19101).
- initSetUp()¶
Creates widget from
uiand stores itui_widget.Suggested subclass use: create and initialize subwidgets, and connect signals.
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- MSVTabWidget.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¶
- isMovable()¶
- isRightToLeft(self) bool¶
- isSignalConnected(self, QMetaMethod) bool¶
- isTabEnabled(idx)¶
- 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¶
- mapFrom(self, QWidget, QPointF) QPointF
- mapFromGlobal(self, QPoint) QPoint¶
- mapFromGlobal(self, QPointF) QPointF
- mapFromParent(self, QPoint) QPoint¶
- mapFromParent(self, QPointF) QPointF
- mapTo(self, QWidget, QPoint) QPoint¶
- mapTo(self, QWidget, QPointF) QPointF
- mapToGlobal(self, QPoint) QPoint¶
- mapToGlobal(self, QPointF) QPointF
- mapToParent(self, QPoint) QPoint¶
- mapToParent(self, QPointF) QPointF
- mappedParams()¶
Return a list of the abstract params that are mapped to.
- 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¶
- property model¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() QWidget¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- MSVTabWidget.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, QByteArray, PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Qt.WindowType)¶
- overrideWindowState(self, 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: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- MSVTabWidget.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resetMappedParams()¶
- resize(self, QSize)¶
- MSVTabWidget.resize(self, int, int) -> None
- restoreGeometry(self, QByteArray) bool¶
- runAllSlots()¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- MSVTabWidget.scroll(self, int, int)
- MSVTabWidget.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)¶
- MSVTabWidget.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None¶
- MSVTabWidget.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCurrentIndex(idx)¶
- setCurrentWidget(widget)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaults()¶
@overrides: af2.App
- setDisabled(self, bool)¶
- setDocumentMode(enabled)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- MSVTabWidget.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)¶
- MSVTabWidget.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIconSize(size)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- MSVTabWidget.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- MSVTabWidget.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None¶
- setMinimumWidth(self, int)¶
- setModelWithoutSlots(model)¶
This is called when this MapperMixin is a sub-widget of a parent MapperMixin. Since the slots will all be called at the end of the parent setModel, they shouldn’t be called during the sub-widget’s setModel.
- setMouseTracking(self, bool)¶
- setMovable(movable)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Qt.WindowType) None
- setProperty(self, str, Any) bool¶
- setScreen(self, QScreen)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- MSVTabWidget.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)¶
- setTabEnabled(idx, enable)¶
- setTabIcon(idx, icon)¶
- MSVTabWidget.setTabOrder(QWidget, QWidget)
- setTabText(idx, label)¶
- setTabToolTip(idx, tip)¶
- setTabletTracking(self, bool)¶
- setTabsClosable(closable)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWidgetLayout()¶
Set the widget layout
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Qt.WindowType)¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Qt.WindowState)¶
- setWindowTitle(self, str)¶
- setting_model()¶
- 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 = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str¶
- style(self) QStyle¶
- styleSheet(self) str¶
- tabBar()¶
- tabBarClicked¶
- tabBarDoubleClicked¶
- tabIcon(idx)¶
- tabNumberChanged¶
- tabText(idx)¶
- tabToolTip(idx)¶
- tabletEvent(self, QTabletEvent)¶
- tabsClosable()¶
- testAttribute(self, Qt.WidgetAttribute) bool¶
- thread(self) QThread¶
- timerEvent(self, QTimerEvent)¶
- toolTip(self) str¶
- toolTipDuration(self) int¶
- tr(str, disambiguation: str = None, n: int = - 1) str¶
- ui_module = None¶
- underMouse(self) bool¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- MSVTabWidget.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, QWheelEvent)¶
- widget(idx)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶