schrodinger.ui.qt.atomselector module¶
PyQt version of the Maestro’s ASL frame.
Designed to be used within Maestro, but possible to be used outside of Maestro as well. Some options will disabled if run outside of Maestro.
Copyright Schrodinger, LLC. All rights reserved.
- schrodinger.ui.qt.atomselector.generate_asl_for_atom_by_mode(atomnum: int, pick_type: int) str¶
Generate asl for picked atom by pick type.
- Parameters
atomnum (int) – The atom index that’s picked.
pick_type (int) – pick type of atom. 0 for atoms. 1 for residues. 2 for chains. 3 for molecules. 4 for entries.
- Raises
ValueError – pick_type is not in range [0,4].
- Returns
asl for picked atom.
- Return type
str
- class schrodinger.ui.qt.atomselector.ASLPopupMenu¶
Bases:
PyQt6.QtWidgets.QMenuASL menu intended to be shown off of a button.
- Variables
hidden (
QtCore.pyqtSignal) – A signal emitted when menu is hidden.
- hideEvent(event)¶
Emit hidden() signal when popup is hidden
- 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¶
- __init__(*args, **kwargs)¶
- 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¶
- ASLPopupMenu.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)¶
- 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¶
- ASLPopupMenu.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)¶
- ASLPopupMenu.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)¶
- ASLPopupMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- ASLPopupMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- ASLPopupMenu.scroll(self, int, int)
- ASLPopupMenu.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)¶
- ASLPopupMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None¶
- ASLPopupMenu.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)¶
- ASLPopupMenu.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)¶
- ASLPopupMenu.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)¶
- ASLPopupMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- ASLPopupMenu.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)¶
- ASLPopupMenu.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)¶
- ASLPopupMenu.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
- ASLPopupMenu.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.ui.qt.atomselector.ASLItem(text, asl, parent)¶
Bases:
PyQt6.QtWidgets.QPushButtonAsl item to display text along with the plus button
- Variables
itemClicked (
QtCore.pyqtSignal) – A signal emitted when this asl item is clicked. - Asl of the item
- itemClicked¶
- __init__(text, asl, parent)¶
- Parameters
text (str) – Display text of the asl item
asl (str) – Asl of the item
parent (QtWidgets.QWidget) – Parent of the item
- 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¶
- ASLItem.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¶
- ASLItem.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)¶
- ASLItem.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)¶
- ASLItem.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- ASLItem.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- ASLItem.scroll(self, int, int)
- ASLItem.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)¶
- ASLItem.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- ASLItem.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)¶
- ASLItem.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)¶
- ASLItem.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)¶
- ASLItem.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None¶
- setMaximumWidth(self, int)¶
- setMenu(self, QMenu)¶
- setMinimumHeight(self, int)¶
- ASLItem.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)¶
- ASLItem.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)¶
- ASLItem.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
- ASLItem.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.ui.qt.atomselector.AtomSelector(parent, label='', pick_text='Pick atom in Workspace', show_asl=True, show_all=True, show_select=True, show_previous=True, show_selection=True, append_mode=True, show_markers=False, show_pick=True, default_pick_mode=0, show_plus=False, selection_button_text='Selection')¶
Bases:
PyQt6.QtWidgets.QGroupBox- Variables
aslModified (
QtCore.pyqtSignal) – Emitted when a new atom is picked or the ASL is manually edited by the user. - New aslatomSelectionDialogAboutToBeShown (
QtCore.pyqtSignal) – A signal emitted when ‘Atom Selection’ dialog is about to be shown.atomSelectionDialogDismissed (
QtCore.pyqtSignal) – A signal emitted when ‘Atom Selection’ dialog is dismissed.aslTextModified (
QtCore.pyqtSignal) – Emitted when there is ANY change in the asl text field. Use this in case any action button needs to be enabled/disabled based on asl text field. - New asl
- aslModified¶
- atomSelectionDialogAboutToBeShown¶
- atomSelectionDialogDismissed¶
- aslTextModified¶
- ASL_ITEMS = {'Displayed Atoms': 'displayed_atoms', 'Heavy Atoms': 'heavy_atoms', 'Hydrogens-All': 'all_hydrogens', 'Hydrogens-Nonpolar': 'non_polar_hydrogens', 'Hydrogens-Nonpolar Ligand': 'non_polar_ligand_hydrogens', 'Hydrogens-Polar': 'polar_hydrogens', 'Ions': 'ions', 'Ligands': 'ligand', 'Membrane': 'membrane', 'Metal Atoms': 'metals', 'Nucleic Acids': 'nucleic_acids', 'Protein': '(protein) and not ligand', 'Protein Backbone': '(backbone) and not ligand', 'Protein Near Ligand': 'protein_near_ligand', 'Protein Side Chains': '(withinbonds 1 sidechain) and not ligand', 'Waters': 'water', 'Workspace Selection': 'workspace_selection'}¶
- __init__(parent, label='', pick_text='Pick atom in Workspace', show_asl=True, show_all=True, show_select=True, show_previous=True, show_selection=True, append_mode=True, show_markers=False, show_pick=True, default_pick_mode=0, show_plus=False, selection_button_text='Selection')¶
AtomSelector requires <parent> argument, which should be a Qt Widget into which this frame should be added.
This widget acts like any other PyQt widget.
parent - The parent widget
- Parameters
label (str) – Label to show above the widget
pick_text (str) – Text that will be displayed on the bottom of the main Maestro window when the pick button is checked.
show_asl (bool) – Whether to show the QLineEdit field for the ASL.
show_all (bool) – Whether to show the “All” button. Clicking it will select the “all” ASL>
show_select (bool) – Whether to show the “Select…” button. Clicking it would show an ASL selection dialog.
show_previous (bool) – Whether to show the “Previous” button. Clicking it would select the previous ASL that was used.
show_selection (bool) – Whether to show the “Selection” button. Clicking it would use ASL derived from the atoms selected in the Workspace.
append_mode (bool) – When a new atom is picked, whether to append to an existing ASL instead of replacing it.
show_markers (bool) – Whther to show the “Markers” checkbox.
show_pick (bool) – Whether to show the “Pick” checkbox along with the pick menu.
default_pick_mode (int) – What the default pick mode should be. One of: PICK_ATOMS, PICK_RESIDUES, PICK_CHAINS, PICK_MOLECULES, PICK_ENTRIES. Default is PICK_ATOMS.
show_plus (bool) – Whther to show the “+” button.
selection_button_text (str) – This will be honored only if show_selection is True. By default it is “Selection”, if show_asl & show_plus are True, then selection button text will be “Load Selection”, otherwise given text will be set to the selection button.
- Usage example:
atom_selector = AtomSelector(parent) layout.addWidget(atom_selector)
To get the selected ASL, simply call <AtomSelector>.getAsl()
- setupPickToggle(pick_text)¶
Set up pick toggle by creating pick layout, and adding pick toggle & combo menu to it.
- Parameters
pick_text (str) – Text that will be displayed on the bottom of the main Maestro window when the pick button is checked.
- setupPlusButton(layout, button_height, show_select, show_previous)¶
Setups the plus button by adding the button and its popup widget
- Parameters
layout (QtWidgets.QLayout) – Layout to which the plus button should be added.
button_height (int) – Height and width of the plus button.
show_previous (bool) – Whether to show the “Previous” button. Clicking it would select the previous ASL that was used.
show_select (bool) – Whether to show the “Select…” button. Clicking it would show an ASL selection dialog.
- updatePlusButtonStyle()¶
Update plus_button style
- setAsl(asl)¶
- reset()¶
Reset the widget to the defaults
- aslItemClicked(asl)¶
Update the asl according to the clicked asl item.
- loadWorkspaceSelection()¶
Loads workspace selection to the AtomSelector
- getAsl()¶
Return the selected ASL string
- setDarkStyle()¶
Set dark style to ‘All’ and ‘+’ buttons
- setMarkersEnabled(enable: bool)¶
Set enabled/disabled state of the
Markerscheckbox. Note: Disabling theMarkerscheckbox hides the workspace markers.- Parameters
enable – Whether to enable or disable the
Markerscheckbox.
- 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)¶
- alignment(self) Qt.AlignmentFlag¶
- autoFillBackground(self) bool¶
- backgroundRole(self) QPalette.ColorRole¶
- baseSize(self) QSize¶
- blockSignals(self, bool) bool¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget¶
- AtomSelector.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject]¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clearFocus(self)¶
- clearMask(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¶
- hasFocus(self) bool¶
- hasHeightForWidth(self) bool¶
- hasMouseTracking(self) bool¶
- hasTabletTracking(self) bool¶
- height(self) int¶
- heightForWidth(self, int) int¶
- heightMM(self) int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- inherits(self, str) bool¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionGroupBox)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- AtomSelector.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¶
- 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)¶
- AtomSelector.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)¶
- AtomSelector.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- AtomSelector.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- AtomSelector.scroll(self, int, int)
- AtomSelector.scroll(self, int, int, QRect) -> None
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAlignment(self, int)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- AtomSelector.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- AtomSelector.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)¶
- AtomSelector.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)¶
- AtomSelector.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)¶
- AtomSelector.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- AtomSelector.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)¶
- AtomSelector.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)¶
- AtomSelector.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTitle(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)¶
- 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)¶
- title(self) str¶
- 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
- AtomSelector.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.ui.qt.atomselector.MappableAtomSelector(*args, **kwargs)¶
Bases:
schrodinger.models.mappers.TargetMixin,schrodinger.ui.qt.atomselector.AtomSelector- __init__(*args, **kwargs)¶
- targetGetValue()¶
- targetSetValue(asl)¶
- ASL_ITEMS = {'Displayed Atoms': 'displayed_atoms', 'Heavy Atoms': 'heavy_atoms', 'Hydrogens-All': 'all_hydrogens', 'Hydrogens-Nonpolar': 'non_polar_hydrogens', 'Hydrogens-Nonpolar Ligand': 'non_polar_ligand_hydrogens', 'Hydrogens-Polar': 'polar_hydrogens', 'Ions': 'ions', 'Ligands': 'ligand', 'Membrane': 'membrane', 'Metal Atoms': 'metals', 'Nucleic Acids': 'nucleic_acids', 'Protein': '(protein) and not ligand', 'Protein Backbone': '(backbone) and not ligand', 'Protein Near Ligand': 'protein_near_ligand', 'Protein Side Chains': '(withinbonds 1 sidechain) and not ligand', 'Waters': 'water', 'Workspace Selection': 'workspace_selection'}¶
- 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)¶
- alignment(self) Qt.AlignmentFlag¶
- aslItemClicked(asl)¶
Update the asl according to the clicked asl item.
- aslModified¶
- aslTextModified¶
- atomSelectionDialogAboutToBeShown¶
- atomSelectionDialogDismissed¶
- autoFillBackground(self) bool¶
- auto_update_model = True¶
- auto_update_target = True¶
- backgroundRole(self) QPalette.ColorRole¶
- baseSize(self) QSize¶
- blockSignals(self, bool) bool¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget¶
- MappableAtomSelector.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject]¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clearFocus(self)¶
- clearMask(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¶
- getAsl()¶
Return the selected ASL string
- 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¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionGroupBox)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- MappableAtomSelector.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¶
- 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)¶
- loadWorkspaceSelection()¶
Loads workspace selection to the AtomSelector
- 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)¶
- MappableAtomSelector.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)¶
- MappableAtomSelector.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- reset()¶
Reset the widget to the defaults
- resize(self, QSize)¶
- MappableAtomSelector.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- MappableAtomSelector.scroll(self, int, int)
- MappableAtomSelector.scroll(self, int, int, QRect) -> None
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAlignment(self, int)¶
- setAsl(asl)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- MappableAtomSelector.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None¶
- setCheckable(self, bool)¶
- setChecked(self, bool)¶
- MappableAtomSelector.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDarkStyle()¶
Set dark style to ‘All’ and ‘+’ buttons
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- MappableAtomSelector.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)¶
- MappableAtomSelector.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)¶
- setMarkersEnabled(enable: bool)¶
Set enabled/disabled state of the
Markerscheckbox. Note: Disabling theMarkerscheckbox hides the workspace markers.- Parameters
enable – Whether to enable or disable the
Markerscheckbox.
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- MappableAtomSelector.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- MappableAtomSelector.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)¶
- MappableAtomSelector.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)¶
- MappableAtomSelector.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTitle(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)¶
- setupPickToggle(pick_text)¶
Set up pick toggle by creating pick layout, and adding pick toggle & combo menu to it.
- Parameters
pick_text (str) – Text that will be displayed on the bottom of the main Maestro window when the pick button is checked.
- setupPlusButton(layout, button_height, show_select, show_previous)¶
Setups the plus button by adding the button and its popup widget
- Parameters
layout (QtWidgets.QLayout) – Layout to which the plus button should be added.
button_height (int) – Height and width of the plus button.
show_previous (bool) – Whether to show the “Previous” button. Clicking it would select the previous ASL that was used.
show_select (bool) – Whether to show the “Select…” button. Clicking it would show an ASL selection dialog.
- 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)¶
- targetValueChanged¶
- testAttribute(self, Qt.WidgetAttribute) bool¶
- thread(self) QThread¶
- timerEvent(self, QTimerEvent)¶
- title(self) str¶
- 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
- MappableAtomSelector.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatePlusButtonStyle()¶
Update plus_button style
- 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¶
- schrodinger.ui.qt.atomselector.panel()¶