schrodinger.application.livedesign.panel_components module¶
- class schrodinger.application.livedesign.panel_components.LRSort(value)¶
Bases:
enum.Enum
An enumeration.
- Owner = 1¶
- Folder = 2¶
- class schrodinger.application.livedesign.panel_components.StatusBarDialog¶
Bases:
PyQt6.QtWidgets.QDialog
Helper class to setup the status bar for the panel. This class acts as the parent to avoid thread issues.
- Accepted = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Rejected = 0¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- __init__(*args, **kwargs)¶
- accept(self)¶
- acceptDrops(self) bool ¶
- accepted¶
accepted(self) [signal]
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- done(self, a0: int)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- exec(self) int ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- finished¶
finished(self, result: int) [signal]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isSizeGripEnabled(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- open(self)¶
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- reject(self)¶
- rejected¶
rejected(self) [signal]
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- result(self) int ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModal(self, modal: bool)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setResult(self, r: int)¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeGripEnabled(self, a0: bool)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.LRSortCombo(parent=None)¶
Bases:
PyQt6.QtWidgets.QComboBox
Combo box used to specify the method used to sort and organize live reports. Emits a custom signal with an enum designating the sort method.
- Variables
LRSortMethodChanged (QtCore.pyqtSignal) – signal indicating that a new live report sort method has been chosen; emitted with an
LRSort
value
- LRSortMethodChanged¶
- __init__(parent=None)¶
- onCurrentIndexChanged()¶
When the user makes a selection in this combo box, emit the enum value associated with their selection (rather than the less-useful index of the selection).
- AdjustToContents = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToMinimumContentsLengthWithIcon = 2¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- InsertAfterCurrent = 4¶
- InsertAlphabetically = 6¶
- InsertAtBottom = 3¶
- InsertAtCurrent = 2¶
- InsertAtTop = 1¶
- InsertBeforeCurrent = 5¶
- class InsertPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- NoInsert = 0¶
- InsertAtTop = 1¶
- InsertAtCurrent = 2¶
- InsertAtBottom = 3¶
- InsertAfterCurrent = 4¶
- InsertBeforeCurrent = 5¶
- InsertAlphabetically = 6¶
- NoInsert = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- class SizeAdjustPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- AdjustToContents = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToMinimumContentsLengthWithIcon = 2¶
- __len__()¶
Return len(self).
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activated¶
activated(self, index: int) [signal]
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- addItem(self, text: str, userData: Any = None)¶
- addItem(self, icon: QIcon, text: str, userData: Any = None) None
- addItems(self, texts: Iterable[str])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, e: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearEditText(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- completer(self) QCompleter ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, e: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- count(self) int ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- currentData(self, role: int = Qt.UserRole) Any ¶
- currentIndex(self) int ¶
- currentIndexChanged¶
currentIndexChanged(self, index: int) [signal]
- currentText(self) str ¶
- currentTextChanged¶
currentTextChanged(self, a0: str) [signal]
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- duplicatesEnabled(self) bool ¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- editTextChanged¶
editTextChanged(self, a0: str) [signal]
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, event: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findData(self, data: Any, role: int = Qt.UserRole, flags: Qt.MatchFlag = static_cast<QFlags<Qt.MatchFlag>>(Qt.MatchExactly|Qt.MatchCaseSensitive)) int ¶
- findText(self, text: str, flags: Qt.MatchFlag = static_cast<QFlags<Qt.MatchFlag>>(Qt.MatchExactly|Qt.MatchCaseSensitive)) int ¶
- focusInEvent(self, e: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, e: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasFrame(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, e: QHideEvent)¶
- hidePopup(self)¶
- highlighted¶
highlighted(self, index: int) [signal]
- iconSize(self) QSize ¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionComboBox)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- inputMethodQuery(self, query: Qt.InputMethodQuery, argument: Any) Any
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- insertItem(self, index: int, text: str, userData: Any = None)¶
- insertItem(self, index: int, icon: QIcon, text: str, userData: Any = None) None
- insertItems(self, index: int, texts: Iterable[str])¶
- insertPolicy(self) QComboBox.InsertPolicy ¶
- insertSeparator(self, index: int)¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEditable(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- itemData(self, index: int, role: int = Qt.UserRole) Any ¶
- itemDelegate(self) QAbstractItemDelegate ¶
- itemIcon(self, index: int) QIcon ¶
- itemText(self, index: int) str ¶
- keyPressEvent(self, e: QKeyEvent)¶
- keyReleaseEvent(self, e: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineEdit(self) QLineEdit ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maxCount(self) int ¶
- maxVisibleItems(self) int ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumContentsLength(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- model(self) QAbstractItemModel ¶
- modelColumn(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, e: QMouseEvent)¶
- mouseReleaseEvent(self, e: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, e: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- placeholderText(self) str ¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- removeItem(self, index: int)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, e: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- rootModelIndex(self) QModelIndex ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setCompleter(self, c: QCompleter)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCurrentIndex(self, index: int)¶
- setCurrentText(self, text: str)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setDuplicatesEnabled(self, enable: bool)¶
- setEditText(self, text: str)¶
- setEditable(self, editable: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrame(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setIconSize(self, size: QSize)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setInsertPolicy(self, policy: QComboBox.InsertPolicy)¶
- setItemData(self, index: int, value: Any, role: int = Qt.UserRole)¶
- setItemDelegate(self, delegate: QAbstractItemDelegate)¶
- setItemIcon(self, index: int, icon: QIcon)¶
- setItemText(self, index: int, text: str)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineEdit(self, edit: QLineEdit)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaxCount(self, max: int)¶
- setMaxVisibleItems(self, maxItems: int)¶
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumContentsLength(self, characters: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModel(self, model: QAbstractItemModel)¶
- setModelColumn(self, visibleColumn: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPlaceholderText(self, placeholderText: str)¶
- setProperty(self, name: str, value: Any) bool ¶
- setRootModelIndex(self, index: QModelIndex)¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeAdjustPolicy(self, policy: QComboBox.SizeAdjustPolicy)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setValidator(self, v: QValidator)¶
- setView(self, itemView: QAbstractItemView)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, e: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showPopup(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeAdjustPolicy(self) QComboBox.SizeAdjustPolicy ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- textActivated¶
textActivated(self, a0: str) [signal]
- textHighlighted¶
textHighlighted(self, a0: str) [signal]
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- validator(self) QValidator ¶
- view(self) QAbstractItemView ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, e: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.BaseSearchTreeWidgetHelper¶
Bases:
object
Base class for a widget subclass to hold a search box QLineEdit and a QTreeView below. This is a helper class only and should be sub-classed. This class should NOT be used directly.
- setUpWidgets(model, view)¶
Sets up the search box, model, view, and search proxy.
- Parameters
model (
QtGui.QStandardItemModel
) – model for the treeview (
QtWidgets.QTreeView
) – view for the model
- setUpLayout()¶
Sets up the layout, but needs to be added to the widget by the subclass.
- searchTextChanged(search_text)¶
Set the search term to the sort filter proxy model to show only the matching tree items. Any filtered in items will be expanded to show all children. Otherwise, all the items will be collapsed.
- Parameters
search_text (str) – search terms to apply to proxy model.
- resetWidgets()¶
- class schrodinger.application.livedesign.panel_components.CascadingCheckboxItem(*args, **kwargs)¶
Bases:
PyQt6.QtGui.QStandardItem
A subclass of QStandardItem that implements checkboxes that automatically respond to changes in child/parent check state. Checking or unchecking an item will cause all of its children to become checked/unchecked accordingly and will update its parent to be either checked, unchecked, or partially checked, depending on the state of all of the other children.
- __init__(*args, **kwargs)¶
- getChildItems(column=0)¶
Returns a list of all the child items. A column may be optionally specified if desired, otherwise the first column’s item will be returned from each descendent row.
- Parameters
column (int) – the column of the item to be returned from each row
- updateCheckState()¶
Updates the item’s check state depending on the check state of all the child items. If all the child items are checked or unchecked, this item will be checked/unchecked accordingly. If only some of the children are checked, this item will be partially checked.
- updateEnabled()¶
If this item has children and they are all disabled, disable this item. If any such children are enabled, enable this item.
- setData(value, role)¶
Overrides setData() to trigger an update of the parent item’s check state and enabled state, and propagate check state to all the child items (i.e. checking this item will cause all its child items to become checked).
See parent class for documentation on parameters.
- setEnabled(self, enabled: bool)¶
- Type = 0¶
- UserType = 1000¶
- accessibleDescription(self) str ¶
- accessibleText(self) str ¶
- appendColumn(self, items: Iterable[QStandardItem])¶
- appendRow(self, items: Iterable[QStandardItem])¶
- appendRow(self, aitem: QStandardItem) None
- appendRows(self, items: Iterable[QStandardItem])¶
- background(self) QBrush ¶
- checkState(self) Qt.CheckState ¶
- child(self, row: int, column: int = 0) QStandardItem ¶
- clearData(self)¶
- clone(self) QStandardItem ¶
- column(self) int ¶
- columnCount(self) int ¶
- data(self, role: int = Qt.UserRole + 1) Any ¶
- emitDataChanged(self)¶
- flags(self) Qt.ItemFlag ¶
- font(self) QFont ¶
- foreground(self) QBrush ¶
- hasChildren(self) bool ¶
- icon(self) QIcon ¶
- index(self) QModelIndex ¶
- insertColumn(self, column: int, items: Iterable[QStandardItem])¶
- insertColumns(self, column: int, count: int)¶
- insertRow(self, row: int, items: Iterable[QStandardItem])¶
- insertRow(self, arow: int, aitem: QStandardItem) None
- insertRows(self, row: int, count: int)¶
- insertRows(self, row: int, items: Iterable[QStandardItem]) None
- isAutoTristate(self) bool ¶
- isCheckable(self) bool ¶
- isDragEnabled(self) bool ¶
- isDropEnabled(self) bool ¶
- isEditable(self) bool ¶
- isEnabled(self) bool ¶
- isSelectable(self) bool ¶
- isUserTristate(self) bool ¶
- model(self) QStandardItemModel ¶
- parent(self) QStandardItem ¶
- read(self, in_: QDataStream)¶
- removeColumn(self, column: int)¶
- removeColumns(self, column: int, count: int)¶
- removeRow(self, row: int)¶
- removeRows(self, row: int, count: int)¶
- row(self) int ¶
- rowCount(self) int ¶
- setAccessibleDescription(self, aaccessibleDescription: str)¶
- setAccessibleText(self, aaccessibleText: str)¶
- setAutoTristate(self, tristate: bool)¶
- setBackground(self, abrush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCheckState(self, acheckState: Qt.CheckState)¶
- setCheckable(self, checkable: bool)¶
- setChild(self, row: int, column: int, item: QStandardItem)¶
- setChild(self, arow: int, aitem: QStandardItem) None
- setColumnCount(self, columns: int)¶
- setDragEnabled(self, dragEnabled: bool)¶
- setDropEnabled(self, dropEnabled: bool)¶
- setEditable(self, editable: bool)¶
- setFlags(self, flags: Qt.ItemFlag)¶
- setFont(self, afont: QFont)¶
- setForeground(self, abrush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setIcon(self, aicon: QIcon)¶
- setRowCount(self, rows: int)¶
- setSelectable(self, selectable: bool)¶
- setSizeHint(self, asizeHint: QSize)¶
- setStatusTip(self, astatusTip: str)¶
- setText(self, atext: str)¶
- setTextAlignment(self, atextAlignment: Qt.AlignmentFlag)¶
- setToolTip(self, atoolTip: str)¶
- setUserTristate(self, tristate: bool)¶
- setWhatsThis(self, awhatsThis: str)¶
- sizeHint(self) QSize ¶
- sortChildren(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- statusTip(self) str ¶
- takeChild(self, row: int, column: int = 0) QStandardItem ¶
- takeColumn(self, column: int) List[QStandardItem] ¶
- takeRow(self, row: int) List[QStandardItem] ¶
- text(self) str ¶
- textAlignment(self) Qt.AlignmentFlag ¶
- toolTip(self) str ¶
- type(self) int ¶
- whatsThis(self) str ¶
- write(self, out: QDataStream)¶
- class schrodinger.application.livedesign.panel_components.LDDataCheckboxItem(ld_data)¶
Bases:
schrodinger.application.livedesign.panel_components.CascadingCheckboxItem
A
CascadingCheckboxItem
that stores and knows how to display adata_classes.LDData
instance.- __init__(ld_data)¶
- Parameters
ld_data (data_classes.LDData) – LD data instance
- property ld_data¶
- Type = 0¶
- UserType = 1000¶
- accessibleDescription(self) str ¶
- accessibleText(self) str ¶
- appendColumn(self, items: Iterable[QStandardItem])¶
- appendRow(self, items: Iterable[QStandardItem])¶
- appendRow(self, aitem: QStandardItem) None
- appendRows(self, items: Iterable[QStandardItem])¶
- background(self) QBrush ¶
- checkState(self) Qt.CheckState ¶
- child(self, row: int, column: int = 0) QStandardItem ¶
- clearData(self)¶
- clone(self) QStandardItem ¶
- column(self) int ¶
- columnCount(self) int ¶
- data(self, role: int = Qt.UserRole + 1) Any ¶
- emitDataChanged(self)¶
- flags(self) Qt.ItemFlag ¶
- font(self) QFont ¶
- foreground(self) QBrush ¶
- getChildItems(column=0)¶
Returns a list of all the child items. A column may be optionally specified if desired, otherwise the first column’s item will be returned from each descendent row.
- Parameters
column (int) – the column of the item to be returned from each row
- hasChildren(self) bool ¶
- icon(self) QIcon ¶
- index(self) QModelIndex ¶
- insertColumn(self, column: int, items: Iterable[QStandardItem])¶
- insertColumns(self, column: int, count: int)¶
- insertRow(self, row: int, items: Iterable[QStandardItem])¶
- insertRow(self, arow: int, aitem: QStandardItem) None
- insertRows(self, row: int, count: int)¶
- insertRows(self, row: int, items: Iterable[QStandardItem]) None
- isAutoTristate(self) bool ¶
- isCheckable(self) bool ¶
- isDragEnabled(self) bool ¶
- isDropEnabled(self) bool ¶
- isEditable(self) bool ¶
- isEnabled(self) bool ¶
- isSelectable(self) bool ¶
- isUserTristate(self) bool ¶
- model(self) QStandardItemModel ¶
- parent(self) QStandardItem ¶
- read(self, in_: QDataStream)¶
- removeColumn(self, column: int)¶
- removeColumns(self, column: int, count: int)¶
- removeRow(self, row: int)¶
- removeRows(self, row: int, count: int)¶
- row(self) int ¶
- rowCount(self) int ¶
- setAccessibleDescription(self, aaccessibleDescription: str)¶
- setAccessibleText(self, aaccessibleText: str)¶
- setAutoTristate(self, tristate: bool)¶
- setBackground(self, abrush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCheckState(self, acheckState: Qt.CheckState)¶
- setCheckable(self, checkable: bool)¶
- setChild(self, row: int, column: int, item: QStandardItem)¶
- setChild(self, arow: int, aitem: QStandardItem) None
- setColumnCount(self, columns: int)¶
- setData(value, role)¶
Overrides setData() to trigger an update of the parent item’s check state and enabled state, and propagate check state to all the child items (i.e. checking this item will cause all its child items to become checked).
See parent class for documentation on parameters.
- setDragEnabled(self, dragEnabled: bool)¶
- setDropEnabled(self, dropEnabled: bool)¶
- setEditable(self, editable: bool)¶
- setEnabled(self, enabled: bool)¶
- setFlags(self, flags: Qt.ItemFlag)¶
- setFont(self, afont: QFont)¶
- setForeground(self, abrush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setIcon(self, aicon: QIcon)¶
- setRowCount(self, rows: int)¶
- setSelectable(self, selectable: bool)¶
- setSizeHint(self, asizeHint: QSize)¶
- setStatusTip(self, astatusTip: str)¶
- setText(self, atext: str)¶
- setTextAlignment(self, atextAlignment: Qt.AlignmentFlag)¶
- setToolTip(self, atoolTip: str)¶
- setUserTristate(self, tristate: bool)¶
- setWhatsThis(self, awhatsThis: str)¶
- sizeHint(self) QSize ¶
- sortChildren(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- statusTip(self) str ¶
- takeChild(self, row: int, column: int = 0) QStandardItem ¶
- takeColumn(self, column: int) List[QStandardItem] ¶
- takeRow(self, row: int) List[QStandardItem] ¶
- text(self) str ¶
- textAlignment(self) Qt.AlignmentFlag ¶
- toolTip(self) str ¶
- type(self) int ¶
- updateCheckState()¶
Updates the item’s check state depending on the check state of all the child items. If all the child items are checked or unchecked, this item will be checked/unchecked accordingly. If only some of the children are checked, this item will be partially checked.
- updateEnabled()¶
If this item has children and they are all disabled, disable this item. If any such children are enabled, enable this item.
- whatsThis(self) str ¶
- write(self, out: QDataStream)¶
- class schrodinger.application.livedesign.panel_components.LDDataSelectionModel(*args, **kwargs)¶
Bases:
PyQt6.QtGui.QStandardItemModel
A tree structured model for storing LD data by family name.
- Variables
item_dict (dict(data_classes.LDData, QtGui.QStandardItem)) – a dictionary mapping LD data to items from this model
- __init__(*args, **kwargs)¶
- clear(self)¶
- loadData(ld_data_list)¶
Replaces the data in the model with the specified list of export data.
- Parameters
ld_data_list (list(data_classes.LDData)) – a list of LD data to export
- getCheckedData()¶
Recursively traverses the entire tree and returns LD data instances checked by the user.
- Returns
LD data specified for export by the user
- Return type
list(data_classes.LDData)
- setItemsChecked(ld_data_list, checked)¶
Set the checkstate of the items associated with the supplied data, if they are enabled.
- Parameters
ld_data_list (List[data_classes.LDData]) – a list of
LDData
instances corresponding to items in the modelchecked (bool) – whether to check or uncheck the specified item
- uncheckAll()¶
Un-check all items in tree.
- setItemEnabled(ld_data, enable)¶
Set an item to be enabled or disabled.
- Parameters
ld_data (data_classes.LDData) – data object associated with the item to be enabled or disabled
enable (bool) – whether to enable (
True
) or disable (False
) the specified item
- getItemTooltip(ld_data)¶
Return the tooltip of the item associated with the supplied LD data object.
- Parameters
ld_data (data_classes.LDData) – a LiveDesign data object
- Returns
tooltip text, if the specified item can be found; otherwise,
None
- Return type
str or NoneType
- setItemTooltip(ld_data, tooltip)¶
Apply a tooltip to an item.
- Parameters
ld_data (data_classes.LDData) – data object associated with the item to set the tooltip on
tooltip (str) – tooltip text
- class CheckIndexOption(value)¶
Bases:
enum.Flag
An enumeration.
- NoOption = 0¶
- IndexIsValid = 1¶
- DoNotUseParent = 2¶
- ParentIsInvalid = 4¶
- HorizontalSortHint = 2¶
- class LayoutChangeHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- HorizontalSortHint = 2¶
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- appendColumn(self, items: Iterable[QStandardItem])¶
- appendRow(self, items: Iterable[QStandardItem])¶
- appendRow(self, aitem: QStandardItem) None
- beginInsertColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginInsertRows(self, parent: QModelIndex, first: int, last: int)¶
- beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) bool ¶
- beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) bool ¶
- beginRemoveColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginRemoveRows(self, parent: QModelIndex, first: int, last: int)¶
- beginResetModel(self)¶
- blockSignals(self, b: bool) bool ¶
- buddy(self, index: QModelIndex) QModelIndex ¶
- canDropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- canFetchMore(self, parent: QModelIndex) bool ¶
- changePersistentIndex(self, from_: QModelIndex, to: QModelIndex)¶
- changePersistentIndexList(self, from_: Iterable[QModelIndex], to: Iterable[QModelIndex])¶
- checkIndex(self, index: QModelIndex, options: QAbstractItemModel.CheckIndexOption = QAbstractItemModel.CheckIndexOption.NoOption) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- clearItemData(self, index: QModelIndex) bool ¶
- columnCount(self, parent: QModelIndex = QModelIndex()) int ¶
- columnsAboutToBeInserted¶
columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsAboutToBeMoved¶
columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) [signal]
- columnsAboutToBeRemoved¶
columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsInserted¶
columnsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsMoved¶
columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) [signal]
- columnsRemoved¶
columnsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- connectNotify(self, signal: QMetaMethod)¶
- createIndex(self, row: int, column: int, object: object = 0) QModelIndex ¶
- customEvent(self, a0: QEvent)¶
- data(self, index: QModelIndex, role: int = Qt.DisplayRole) Any ¶
- dataChanged¶
dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = []) [signal]
- decodeData(self, row: int, column: int, parent: QModelIndex, stream: QDataStream) bool ¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- encodeData(self, indexes: Iterable[QModelIndex], stream: QDataStream)¶
- endInsertColumns(self)¶
- endInsertRows(self)¶
- endMoveColumns(self)¶
- endMoveRows(self)¶
- endRemoveColumns(self)¶
- endRemoveRows(self)¶
- endResetModel(self)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- fetchMore(self, parent: QModelIndex)¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findItems(self, text: str, flags: Qt.MatchFlag = Qt.MatchExactly, column: int = 0) List[QStandardItem] ¶
- flags(self, index: QModelIndex) Qt.ItemFlag ¶
- hasChildren(self, parent: QModelIndex = QModelIndex()) bool ¶
- hasIndex(self, row: int, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- headerData(self, section: int, orientation: Qt.Orientation, role: int = Qt.DisplayRole) Any ¶
- headerDataChanged¶
headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) [signal]
- horizontalHeaderItem(self, column: int) QStandardItem ¶
- index(self, row: int, column: int, parent: QModelIndex = QModelIndex()) QModelIndex ¶
- indexFromItem(self, item: QStandardItem) QModelIndex ¶
- inherits(self, classname: str) bool ¶
- insertColumn(self, column: int, items: Iterable[QStandardItem])¶
- insertColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool
- insertColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertRow(self, row: int, items: Iterable[QStandardItem])¶
- insertRow(self, arow: int, aitem: QStandardItem) None
- insertRow(self, row: int, parent: QModelIndex = QModelIndex()) bool
- insertRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- installEventFilter(self, a0: QObject)¶
- invisibleRootItem(self) QStandardItem ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- item(self, row: int, column: int = 0) QStandardItem ¶
- itemChanged¶
itemChanged(self, item: QStandardItem) [signal]
- itemData(self, index: QModelIndex) Dict[int, Any] ¶
- itemFromIndex(self, index: QModelIndex) QStandardItem ¶
- itemPrototype(self) QStandardItem ¶
- killTimer(self, id: int)¶
- layoutAboutToBeChanged¶
layoutAboutToBeChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- layoutChanged¶
layoutChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- match(self, start: QModelIndex, role: int, value: Any, hits: int = 1, flags: Qt.MatchFlag = Qt.MatchFlags(Qt.MatchStartsWith | Qt.MatchWrap)) List[QModelIndex] ¶
- metaObject(self) QMetaObject ¶
- mimeData(self, indexes: Iterable[QModelIndex]) QMimeData ¶
- mimeTypes(self) List[str] ¶
- modelAboutToBeReset¶
modelAboutToBeReset(self) [signal]
- modelReset¶
modelReset(self) [signal]
- moveColumn(self, sourceParent: QModelIndex, sourceColumn: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRow(self, sourceParent: QModelIndex, sourceRow: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self, child: QModelIndex) QModelIndex ¶
- parent(self) QObject
- persistentIndexList(self) List[QModelIndex] ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeEventFilter(self, a0: QObject)¶
- removeRow(self, row: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- resetInternalData(self)¶
- revert(self)¶
- roleNames(self) Dict[int, QByteArray] ¶
- rowCount(self, parent: QModelIndex = QModelIndex()) int ¶
- rowsAboutToBeInserted¶
rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsAboutToBeMoved¶
rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) [signal]
- rowsAboutToBeRemoved¶
rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsInserted¶
rowsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsMoved¶
rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) [signal]
- rowsRemoved¶
rowsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setColumnCount(self, columns: int)¶
- setData(self, index: QModelIndex, value: Any, role: int = Qt.EditRole) bool ¶
- setHeaderData(self, section: int, orientation: Qt.Orientation, value: Any, role: int = Qt.EditRole) bool ¶
- setHorizontalHeaderItem(self, column: int, item: QStandardItem)¶
- setHorizontalHeaderLabels(self, labels: Iterable[str])¶
- setItem(self, row: int, column: int, item: QStandardItem)¶
- setItem(self, arow: int, aitem: QStandardItem) None
- setItemData(self, index: QModelIndex, roles: Dict[int, Any]) bool ¶
- setItemPrototype(self, item: QStandardItem)¶
- setItemRoleNames(self, roleNames: Dict[int, QByteArray])¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- setRowCount(self, rows: int)¶
- setSortRole(self, role: int)¶
- setVerticalHeaderItem(self, row: int, item: QStandardItem)¶
- setVerticalHeaderLabels(self, labels: Iterable[str])¶
- sibling(self, row: int, column: int, idx: QModelIndex) QModelIndex ¶
- signalsBlocked(self) bool ¶
- sort(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- sortRole(self) int ¶
- span(self, index: QModelIndex) QSize ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- submit(self) bool ¶
- supportedDragActions(self) Qt.DropAction ¶
- supportedDropActions(self) Qt.DropAction ¶
- takeColumn(self, column: int) List[QStandardItem] ¶
- takeHorizontalHeaderItem(self, column: int) QStandardItem ¶
- takeItem(self, row: int, column: int = 0) QStandardItem ¶
- takeRow(self, row: int) List[QStandardItem] ¶
- takeVerticalHeaderItem(self, row: int) QStandardItem ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- verticalHeaderItem(self, row: int) QStandardItem ¶
- class schrodinger.application.livedesign.panel_components.LDDataSelectionTreeView¶
Bases:
PyQt6.QtWidgets.QTreeView
A class for displaying LD data selection.
- __init__()¶
- AboveItem = 1¶
- AdjustIgnored = 0¶
- AdjustToContents = 2¶
- AdjustToContentsOnFirstShow = 1¶
- AllEditTriggers = 31¶
- AnimatingState = 6¶
- AnyKeyPressed = 16¶
- BelowItem = 2¶
- Box = 1¶
- CollapsingState = 5¶
- ContiguousSelection = 4¶
- CurrentChanged = 1¶
- class CursorAction(value)¶
Bases:
enum.Enum
An enumeration.
- MoveUp = 0¶
- MoveDown = 1¶
- MoveLeft = 2¶
- MoveRight = 3¶
- MoveHome = 4¶
- MoveEnd = 5¶
- MovePageUp = 6¶
- MovePageDown = 7¶
- MoveNext = 8¶
- MovePrevious = 9¶
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode(value)¶
Bases:
enum.Enum
An enumeration.
- NoDragDrop = 0¶
- DragOnly = 1¶
- DropOnly = 2¶
- DragDrop = 3¶
- InternalMove = 4¶
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition(value)¶
Bases:
enum.Enum
An enumeration.
- OnItem = 0¶
- AboveItem = 1¶
- BelowItem = 2¶
- OnViewport = 3¶
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger(value)¶
Bases:
enum.Flag
An enumeration.
- NoEditTriggers = 0¶
- CurrentChanged = 1¶
- DoubleClicked = 2¶
- SelectedClicked = 4¶
- EditKeyPressed = 8¶
- AnyKeyPressed = 16¶
- AllEditTriggers = 31¶
- EditingState = 3¶
- EnsureVisible = 0¶
- ExpandingState = 4¶
- ExtendedSelection = 3¶
- HLine = 4¶
- IgnoreMask = 4¶
- InternalMove = 4¶
- MoveDown = 1¶
- MoveEnd = 5¶
- MoveHome = 4¶
- MoveLeft = 2¶
- MoveNext = 8¶
- MovePageDown = 7¶
- MovePageUp = 6¶
- MovePrevious = 9¶
- MoveRight = 3¶
- MoveUp = 0¶
- MultiSelection = 2¶
- NoDragDrop = 0¶
- NoEditTriggers = 0¶
- NoFrame = 0¶
- NoSelection = 0¶
- NoState = 0¶
- OnItem = 0¶
- OnViewport = 3¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- PositionAtBottom = 2¶
- PositionAtCenter = 3¶
- PositionAtTop = 1¶
- Raised = 32¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- class ScrollHint(value)¶
Bases:
enum.Enum
An enumeration.
- EnsureVisible = 0¶
- PositionAtTop = 1¶
- PositionAtBottom = 2¶
- PositionAtCenter = 3¶
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior(value)¶
Bases:
enum.Enum
An enumeration.
- SelectItems = 0¶
- SelectRows = 1¶
- SelectColumns = 2¶
- class SelectionMode(value)¶
Bases:
enum.Enum
An enumeration.
- NoSelection = 0¶
- SingleSelection = 1¶
- MultiSelection = 2¶
- ExtendedSelection = 3¶
- ContiguousSelection = 4¶
- Shadow_Mask = 240¶
- class Shape(value)¶
Bases:
enum.IntEnum
An enumeration.
- NoFrame = 0¶
- Box = 1¶
- Panel = 2¶
- WinPanel = 3¶
- HLine = 4¶
- VLine = 5¶
- StyledPanel = 6¶
- Shape_Mask = 15¶
- SingleSelection = 1¶
- class SizeAdjustPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- AdjustIgnored = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToContents = 2¶
- class State(value)¶
Bases:
enum.Enum
An enumeration.
- NoState = 0¶
- DraggingState = 1¶
- DragSelectingState = 2¶
- EditingState = 3¶
- ExpandingState = 4¶
- CollapsingState = 5¶
- AnimatingState = 6¶
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activated¶
activated(self, index: QModelIndex) [signal]
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- addScrollBarWidget(self, widget: QWidget, alignment: Qt.AlignmentFlag)¶
- adjustSize(self)¶
- allColumnsShowFocus(self) bool ¶
- alternatingRowColors(self) bool ¶
- autoExpandDelay(self) int ¶
- autoFillBackground(self) bool ¶
- autoScrollMargin(self) int ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, event: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- clearSelection(self)¶
- clicked¶
clicked(self, index: QModelIndex) [signal]
- close(self) bool ¶
- closeEditor(self, editor: QWidget, hint: QAbstractItemDelegate.EndEditHint)¶
- closeEvent(self, a0: QCloseEvent)¶
- closePersistentEditor(self, index: QModelIndex)¶
- collapse(self, index: QModelIndex)¶
- collapseAll(self)¶
- collapsed¶
collapsed(self, index: QModelIndex) [signal]
- colorCount(self) int ¶
- columnAt(self, x: int) int ¶
- columnCountChanged(self, oldCount: int, newCount: int)¶
- columnMoved(self)¶
- columnResized(self, column: int, oldSize: int, newSize: int)¶
- columnViewportPosition(self, column: int) int ¶
- columnWidth(self, column: int) int ¶
- commitData(self, editor: QWidget)¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- cornerWidget(self) QWidget ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- currentChanged(self, current: QModelIndex, previous: QModelIndex)¶
- currentIndex(self) QModelIndex ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = [])¶
- defaultDropAction(self) Qt.DropAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- dirtyRegionOffset(self) QPoint ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- doubleClicked¶
doubleClicked(self, index: QModelIndex) [signal]
- dragDropMode(self) QAbstractItemView.DragDropMode ¶
- dragDropOverwriteMode(self) bool ¶
- dragEnabled(self) bool ¶
- dragEnterEvent(self, e: QDragEnterEvent)¶
- dragLeaveEvent(self, e: QDragLeaveEvent)¶
- dragMoveEvent(self, event: QDragMoveEvent)¶
- drawBranches(self, painter: QPainter, rect: QRect, index: QModelIndex)¶
- drawFrame(self, a0: QPainter)¶
- drawRow(self, painter: QPainter, options: QStyleOptionViewItem, index: QModelIndex)¶
- drawTree(self, painter: QPainter, region: QRegion)¶
- dropEvent(self, e: QDropEvent)¶
- dropIndicatorPosition(self) QAbstractItemView.DropIndicatorPosition ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- edit(self, index: QModelIndex)¶
- edit(self, index: QModelIndex, trigger: QAbstractItemView.EditTrigger, event: QEvent) bool
- editTriggers(self) QAbstractItemView.EditTrigger ¶
- editorDestroyed(self, editor: QObject)¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- entered¶
entered(self, index: QModelIndex) [signal]
- event(self, event: QEvent) bool ¶
- eventFilter(self, object: QObject, event: QEvent) bool ¶
- executeDelayedItemsLayout(self)¶
- expand(self, index: QModelIndex)¶
- expandAll(self)¶
- expandRecursively(self, index: QModelIndex, depth: int = - 1)¶
- expandToDepth(self, depth: int)¶
- expanded¶
expanded(self, index: QModelIndex) [signal]
- expandsOnDoubleClick(self) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, e: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, e: 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 ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasAutoScroll(self) bool ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- header(self) QHeaderView ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideColumn(self, column: int)¶
- hideEvent(self, a0: QHideEvent)¶
- horizontalOffset(self) int ¶
- horizontalScrollBar(self) QScrollBar ¶
- horizontalScrollBarPolicy(self) Qt.ScrollBarPolicy ¶
- horizontalScrollMode(self) QAbstractItemView.ScrollMode ¶
- horizontalScrollbarAction(self, action: int)¶
- horizontalScrollbarValueChanged(self, value: int)¶
- iconSize(self) QSize ¶
- iconSizeChanged¶
iconSizeChanged(self, size: QSize) [signal]
- indentation(self) int ¶
- indexAbove(self, index: QModelIndex) QModelIndex ¶
- indexAt(self, p: QPoint) QModelIndex ¶
- indexBelow(self, index: QModelIndex) QModelIndex ¶
- indexRowSizeHint(self, index: QModelIndex) int ¶
- indexWidget(self, index: QModelIndex) QWidget ¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- initViewItemOption(self, option: QStyleOptionViewItem)¶
- inputMethodEvent(self, event: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, query: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isAnimated(self) bool ¶
- isColumnHidden(self, column: int) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isExpanded(self, index: QModelIndex) bool ¶
- isFirstColumnSpanned(self, row: int, parent: QModelIndex) bool ¶
- isFullScreen(self) bool ¶
- isHeaderHidden(self) bool ¶
- isHidden(self) bool ¶
- isIndexHidden(self, index: QModelIndex) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isPersistentEditorOpen(self, index: QModelIndex) bool ¶
- isRightToLeft(self) bool ¶
- isRowHidden(self, row: int, parent: QModelIndex) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isSortingEnabled(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- itemDelegate(self) QAbstractItemDelegate ¶
- itemDelegateForColumn(self, column: int) QAbstractItemDelegate ¶
- itemDelegateForIndex(self, index: QModelIndex) QAbstractItemDelegate ¶
- itemDelegateForRow(self, row: int) QAbstractItemDelegate ¶
- itemsExpandable(self) bool ¶
- keyPressEvent(self, event: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- keyboardSearch(self, search: str)¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumViewportSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- model(self) QAbstractItemModel ¶
- mouseDoubleClickEvent(self, e: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, event: QMouseEvent)¶
- mousePressEvent(self, e: QMouseEvent)¶
- mouseReleaseEvent(self, event: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: Qt.KeyboardModifier) QModelIndex ¶
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- openPersistentEditor(self, index: QModelIndex)¶
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, e: 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, index: QModelIndex) [signal]
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- reexpand(self)¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetIndentation(self)¶
- resetVerticalScrollMode(self)¶
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeColumnToContents(self, column: int)¶
- resizeEvent(self, e: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- rootIndex(self) QModelIndex ¶
- rootIsDecorated(self) bool ¶
- rowHeight(self, index: QModelIndex) int ¶
- rowsAboutToBeRemoved(self, parent: QModelIndex, start: int, end: int)¶
- rowsInserted(self, parent: QModelIndex, start: int, end: int)¶
- rowsRemoved(self, parent: QModelIndex, first: int, last: int)¶
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- scrollBarWidgets(self, alignment: Qt.AlignmentFlag) List[QWidget] ¶
- scrollContentsBy(self, dx: int, dy: int)¶
- scrollDirtyRegion(self, dx: int, dy: int)¶
- scrollTo(self, index: QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- scrollToBottom(self)¶
- scrollToTop(self)¶
- selectAll(self)¶
- selectedIndexes(self) List[QModelIndex] ¶
- selectionBehavior(self) QAbstractItemView.SelectionBehavior ¶
- selectionChanged(self, selected: QItemSelection, deselected: QItemSelection)¶
- selectionCommand(self, index: QModelIndex, event: typing.Optional[QEvent] = None) QItemSelectionModel.SelectionFlag ¶
- selectionMode(self) QAbstractItemView.SelectionMode ¶
- selectionModel(self) QItemSelectionModel ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAllColumnsShowFocus(self, enable: bool)¶
- setAlternatingRowColors(self, enable: bool)¶
- setAnimated(self, enable: bool)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoExpandDelay(self, delay: int)¶
- setAutoFillBackground(self, enabled: bool)¶
- setAutoScroll(self, enable: bool)¶
- setAutoScrollMargin(self, margin: int)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setColumnHidden(self, column: int, hide: bool)¶
- setColumnWidth(self, column: int, width: int)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCornerWidget(self, widget: QWidget)¶
- setCurrentIndex(self, index: QModelIndex)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDefaultDropAction(self, dropAction: Qt.DropAction)¶
- setDirtyRegion(self, region: QRegion)¶
- setDisabled(self, a0: bool)¶
- setDragDropMode(self, behavior: QAbstractItemView.DragDropMode)¶
- setDragDropOverwriteMode(self, overwrite: bool)¶
- setDragEnabled(self, enable: bool)¶
- setDropIndicatorShown(self, enable: bool)¶
- setEditTriggers(self, triggers: QAbstractItemView.EditTrigger)¶
- setEnabled(self, a0: bool)¶
- setExpanded(self, index: QModelIndex, expand: bool)¶
- setExpandsOnDoubleClick(self, enable: bool)¶
- setFirstColumnSpanned(self, row: int, parent: QModelIndex, span: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrameRect(self, a0: QRect)¶
- setFrameShadow(self, a0: QFrame.Shadow)¶
- setFrameShape(self, a0: QFrame.Shape)¶
- setFrameStyle(self, a0: int)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHeader(self, header: QHeaderView)¶
- setHeaderHidden(self, hide: bool)¶
- setHidden(self, hidden: bool)¶
- setHorizontalScrollBar(self, scrollbar: QScrollBar)¶
- setHorizontalScrollBarPolicy(self, a0: Qt.ScrollBarPolicy)¶
- setHorizontalScrollMode(self, mode: QAbstractItemView.ScrollMode)¶
- setIconSize(self, size: QSize)¶
- setIndentation(self, i: int)¶
- setIndexWidget(self, index: QModelIndex, widget: QWidget)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setItemDelegate(self, delegate: QAbstractItemDelegate)¶
- setItemDelegateForColumn(self, column: int, delegate: QAbstractItemDelegate)¶
- setItemDelegateForRow(self, row: int, delegate: QAbstractItemDelegate)¶
- setItemsExpandable(self, enable: bool)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineWidth(self, a0: int)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMidLineWidth(self, a0: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModel(self, model: QAbstractItemModel)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setRootIndex(self, index: QModelIndex)¶
- setRootIsDecorated(self, show: bool)¶
- setRowHidden(self, row: int, parent: QModelIndex, hide: bool)¶
- setScreen(self, a0: QScreen)¶
- setSelection(self, rect: QRect, command: QItemSelectionModel.SelectionFlag)¶
- setSelectionBehavior(self, behavior: QAbstractItemView.SelectionBehavior)¶
- setSelectionMode(self, mode: QAbstractItemView.SelectionMode)¶
- setSelectionModel(self, selectionModel: QItemSelectionModel)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeAdjustPolicy(self, policy: QAbstractScrollArea.SizeAdjustPolicy)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setSortingEnabled(self, enable: bool)¶
- setState(self, state: QAbstractItemView.State)¶
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setTextElideMode(self, mode: Qt.TextElideMode)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setTreePosition(self, logicalIndex: int)¶
- setUniformRowHeights(self, uniform: bool)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVerticalScrollBar(self, scrollbar: QScrollBar)¶
- setVerticalScrollBarPolicy(self, a0: Qt.ScrollBarPolicy)¶
- setVerticalScrollMode(self, mode: QAbstractItemView.ScrollMode)¶
- setViewport(self, widget: QWidget)¶
- setViewportMargins(self, left: int, top: int, right: int, bottom: int)¶
- setViewportMargins(self, margins: QMargins) None
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- setWordWrap(self, on: bool)¶
- setupViewport(self, viewport: QWidget)¶
- show(self)¶
- showColumn(self, column: int)¶
- showDropIndicator(self) bool ¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeAdjustPolicy(self) QAbstractScrollArea.SizeAdjustPolicy ¶
- sizeHint(self) QSize ¶
- sizeHintForColumn(self, column: int) int ¶
- sizeHintForIndex(self, index: QModelIndex) QSize ¶
- sizeHintForRow(self, row: int) int ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- sortByColumn(self, column: int, order: Qt.SortOrder)¶
- stackUnder(self, a0: QWidget)¶
- startDrag(self, supportedActions: Qt.DropAction)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- state(self) QAbstractItemView.State ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- textElideMode(self) Qt.TextElideMode ¶
- thread(self) QThread ¶
- timerEvent(self, event: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- treePosition(self) int ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- uniformRowHeights(self) bool ¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, index: QModelIndex) None
- updateEditorData(self)¶
- updateEditorGeometries(self)¶
- updateGeometries(self)¶
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- verticalOffset(self) int ¶
- verticalScrollBar(self) QScrollBar ¶
- verticalScrollBarPolicy(self) Qt.ScrollBarPolicy ¶
- verticalScrollMode(self) QAbstractItemView.ScrollMode ¶
- verticalScrollbarAction(self, action: int)¶
- verticalScrollbarValueChanged(self, value: int)¶
- viewport(self) QWidget ¶
- viewportEntered¶
viewportEntered(self) [signal]
- viewportEvent(self, event: QEvent) bool ¶
- viewportMargins(self) QMargins ¶
- viewportSizeHint(self) QSize ¶
- visibleRegion(self) QRegion ¶
- visualRect(self, index: QModelIndex) QRect ¶
- visualRegionForSelection(self, selection: QItemSelection) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.LDDataTreePopUp(*args, **kwargs)¶
Bases:
schrodinger.models.mappers.TargetMixin
,schrodinger.ui.qt.widgetmixins.basicmixins.InitMixin
,schrodinger.application.livedesign.panel_components.BaseSearchTreeWidgetHelper
,schrodinger.ui.qt.pop_up_widgets.PopUp
A popup with initialization mixin to group together a search bar LineEdit and the LD Data Selection QTreeView. Popup can be used as a target to map to a param for getting/setting checked LD data.
- initSetUp()¶
Sets up the model, view, proxy and search box.
See BaseSearchTreeWidgetHelper.setUpWidgets for more info.
- initLayOut()¶
Create a vertical layout for the widget (
widget_layout
) and populate it with two vertical sub-layouts:main_layout
andbottom_layout
.If the user has specified the
ui
data member, insert the resultantui_widget
intomain_layout
.If the widget already has a layout defined, this method will produce a warning (but not a traceback).
main_layout
andbottom_layout
will 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.
- setup()¶
Subclass-specific initialization. Subclasses must implement this function.
- targetGetValue()¶
- targetSetValue(value)¶
- loadData(ld_data_list)¶
See
LDDataSelectionModel.loadData()
for more information.
- getCheckedData()¶
See
LDDataSelectionModel.getCheckedData()
for more information.
- getCheckedDataCount()¶
- Return type
int
- Returns
the count of checked LD data properties.
- setCheckedData(ld_data_list)¶
Check the items corresponding to the supplied LD data (if found), and uncheck all other items.
- Parameters
ld_data_list (list(data_classes.LDData)) – a list of LD data instances that should be checked in the tree
- setItemChecked(ld_data, checked)¶
Convenience method to check or uncheck a single item.
- Parameters
ld_data (data_classes.LDData) – a LD data object corresponding to an item in the model
checked (bool) – whether to check or uncheck the specified item
- setItemsChecked(ld_data_list, checked)¶
Set the checkstate of the items associated with the supplied data, if they are enabled.
- Parameters
ld_data_list (List[data_classes.LDData]) – a list of
LDData
instances corresponding to items in the modelchecked (bool) – whether to check or uncheck the specified items
- isItemChecked(ld_data)¶
Return whether the item associated with the specified LiveDesign data object is checked.
- Parameters
ld_data (data_classes.LDData) – a
LDData
instance corresponding to an item in the model- Returns
whether the specified item is checked, if possible; if the item cannot be found, return
None
- Return type
bool or NoneType
- isItemEnabled(ld_data)¶
Return whether the specified item is enabled.
- Parameters
ld_data (data_classes.LDData) – a
LDData
instance corresponding to an item in the model- Returns
if possible, whether the specified item is enabled; if no such item exists, return
None
- Return type
bool or NoneType
- uncheckAll()¶
See
LDDataSelectionModel.uncheckAll()
for more information.
- 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.
- setItemsEnabled(ld_data_list, enabled)¶
Enable or disable the items associated with the specified data list.
- Parameters
ld_data_list (list(data_classes.LDData)) – a list of LD Data objects that correspond to items that should be enabled or disabled
enabled (bool) – enable (
True
) or disable (False
) specified items
- getItemTooltip(ld_data)¶
Get the tooltip for the item associated with the specified LD data.
- Parameters
ld_data (data_classes.LDData) – a LD data object
- Returns
the tooltip text of the item associated with the supplied LD data object, if possible. If there is no item associated with the LD data object, return
None
- Return type
str or NoneType
- setItemsTooltip(ld_data_list, tooltip)¶
Set tooltip for items associated with the specified data list.
- Parameters
ld_data_list (list(data_classes.LDData)) – a list of LD Data objects that correspond to items to set the tooltip on
tooltip (str) – the tooltip text
- expandFamily(family_name)¶
Expand the item associated with the supplied family name if possible.
- Parameters
family_name (str) – the family name of the item to expand
- Box = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- HLine = 4¶
- IgnoreMask = 4¶
- NoFrame = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- Raised = 32¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- Shadow_Mask = 240¶
- class Shape(value)¶
Bases:
enum.IntEnum
An enumeration.
- NoFrame = 0¶
- Box = 1¶
- Panel = 2¶
- WinPanel = 3¶
- HLine = 4¶
- VLine = 5¶
- StyledPanel = 6¶
- Shape_Mask = 15¶
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- __init__(*args, **kwargs)¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- auto_update_model = True¶
- auto_update_target = True¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- dataChanged¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- drawFrame(self, a0: QPainter)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- estimateMaxHeight()¶
Return an estimate of the maximum allowable height of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable height. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable height
- Return type
int
- estimateMaxWidth()¶
Return an estimate of the maximum allowable width of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable width. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable width
- Return type
int
- event(self, e: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(event)¶
Emit a signal every time this pop up is hidden.
- inherits(self, classname: str) bool ¶
- initFinalize()¶
Suggested subclass use: perform any remaining initialization.
- initPainter(self, painter: QPainter)¶
- initSetOptions()¶
Suggested subclass use: set instance variables, excluding layouts and subwidgets. Also use here to (optionally) apply the legacy stylesheet spacing settings (PANEL-19101).
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- installPopUpEventFilter(event_filter)¶
Install the provided event filter on all widgets within this pop up that can receive focus.
- Note
This function only installs the event filter on immediate children of this widget. As a result, keyboard events on grandchildren (or later descendant) widgets will not be handled properly. If this causes issues, the implementation will have to be modified.
- Parameters
event_filter (
_BasisSelectorPopUpEventFilter
) – The event filter to install
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineEditUpdated(text)¶
Update this pop up in response to the user changing the line edit text. Note that, by default, this widget will not be able to send signals during execution of this method. This prevents an infinite loop of
PopUp.lineEditUpdated
andLineEditWithPopUp.popUpUpdated
. To modify this behavior, subclassLineEditWithPopUp
and reimplementLineEditWithPopUp.popUpUpdated
.- Parameters
text (str) – The current text of the line edit
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popUpResized¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resetWidgets()¶
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- searchTextChanged(search_text)¶
Set the search term to the sort filter proxy model to show only the matching tree items. Any filtered in items will be expanded to show all children. Otherwise, all the items will be collapsed.
- Parameters
search_text (str) – search terms to apply to proxy model.
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrameRect(self, a0: QRect)¶
- setFrameShadow(self, a0: QFrame.Shadow)¶
- setFrameShape(self, a0: QFrame.Shape)¶
- setFrameStyle(self, a0: int)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineWidth(self, a0: int)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMidLineWidth(self, a0: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpLayout()¶
Sets up the layout, but needs to be added to the widget by the subclass.
- setUpWidgets(model, view)¶
Sets up the search box, model, view, and search proxy.
- Parameters
model (
QtGui.QStandardItemModel
) – model for the treeview (
QtWidgets.QTreeView
) – view for the model
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWidgetLayout()¶
Set the widget layout
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(event)¶
Emit a signal every time this pop up is shown.
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- subWidgetHasFocus()¶
Return True if any widget within the pop up has focus. False otherwise.
- Note
Note that combo boxes have various list view and frame children that can receive focus (and which of these widgets can receive focus varies by OS). As a result, we check the full ancestry of the focus widget here rather than just checking it’s parent. Also note that we can’t use Qt’s isAncestorOf() function to check ancestry, since combo box drop downs are considered to be their own window and isAncestorOf() requires ancestors to be part of the same window.
- tabletEvent(self, a0: QTabletEvent)¶
- targetValueChanged¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- ui_module = None¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- visibilityChanged¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.LDDataTreePopUpButton(parent)¶
Bases:
schrodinger.ui.qt.pop_up_widgets.LinkButtonWithPopUp
Link button with
LDDataTreePopUp
class pop up. Button text shows the count of the selected items in the pop up as “<count> selected”.Usage:
btn = LDDataTreePopUpButton(self) pop_up = btn.getLDDataTreePopUp() pop_up.loadData(ld_data_list)
- __init__(parent)¶
- Parameters
parent (
PyQt5.QtWidgets.QWidget
) – The Qt parent widgetpop_up_class (type) – The class of the pop up widget. Should be a subclass of
PopUp
.
- getLDDataTreePopUp() Optional[schrodinger.application.livedesign.panel_components.LDDataTreePopUp] ¶
- setPopUp(pop_up)¶
Set the pop up widget to the specified pop up widget instance.
- ALIGN_AUTO = 4¶
- ALIGN_BOTTOM = 1¶
- ALIGN_LEFT = 3¶
- ALIGN_RIGHT = 2¶
- ALIGN_TOP = 0¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- 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, b: bool) bool ¶
- changeEvent(self, e: QEvent)¶
- checkStateSet(self)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- click(self)¶
- clicked¶
clicked(self, checked: bool = False) [signal]
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, e: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- group(self) QButtonGroup ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- hitButton(self, pos: QPoint) bool ¶
- icon(self) QIcon ¶
- iconSize(self) QSize ¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionButton)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isCheckable(self) bool ¶
- isChecked(self) bool ¶
- isDefault(self) bool ¶
- isDown(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: 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, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, e: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, e: QMouseEvent)¶
- mouseReleaseEvent(self, e: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(event)¶
Update the pop up position and size when the widget is moved
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: 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, objectName: str) [signal]
- onClicked()¶
If the button is clicked, toggle the check state of the button, which should toggle the visibility of the pop up.
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(a0: PyQt6.QtGui.QPaintEvent) None ¶
This function does the same thing as the C++ code except it forces the menu indicator to be drawn.
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popUpClosing¶
- popUpUpdated(text)¶
Whenever the pop up emits the dataChanged signal, update the widget. This function should be implemented in subclasses if required.
- Parameters
text (str) – The text emitted with the dataChanged signal
- property pop_up_visible¶
- Returns
whether the pop up frame is visible to its parent
- Return type
bool
- pos(self) QPoint ¶
- pressed¶
pressed(self) [signal]
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- released¶
released(self) [signal]
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(event)¶
Update the pop up position and size when the widget is resized
- restoreGeometry(self, geometry: QByteArray) bool ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setActiveMode(enabled)¶
Sets active mode. This indicates an action is occuring. (e.g. a filter is being applied)
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoDefault(self, a0: bool)¶
- setAutoExclusive(self, a0: bool)¶
- setAutoFillBackground(self, enabled: bool)¶
- setAutoRepeat(self, a0: bool)¶
- setAutoRepeatDelay(self, a0: int)¶
- setAutoRepeatInterval(self, a0: int)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setCheckable(self, a0: bool)¶
- setChecked(checked)¶
Set the button check state, and also alter the pop up visibility. Note that the button should be checked if and only if the pop up is visible, and that changing the visibility of the pop up (e.g. by clicking the button) will also change the check state. :param checked: whether the button should be checked :type checked: bool
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDefault(self, a0: bool)¶
- setDisabled(self, a0: bool)¶
- setDown(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFlat(self, a0: bool)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setIcon(self, icon: QIcon)¶
- setIconSize(self, size: QSize)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLightMode(enabled)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMenu(self, menu: QMenu)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPopUpClass(pop_up_class)¶
If a pop up class was not specified via the constructor, use this method to set it after the fact. Useful for placing widgets into
*.ui
files.
- setPopupHalign(popup_halign)¶
Specify whether the pop up should have its right edge aligned with the right edge of the widget (ALIGN_RIGHT), have its left edge aligned with the left edge of the widget (ALIGN_LEFT), or have it’s horizontal alignment determined automatically (ALIGN_AUTO). Note that this setting is moot if the widget is wider than the pop up’s size hint, as the pop up will be extended to the same width as the widget.
- Parameters
popup_halign (int) – The desired horizontal alignment of the pop up. Must be one of ALIGN_RIGHT, ALIGN_LEFT, or ALIGN_AUTO.
- setPopupValign(popup_valign)¶
Specify whether the pop up should appear above (ALIGN_TOP), below (ALIGN_BOTTOM) the widget, or have it’s vertical alignment determined automatically (ALIGN_AUTO).
- Parameters
popup_valign (int) – The desired vertical alignment of the pop up. Must be either ALIGN_TOP, ALIGN_BOTTOM, or ALIGN_AUTO.
- setProperty(self, name: str, value: Any) bool ¶
- setScreen(self, a0: QScreen)¶
- setShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setText(self, text: str)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- shortcut(self) QKeySequence ¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMenu(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint() PyQt6.QtCore.QSize ¶
Give the button extra space to make room for menu indicator. QPushButton only gives space for menu indicator when menu() returns an actual menu, which the ToggleLink will not.
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- text(self) str ¶
- thread(self) QThread ¶
- timerEvent(self, e: QTimerEvent)¶
- toggle(self)¶
- toggled¶
toggled(self, checked: bool) [signal]
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.ColumnSelectionModel(*args, **kwargs)¶
Bases:
PyQt6.QtGui.QStandardItemModel
A tree structured model for storing data by family.
- __init__(*args, **kwargs)¶
- loadData(columns, unavailable_ids=None)¶
Populates the model using a list of ldclient.models.Column objects. This clears out all previous data in the model.
- Parameters
columns (list of ldclient.models.Column) – the list of columns to add
unavailable_ids (
list
ofstr
, orNone
) – list of column IDs that should always be unavailable for import
- getCheckedColumns(all_checked: bool = False)¶
Traverse all the columns and return all the checked properties.
- Parameters
all_checked – if the all columns checked property is enabled
- Returns
the checked properties
- Return type
list of structure.PropertyName
- getVisibleColCount() int ¶
Calculate the total amount of columns that are visible.
- getHiddenColCount()¶
Calculate the total amount of unsupported columns.
- class CheckIndexOption(value)¶
Bases:
enum.Flag
An enumeration.
- NoOption = 0¶
- IndexIsValid = 1¶
- DoNotUseParent = 2¶
- ParentIsInvalid = 4¶
- HorizontalSortHint = 2¶
- class LayoutChangeHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- HorizontalSortHint = 2¶
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- appendColumn(self, items: Iterable[QStandardItem])¶
- appendRow(self, items: Iterable[QStandardItem])¶
- appendRow(self, aitem: QStandardItem) None
- beginInsertColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginInsertRows(self, parent: QModelIndex, first: int, last: int)¶
- beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) bool ¶
- beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) bool ¶
- beginRemoveColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginRemoveRows(self, parent: QModelIndex, first: int, last: int)¶
- beginResetModel(self)¶
- blockSignals(self, b: bool) bool ¶
- buddy(self, index: QModelIndex) QModelIndex ¶
- canDropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- canFetchMore(self, parent: QModelIndex) bool ¶
- changePersistentIndex(self, from_: QModelIndex, to: QModelIndex)¶
- changePersistentIndexList(self, from_: Iterable[QModelIndex], to: Iterable[QModelIndex])¶
- checkIndex(self, index: QModelIndex, options: QAbstractItemModel.CheckIndexOption = QAbstractItemModel.CheckIndexOption.NoOption) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- clear(self)¶
- clearItemData(self, index: QModelIndex) bool ¶
- columnCount(self, parent: QModelIndex = QModelIndex()) int ¶
- columnsAboutToBeInserted¶
columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsAboutToBeMoved¶
columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) [signal]
- columnsAboutToBeRemoved¶
columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsInserted¶
columnsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsMoved¶
columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) [signal]
- columnsRemoved¶
columnsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- connectNotify(self, signal: QMetaMethod)¶
- createIndex(self, row: int, column: int, object: object = 0) QModelIndex ¶
- customEvent(self, a0: QEvent)¶
- data(self, index: QModelIndex, role: int = Qt.DisplayRole) Any ¶
- dataChanged¶
dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = []) [signal]
- decodeData(self, row: int, column: int, parent: QModelIndex, stream: QDataStream) bool ¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- encodeData(self, indexes: Iterable[QModelIndex], stream: QDataStream)¶
- endInsertColumns(self)¶
- endInsertRows(self)¶
- endMoveColumns(self)¶
- endMoveRows(self)¶
- endRemoveColumns(self)¶
- endRemoveRows(self)¶
- endResetModel(self)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- fetchMore(self, parent: QModelIndex)¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findItems(self, text: str, flags: Qt.MatchFlag = Qt.MatchExactly, column: int = 0) List[QStandardItem] ¶
- flags(self, index: QModelIndex) Qt.ItemFlag ¶
- hasChildren(self, parent: QModelIndex = QModelIndex()) bool ¶
- hasIndex(self, row: int, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- headerData(self, section: int, orientation: Qt.Orientation, role: int = Qt.DisplayRole) Any ¶
- headerDataChanged¶
headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) [signal]
- horizontalHeaderItem(self, column: int) QStandardItem ¶
- index(self, row: int, column: int, parent: QModelIndex = QModelIndex()) QModelIndex ¶
- indexFromItem(self, item: QStandardItem) QModelIndex ¶
- inherits(self, classname: str) bool ¶
- insertColumn(self, column: int, items: Iterable[QStandardItem])¶
- insertColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool
- insertColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertRow(self, row: int, items: Iterable[QStandardItem])¶
- insertRow(self, arow: int, aitem: QStandardItem) None
- insertRow(self, row: int, parent: QModelIndex = QModelIndex()) bool
- insertRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- installEventFilter(self, a0: QObject)¶
- invisibleRootItem(self) QStandardItem ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- item(self, row: int, column: int = 0) QStandardItem ¶
- itemChanged¶
itemChanged(self, item: QStandardItem) [signal]
- itemData(self, index: QModelIndex) Dict[int, Any] ¶
- itemFromIndex(self, index: QModelIndex) QStandardItem ¶
- itemPrototype(self) QStandardItem ¶
- killTimer(self, id: int)¶
- layoutAboutToBeChanged¶
layoutAboutToBeChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- layoutChanged¶
layoutChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- match(self, start: QModelIndex, role: int, value: Any, hits: int = 1, flags: Qt.MatchFlag = Qt.MatchFlags(Qt.MatchStartsWith | Qt.MatchWrap)) List[QModelIndex] ¶
- metaObject(self) QMetaObject ¶
- mimeData(self, indexes: Iterable[QModelIndex]) QMimeData ¶
- mimeTypes(self) List[str] ¶
- modelAboutToBeReset¶
modelAboutToBeReset(self) [signal]
- modelReset¶
modelReset(self) [signal]
- moveColumn(self, sourceParent: QModelIndex, sourceColumn: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRow(self, sourceParent: QModelIndex, sourceRow: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self, child: QModelIndex) QModelIndex ¶
- parent(self) QObject
- persistentIndexList(self) List[QModelIndex] ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeEventFilter(self, a0: QObject)¶
- removeRow(self, row: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- resetInternalData(self)¶
- revert(self)¶
- roleNames(self) Dict[int, QByteArray] ¶
- rowCount(self, parent: QModelIndex = QModelIndex()) int ¶
- rowsAboutToBeInserted¶
rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsAboutToBeMoved¶
rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) [signal]
- rowsAboutToBeRemoved¶
rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsInserted¶
rowsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsMoved¶
rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) [signal]
- rowsRemoved¶
rowsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setColumnCount(self, columns: int)¶
- setData(self, index: QModelIndex, value: Any, role: int = Qt.EditRole) bool ¶
- setHeaderData(self, section: int, orientation: Qt.Orientation, value: Any, role: int = Qt.EditRole) bool ¶
- setHorizontalHeaderItem(self, column: int, item: QStandardItem)¶
- setHorizontalHeaderLabels(self, labels: Iterable[str])¶
- setItem(self, row: int, column: int, item: QStandardItem)¶
- setItem(self, arow: int, aitem: QStandardItem) None
- setItemData(self, index: QModelIndex, roles: Dict[int, Any]) bool ¶
- setItemPrototype(self, item: QStandardItem)¶
- setItemRoleNames(self, roleNames: Dict[int, QByteArray])¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- setRowCount(self, rows: int)¶
- setSortRole(self, role: int)¶
- setVerticalHeaderItem(self, row: int, item: QStandardItem)¶
- setVerticalHeaderLabels(self, labels: Iterable[str])¶
- sibling(self, row: int, column: int, idx: QModelIndex) QModelIndex ¶
- signalsBlocked(self) bool ¶
- sort(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- sortRole(self) int ¶
- span(self, index: QModelIndex) QSize ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- submit(self) bool ¶
- supportedDragActions(self) Qt.DropAction ¶
- supportedDropActions(self) Qt.DropAction ¶
- takeColumn(self, column: int) List[QStandardItem] ¶
- takeHorizontalHeaderItem(self, column: int) QStandardItem ¶
- takeItem(self, row: int, column: int = 0) QStandardItem ¶
- takeRow(self, row: int) List[QStandardItem] ¶
- takeVerticalHeaderItem(self, row: int) QStandardItem ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- verticalHeaderItem(self, row: int) QStandardItem ¶
- class schrodinger.application.livedesign.panel_components.ColumnSelectionProxyModel(parent=None)¶
Bases:
PyQt6.QtCore.QSortFilterProxyModel
A proxy model to filter an assay model based on the availability
- __init__(parent=None)¶
- filterAcceptsRow(source_row, source_parent)¶
See Qt Documentation for more information on parameters.
This filter accepts a particular row if any of the following are true: 1. The proxy model is currently set to show unavailable items 2. The item is marked as available
Note that the conditions specified above are searched in that order.
- class CheckIndexOption(value)¶
Bases:
enum.Flag
An enumeration.
- NoOption = 0¶
- IndexIsValid = 1¶
- DoNotUseParent = 2¶
- ParentIsInvalid = 4¶
- HorizontalSortHint = 2¶
- class LayoutChangeHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- HorizontalSortHint = 2¶
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- autoAcceptChildRows(self) bool ¶
- autoAcceptChildRowsChanged¶
autoAcceptChildRowsChanged(self, autoAcceptChildRows: bool) [signal]
- beginInsertColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginInsertRows(self, parent: QModelIndex, first: int, last: int)¶
- beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) bool ¶
- beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) bool ¶
- beginRemoveColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginRemoveRows(self, parent: QModelIndex, first: int, last: int)¶
- beginResetModel(self)¶
- blockSignals(self, b: bool) bool ¶
- buddy(self, index: QModelIndex) QModelIndex ¶
- canDropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- canFetchMore(self, parent: QModelIndex) bool ¶
- changePersistentIndex(self, from_: QModelIndex, to: QModelIndex)¶
- changePersistentIndexList(self, from_: Iterable[QModelIndex], to: Iterable[QModelIndex])¶
- checkIndex(self, index: QModelIndex, options: QAbstractItemModel.CheckIndexOption = QAbstractItemModel.CheckIndexOption.NoOption) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- clearItemData(self, index: QModelIndex) bool ¶
- columnCount(self, parent: QModelIndex = QModelIndex()) int ¶
- columnsAboutToBeInserted¶
columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsAboutToBeMoved¶
columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) [signal]
- columnsAboutToBeRemoved¶
columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsInserted¶
columnsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsMoved¶
columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) [signal]
- columnsRemoved¶
columnsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- connectNotify(self, signal: QMetaMethod)¶
- createIndex(self, row: int, column: int, object: object = 0) QModelIndex ¶
- customEvent(self, a0: QEvent)¶
- data(self, index: QModelIndex, role: int = Qt.DisplayRole) Any ¶
- dataChanged¶
dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = []) [signal]
- decodeData(self, row: int, column: int, parent: QModelIndex, stream: QDataStream) bool ¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- dynamicSortFilter(self) bool ¶
- dynamicSortFilterChanged¶
dynamicSortFilterChanged(self, dynamicSortFilter: bool) [signal]
- encodeData(self, indexes: Iterable[QModelIndex], stream: QDataStream)¶
- endInsertColumns(self)¶
- endInsertRows(self)¶
- endMoveColumns(self)¶
- endMoveRows(self)¶
- endRemoveColumns(self)¶
- endRemoveRows(self)¶
- endResetModel(self)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- fetchMore(self, parent: QModelIndex)¶
- filterAcceptsColumn(self, source_column: int, source_parent: QModelIndex) bool ¶
- filterCaseSensitivity(self) Qt.CaseSensitivity ¶
- filterCaseSensitivityChanged¶
filterCaseSensitivityChanged(self, filterCaseSensitivity: Qt.CaseSensitivity) [signal]
- filterKeyColumn(self) int ¶
- filterRegularExpression(self) QRegularExpression ¶
- filterRole(self) int ¶
- filterRoleChanged¶
filterRoleChanged(self, filterRole: int) [signal]
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- flags(self, index: QModelIndex) Qt.ItemFlag ¶
- hasChildren(self, parent: QModelIndex = QModelIndex()) bool ¶
- hasIndex(self, row: int, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- headerData(self, section: int, orientation: Qt.Orientation, role: int = Qt.DisplayRole) Any ¶
- headerDataChanged¶
headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) [signal]
- index(self, row: int, column: int, parent: QModelIndex = QModelIndex()) QModelIndex ¶
- inherits(self, classname: str) bool ¶
- insertColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertRow(self, row: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- installEventFilter(self, a0: QObject)¶
- invalidate(self)¶
- invalidateColumnsFilter(self)¶
- invalidateFilter(self)¶
- invalidateRowsFilter(self)¶
- isRecursiveFilteringEnabled(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isSortLocaleAware(self) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- itemData(self, index: QModelIndex) Dict[int, Any] ¶
- killTimer(self, id: int)¶
- layoutAboutToBeChanged¶
layoutAboutToBeChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- layoutChanged¶
layoutChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- lessThan(self, left: QModelIndex, right: QModelIndex) bool ¶
- mapFromSource(self, sourceIndex: QModelIndex) QModelIndex ¶
- mapSelectionFromSource(self, sourceSelection: QItemSelection) QItemSelection ¶
- mapSelectionToSource(self, proxySelection: QItemSelection) QItemSelection ¶
- mapToSource(self, proxyIndex: QModelIndex) QModelIndex ¶
- match(self, start: QModelIndex, role: int, value: Any, hits: int = 1, flags: Qt.MatchFlag = Qt.MatchFlags(Qt.MatchStartsWith | Qt.MatchWrap)) List[QModelIndex] ¶
- metaObject(self) QMetaObject ¶
- mimeData(self, indexes: Iterable[QModelIndex]) QMimeData ¶
- mimeTypes(self) List[str] ¶
- modelAboutToBeReset¶
modelAboutToBeReset(self) [signal]
- modelReset¶
modelReset(self) [signal]
- moveColumn(self, sourceParent: QModelIndex, sourceColumn: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRow(self, sourceParent: QModelIndex, sourceRow: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self, child: QModelIndex) QModelIndex ¶
- parent(self) QObject
- persistentIndexList(self) List[QModelIndex] ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- recursiveFilteringEnabledChanged¶
recursiveFilteringEnabledChanged(self, recursiveFilteringEnabled: bool) [signal]
- removeColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeEventFilter(self, a0: QObject)¶
- removeRow(self, row: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- resetInternalData(self)¶
- revert(self)¶
- roleNames(self) Dict[int, QByteArray] ¶
- rowCount(self, parent: QModelIndex = QModelIndex()) int ¶
- rowsAboutToBeInserted¶
rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsAboutToBeMoved¶
rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) [signal]
- rowsAboutToBeRemoved¶
rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsInserted¶
rowsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsMoved¶
rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) [signal]
- rowsRemoved¶
rowsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAutoAcceptChildRows(self, accept: bool)¶
- setData(self, index: QModelIndex, value: Any, role: int = Qt.EditRole) bool ¶
- setDynamicSortFilter(self, enable: bool)¶
- setFilterCaseSensitivity(self, cs: Qt.CaseSensitivity)¶
- setFilterFixedString(self, pattern: str)¶
- setFilterKeyColumn(self, column: int)¶
- setFilterRegularExpression(self, regularExpression: QRegularExpression)¶
- setFilterRegularExpression(self, pattern: str) None
- setFilterRole(self, role: int)¶
- setFilterWildcard(self, pattern: str)¶
- setHeaderData(self, section: int, orientation: Qt.Orientation, value: Any, role: int = Qt.EditRole) bool ¶
- setItemData(self, index: QModelIndex, roles: Dict[int, Any]) bool ¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- setRecursiveFilteringEnabled(self, recursive: bool)¶
- setSortCaseSensitivity(self, cs: Qt.CaseSensitivity)¶
- setSortLocaleAware(self, on: bool)¶
- setSortRole(self, role: int)¶
- setSourceModel(self, sourceModel: QAbstractItemModel)¶
- sibling(self, row: int, column: int, idx: QModelIndex) QModelIndex ¶
- signalsBlocked(self) bool ¶
- sort(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- sortCaseSensitivity(self) Qt.CaseSensitivity ¶
- sortCaseSensitivityChanged¶
sortCaseSensitivityChanged(self, sortCaseSensitivity: Qt.CaseSensitivity) [signal]
- sortColumn(self) int ¶
- sortLocaleAwareChanged¶
sortLocaleAwareChanged(self, sortLocaleAware: bool) [signal]
- sortOrder(self) Qt.SortOrder ¶
- sortRole(self) int ¶
- sortRoleChanged¶
sortRoleChanged(self, sortRole: int) [signal]
- sourceModel(self) QAbstractItemModel ¶
- sourceModelChanged¶
sourceModelChanged(self) [signal]
- span(self, index: QModelIndex) QSize ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- submit(self) bool ¶
- supportedDragActions(self) Qt.DropAction ¶
- supportedDropActions(self) Qt.DropAction ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- class schrodinger.application.livedesign.panel_components.StructSelectionModel¶
Bases:
PyQt6.QtGui.QStandardItemModel
A selection model for storing structure titles to be selected.
- loadData(st_titles_and_entity_ids: List[Tuple[str, Optional[str]]])¶
Populate the model using a list of structure titles and entity id. This clears all previous data in the model.
- Parameters
st_titles_and_entity_ids – list of tuple of structure title and entity id to be included in the table
- getStTitlesAndEntityIds(only_checked: bool = False) List[Tuple[str, Optional[str]]] ¶
Return a list of all structure titles if
only_checked
isFalse
, else only the checked structure titles.- Parameters
only_checked – if only the checked structure’s info should be returned.
- Returns
structure titles and corresponding entity ids.
- class CheckIndexOption(value)¶
Bases:
enum.Flag
An enumeration.
- NoOption = 0¶
- IndexIsValid = 1¶
- DoNotUseParent = 2¶
- ParentIsInvalid = 4¶
- HorizontalSortHint = 2¶
- class LayoutChangeHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- HorizontalSortHint = 2¶
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- __init__(*args, **kwargs)¶
- appendColumn(self, items: Iterable[QStandardItem])¶
- appendRow(self, items: Iterable[QStandardItem])¶
- appendRow(self, aitem: QStandardItem) None
- beginInsertColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginInsertRows(self, parent: QModelIndex, first: int, last: int)¶
- beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) bool ¶
- beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) bool ¶
- beginRemoveColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginRemoveRows(self, parent: QModelIndex, first: int, last: int)¶
- beginResetModel(self)¶
- blockSignals(self, b: bool) bool ¶
- buddy(self, index: QModelIndex) QModelIndex ¶
- canDropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- canFetchMore(self, parent: QModelIndex) bool ¶
- changePersistentIndex(self, from_: QModelIndex, to: QModelIndex)¶
- changePersistentIndexList(self, from_: Iterable[QModelIndex], to: Iterable[QModelIndex])¶
- checkIndex(self, index: QModelIndex, options: QAbstractItemModel.CheckIndexOption = QAbstractItemModel.CheckIndexOption.NoOption) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- clear(self)¶
- clearItemData(self, index: QModelIndex) bool ¶
- columnCount(self, parent: QModelIndex = QModelIndex()) int ¶
- columnsAboutToBeInserted¶
columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsAboutToBeMoved¶
columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) [signal]
- columnsAboutToBeRemoved¶
columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsInserted¶
columnsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsMoved¶
columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) [signal]
- columnsRemoved¶
columnsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- connectNotify(self, signal: QMetaMethod)¶
- createIndex(self, row: int, column: int, object: object = 0) QModelIndex ¶
- customEvent(self, a0: QEvent)¶
- data(self, index: QModelIndex, role: int = Qt.DisplayRole) Any ¶
- dataChanged¶
dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = []) [signal]
- decodeData(self, row: int, column: int, parent: QModelIndex, stream: QDataStream) bool ¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- encodeData(self, indexes: Iterable[QModelIndex], stream: QDataStream)¶
- endInsertColumns(self)¶
- endInsertRows(self)¶
- endMoveColumns(self)¶
- endMoveRows(self)¶
- endRemoveColumns(self)¶
- endRemoveRows(self)¶
- endResetModel(self)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- fetchMore(self, parent: QModelIndex)¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findItems(self, text: str, flags: Qt.MatchFlag = Qt.MatchExactly, column: int = 0) List[QStandardItem] ¶
- flags(self, index: QModelIndex) Qt.ItemFlag ¶
- hasChildren(self, parent: QModelIndex = QModelIndex()) bool ¶
- hasIndex(self, row: int, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- headerData(self, section: int, orientation: Qt.Orientation, role: int = Qt.DisplayRole) Any ¶
- headerDataChanged¶
headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) [signal]
- horizontalHeaderItem(self, column: int) QStandardItem ¶
- index(self, row: int, column: int, parent: QModelIndex = QModelIndex()) QModelIndex ¶
- indexFromItem(self, item: QStandardItem) QModelIndex ¶
- inherits(self, classname: str) bool ¶
- insertColumn(self, column: int, items: Iterable[QStandardItem])¶
- insertColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool
- insertColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertRow(self, row: int, items: Iterable[QStandardItem])¶
- insertRow(self, arow: int, aitem: QStandardItem) None
- insertRow(self, row: int, parent: QModelIndex = QModelIndex()) bool
- insertRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- installEventFilter(self, a0: QObject)¶
- invisibleRootItem(self) QStandardItem ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- item(self, row: int, column: int = 0) QStandardItem ¶
- itemChanged¶
itemChanged(self, item: QStandardItem) [signal]
- itemData(self, index: QModelIndex) Dict[int, Any] ¶
- itemFromIndex(self, index: QModelIndex) QStandardItem ¶
- itemPrototype(self) QStandardItem ¶
- killTimer(self, id: int)¶
- layoutAboutToBeChanged¶
layoutAboutToBeChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- layoutChanged¶
layoutChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- match(self, start: QModelIndex, role: int, value: Any, hits: int = 1, flags: Qt.MatchFlag = Qt.MatchFlags(Qt.MatchStartsWith | Qt.MatchWrap)) List[QModelIndex] ¶
- metaObject(self) QMetaObject ¶
- mimeData(self, indexes: Iterable[QModelIndex]) QMimeData ¶
- mimeTypes(self) List[str] ¶
- modelAboutToBeReset¶
modelAboutToBeReset(self) [signal]
- modelReset¶
modelReset(self) [signal]
- moveColumn(self, sourceParent: QModelIndex, sourceColumn: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRow(self, sourceParent: QModelIndex, sourceRow: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self, child: QModelIndex) QModelIndex ¶
- parent(self) QObject
- persistentIndexList(self) List[QModelIndex] ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeEventFilter(self, a0: QObject)¶
- removeRow(self, row: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- resetInternalData(self)¶
- revert(self)¶
- roleNames(self) Dict[int, QByteArray] ¶
- rowCount(self, parent: QModelIndex = QModelIndex()) int ¶
- rowsAboutToBeInserted¶
rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsAboutToBeMoved¶
rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) [signal]
- rowsAboutToBeRemoved¶
rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsInserted¶
rowsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsMoved¶
rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) [signal]
- rowsRemoved¶
rowsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setColumnCount(self, columns: int)¶
- setData(self, index: QModelIndex, value: Any, role: int = Qt.EditRole) bool ¶
- setHeaderData(self, section: int, orientation: Qt.Orientation, value: Any, role: int = Qt.EditRole) bool ¶
- setHorizontalHeaderItem(self, column: int, item: QStandardItem)¶
- setHorizontalHeaderLabels(self, labels: Iterable[str])¶
- setItem(self, row: int, column: int, item: QStandardItem)¶
- setItem(self, arow: int, aitem: QStandardItem) None
- setItemData(self, index: QModelIndex, roles: Dict[int, Any]) bool ¶
- setItemPrototype(self, item: QStandardItem)¶
- setItemRoleNames(self, roleNames: Dict[int, QByteArray])¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- setRowCount(self, rows: int)¶
- setSortRole(self, role: int)¶
- setVerticalHeaderItem(self, row: int, item: QStandardItem)¶
- setVerticalHeaderLabels(self, labels: Iterable[str])¶
- sibling(self, row: int, column: int, idx: QModelIndex) QModelIndex ¶
- signalsBlocked(self) bool ¶
- sort(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- sortRole(self) int ¶
- span(self, index: QModelIndex) QSize ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- submit(self) bool ¶
- supportedDragActions(self) Qt.DropAction ¶
- supportedDropActions(self) Qt.DropAction ¶
- takeColumn(self, column: int) List[QStandardItem] ¶
- takeHorizontalHeaderItem(self, column: int) QStandardItem ¶
- takeItem(self, row: int, column: int = 0) QStandardItem ¶
- takeRow(self, row: int) List[QStandardItem] ¶
- takeVerticalHeaderItem(self, row: int) QStandardItem ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- verticalHeaderItem(self, row: int) QStandardItem ¶
- class schrodinger.application.livedesign.panel_components.ColumnCheckboxItem(col, force_unavailable=False)¶
Bases:
PyQt6.QtGui.QStandardItem
A CascadingCheckboxItem that stores and knows how to display a Column object.
- UNAVAIL_VALUE_TYPES = ['attachment']¶
- __init__(col, force_unavailable=False)¶
- Parameters
col (ldclient.models.Column) – the object describing a live report column.
force_unavailable (
bool
) – ifTrue
, make this column unavailable for import by disabling it in the list view
- column(self) int ¶
- Type = 0¶
- UserType = 1000¶
- accessibleDescription(self) str ¶
- accessibleText(self) str ¶
- appendColumn(self, items: Iterable[QStandardItem])¶
- appendRow(self, items: Iterable[QStandardItem])¶
- appendRow(self, aitem: QStandardItem) None
- appendRows(self, items: Iterable[QStandardItem])¶
- background(self) QBrush ¶
- checkState(self) Qt.CheckState ¶
- child(self, row: int, column: int = 0) QStandardItem ¶
- clearData(self)¶
- clone(self) QStandardItem ¶
- columnCount(self) int ¶
- data(self, role: int = Qt.UserRole + 1) Any ¶
- emitDataChanged(self)¶
- flags(self) Qt.ItemFlag ¶
- font(self) QFont ¶
- foreground(self) QBrush ¶
- hasChildren(self) bool ¶
- icon(self) QIcon ¶
- index(self) QModelIndex ¶
- insertColumn(self, column: int, items: Iterable[QStandardItem])¶
- insertColumns(self, column: int, count: int)¶
- insertRow(self, row: int, items: Iterable[QStandardItem])¶
- insertRow(self, arow: int, aitem: QStandardItem) None
- insertRows(self, row: int, count: int)¶
- insertRows(self, row: int, items: Iterable[QStandardItem]) None
- isAutoTristate(self) bool ¶
- isCheckable(self) bool ¶
- isDragEnabled(self) bool ¶
- isDropEnabled(self) bool ¶
- isEditable(self) bool ¶
- isEnabled(self) bool ¶
- isSelectable(self) bool ¶
- isUserTristate(self) bool ¶
- model(self) QStandardItemModel ¶
- parent(self) QStandardItem ¶
- read(self, in_: QDataStream)¶
- removeColumn(self, column: int)¶
- removeColumns(self, column: int, count: int)¶
- removeRow(self, row: int)¶
- removeRows(self, row: int, count: int)¶
- row(self) int ¶
- rowCount(self) int ¶
- setAccessibleDescription(self, aaccessibleDescription: str)¶
- setAccessibleText(self, aaccessibleText: str)¶
- setAutoTristate(self, tristate: bool)¶
- setBackground(self, abrush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCheckState(self, acheckState: Qt.CheckState)¶
- setCheckable(self, checkable: bool)¶
- setChild(self, row: int, column: int, item: QStandardItem)¶
- setChild(self, arow: int, aitem: QStandardItem) None
- setColumnCount(self, columns: int)¶
- setData(self, value: Any, role: int = Qt.UserRole + 1)¶
- setDragEnabled(self, dragEnabled: bool)¶
- setDropEnabled(self, dropEnabled: bool)¶
- setEditable(self, editable: bool)¶
- setEnabled(self, enabled: bool)¶
- setFlags(self, flags: Qt.ItemFlag)¶
- setFont(self, afont: QFont)¶
- setForeground(self, abrush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setIcon(self, aicon: QIcon)¶
- setRowCount(self, rows: int)¶
- setSelectable(self, selectable: bool)¶
- setSizeHint(self, asizeHint: QSize)¶
- setStatusTip(self, astatusTip: str)¶
- setText(self, atext: str)¶
- setTextAlignment(self, atextAlignment: Qt.AlignmentFlag)¶
- setToolTip(self, atoolTip: str)¶
- setUserTristate(self, tristate: bool)¶
- setWhatsThis(self, awhatsThis: str)¶
- sizeHint(self) QSize ¶
- sortChildren(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- statusTip(self) str ¶
- takeChild(self, row: int, column: int = 0) QStandardItem ¶
- takeColumn(self, column: int) List[QStandardItem] ¶
- takeRow(self, row: int) List[QStandardItem] ¶
- text(self) str ¶
- textAlignment(self) Qt.AlignmentFlag ¶
- toolTip(self) str ¶
- type(self) int ¶
- whatsThis(self) str ¶
- write(self, out: QDataStream)¶
- class schrodinger.application.livedesign.panel_components.SelectionListView¶
Bases:
PyQt6.QtWidgets.QListView
A class for displaying a column selection
- __init__()¶
- AboveItem = 1¶
- Adjust = 1¶
- AdjustIgnored = 0¶
- AdjustToContents = 2¶
- AdjustToContentsOnFirstShow = 1¶
- AllEditTriggers = 31¶
- AnimatingState = 6¶
- AnyKeyPressed = 16¶
- Batched = 1¶
- BelowItem = 2¶
- Box = 1¶
- CollapsingState = 5¶
- ContiguousSelection = 4¶
- CurrentChanged = 1¶
- class CursorAction(value)¶
Bases:
enum.Enum
An enumeration.
- MoveUp = 0¶
- MoveDown = 1¶
- MoveLeft = 2¶
- MoveRight = 3¶
- MoveHome = 4¶
- MoveEnd = 5¶
- MovePageUp = 6¶
- MovePageDown = 7¶
- MoveNext = 8¶
- MovePrevious = 9¶
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode(value)¶
Bases:
enum.Enum
An enumeration.
- NoDragDrop = 0¶
- DragOnly = 1¶
- DropOnly = 2¶
- DragDrop = 3¶
- InternalMove = 4¶
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition(value)¶
Bases:
enum.Enum
An enumeration.
- OnItem = 0¶
- AboveItem = 1¶
- BelowItem = 2¶
- OnViewport = 3¶
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger(value)¶
Bases:
enum.Flag
An enumeration.
- NoEditTriggers = 0¶
- CurrentChanged = 1¶
- DoubleClicked = 2¶
- SelectedClicked = 4¶
- EditKeyPressed = 8¶
- AnyKeyPressed = 16¶
- AllEditTriggers = 31¶
- EditingState = 3¶
- EnsureVisible = 0¶
- ExpandingState = 4¶
- ExtendedSelection = 3¶
- Fixed = 0¶
- Free = 1¶
- HLine = 4¶
- IconMode = 1¶
- IgnoreMask = 4¶
- InternalMove = 4¶
- LeftToRight = 0¶
- ListMode = 0¶
- MoveDown = 1¶
- MoveEnd = 5¶
- MoveHome = 4¶
- MoveLeft = 2¶
- MoveNext = 8¶
- MovePageDown = 7¶
- MovePageUp = 6¶
- MovePrevious = 9¶
- MoveRight = 3¶
- MoveUp = 0¶
- MultiSelection = 2¶
- NoDragDrop = 0¶
- NoEditTriggers = 0¶
- NoFrame = 0¶
- NoSelection = 0¶
- NoState = 0¶
- OnItem = 0¶
- OnViewport = 3¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- PositionAtBottom = 2¶
- PositionAtCenter = 3¶
- PositionAtTop = 1¶
- Raised = 32¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- class ScrollHint(value)¶
Bases:
enum.Enum
An enumeration.
- EnsureVisible = 0¶
- PositionAtTop = 1¶
- PositionAtBottom = 2¶
- PositionAtCenter = 3¶
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior(value)¶
Bases:
enum.Enum
An enumeration.
- SelectItems = 0¶
- SelectRows = 1¶
- SelectColumns = 2¶
- class SelectionMode(value)¶
Bases:
enum.Enum
An enumeration.
- NoSelection = 0¶
- SingleSelection = 1¶
- MultiSelection = 2¶
- ExtendedSelection = 3¶
- ContiguousSelection = 4¶
- Shadow_Mask = 240¶
- class Shape(value)¶
Bases:
enum.IntEnum
An enumeration.
- NoFrame = 0¶
- Box = 1¶
- Panel = 2¶
- WinPanel = 3¶
- HLine = 4¶
- VLine = 5¶
- StyledPanel = 6¶
- Shape_Mask = 15¶
- SinglePass = 0¶
- SingleSelection = 1¶
- class SizeAdjustPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- AdjustIgnored = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToContents = 2¶
- Snap = 2¶
- class State(value)¶
Bases:
enum.Enum
An enumeration.
- NoState = 0¶
- DraggingState = 1¶
- DragSelectingState = 2¶
- EditingState = 3¶
- ExpandingState = 4¶
- CollapsingState = 5¶
- AnimatingState = 6¶
- Static = 0¶
- StyledPanel = 6¶
- Sunken = 48¶
- TopToBottom = 1¶
- VLine = 5¶
- WinPanel = 3¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activated¶
activated(self, index: QModelIndex) [signal]
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- addScrollBarWidget(self, widget: QWidget, alignment: Qt.AlignmentFlag)¶
- adjustSize(self)¶
- alternatingRowColors(self) bool ¶
- autoFillBackground(self) bool ¶
- autoScrollMargin(self) int ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- batchSize(self) int ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- clearPropertyFlags(self)¶
- clearSelection(self)¶
- clicked¶
clicked(self, index: QModelIndex) [signal]
- close(self) bool ¶
- closeEditor(self, editor: QWidget, hint: QAbstractItemDelegate.EndEditHint)¶
- closeEvent(self, a0: QCloseEvent)¶
- closePersistentEditor(self, index: QModelIndex)¶
- colorCount(self) int ¶
- commitData(self, editor: QWidget)¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- cornerWidget(self) QWidget ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- currentChanged(self, current: QModelIndex, previous: QModelIndex)¶
- currentIndex(self) QModelIndex ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = [])¶
- defaultDropAction(self) Qt.DropAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- dirtyRegionOffset(self) QPoint ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- doubleClicked¶
doubleClicked(self, index: QModelIndex) [signal]
- dragDropMode(self) QAbstractItemView.DragDropMode ¶
- dragDropOverwriteMode(self) bool ¶
- dragEnabled(self) bool ¶
- dragEnterEvent(self, e: QDragEnterEvent)¶
- dragLeaveEvent(self, e: QDragLeaveEvent)¶
- dragMoveEvent(self, e: QDragMoveEvent)¶
- drawFrame(self, a0: QPainter)¶
- dropEvent(self, e: QDropEvent)¶
- dropIndicatorPosition(self) QAbstractItemView.DropIndicatorPosition ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- edit(self, index: QModelIndex)¶
- edit(self, index: QModelIndex, trigger: QAbstractItemView.EditTrigger, event: QEvent) bool
- editTriggers(self) QAbstractItemView.EditTrigger ¶
- editorDestroyed(self, editor: QObject)¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- entered¶
entered(self, index: QModelIndex) [signal]
- event(self, e: QEvent) bool ¶
- eventFilter(self, object: QObject, event: QEvent) bool ¶
- executeDelayedItemsLayout(self)¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- flow(self) QListView.Flow ¶
- focusInEvent(self, e: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, e: 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 ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- gridSize(self) QSize ¶
- hasAutoScroll(self) bool ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- horizontalOffset(self) int ¶
- horizontalScrollBar(self) QScrollBar ¶
- horizontalScrollBarPolicy(self) Qt.ScrollBarPolicy ¶
- horizontalScrollMode(self) QAbstractItemView.ScrollMode ¶
- horizontalScrollbarAction(self, action: int)¶
- horizontalScrollbarValueChanged(self, value: int)¶
- iconSize(self) QSize ¶
- iconSizeChanged¶
iconSizeChanged(self, size: QSize) [signal]
- indexAt(self, p: QPoint) QModelIndex ¶
- indexWidget(self, index: QModelIndex) QWidget ¶
- indexesMoved¶
indexesMoved(self, indexes: Iterable[QModelIndex]) [signal]
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- initViewItemOption(self, option: QStyleOptionViewItem)¶
- inputMethodEvent(self, event: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, query: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isIndexHidden(self, index: QModelIndex) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isPersistentEditorOpen(self, index: QModelIndex) bool ¶
- isRightToLeft(self) bool ¶
- isRowHidden(self, row: int) bool ¶
- isSelectionRectVisible(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- isWrapping(self) bool ¶
- itemAlignment(self) Qt.AlignmentFlag ¶
- itemDelegate(self) QAbstractItemDelegate ¶
- itemDelegateForColumn(self, column: int) QAbstractItemDelegate ¶
- itemDelegateForIndex(self, index: QModelIndex) QAbstractItemDelegate ¶
- itemDelegateForRow(self, row: int) QAbstractItemDelegate ¶
- keyPressEvent(self, e: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- keyboardSearch(self, search: str)¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- layoutMode(self) QListView.LayoutMode ¶
- leaveEvent(self, a0: QEvent)¶
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumViewportSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- model(self) QAbstractItemModel ¶
- modelColumn(self) int ¶
- mouseDoubleClickEvent(self, e: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, e: QMouseEvent)¶
- mousePressEvent(self, e: QMouseEvent)¶
- mouseReleaseEvent(self, e: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: Qt.KeyboardModifier) QModelIndex ¶
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- movement(self) QListView.Movement ¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- openPersistentEditor(self, index: QModelIndex)¶
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, e: 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, index: QModelIndex) [signal]
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- rectForIndex(self, index: QModelIndex) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetVerticalScrollMode(self)¶
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, e: QResizeEvent)¶
- resizeMode(self) QListView.ResizeMode ¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- rootIndex(self) QModelIndex ¶
- rowsAboutToBeRemoved(self, parent: QModelIndex, start: int, end: int)¶
- rowsInserted(self, parent: QModelIndex, start: int, end: int)¶
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- scrollBarWidgets(self, alignment: Qt.AlignmentFlag) List[QWidget] ¶
- scrollContentsBy(self, dx: int, dy: int)¶
- scrollDirtyRegion(self, dx: int, dy: int)¶
- scrollTo(self, index: QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- scrollToBottom(self)¶
- scrollToTop(self)¶
- selectAll(self)¶
- selectedIndexes(self) List[QModelIndex] ¶
- selectionBehavior(self) QAbstractItemView.SelectionBehavior ¶
- selectionChanged(self, selected: QItemSelection, deselected: QItemSelection)¶
- selectionCommand(self, index: QModelIndex, event: typing.Optional[QEvent] = None) QItemSelectionModel.SelectionFlag ¶
- selectionMode(self) QAbstractItemView.SelectionMode ¶
- selectionModel(self) QItemSelectionModel ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAlternatingRowColors(self, enable: bool)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setAutoScroll(self, enable: bool)¶
- setAutoScrollMargin(self, margin: int)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setBatchSize(self, batchSize: int)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCornerWidget(self, widget: QWidget)¶
- setCurrentIndex(self, index: QModelIndex)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDefaultDropAction(self, dropAction: Qt.DropAction)¶
- setDirtyRegion(self, region: QRegion)¶
- setDisabled(self, a0: bool)¶
- setDragDropMode(self, behavior: QAbstractItemView.DragDropMode)¶
- setDragDropOverwriteMode(self, overwrite: bool)¶
- setDragEnabled(self, enable: bool)¶
- setDropIndicatorShown(self, enable: bool)¶
- setEditTriggers(self, triggers: QAbstractItemView.EditTrigger)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFlow(self, flow: QListView.Flow)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrameRect(self, a0: QRect)¶
- setFrameShadow(self, a0: QFrame.Shadow)¶
- setFrameShape(self, a0: QFrame.Shape)¶
- setFrameStyle(self, a0: int)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setGridSize(self, size: QSize)¶
- setHidden(self, hidden: bool)¶
- setHorizontalScrollBar(self, scrollbar: QScrollBar)¶
- setHorizontalScrollBarPolicy(self, a0: Qt.ScrollBarPolicy)¶
- setHorizontalScrollMode(self, mode: QAbstractItemView.ScrollMode)¶
- setIconSize(self, size: QSize)¶
- setIndexWidget(self, index: QModelIndex, widget: QWidget)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setItemAlignment(self, alignment: Qt.AlignmentFlag)¶
- setItemDelegate(self, delegate: QAbstractItemDelegate)¶
- setItemDelegateForColumn(self, column: int, delegate: QAbstractItemDelegate)¶
- setItemDelegateForRow(self, row: int, delegate: QAbstractItemDelegate)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLayoutMode(self, mode: QListView.LayoutMode)¶
- setLineWidth(self, a0: int)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMidLineWidth(self, a0: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModel(self, model: QAbstractItemModel)¶
- setModelColumn(self, column: int)¶
- setMouseTracking(self, enable: bool)¶
- setMovement(self, movement: QListView.Movement)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPositionForIndex(self, position: QPoint, index: QModelIndex)¶
- setProperty(self, name: str, value: Any) bool ¶
- setResizeMode(self, mode: QListView.ResizeMode)¶
- setRootIndex(self, index: QModelIndex)¶
- setRowHidden(self, row: int, hide: bool)¶
- setScreen(self, a0: QScreen)¶
- setSelection(self, rect: QRect, command: QItemSelectionModel.SelectionFlag)¶
- setSelectionBehavior(self, behavior: QAbstractItemView.SelectionBehavior)¶
- setSelectionMode(self, mode: QAbstractItemView.SelectionMode)¶
- setSelectionModel(self, selectionModel: QItemSelectionModel)¶
- setSelectionRectVisible(self, show: bool)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeAdjustPolicy(self, policy: QAbstractScrollArea.SizeAdjustPolicy)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setSpacing(self, space: int)¶
- setState(self, state: QAbstractItemView.State)¶
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setTextElideMode(self, mode: Qt.TextElideMode)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUniformItemSizes(self, enable: bool)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVerticalScrollBar(self, scrollbar: QScrollBar)¶
- setVerticalScrollBarPolicy(self, a0: Qt.ScrollBarPolicy)¶
- setVerticalScrollMode(self, mode: QAbstractItemView.ScrollMode)¶
- setViewMode(self, mode: QListView.ViewMode)¶
- setViewport(self, widget: QWidget)¶
- setViewportMargins(self, left: int, top: int, right: int, bottom: int)¶
- setViewportMargins(self, margins: QMargins) None
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- setWordWrap(self, on: bool)¶
- setWrapping(self, enable: bool)¶
- setupViewport(self, viewport: QWidget)¶
- show(self)¶
- showDropIndicator(self) bool ¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeAdjustPolicy(self) QAbstractScrollArea.SizeAdjustPolicy ¶
- sizeHint(self) QSize ¶
- sizeHintForColumn(self, column: int) int ¶
- sizeHintForIndex(self, index: QModelIndex) QSize ¶
- sizeHintForRow(self, row: int) int ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- spacing(self) int ¶
- stackUnder(self, a0: QWidget)¶
- startDrag(self, supportedActions: Qt.DropAction)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- state(self) QAbstractItemView.State ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- textElideMode(self) Qt.TextElideMode ¶
- thread(self) QThread ¶
- timerEvent(self, e: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- uniformItemSizes(self) bool ¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, index: QModelIndex) None
- updateEditorData(self)¶
- updateEditorGeometries(self)¶
- updateGeometries(self)¶
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- verticalOffset(self) int ¶
- verticalScrollBar(self) QScrollBar ¶
- verticalScrollBarPolicy(self) Qt.ScrollBarPolicy ¶
- verticalScrollMode(self) QAbstractItemView.ScrollMode ¶
- verticalScrollbarAction(self, action: int)¶
- verticalScrollbarValueChanged(self, value: int)¶
- viewMode(self) QListView.ViewMode ¶
- viewport(self) QWidget ¶
- viewportEntered¶
viewportEntered(self) [signal]
- viewportEvent(self, e: QEvent) bool ¶
- viewportMargins(self) QMargins ¶
- viewportSizeHint(self) QSize ¶
- visibleRegion(self) QRegion ¶
- visualRect(self, index: QModelIndex) QRect ¶
- visualRegionForSelection(self, selection: QItemSelection) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, e: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.ExportRow(ld_data=None, assay=None, endpoint=None, units=None, decimal=None, option=None, assay_folder_path=None)¶
Bases:
schrodinger.models.json.JsonableClassMixin
An object for data in each row in the table.
- __init__(ld_data=None, assay=None, endpoint=None, units=None, decimal=None, option=None, assay_folder_path=None)¶
- toJsonImplementation()¶
Abstract method that must be defined by all derived classes. Converts an instance of the derived class into a jsonifiable object.
- Returns
A dict made up of JSON native datatypes or Jsonable objects. See the link below for a table of such types. https://docs.python.org/2/library/json.html#encoders-and-decoders
- classmethod fromJsonImplementation(json_dict)¶
Abstract method that must be defined by all derived classes. Takes in a dictionary and constructs an instance of the derived class.
- Parameters
json_dict (dict) – A dictionary loaded from a JSON string or file.
- Returns
An instance of the derived class.
- Return type
cls
- classmethod fromJson(json_obj)¶
A factory method which constructs a new object from a given dict loaded from a json string or file.
- Parameters
json_obj (dict) – A json-loaded dictionary to create an object from.
- Returns
An instance of this class.
- Return type
cls
- get_version()¶
Method to get the version of a particular object. Defaults to the current version of mmshare. This class can be overridden for custom versioning behavior.
- toJson(_mark_version=True)¶
Create and returns a data structure made up of jsonable items.
- Return type
An instance of one the classes from NATIVE_JSON_DATATYPES
- class schrodinger.application.livedesign.panel_components.ExportTableModel(*args, **kwargs)¶
Bases:
schrodinger.models.json.JsonableClassMixin
,schrodinger.ui.qt.table_helper.RowBasedTableModel
Model for the export table.
Note
Model saves the module and class information when serializing to JSON. It then uses this information to deserialize the JSON back into the correct instance of the class.
- Column¶
alias of
<unknown>.ExportTableColumns
- ROW_CLASS¶
alias of
schrodinger.application.livedesign.panel_components.ExportRow
- __init__(*args, **kwargs)¶
- set3DDataSpecMap(spec_map)¶
- setFFCDataSpecMap(spec_map)¶
- property disable_lr_columns¶
- Returns
whether to disable certain live report-dependent export columns
- Return type
bool
- getLRDependentColumns()¶
Return a list of columns that should be disabled if a live report is not selected in the panel.
- Returns
a list of columns that depend on the live report selection
- Return type
list
oftable_helper.TableColumns
enum values
- reset()¶
Remove all data from the model
- loadData(ld_data_list)¶
Load in the data values to be shown as rows with default information for Assays and Endpoints. Note, this method resets the table.
- Parameters
ld_data_list (list(data_classes.LDData)) – list of data values
- setNonExportableData(non_exportable_data: List[schrodinger.application.livedesign.data_classes.LDData])¶
- Parameters
non_exportable_data – LD data that cannot be exported.
- loadMappings(map_rows)¶
Load in the mapping data. The properties in the mapping data are assumed to already exist in the table. Note, that this method does not reset the table.
- Parameters
map_rows (List of ExportRow) – mapped row data to set
- Returns
whether the loading of the mapping data was successful
- Return type
bool
- getMappableRows()¶
Get rows that can be saved to a mapping state.
- Returns
mapped row data
- Return type
List of ExportRow
- loadAssayData(assay_paths, favorite_assay_paths)¶
Load in the complete Assay data - full path name - wrapped as BaseLDTreeItemWrapper
- Parameters
assay_paths (List of paths) – Assay data to store.
favorite_assay_paths (List of (assay names, folder path) tuples) – Favorite Assay data to store.
- loadEndpointData(endpoint_map)¶
Set the assay path to endpoint dictionary.
- Parameters
endpoint_map (dict(str, set(str))) – a dictionary that maps assay folder paths to endpoints
- flags(index)¶
See Qt documentation for an method documentation. Overriding table_helper.RowBasedTableModel.
- getPropertyExportSpecMap()¶
Return a dictionary mapping LDData to corresponding property export specs. Exclude any data that is not exportable.
Property export specs are export specs that represent data meant to be stored as structure properties for export to LiveDesign.
- Returns
a dictionary mapping an
LDData
instance to the corresponding export spec for property rows in this table- Return type
- get3DExportSpecMap()¶
Return dictionary mapping LDData to corresponding 3D export specs in this table. Exclude any data that is not exportable.
- Returns
a dictionary mapping an
LDData
instance to the corresponding export spec for 3D data rows in this table- Return type
- getFFCExportSpecMap()¶
Return dictionary mapping LDData to corresponding freeform column export specs in this table. Exclude any data that is not exportable.
- Returns
a dictionary mapping an
LDData
instance to the corresponding export spec for FFC data rows in this table- Return type
- getExportSpecMap(rows=None)¶
Return a list of specs corresponding to the supplied list of rows. Exclude any data that is not exportable.
- isCustomMaestroAssay(assay_index)¶
Checks if the given assay index is a custom Maestro assay, which is the initial custom assay of ‘Maestro’ selected for Maestro properties, along with the endpoint.
- Parameters
assay_index (
QtCore.QModelIndex
) – the index of the assay cell- Returns
whether the assay holds the initial ‘Maestro’ assay set for maestro properties.
- Return type
bool
- toJsonImplementation()¶
Abstract method that must be defined by all derived classes. Converts an instance of the derived class into a jsonifiable object.
- Returns
A dict made up of JSON native datatypes or Jsonable objects. See the link below for a table of such types. https://docs.python.org/2/library/json.html#encoders-and-decoders
- classmethod fromJsonImplementation(json_obj)¶
Abstract method that must be defined by all derived classes. Takes in a dictionary and constructs an instance of the derived class.
- Parameters
json_dict (dict) – A dictionary loaded from a JSON string or file.
- Returns
An instance of the derived class.
- Return type
cls
- CHECKABLE_COLS = ()¶
- COLUMN = None¶
- class CheckIndexOption(value)¶
Bases:
enum.Flag
An enumeration.
- NoOption = 0¶
- IndexIsValid = 1¶
- DoNotUseParent = 2¶
- ParentIsInvalid = 4¶
- EDITABLE_COLS = <object object>¶
- HorizontalSortHint = 2¶
- class LayoutChangeHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- HorizontalSortHint = 2¶
- NO_DATA_CHANGED = <object object>¶
- NoLayoutChangeHint = 0¶
- ROW_LIST_OFFSET = 0¶
- SHOW_ROW_NUMBERS = False¶
- UNEDITABLE_COLS = <object object>¶
- VerticalSortHint = 1¶
- af2SettingsGetValue()¶
This function adds support for the settings mixin. It allows to save table cell values in case this table is included in the settings panel. Returns list of rows if table model is of RowBasedTableModel class type.
- Returns
list of rows in tbe table’s model.
- Return type
list or None
- af2SettingsSetValue(value)¶
This function adds support for the settings mixin. It allows to set table cell values when this table is included in the settings panel.
- Parameters
value (list) – settings value, which is a list of row data here.
- appendRow(*args, **kwargs)¶
Add a row to the table. All arguments are passed to
ROW_CLASS
initialization.- Returns
The row number of the new row
- Return type
int
- appendRowObject(row)¶
Add a row to the table.
- Parameters
row (
ROW_CLASS
) – Row object to add to the table.- Returns
The row number of the new row
- Return type
int
- appendRowObjects(rows)¶
Add rows to the table.
- Parameters
rows (ROW_CLASS) – Row objects to add to the table.
- beginInsertColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginInsertRows(self, parent: QModelIndex, first: int, last: int)¶
- beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) bool ¶
- beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) bool ¶
- beginRemoveColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginRemoveRows(self, parent: QModelIndex, first: int, last: int)¶
- beginResetModel(self)¶
- blockSignals(self, b: bool) bool ¶
- buddy(self, index: QModelIndex) QModelIndex ¶
- canDropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- canFetchMore(self, parent: QModelIndex) bool ¶
- changePersistentIndex(self, from_: QModelIndex, to: QModelIndex)¶
- changePersistentIndexList(self, from_: Iterable[QModelIndex], to: Iterable[QModelIndex])¶
- checkIndex(self, index: QModelIndex, options: QAbstractItemModel.CheckIndexOption = QAbstractItemModel.CheckIndexOption.NoOption) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- clearItemData(self, index: QModelIndex) bool ¶
- columnChanged(col_number)¶
Call this method when a specific column object has been modified. Will cause the view to redraw that column.
- Parameters
col_number (int) – 0-indexed column number in the model.
- columnCount(self, parent: QModelIndex = QModelIndex()) int ¶
- columnsAboutToBeInserted¶
columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsAboutToBeMoved¶
columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) [signal]
- columnsAboutToBeRemoved¶
columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsInserted¶
columnsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsMoved¶
columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) [signal]
- columnsRemoved¶
columnsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- connectNotify(self, signal: QMetaMethod)¶
- createIndex(self, row: int, column: int, object: object = 0) QModelIndex ¶
- customEvent(self, a0: QEvent)¶
- data(index, role=ItemDataRole.DisplayRole)¶
Provide data for the specified index and role. Classes should not redefine this method. Instead, new methods should be created and decorated with
data_method
.See Qt documentation for an explanation of arguments and return value
- dataChanged¶
dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = []) [signal]
- decodeData(self, row: int, column: int, parent: QModelIndex, stream: QDataStream) bool ¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- encodeData(self, indexes: Iterable[QModelIndex], stream: QDataStream)¶
- endInsertColumns(self)¶
- endInsertRows(self)¶
- endMoveColumns(self)¶
- endMoveRows(self)¶
- endRemoveColumns(self)¶
- endRemoveRows(self)¶
- endResetModel(self)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- fetchMore(self, parent: QModelIndex)¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- formatFloat(value, role, digits, fmt='')¶
Format floating point values for display or sorting. If
role
isQt.DisplayRole
, thenvalue
will be returned as a string with the specified formatting. All otherrole
values are assumed to be a sorting role and value will be returned unchanged.- Parameters
value (float) – The floating point value to format
role (int) – The Qt data role
digits (int) – The number of digits to include after the decimal point for Qt.DisplayRole
fmt (str) – Additional floating point formatting options
- Returns
The formatted or unmodified value
- Return type
str or float
- classmethod fromJson(json_obj)¶
A factory method which constructs a new object from a given dict loaded from a json string or file.
- Parameters
json_obj (dict) – A json-loaded dictionary to create an object from.
- Returns
An instance of this class.
- Return type
cls
- get_version()¶
Method to get the version of a particular object. Defaults to the current version of mmshare. This class can be overridden for custom versioning behavior.
- hasChildren(self, parent: QModelIndex = QModelIndex()) bool ¶
- hasIndex(self, row: int, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- headerData(section, orientation, role=ItemDataRole.DisplayRole)¶
Provide column headers, and optionally column tooltips and row numbers.
See Qt documentation for an explanation of arguments and return value
- headerDataChanged¶
headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) [signal]
- index(self, row: int, column: int, parent: QModelIndex = QModelIndex()) QModelIndex ¶
- inherits(self, classname: str) bool ¶
- insertColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertRow(self, row: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- installEventFilter(self, a0: QObject)¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- itemData(self, index: QModelIndex) Dict[int, Any] ¶
- killTimer(self, id: int)¶
- layoutAboutToBeChanged¶
layoutAboutToBeChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- layoutChanged¶
layoutChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- match(self, start: QModelIndex, role: int, value: Any, hits: int = 1, flags: Qt.MatchFlag = Qt.MatchFlags(Qt.MatchStartsWith | Qt.MatchWrap)) List[QModelIndex] ¶
- metaObject(self) QMetaObject ¶
- mimeData(self, indexes: Iterable[QModelIndex]) QMimeData ¶
- mimeTypes(self) List[str] ¶
- modelAboutToBeReset¶
modelAboutToBeReset(self) [signal]
- modelReset¶
modelReset(self) [signal]
- modelResetContext()¶
A context manager for resetting the model. See
model_reset_method
for a decorator version of this.
- moveColumn(self, sourceParent: QModelIndex, sourceColumn: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRow(self, sourceParent: QModelIndex, sourceRow: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self) QObject ¶
- persistentIndexList(self) List[QModelIndex] ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeEventFilter(self, a0: QObject)¶
- removeRow(self, row: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeRowsByIndices(indices)¶
Remove all rows from the model specified by the given QModelIndex items.
- removeRowsByRowNumbers(rows)¶
Remove the given rows from the model, specified by row number, 0-indexed.
- replaceRows(new_rows)¶
Replace the contents of the model with the contents of the given list. The change will be presented to the view as a series of row insertions and deletions rather than as a model reset. This allows the view to properly update table selections and scroll bar position. This method may only be used if:
the
ROW_CLASS
objects can be compared using < and ==the contents of the model (i.e.
self._rows
) are sorted in ascending orderthe contents of
new_rows
are sorted in ascending order
This method is primarily intended for use when the table contains rows based on project table rows. On every project change, the project table can be reread and used to generate
new_list
and this method can then properly update the model.- Parameters
new_rows (list) – A list of
ROW_CLASS
objects
- resetInternalData(self)¶
- revert(self)¶
- roleNames(self) Dict[int, QByteArray] ¶
- rowChanged(row_number)¶
Call this method when a specific row object has been modified. Will cause the view to redraw that row.
- Parameters
row_number (int) – 0-indexed row number in the model. Corresponds to the index in the “.rows” iterator.
- rowCount(self, parent: QModelIndex = QModelIndex()) int ¶
- property rows¶
Iterate over all rows in the model. If any data is changed, call rowChanged() method with the row’s 0-indexed number to update the view.
- rowsAboutToBeInserted¶
rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsAboutToBeMoved¶
rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) [signal]
- rowsAboutToBeRemoved¶
rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsInserted¶
rowsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsMoved¶
rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) [signal]
- rowsRemoved¶
rowsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setData(index, value, role=ItemDataRole.EditRole)¶
Set data for the specified index and role. Whenever possible, sub- classes should redefine
_setData
rather than this method.See Qt documentation for an explanation of arguments and return value.
- setHeaderData(self, section: int, orientation: Qt.Orientation, value: Any, role: int = Qt.EditRole) bool ¶
- setItemData(self, index: QModelIndex, roles: Dict[int, Any]) bool ¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- sibling(self, row: int, column: int, idx: QModelIndex) QModelIndex ¶
- signalsBlocked(self) bool ¶
- sort(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- span(self, index: QModelIndex) QSize ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- submit(self) bool ¶
- supportedDragActions(self) Qt.DropAction ¶
- supportedDropActions(self) Qt.DropAction ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toJson(_mark_version=True)¶
Create and returns a data structure made up of jsonable items.
- Return type
An instance of one the classes from NATIVE_JSON_DATATYPES
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- class schrodinger.application.livedesign.panel_components.ExportTableDataColumnDelegate¶
Bases:
PyQt6.QtWidgets.QStyledItemDelegate
Delegate for
ExportTableColumn.Data
column which drawsQt.DisplayRole
text aligned to the left andQt.DecorationRole
icon aligned to the right.- paint(self, painter: QPainter, option: QStyleOptionViewItem, index: QModelIndex)¶
- EditNextItem = 1¶
- EditPreviousItem = 2¶
- class EndEditHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoHint = 0¶
- EditNextItem = 1¶
- EditPreviousItem = 2¶
- SubmitModelCache = 3¶
- RevertModelCache = 4¶
- NoHint = 0¶
- RevertModelCache = 4¶
- SubmitModelCache = 3¶
- __init__(*args, **kwargs)¶
- blockSignals(self, b: bool) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- closeEditor¶
closeEditor(self, editor: QWidget, hint: QAbstractItemDelegate.EndEditHint = QAbstractItemDelegate.NoHint) [signal]
- commitData¶
commitData(self, editor: QWidget) [signal]
- connectNotify(self, signal: QMetaMethod)¶
- createEditor(self, parent: QWidget, option: QStyleOptionViewItem, index: QModelIndex) QWidget ¶
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- destroyEditor(self, editor: QWidget, index: QModelIndex)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- displayText(self, value: Any, locale: QLocale) str ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- editorEvent(self, event: QEvent, model: QAbstractItemModel, option: QStyleOptionViewItem, index: QModelIndex) bool ¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, object: QObject, event: QEvent) bool ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- helpEvent(self, event: QHelpEvent, view: QAbstractItemView, option: QStyleOptionViewItem, index: QModelIndex) bool ¶
- inherits(self, classname: str) bool ¶
- initStyleOption(self, option: QStyleOptionViewItem, index: QModelIndex)¶
- installEventFilter(self, a0: QObject)¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- itemEditorFactory(self) QItemEditorFactory ¶
- killTimer(self, id: int)¶
- metaObject(self) QMetaObject ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self) QObject ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeEventFilter(self, a0: QObject)¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setEditorData(self, editor: QWidget, index: QModelIndex)¶
- setItemEditorFactory(self, factory: QItemEditorFactory)¶
- setModelData(self, editor: QWidget, model: QAbstractItemModel, index: QModelIndex)¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- signalsBlocked(self) bool ¶
- sizeHint(self, option: QStyleOptionViewItem, index: QModelIndex) QSize ¶
- sizeHintChanged¶
sizeHintChanged(self, a0: QModelIndex) [signal]
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- updateEditorGeometry(self, editor: QWidget, option: QStyleOptionViewItem, index: QModelIndex)¶
- class schrodinger.application.livedesign.panel_components.ExportTableView(*args, **kwargs)¶
Bases:
PyQt6.QtWidgets.QTableView
The table view showing all the Properties and Assay / Endpoints. Assay and Endpoint columns are set with different PopUp Delegates to show when the respective column cells are edited.
- __init__(*args, **kwargs)¶
- setModel(self, model: QAbstractItemModel)¶
- property Column¶
- onCommitDataToSelected(editor, index, delegate)¶
Called when “Apply to Selected Rows” is clicked in Assay or Endpoint popup.
See parent class for args documentations.
- setExtraColumnsVisible(visible)¶
Show or hide units and decimal places columns from table.
- Parameters
hide (bool) – whether to show or hide columns.
- AboveItem = 1¶
- AdjustIgnored = 0¶
- AdjustToContents = 2¶
- AdjustToContentsOnFirstShow = 1¶
- AllEditTriggers = 31¶
- AnimatingState = 6¶
- AnyKeyPressed = 16¶
- BelowItem = 2¶
- Box = 1¶
- CollapsingState = 5¶
- ContiguousSelection = 4¶
- CurrentChanged = 1¶
- class CursorAction(value)¶
Bases:
enum.Enum
An enumeration.
- MoveUp = 0¶
- MoveDown = 1¶
- MoveLeft = 2¶
- MoveRight = 3¶
- MoveHome = 4¶
- MoveEnd = 5¶
- MovePageUp = 6¶
- MovePageDown = 7¶
- MoveNext = 8¶
- MovePrevious = 9¶
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode(value)¶
Bases:
enum.Enum
An enumeration.
- NoDragDrop = 0¶
- DragOnly = 1¶
- DropOnly = 2¶
- DragDrop = 3¶
- InternalMove = 4¶
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition(value)¶
Bases:
enum.Enum
An enumeration.
- OnItem = 0¶
- AboveItem = 1¶
- BelowItem = 2¶
- OnViewport = 3¶
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger(value)¶
Bases:
enum.Flag
An enumeration.
- NoEditTriggers = 0¶
- CurrentChanged = 1¶
- DoubleClicked = 2¶
- SelectedClicked = 4¶
- EditKeyPressed = 8¶
- AnyKeyPressed = 16¶
- AllEditTriggers = 31¶
- EditingState = 3¶
- EnsureVisible = 0¶
- ExpandingState = 4¶
- ExtendedSelection = 3¶
- HLine = 4¶
- IgnoreMask = 4¶
- InternalMove = 4¶
- MoveDown = 1¶
- MoveEnd = 5¶
- MoveHome = 4¶
- MoveLeft = 2¶
- MoveNext = 8¶
- MovePageDown = 7¶
- MovePageUp = 6¶
- MovePrevious = 9¶
- MoveRight = 3¶
- MoveUp = 0¶
- MultiSelection = 2¶
- NoDragDrop = 0¶
- NoEditTriggers = 0¶
- NoFrame = 0¶
- NoSelection = 0¶
- NoState = 0¶
- OnItem = 0¶
- OnViewport = 3¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- PositionAtBottom = 2¶
- PositionAtCenter = 3¶
- PositionAtTop = 1¶
- Raised = 32¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- class ScrollHint(value)¶
Bases:
enum.Enum
An enumeration.
- EnsureVisible = 0¶
- PositionAtTop = 1¶
- PositionAtBottom = 2¶
- PositionAtCenter = 3¶
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior(value)¶
Bases:
enum.Enum
An enumeration.
- SelectItems = 0¶
- SelectRows = 1¶
- SelectColumns = 2¶
- class SelectionMode(value)¶
Bases:
enum.Enum
An enumeration.
- NoSelection = 0¶
- SingleSelection = 1¶
- MultiSelection = 2¶
- ExtendedSelection = 3¶
- ContiguousSelection = 4¶
- Shadow_Mask = 240¶
- class Shape(value)¶
Bases:
enum.IntEnum
An enumeration.
- NoFrame = 0¶
- Box = 1¶
- Panel = 2¶
- WinPanel = 3¶
- HLine = 4¶
- VLine = 5¶
- StyledPanel = 6¶
- Shape_Mask = 15¶
- SingleSelection = 1¶
- class SizeAdjustPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- AdjustIgnored = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToContents = 2¶
- class State(value)¶
Bases:
enum.Enum
An enumeration.
- NoState = 0¶
- DraggingState = 1¶
- DragSelectingState = 2¶
- EditingState = 3¶
- ExpandingState = 4¶
- CollapsingState = 5¶
- AnimatingState = 6¶
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activated¶
activated(self, index: QModelIndex) [signal]
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- addScrollBarWidget(self, widget: QWidget, alignment: Qt.AlignmentFlag)¶
- adjustSize(self)¶
- alternatingRowColors(self) bool ¶
- autoFillBackground(self) bool ¶
- autoScrollMargin(self) int ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- clearSelection(self)¶
- clearSpans(self)¶
- clicked¶
clicked(self, index: QModelIndex) [signal]
- close(self) bool ¶
- closeEditor(self, editor: QWidget, hint: QAbstractItemDelegate.EndEditHint)¶
- closeEvent(self, a0: QCloseEvent)¶
- closePersistentEditor(self, index: QModelIndex)¶
- colorCount(self) int ¶
- columnAt(self, x: int) int ¶
- columnCountChanged(self, oldCount: int, newCount: int)¶
- columnMoved(self, column: int, oldIndex: int, newIndex: int)¶
- columnResized(self, column: int, oldWidth: int, newWidth: int)¶
- columnSpan(self, row: int, column: int) int ¶
- columnViewportPosition(self, column: int) int ¶
- columnWidth(self, column: int) int ¶
- commitData(self, editor: QWidget)¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- cornerWidget(self) QWidget ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- currentChanged(self, current: QModelIndex, previous: QModelIndex)¶
- currentIndex(self) QModelIndex ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = [])¶
- defaultDropAction(self) Qt.DropAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- dirtyRegionOffset(self) QPoint ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- doubleClicked¶
doubleClicked(self, index: QModelIndex) [signal]
- dragDropMode(self) QAbstractItemView.DragDropMode ¶
- dragDropOverwriteMode(self) bool ¶
- dragEnabled(self) bool ¶
- dragEnterEvent(self, e: QDragEnterEvent)¶
- dragLeaveEvent(self, e: QDragLeaveEvent)¶
- dragMoveEvent(self, e: QDragMoveEvent)¶
- drawFrame(self, a0: QPainter)¶
- dropEvent(self, e: QDropEvent)¶
- dropIndicatorPosition(self) QAbstractItemView.DropIndicatorPosition ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- edit(self, index: QModelIndex)¶
- edit(self, index: QModelIndex, trigger: QAbstractItemView.EditTrigger, event: QEvent) bool
- editTriggers(self) QAbstractItemView.EditTrigger ¶
- editorDestroyed(self, editor: QObject)¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- entered¶
entered(self, index: QModelIndex) [signal]
- event(self, event: QEvent) bool ¶
- eventFilter(self, object: QObject, event: QEvent) bool ¶
- executeDelayedItemsLayout(self)¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, e: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, e: 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 ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- gridStyle(self) Qt.PenStyle ¶
- hasAutoScroll(self) bool ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideColumn(self, column: int)¶
- hideEvent(self, a0: QHideEvent)¶
- hideRow(self, row: int)¶
- horizontalHeader(self) QHeaderView ¶
- horizontalOffset(self) int ¶
- horizontalScrollBar(self) QScrollBar ¶
- horizontalScrollBarPolicy(self) Qt.ScrollBarPolicy ¶
- horizontalScrollMode(self) QAbstractItemView.ScrollMode ¶
- horizontalScrollbarAction(self, action: int)¶
- horizontalScrollbarValueChanged(self, value: int)¶
- iconSize(self) QSize ¶
- iconSizeChanged¶
iconSizeChanged(self, size: QSize) [signal]
- indexAt(self, p: QPoint) QModelIndex ¶
- indexWidget(self, index: QModelIndex) QWidget ¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- initViewItemOption(self, option: QStyleOptionViewItem)¶
- inputMethodEvent(self, event: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, query: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isColumnHidden(self, column: int) bool ¶
- isCornerButtonEnabled(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isIndexHidden(self, index: QModelIndex) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isPersistentEditorOpen(self, index: QModelIndex) bool ¶
- isRightToLeft(self) bool ¶
- isRowHidden(self, row: int) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isSortingEnabled(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- itemDelegate(self) QAbstractItemDelegate ¶
- itemDelegateForColumn(self, column: int) QAbstractItemDelegate ¶
- itemDelegateForIndex(self, index: QModelIndex) QAbstractItemDelegate ¶
- itemDelegateForRow(self, row: int) QAbstractItemDelegate ¶
- keyPressEvent(self, e: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- keyboardSearch(self, search: str)¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumViewportSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- model(self) QAbstractItemModel ¶
- mouseDoubleClickEvent(self, e: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, e: QMouseEvent)¶
- mousePressEvent(self, e: QMouseEvent)¶
- mouseReleaseEvent(self, e: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: Qt.KeyboardModifier) QModelIndex ¶
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- openPersistentEditor(self, index: QModelIndex)¶
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, e: 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, index: QModelIndex) [signal]
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetVerticalScrollMode(self)¶
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeColumnToContents(self, column: int)¶
- resizeColumnsToContents(self)¶
- resizeEvent(self, e: QResizeEvent)¶
- resizeRowToContents(self, row: int)¶
- resizeRowsToContents(self)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- rootIndex(self) QModelIndex ¶
- rowAt(self, y: int) int ¶
- rowCountChanged(self, oldCount: int, newCount: int)¶
- rowHeight(self, row: int) int ¶
- rowMoved(self, row: int, oldIndex: int, newIndex: int)¶
- rowResized(self, row: int, oldHeight: int, newHeight: int)¶
- rowSpan(self, row: int, column: int) int ¶
- rowViewportPosition(self, row: int) int ¶
- rowsAboutToBeRemoved(self, parent: QModelIndex, start: int, end: int)¶
- rowsInserted(self, parent: QModelIndex, start: int, end: int)¶
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- scrollBarWidgets(self, alignment: Qt.AlignmentFlag) List[QWidget] ¶
- scrollContentsBy(self, dx: int, dy: int)¶
- scrollDirtyRegion(self, dx: int, dy: int)¶
- scrollTo(self, index: QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- scrollToBottom(self)¶
- scrollToTop(self)¶
- selectAll(self)¶
- selectColumn(self, column: int)¶
- selectRow(self, row: int)¶
- selectedIndexes(self) List[QModelIndex] ¶
- selectionBehavior(self) QAbstractItemView.SelectionBehavior ¶
- selectionChanged(self, selected: QItemSelection, deselected: QItemSelection)¶
- selectionCommand(self, index: QModelIndex, event: typing.Optional[QEvent] = None) QItemSelectionModel.SelectionFlag ¶
- selectionMode(self) QAbstractItemView.SelectionMode ¶
- selectionModel(self) QItemSelectionModel ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAlternatingRowColors(self, enable: bool)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setAutoScroll(self, enable: bool)¶
- setAutoScrollMargin(self, margin: int)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setColumnHidden(self, column: int, hide: bool)¶
- setColumnWidth(self, column: int, width: int)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCornerButtonEnabled(self, enable: bool)¶
- setCornerWidget(self, widget: QWidget)¶
- setCurrentIndex(self, index: QModelIndex)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDefaultDropAction(self, dropAction: Qt.DropAction)¶
- setDirtyRegion(self, region: QRegion)¶
- setDisabled(self, a0: bool)¶
- setDragDropMode(self, behavior: QAbstractItemView.DragDropMode)¶
- setDragDropOverwriteMode(self, overwrite: bool)¶
- setDragEnabled(self, enable: bool)¶
- setDropIndicatorShown(self, enable: bool)¶
- setEditTriggers(self, triggers: QAbstractItemView.EditTrigger)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrameRect(self, a0: QRect)¶
- setFrameShadow(self, a0: QFrame.Shadow)¶
- setFrameShape(self, a0: QFrame.Shape)¶
- setFrameStyle(self, a0: int)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setGridStyle(self, style: Qt.PenStyle)¶
- setHidden(self, hidden: bool)¶
- setHorizontalHeader(self, header: QHeaderView)¶
- setHorizontalScrollBar(self, scrollbar: QScrollBar)¶
- setHorizontalScrollBarPolicy(self, a0: Qt.ScrollBarPolicy)¶
- setHorizontalScrollMode(self, mode: QAbstractItemView.ScrollMode)¶
- setIconSize(self, size: QSize)¶
- setIndexWidget(self, index: QModelIndex, widget: QWidget)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setItemDelegate(self, delegate: QAbstractItemDelegate)¶
- setItemDelegateForColumn(self, column: int, delegate: QAbstractItemDelegate)¶
- setItemDelegateForRow(self, row: int, delegate: QAbstractItemDelegate)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineWidth(self, a0: int)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMidLineWidth(self, a0: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setRootIndex(self, index: QModelIndex)¶
- setRowHeight(self, row: int, height: int)¶
- setRowHidden(self, row: int, hide: bool)¶
- setScreen(self, a0: QScreen)¶
- setSelection(self, rect: QRect, command: QItemSelectionModel.SelectionFlag)¶
- setSelectionBehavior(self, behavior: QAbstractItemView.SelectionBehavior)¶
- setSelectionMode(self, mode: QAbstractItemView.SelectionMode)¶
- setSelectionModel(self, selectionModel: QItemSelectionModel)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setShowGrid(self, show: bool)¶
- setSizeAdjustPolicy(self, policy: QAbstractScrollArea.SizeAdjustPolicy)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setSortingEnabled(self, enable: bool)¶
- setSpan(self, row: int, column: int, rowSpan: int, columnSpan: int)¶
- setState(self, state: QAbstractItemView.State)¶
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setTextElideMode(self, mode: Qt.TextElideMode)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVerticalHeader(self, header: QHeaderView)¶
- setVerticalScrollBar(self, scrollbar: QScrollBar)¶
- setVerticalScrollBarPolicy(self, a0: Qt.ScrollBarPolicy)¶
- setVerticalScrollMode(self, mode: QAbstractItemView.ScrollMode)¶
- setViewport(self, widget: QWidget)¶
- setViewportMargins(self, left: int, top: int, right: int, bottom: int)¶
- setViewportMargins(self, margins: QMargins) None
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- setWordWrap(self, on: bool)¶
- setupViewport(self, viewport: QWidget)¶
- show(self)¶
- showColumn(self, column: int)¶
- showDropIndicator(self) bool ¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showGrid(self) bool ¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showRow(self, row: int)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeAdjustPolicy(self) QAbstractScrollArea.SizeAdjustPolicy ¶
- sizeHint(self) QSize ¶
- sizeHintForColumn(self, column: int) int ¶
- sizeHintForIndex(self, index: QModelIndex) QSize ¶
- sizeHintForRow(self, row: int) int ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- sortByColumn(self, column: int, order: Qt.SortOrder)¶
- stackUnder(self, a0: QWidget)¶
- startDrag(self, supportedActions: Qt.DropAction)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- state(self) QAbstractItemView.State ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- textElideMode(self) Qt.TextElideMode ¶
- thread(self) QThread ¶
- timerEvent(self, event: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, index: QModelIndex) None
- updateEditorData(self)¶
- updateEditorGeometries(self)¶
- updateGeometries(self)¶
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- verticalHeader(self) QHeaderView ¶
- verticalOffset(self) int ¶
- verticalScrollBar(self) QScrollBar ¶
- verticalScrollBarPolicy(self) Qt.ScrollBarPolicy ¶
- verticalScrollMode(self) QAbstractItemView.ScrollMode ¶
- verticalScrollbarAction(self, action: int)¶
- verticalScrollbarValueChanged(self, value: int)¶
- viewport(self) QWidget ¶
- viewportEntered¶
viewportEntered(self) [signal]
- viewportEvent(self, e: QEvent) bool ¶
- viewportMargins(self) QMargins ¶
- viewportSizeHint(self) QSize ¶
- visibleRegion(self) QRegion ¶
- visualRect(self, index: QModelIndex) QRect ¶
- visualRegionForSelection(self, selection: QItemSelection) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.PathTreeDict(paths=None)¶
Bases:
collections.defaultdict
- __init__(paths=None)¶
- addPath(path)¶
- findPath(path)¶
- __contains__(key, /)¶
True if the dictionary has the specified key, else False.
- __len__()¶
Return len(self).
- clear() None. Remove all items from D. ¶
- copy() a shallow copy of D. ¶
- default_factory¶
Factory for default value called by __missing__().
- fromkeys(value=None, /)¶
Create a new dictionary with keys from iterable and values set to value.
- get(key, default=None, /)¶
Return the value for key if key is in the dictionary, else default.
- items() a set-like object providing a view on D’s items ¶
- keys() a set-like object providing a view on D’s keys ¶
- pop(k[, d]) v, remove specified key and return the corresponding value. ¶
If key is not found, d is returned if given, otherwise KeyError is raised
- popitem()¶
Remove and return a (key, value) pair as a 2-tuple.
Pairs are returned in LIFO (last-in, first-out) order. Raises KeyError if the dict is empty.
- setdefault(key, default=None, /)¶
Insert key with a value of default if key is not in the dictionary.
Return the value for key if key is in the dictionary, else default.
- update([E, ]**F) None. Update D from dict/iterable E and F. ¶
If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
- values() an object providing a view on D’s values ¶
- schrodinger.application.livedesign.panel_components.make_ld_item_tree(ld_items)¶
Makes LD folder/assay(model) tree.
- Parameters
ld_items (list of BaseLDTreeItemWrapper) – List of LD items.
- class schrodinger.application.livedesign.panel_components.LDTreeItem(ld_item)¶
Bases:
PyQt6.QtGui.QStandardItem
A custom Tree item.
- __init__(ld_item)¶
- Parameters
ld_item (BaseLDTreeItemWrapper) – an object that holds a name and folder_path attributes.
- Type = 0¶
- UserType = 1000¶
- accessibleDescription(self) str ¶
- accessibleText(self) str ¶
- appendColumn(self, items: Iterable[QStandardItem])¶
- appendRow(self, items: Iterable[QStandardItem])¶
- appendRow(self, aitem: QStandardItem) None
- appendRows(self, items: Iterable[QStandardItem])¶
- background(self) QBrush ¶
- checkState(self) Qt.CheckState ¶
- child(self, row: int, column: int = 0) QStandardItem ¶
- clearData(self)¶
- clone(self) QStandardItem ¶
- column(self) int ¶
- columnCount(self) int ¶
- data(self, role: int = Qt.UserRole + 1) Any ¶
- emitDataChanged(self)¶
- flags(self) Qt.ItemFlag ¶
- font(self) QFont ¶
- foreground(self) QBrush ¶
- hasChildren(self) bool ¶
- icon(self) QIcon ¶
- index(self) QModelIndex ¶
- insertColumn(self, column: int, items: Iterable[QStandardItem])¶
- insertColumns(self, column: int, count: int)¶
- insertRow(self, row: int, items: Iterable[QStandardItem])¶
- insertRow(self, arow: int, aitem: QStandardItem) None
- insertRows(self, row: int, count: int)¶
- insertRows(self, row: int, items: Iterable[QStandardItem]) None
- isAutoTristate(self) bool ¶
- isCheckable(self) bool ¶
- isDragEnabled(self) bool ¶
- isDropEnabled(self) bool ¶
- isEditable(self) bool ¶
- isEnabled(self) bool ¶
- isSelectable(self) bool ¶
- isUserTristate(self) bool ¶
- model(self) QStandardItemModel ¶
- parent(self) QStandardItem ¶
- read(self, in_: QDataStream)¶
- removeColumn(self, column: int)¶
- removeColumns(self, column: int, count: int)¶
- removeRow(self, row: int)¶
- removeRows(self, row: int, count: int)¶
- row(self) int ¶
- rowCount(self) int ¶
- setAccessibleDescription(self, aaccessibleDescription: str)¶
- setAccessibleText(self, aaccessibleText: str)¶
- setAutoTristate(self, tristate: bool)¶
- setBackground(self, abrush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCheckState(self, acheckState: Qt.CheckState)¶
- setCheckable(self, checkable: bool)¶
- setChild(self, row: int, column: int, item: QStandardItem)¶
- setChild(self, arow: int, aitem: QStandardItem) None
- setColumnCount(self, columns: int)¶
- setData(self, value: Any, role: int = Qt.UserRole + 1)¶
- setDragEnabled(self, dragEnabled: bool)¶
- setDropEnabled(self, dropEnabled: bool)¶
- setEditable(self, editable: bool)¶
- setEnabled(self, enabled: bool)¶
- setFlags(self, flags: Qt.ItemFlag)¶
- setFont(self, afont: QFont)¶
- setForeground(self, abrush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setIcon(self, aicon: QIcon)¶
- setRowCount(self, rows: int)¶
- setSelectable(self, selectable: bool)¶
- setSizeHint(self, asizeHint: QSize)¶
- setStatusTip(self, astatusTip: str)¶
- setText(self, atext: str)¶
- setTextAlignment(self, atextAlignment: Qt.AlignmentFlag)¶
- setToolTip(self, atoolTip: str)¶
- setUserTristate(self, tristate: bool)¶
- setWhatsThis(self, awhatsThis: str)¶
- sizeHint(self) QSize ¶
- sortChildren(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- statusTip(self) str ¶
- takeChild(self, row: int, column: int = 0) QStandardItem ¶
- takeColumn(self, column: int) List[QStandardItem] ¶
- takeRow(self, row: int) List[QStandardItem] ¶
- text(self) str ¶
- textAlignment(self) Qt.AlignmentFlag ¶
- toolTip(self) str ¶
- type(self) int ¶
- whatsThis(self) str ¶
- write(self, out: QDataStream)¶
- class schrodinger.application.livedesign.panel_components.LDSelectionModel¶
Bases:
PyQt6.QtGui.QStandardItemModel
Tree model class which stores BaseLDTreeItemWrappers.
- loadData(ld_items)¶
Load in the generic LiveDesign item and store in Tree form. Note: All previous rows in model are removed.
- Parameters
ld_items (List of BaseLDTreeItemWrapper) – an object that holds a name and folder_path attributes.
- loadRows(row_data)¶
Load in data and append each data item as a row in Tree. Note: All previous rows in model are removed.
- Parameters
row_data (list of str) – text to set for each row.
- loadRow(row_data)¶
Append a single row to the tree model. This method does not clear the model.
- Parameters
row_data (str) – text to set for row.
- flags(index)¶
Only leaf nodes in the tree model are selectable.
- findItem(item_id, item=None)¶
Recursively finds the livereport item under a given QStandardItem that matches the lr_id. If item is None, the search will start from the root of the model
- Parameters
item_id (str) – Id of the item to be found in the model
item (QStandardItem) – A model item under which the item_id has to be searched. If None, the serach will start from the root item of the model
- Returns
Returns the matched livereport item or None
- Return type
- class CheckIndexOption(value)¶
Bases:
enum.Flag
An enumeration.
- NoOption = 0¶
- IndexIsValid = 1¶
- DoNotUseParent = 2¶
- ParentIsInvalid = 4¶
- HorizontalSortHint = 2¶
- class LayoutChangeHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- HorizontalSortHint = 2¶
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- __init__(*args, **kwargs)¶
- appendColumn(self, items: Iterable[QStandardItem])¶
- appendRow(self, items: Iterable[QStandardItem])¶
- appendRow(self, aitem: QStandardItem) None
- beginInsertColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginInsertRows(self, parent: QModelIndex, first: int, last: int)¶
- beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) bool ¶
- beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) bool ¶
- beginRemoveColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginRemoveRows(self, parent: QModelIndex, first: int, last: int)¶
- beginResetModel(self)¶
- blockSignals(self, b: bool) bool ¶
- buddy(self, index: QModelIndex) QModelIndex ¶
- canDropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- canFetchMore(self, parent: QModelIndex) bool ¶
- changePersistentIndex(self, from_: QModelIndex, to: QModelIndex)¶
- changePersistentIndexList(self, from_: Iterable[QModelIndex], to: Iterable[QModelIndex])¶
- checkIndex(self, index: QModelIndex, options: QAbstractItemModel.CheckIndexOption = QAbstractItemModel.CheckIndexOption.NoOption) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- clear(self)¶
- clearItemData(self, index: QModelIndex) bool ¶
- columnCount(self, parent: QModelIndex = QModelIndex()) int ¶
- columnsAboutToBeInserted¶
columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsAboutToBeMoved¶
columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) [signal]
- columnsAboutToBeRemoved¶
columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsInserted¶
columnsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsMoved¶
columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) [signal]
- columnsRemoved¶
columnsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- connectNotify(self, signal: QMetaMethod)¶
- createIndex(self, row: int, column: int, object: object = 0) QModelIndex ¶
- customEvent(self, a0: QEvent)¶
- data(self, index: QModelIndex, role: int = Qt.DisplayRole) Any ¶
- dataChanged¶
dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = []) [signal]
- decodeData(self, row: int, column: int, parent: QModelIndex, stream: QDataStream) bool ¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- encodeData(self, indexes: Iterable[QModelIndex], stream: QDataStream)¶
- endInsertColumns(self)¶
- endInsertRows(self)¶
- endMoveColumns(self)¶
- endMoveRows(self)¶
- endRemoveColumns(self)¶
- endRemoveRows(self)¶
- endResetModel(self)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- fetchMore(self, parent: QModelIndex)¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findItems(self, text: str, flags: Qt.MatchFlag = Qt.MatchExactly, column: int = 0) List[QStandardItem] ¶
- hasChildren(self, parent: QModelIndex = QModelIndex()) bool ¶
- hasIndex(self, row: int, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- headerData(self, section: int, orientation: Qt.Orientation, role: int = Qt.DisplayRole) Any ¶
- headerDataChanged¶
headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) [signal]
- horizontalHeaderItem(self, column: int) QStandardItem ¶
- index(self, row: int, column: int, parent: QModelIndex = QModelIndex()) QModelIndex ¶
- indexFromItem(self, item: QStandardItem) QModelIndex ¶
- inherits(self, classname: str) bool ¶
- insertColumn(self, column: int, items: Iterable[QStandardItem])¶
- insertColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool
- insertColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertRow(self, row: int, items: Iterable[QStandardItem])¶
- insertRow(self, arow: int, aitem: QStandardItem) None
- insertRow(self, row: int, parent: QModelIndex = QModelIndex()) bool
- insertRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- installEventFilter(self, a0: QObject)¶
- invisibleRootItem(self) QStandardItem ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- item(self, row: int, column: int = 0) QStandardItem ¶
- itemChanged¶
itemChanged(self, item: QStandardItem) [signal]
- itemData(self, index: QModelIndex) Dict[int, Any] ¶
- itemFromIndex(self, index: QModelIndex) QStandardItem ¶
- itemPrototype(self) QStandardItem ¶
- killTimer(self, id: int)¶
- layoutAboutToBeChanged¶
layoutAboutToBeChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- layoutChanged¶
layoutChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- match(self, start: QModelIndex, role: int, value: Any, hits: int = 1, flags: Qt.MatchFlag = Qt.MatchFlags(Qt.MatchStartsWith | Qt.MatchWrap)) List[QModelIndex] ¶
- metaObject(self) QMetaObject ¶
- mimeData(self, indexes: Iterable[QModelIndex]) QMimeData ¶
- mimeTypes(self) List[str] ¶
- modelAboutToBeReset¶
modelAboutToBeReset(self) [signal]
- modelReset¶
modelReset(self) [signal]
- moveColumn(self, sourceParent: QModelIndex, sourceColumn: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRow(self, sourceParent: QModelIndex, sourceRow: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self, child: QModelIndex) QModelIndex ¶
- parent(self) QObject
- persistentIndexList(self) List[QModelIndex] ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeEventFilter(self, a0: QObject)¶
- removeRow(self, row: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- resetInternalData(self)¶
- revert(self)¶
- roleNames(self) Dict[int, QByteArray] ¶
- rowCount(self, parent: QModelIndex = QModelIndex()) int ¶
- rowsAboutToBeInserted¶
rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsAboutToBeMoved¶
rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) [signal]
- rowsAboutToBeRemoved¶
rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsInserted¶
rowsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsMoved¶
rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) [signal]
- rowsRemoved¶
rowsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setColumnCount(self, columns: int)¶
- setData(self, index: QModelIndex, value: Any, role: int = Qt.EditRole) bool ¶
- setHeaderData(self, section: int, orientation: Qt.Orientation, value: Any, role: int = Qt.EditRole) bool ¶
- setHorizontalHeaderItem(self, column: int, item: QStandardItem)¶
- setHorizontalHeaderLabels(self, labels: Iterable[str])¶
- setItem(self, row: int, column: int, item: QStandardItem)¶
- setItem(self, arow: int, aitem: QStandardItem) None
- setItemData(self, index: QModelIndex, roles: Dict[int, Any]) bool ¶
- setItemPrototype(self, item: QStandardItem)¶
- setItemRoleNames(self, roleNames: Dict[int, QByteArray])¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- setRowCount(self, rows: int)¶
- setSortRole(self, role: int)¶
- setVerticalHeaderItem(self, row: int, item: QStandardItem)¶
- setVerticalHeaderLabels(self, labels: Iterable[str])¶
- sibling(self, row: int, column: int, idx: QModelIndex) QModelIndex ¶
- signalsBlocked(self) bool ¶
- sort(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- sortRole(self) int ¶
- span(self, index: QModelIndex) QSize ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- submit(self) bool ¶
- supportedDragActions(self) Qt.DropAction ¶
- supportedDropActions(self) Qt.DropAction ¶
- takeColumn(self, column: int) List[QStandardItem] ¶
- takeHorizontalHeaderItem(self, column: int) QStandardItem ¶
- takeItem(self, row: int, column: int = 0) QStandardItem ¶
- takeRow(self, row: int) List[QStandardItem] ¶
- takeVerticalHeaderItem(self, row: int) QStandardItem ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- verticalHeaderItem(self, row: int) QStandardItem ¶
- class schrodinger.application.livedesign.panel_components.EndpointSelectionModel¶
Bases:
schrodinger.application.livedesign.panel_components.LDSelectionModel
- flags(index)¶
Prevent user from selecting endpoints with the
ENDPOINT_UNAVAILABLE
text. It indicates that the correct endpoint could not be parsed from LiveDesign.
- data(self, index: QModelIndex, role: int = Qt.DisplayRole) Any ¶
- class CheckIndexOption(value)¶
Bases:
enum.Flag
An enumeration.
- NoOption = 0¶
- IndexIsValid = 1¶
- DoNotUseParent = 2¶
- ParentIsInvalid = 4¶
- HorizontalSortHint = 2¶
- class LayoutChangeHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- HorizontalSortHint = 2¶
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- __init__(*args, **kwargs)¶
- appendColumn(self, items: Iterable[QStandardItem])¶
- appendRow(self, items: Iterable[QStandardItem])¶
- appendRow(self, aitem: QStandardItem) None
- beginInsertColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginInsertRows(self, parent: QModelIndex, first: int, last: int)¶
- beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) bool ¶
- beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) bool ¶
- beginRemoveColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginRemoveRows(self, parent: QModelIndex, first: int, last: int)¶
- beginResetModel(self)¶
- blockSignals(self, b: bool) bool ¶
- buddy(self, index: QModelIndex) QModelIndex ¶
- canDropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- canFetchMore(self, parent: QModelIndex) bool ¶
- changePersistentIndex(self, from_: QModelIndex, to: QModelIndex)¶
- changePersistentIndexList(self, from_: Iterable[QModelIndex], to: Iterable[QModelIndex])¶
- checkIndex(self, index: QModelIndex, options: QAbstractItemModel.CheckIndexOption = QAbstractItemModel.CheckIndexOption.NoOption) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- clear(self)¶
- clearItemData(self, index: QModelIndex) bool ¶
- columnCount(self, parent: QModelIndex = QModelIndex()) int ¶
- columnsAboutToBeInserted¶
columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsAboutToBeMoved¶
columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) [signal]
- columnsAboutToBeRemoved¶
columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsInserted¶
columnsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsMoved¶
columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) [signal]
- columnsRemoved¶
columnsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- connectNotify(self, signal: QMetaMethod)¶
- createIndex(self, row: int, column: int, object: object = 0) QModelIndex ¶
- customEvent(self, a0: QEvent)¶
- dataChanged¶
dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = []) [signal]
- decodeData(self, row: int, column: int, parent: QModelIndex, stream: QDataStream) bool ¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- encodeData(self, indexes: Iterable[QModelIndex], stream: QDataStream)¶
- endInsertColumns(self)¶
- endInsertRows(self)¶
- endMoveColumns(self)¶
- endMoveRows(self)¶
- endRemoveColumns(self)¶
- endRemoveRows(self)¶
- endResetModel(self)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- fetchMore(self, parent: QModelIndex)¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findItem(item_id, item=None)¶
Recursively finds the livereport item under a given QStandardItem that matches the lr_id. If item is None, the search will start from the root of the model
- Parameters
item_id (str) – Id of the item to be found in the model
item (QStandardItem) – A model item under which the item_id has to be searched. If None, the serach will start from the root item of the model
- Returns
Returns the matched livereport item or None
- Return type
- findItems(self, text: str, flags: Qt.MatchFlag = Qt.MatchExactly, column: int = 0) List[QStandardItem] ¶
- hasChildren(self, parent: QModelIndex = QModelIndex()) bool ¶
- hasIndex(self, row: int, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- headerData(self, section: int, orientation: Qt.Orientation, role: int = Qt.DisplayRole) Any ¶
- headerDataChanged¶
headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) [signal]
- horizontalHeaderItem(self, column: int) QStandardItem ¶
- index(self, row: int, column: int, parent: QModelIndex = QModelIndex()) QModelIndex ¶
- indexFromItem(self, item: QStandardItem) QModelIndex ¶
- inherits(self, classname: str) bool ¶
- insertColumn(self, column: int, items: Iterable[QStandardItem])¶
- insertColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool
- insertColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertRow(self, row: int, items: Iterable[QStandardItem])¶
- insertRow(self, arow: int, aitem: QStandardItem) None
- insertRow(self, row: int, parent: QModelIndex = QModelIndex()) bool
- insertRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- installEventFilter(self, a0: QObject)¶
- invisibleRootItem(self) QStandardItem ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- item(self, row: int, column: int = 0) QStandardItem ¶
- itemChanged¶
itemChanged(self, item: QStandardItem) [signal]
- itemData(self, index: QModelIndex) Dict[int, Any] ¶
- itemFromIndex(self, index: QModelIndex) QStandardItem ¶
- itemPrototype(self) QStandardItem ¶
- killTimer(self, id: int)¶
- layoutAboutToBeChanged¶
layoutAboutToBeChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- layoutChanged¶
layoutChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- loadData(ld_items)¶
Load in the generic LiveDesign item and store in Tree form. Note: All previous rows in model are removed.
- Parameters
ld_items (List of BaseLDTreeItemWrapper) – an object that holds a name and folder_path attributes.
- loadRow(row_data)¶
Append a single row to the tree model. This method does not clear the model.
- Parameters
row_data (str) – text to set for row.
- loadRows(row_data)¶
Load in data and append each data item as a row in Tree. Note: All previous rows in model are removed.
- Parameters
row_data (list of str) – text to set for each row.
- match(self, start: QModelIndex, role: int, value: Any, hits: int = 1, flags: Qt.MatchFlag = Qt.MatchFlags(Qt.MatchStartsWith | Qt.MatchWrap)) List[QModelIndex] ¶
- metaObject(self) QMetaObject ¶
- mimeData(self, indexes: Iterable[QModelIndex]) QMimeData ¶
- mimeTypes(self) List[str] ¶
- modelAboutToBeReset¶
modelAboutToBeReset(self) [signal]
- modelReset¶
modelReset(self) [signal]
- moveColumn(self, sourceParent: QModelIndex, sourceColumn: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRow(self, sourceParent: QModelIndex, sourceRow: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self, child: QModelIndex) QModelIndex ¶
- parent(self) QObject
- persistentIndexList(self) List[QModelIndex] ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeEventFilter(self, a0: QObject)¶
- removeRow(self, row: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- resetInternalData(self)¶
- revert(self)¶
- roleNames(self) Dict[int, QByteArray] ¶
- rowCount(self, parent: QModelIndex = QModelIndex()) int ¶
- rowsAboutToBeInserted¶
rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsAboutToBeMoved¶
rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) [signal]
- rowsAboutToBeRemoved¶
rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsInserted¶
rowsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsMoved¶
rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) [signal]
- rowsRemoved¶
rowsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setColumnCount(self, columns: int)¶
- setData(self, index: QModelIndex, value: Any, role: int = Qt.EditRole) bool ¶
- setHeaderData(self, section: int, orientation: Qt.Orientation, value: Any, role: int = Qt.EditRole) bool ¶
- setHorizontalHeaderItem(self, column: int, item: QStandardItem)¶
- setHorizontalHeaderLabels(self, labels: Iterable[str])¶
- setItem(self, row: int, column: int, item: QStandardItem)¶
- setItem(self, arow: int, aitem: QStandardItem) None
- setItemData(self, index: QModelIndex, roles: Dict[int, Any]) bool ¶
- setItemPrototype(self, item: QStandardItem)¶
- setItemRoleNames(self, roleNames: Dict[int, QByteArray])¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- setRowCount(self, rows: int)¶
- setSortRole(self, role: int)¶
- setVerticalHeaderItem(self, row: int, item: QStandardItem)¶
- setVerticalHeaderLabels(self, labels: Iterable[str])¶
- sibling(self, row: int, column: int, idx: QModelIndex) QModelIndex ¶
- signalsBlocked(self) bool ¶
- sort(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- sortRole(self) int ¶
- span(self, index: QModelIndex) QSize ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- submit(self) bool ¶
- supportedDragActions(self) Qt.DropAction ¶
- supportedDropActions(self) Qt.DropAction ¶
- takeColumn(self, column: int) List[QStandardItem] ¶
- takeHorizontalHeaderItem(self, column: int) QStandardItem ¶
- takeItem(self, row: int, column: int = 0) QStandardItem ¶
- takeRow(self, row: int) List[QStandardItem] ¶
- takeVerticalHeaderItem(self, row: int) QStandardItem ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- verticalHeaderItem(self, row: int) QStandardItem ¶
- class schrodinger.application.livedesign.panel_components.BaseLDTreeItemWrapper(ld_name, ld_id=None, path='', linked_path=None, show_path=False)¶
Bases:
schrodinger.models.json.JsonableClassMixin
Simple wrapper for storing either a ld_entities.LiveReport.name or ld_entities.Assay.name, and the folder path used to determine its position in the tree. By building a common wrapper for both items, much of the popup tree item code is simplified.
- __init__(ld_name, ld_id=None, path='', linked_path=None, show_path=False)¶
- Parameters
ld_name (str) – ld_entities.LiveReport.name or ld_entities.Assay.name
ld_id (str or None) – LiveReport.id as a unique identifier
path (str) – the folder path to determine position in tree.
linked_path (str) – for items duplicated in favorites, the original folder path
show_path (bool) – whether to show the linked_path in the display name
:raise ValueError if no name is given.
- toJsonImplementation()¶
Abstract method that must be defined by all derived classes. Converts an instance of the derived class into a jsonifiable object.
- Returns
A dict made up of JSON native datatypes or Jsonable objects. See the link below for a table of such types. https://docs.python.org/2/library/json.html#encoders-and-decoders
- classmethod fromJsonImplementation(json_dict)¶
Abstract method that must be defined by all derived classes. Takes in a dictionary and constructs an instance of the derived class.
- Parameters
json_dict (dict) – A dictionary loaded from a JSON string or file.
- Returns
An instance of the derived class.
- Return type
cls
- classmethod fromJson(json_obj)¶
A factory method which constructs a new object from a given dict loaded from a json string or file.
- Parameters
json_obj (dict) – A json-loaded dictionary to create an object from.
- Returns
An instance of this class.
- Return type
cls
- get_version()¶
Method to get the version of a particular object. Defaults to the current version of mmshare. This class can be overridden for custom versioning behavior.
- toJson(_mark_version=True)¶
Create and returns a data structure made up of jsonable items.
- Return type
An instance of one the classes from NATIVE_JSON_DATATYPES
- class schrodinger.application.livedesign.panel_components.LDSelectionTreeView¶
Bases:
PyQt6.QtWidgets.QTreeView
Base class for Selecting an item from a Tree.
- itemSelected¶
- __init__()¶
- selectionChanged(selected, deselected)¶
See Qt QTreeView for more information.
- scrollToItemWithPath(full_assay_path)¶
Find the item with the given path, scroll to it, and select it. Useful for making the last selected item visible when a cell is clicked again.
- Parameters
full_assay_path (str) – the full path of the assay including the name
- AboveItem = 1¶
- AdjustIgnored = 0¶
- AdjustToContents = 2¶
- AdjustToContentsOnFirstShow = 1¶
- AllEditTriggers = 31¶
- AnimatingState = 6¶
- AnyKeyPressed = 16¶
- BelowItem = 2¶
- Box = 1¶
- CollapsingState = 5¶
- ContiguousSelection = 4¶
- CurrentChanged = 1¶
- class CursorAction(value)¶
Bases:
enum.Enum
An enumeration.
- MoveUp = 0¶
- MoveDown = 1¶
- MoveLeft = 2¶
- MoveRight = 3¶
- MoveHome = 4¶
- MoveEnd = 5¶
- MovePageUp = 6¶
- MovePageDown = 7¶
- MoveNext = 8¶
- MovePrevious = 9¶
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode(value)¶
Bases:
enum.Enum
An enumeration.
- NoDragDrop = 0¶
- DragOnly = 1¶
- DropOnly = 2¶
- DragDrop = 3¶
- InternalMove = 4¶
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition(value)¶
Bases:
enum.Enum
An enumeration.
- OnItem = 0¶
- AboveItem = 1¶
- BelowItem = 2¶
- OnViewport = 3¶
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger(value)¶
Bases:
enum.Flag
An enumeration.
- NoEditTriggers = 0¶
- CurrentChanged = 1¶
- DoubleClicked = 2¶
- SelectedClicked = 4¶
- EditKeyPressed = 8¶
- AnyKeyPressed = 16¶
- AllEditTriggers = 31¶
- EditingState = 3¶
- EnsureVisible = 0¶
- ExpandingState = 4¶
- ExtendedSelection = 3¶
- HLine = 4¶
- IgnoreMask = 4¶
- InternalMove = 4¶
- MoveDown = 1¶
- MoveEnd = 5¶
- MoveHome = 4¶
- MoveLeft = 2¶
- MoveNext = 8¶
- MovePageDown = 7¶
- MovePageUp = 6¶
- MovePrevious = 9¶
- MoveRight = 3¶
- MoveUp = 0¶
- MultiSelection = 2¶
- NoDragDrop = 0¶
- NoEditTriggers = 0¶
- NoFrame = 0¶
- NoSelection = 0¶
- NoState = 0¶
- OnItem = 0¶
- OnViewport = 3¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- PositionAtBottom = 2¶
- PositionAtCenter = 3¶
- PositionAtTop = 1¶
- Raised = 32¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- class ScrollHint(value)¶
Bases:
enum.Enum
An enumeration.
- EnsureVisible = 0¶
- PositionAtTop = 1¶
- PositionAtBottom = 2¶
- PositionAtCenter = 3¶
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior(value)¶
Bases:
enum.Enum
An enumeration.
- SelectItems = 0¶
- SelectRows = 1¶
- SelectColumns = 2¶
- class SelectionMode(value)¶
Bases:
enum.Enum
An enumeration.
- NoSelection = 0¶
- SingleSelection = 1¶
- MultiSelection = 2¶
- ExtendedSelection = 3¶
- ContiguousSelection = 4¶
- Shadow_Mask = 240¶
- class Shape(value)¶
Bases:
enum.IntEnum
An enumeration.
- NoFrame = 0¶
- Box = 1¶
- Panel = 2¶
- WinPanel = 3¶
- HLine = 4¶
- VLine = 5¶
- StyledPanel = 6¶
- Shape_Mask = 15¶
- SingleSelection = 1¶
- class SizeAdjustPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- AdjustIgnored = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToContents = 2¶
- class State(value)¶
Bases:
enum.Enum
An enumeration.
- NoState = 0¶
- DraggingState = 1¶
- DragSelectingState = 2¶
- EditingState = 3¶
- ExpandingState = 4¶
- CollapsingState = 5¶
- AnimatingState = 6¶
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activated¶
activated(self, index: QModelIndex) [signal]
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- addScrollBarWidget(self, widget: QWidget, alignment: Qt.AlignmentFlag)¶
- adjustSize(self)¶
- allColumnsShowFocus(self) bool ¶
- alternatingRowColors(self) bool ¶
- autoExpandDelay(self) int ¶
- autoFillBackground(self) bool ¶
- autoScrollMargin(self) int ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, event: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- clearSelection(self)¶
- clicked¶
clicked(self, index: QModelIndex) [signal]
- close(self) bool ¶
- closeEditor(self, editor: QWidget, hint: QAbstractItemDelegate.EndEditHint)¶
- closeEvent(self, a0: QCloseEvent)¶
- closePersistentEditor(self, index: QModelIndex)¶
- collapse(self, index: QModelIndex)¶
- collapseAll(self)¶
- collapsed¶
collapsed(self, index: QModelIndex) [signal]
- colorCount(self) int ¶
- columnAt(self, x: int) int ¶
- columnCountChanged(self, oldCount: int, newCount: int)¶
- columnMoved(self)¶
- columnResized(self, column: int, oldSize: int, newSize: int)¶
- columnViewportPosition(self, column: int) int ¶
- columnWidth(self, column: int) int ¶
- commitData(self, editor: QWidget)¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- cornerWidget(self) QWidget ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- currentChanged(self, current: QModelIndex, previous: QModelIndex)¶
- currentIndex(self) QModelIndex ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = [])¶
- defaultDropAction(self) Qt.DropAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- dirtyRegionOffset(self) QPoint ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- doubleClicked¶
doubleClicked(self, index: QModelIndex) [signal]
- dragDropMode(self) QAbstractItemView.DragDropMode ¶
- dragDropOverwriteMode(self) bool ¶
- dragEnabled(self) bool ¶
- dragEnterEvent(self, e: QDragEnterEvent)¶
- dragLeaveEvent(self, e: QDragLeaveEvent)¶
- dragMoveEvent(self, event: QDragMoveEvent)¶
- drawBranches(self, painter: QPainter, rect: QRect, index: QModelIndex)¶
- drawFrame(self, a0: QPainter)¶
- drawRow(self, painter: QPainter, options: QStyleOptionViewItem, index: QModelIndex)¶
- drawTree(self, painter: QPainter, region: QRegion)¶
- dropEvent(self, e: QDropEvent)¶
- dropIndicatorPosition(self) QAbstractItemView.DropIndicatorPosition ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- edit(self, index: QModelIndex)¶
- edit(self, index: QModelIndex, trigger: QAbstractItemView.EditTrigger, event: QEvent) bool
- editTriggers(self) QAbstractItemView.EditTrigger ¶
- editorDestroyed(self, editor: QObject)¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- entered¶
entered(self, index: QModelIndex) [signal]
- event(self, event: QEvent) bool ¶
- eventFilter(self, object: QObject, event: QEvent) bool ¶
- executeDelayedItemsLayout(self)¶
- expand(self, index: QModelIndex)¶
- expandAll(self)¶
- expandRecursively(self, index: QModelIndex, depth: int = - 1)¶
- expandToDepth(self, depth: int)¶
- expanded¶
expanded(self, index: QModelIndex) [signal]
- expandsOnDoubleClick(self) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, e: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, e: 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 ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasAutoScroll(self) bool ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- header(self) QHeaderView ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideColumn(self, column: int)¶
- hideEvent(self, a0: QHideEvent)¶
- horizontalOffset(self) int ¶
- horizontalScrollBar(self) QScrollBar ¶
- horizontalScrollBarPolicy(self) Qt.ScrollBarPolicy ¶
- horizontalScrollMode(self) QAbstractItemView.ScrollMode ¶
- horizontalScrollbarAction(self, action: int)¶
- horizontalScrollbarValueChanged(self, value: int)¶
- iconSize(self) QSize ¶
- iconSizeChanged¶
iconSizeChanged(self, size: QSize) [signal]
- indentation(self) int ¶
- indexAbove(self, index: QModelIndex) QModelIndex ¶
- indexAt(self, p: QPoint) QModelIndex ¶
- indexBelow(self, index: QModelIndex) QModelIndex ¶
- indexRowSizeHint(self, index: QModelIndex) int ¶
- indexWidget(self, index: QModelIndex) QWidget ¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- initViewItemOption(self, option: QStyleOptionViewItem)¶
- inputMethodEvent(self, event: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, query: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isAnimated(self) bool ¶
- isColumnHidden(self, column: int) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isExpanded(self, index: QModelIndex) bool ¶
- isFirstColumnSpanned(self, row: int, parent: QModelIndex) bool ¶
- isFullScreen(self) bool ¶
- isHeaderHidden(self) bool ¶
- isHidden(self) bool ¶
- isIndexHidden(self, index: QModelIndex) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isPersistentEditorOpen(self, index: QModelIndex) bool ¶
- isRightToLeft(self) bool ¶
- isRowHidden(self, row: int, parent: QModelIndex) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isSortingEnabled(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- itemDelegate(self) QAbstractItemDelegate ¶
- itemDelegateForColumn(self, column: int) QAbstractItemDelegate ¶
- itemDelegateForIndex(self, index: QModelIndex) QAbstractItemDelegate ¶
- itemDelegateForRow(self, row: int) QAbstractItemDelegate ¶
- itemsExpandable(self) bool ¶
- keyPressEvent(self, event: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- keyboardSearch(self, search: str)¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumViewportSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- model(self) QAbstractItemModel ¶
- mouseDoubleClickEvent(self, e: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, event: QMouseEvent)¶
- mousePressEvent(self, e: QMouseEvent)¶
- mouseReleaseEvent(self, event: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: Qt.KeyboardModifier) QModelIndex ¶
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- openPersistentEditor(self, index: QModelIndex)¶
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, e: 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, index: QModelIndex) [signal]
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- reexpand(self)¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetIndentation(self)¶
- resetVerticalScrollMode(self)¶
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeColumnToContents(self, column: int)¶
- resizeEvent(self, e: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- rootIndex(self) QModelIndex ¶
- rootIsDecorated(self) bool ¶
- rowHeight(self, index: QModelIndex) int ¶
- rowsAboutToBeRemoved(self, parent: QModelIndex, start: int, end: int)¶
- rowsInserted(self, parent: QModelIndex, start: int, end: int)¶
- rowsRemoved(self, parent: QModelIndex, first: int, last: int)¶
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- scrollBarWidgets(self, alignment: Qt.AlignmentFlag) List[QWidget] ¶
- scrollContentsBy(self, dx: int, dy: int)¶
- scrollDirtyRegion(self, dx: int, dy: int)¶
- scrollTo(self, index: QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- scrollToBottom(self)¶
- scrollToTop(self)¶
- selectAll(self)¶
- selectedIndexes(self) List[QModelIndex] ¶
- selectionBehavior(self) QAbstractItemView.SelectionBehavior ¶
- selectionCommand(self, index: QModelIndex, event: typing.Optional[QEvent] = None) QItemSelectionModel.SelectionFlag ¶
- selectionMode(self) QAbstractItemView.SelectionMode ¶
- selectionModel(self) QItemSelectionModel ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAllColumnsShowFocus(self, enable: bool)¶
- setAlternatingRowColors(self, enable: bool)¶
- setAnimated(self, enable: bool)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoExpandDelay(self, delay: int)¶
- setAutoFillBackground(self, enabled: bool)¶
- setAutoScroll(self, enable: bool)¶
- setAutoScrollMargin(self, margin: int)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setColumnHidden(self, column: int, hide: bool)¶
- setColumnWidth(self, column: int, width: int)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCornerWidget(self, widget: QWidget)¶
- setCurrentIndex(self, index: QModelIndex)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDefaultDropAction(self, dropAction: Qt.DropAction)¶
- setDirtyRegion(self, region: QRegion)¶
- setDisabled(self, a0: bool)¶
- setDragDropMode(self, behavior: QAbstractItemView.DragDropMode)¶
- setDragDropOverwriteMode(self, overwrite: bool)¶
- setDragEnabled(self, enable: bool)¶
- setDropIndicatorShown(self, enable: bool)¶
- setEditTriggers(self, triggers: QAbstractItemView.EditTrigger)¶
- setEnabled(self, a0: bool)¶
- setExpanded(self, index: QModelIndex, expand: bool)¶
- setExpandsOnDoubleClick(self, enable: bool)¶
- setFirstColumnSpanned(self, row: int, parent: QModelIndex, span: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrameRect(self, a0: QRect)¶
- setFrameShadow(self, a0: QFrame.Shadow)¶
- setFrameShape(self, a0: QFrame.Shape)¶
- setFrameStyle(self, a0: int)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHeader(self, header: QHeaderView)¶
- setHeaderHidden(self, hide: bool)¶
- setHidden(self, hidden: bool)¶
- setHorizontalScrollBar(self, scrollbar: QScrollBar)¶
- setHorizontalScrollBarPolicy(self, a0: Qt.ScrollBarPolicy)¶
- setHorizontalScrollMode(self, mode: QAbstractItemView.ScrollMode)¶
- setIconSize(self, size: QSize)¶
- setIndentation(self, i: int)¶
- setIndexWidget(self, index: QModelIndex, widget: QWidget)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setItemDelegate(self, delegate: QAbstractItemDelegate)¶
- setItemDelegateForColumn(self, column: int, delegate: QAbstractItemDelegate)¶
- setItemDelegateForRow(self, row: int, delegate: QAbstractItemDelegate)¶
- setItemsExpandable(self, enable: bool)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineWidth(self, a0: int)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMidLineWidth(self, a0: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModel(self, model: QAbstractItemModel)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setRootIndex(self, index: QModelIndex)¶
- setRootIsDecorated(self, show: bool)¶
- setRowHidden(self, row: int, parent: QModelIndex, hide: bool)¶
- setScreen(self, a0: QScreen)¶
- setSelection(self, rect: QRect, command: QItemSelectionModel.SelectionFlag)¶
- setSelectionBehavior(self, behavior: QAbstractItemView.SelectionBehavior)¶
- setSelectionMode(self, mode: QAbstractItemView.SelectionMode)¶
- setSelectionModel(self, selectionModel: QItemSelectionModel)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeAdjustPolicy(self, policy: QAbstractScrollArea.SizeAdjustPolicy)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setSortingEnabled(self, enable: bool)¶
- setState(self, state: QAbstractItemView.State)¶
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setTextElideMode(self, mode: Qt.TextElideMode)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setTreePosition(self, logicalIndex: int)¶
- setUniformRowHeights(self, uniform: bool)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVerticalScrollBar(self, scrollbar: QScrollBar)¶
- setVerticalScrollBarPolicy(self, a0: Qt.ScrollBarPolicy)¶
- setVerticalScrollMode(self, mode: QAbstractItemView.ScrollMode)¶
- setViewport(self, widget: QWidget)¶
- setViewportMargins(self, left: int, top: int, right: int, bottom: int)¶
- setViewportMargins(self, margins: QMargins) None
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- setWordWrap(self, on: bool)¶
- setupViewport(self, viewport: QWidget)¶
- show(self)¶
- showColumn(self, column: int)¶
- showDropIndicator(self) bool ¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeAdjustPolicy(self) QAbstractScrollArea.SizeAdjustPolicy ¶
- sizeHint(self) QSize ¶
- sizeHintForColumn(self, column: int) int ¶
- sizeHintForIndex(self, index: QModelIndex) QSize ¶
- sizeHintForRow(self, row: int) int ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- sortByColumn(self, column: int, order: Qt.SortOrder)¶
- stackUnder(self, a0: QWidget)¶
- startDrag(self, supportedActions: Qt.DropAction)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- state(self) QAbstractItemView.State ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- textElideMode(self) Qt.TextElideMode ¶
- thread(self) QThread ¶
- timerEvent(self, event: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- treePosition(self) int ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- uniformRowHeights(self) bool ¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, index: QModelIndex) None
- updateEditorData(self)¶
- updateEditorGeometries(self)¶
- updateGeometries(self)¶
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- verticalOffset(self) int ¶
- verticalScrollBar(self) QScrollBar ¶
- verticalScrollBarPolicy(self) Qt.ScrollBarPolicy ¶
- verticalScrollMode(self) QAbstractItemView.ScrollMode ¶
- verticalScrollbarAction(self, action: int)¶
- verticalScrollbarValueChanged(self, value: int)¶
- viewport(self) QWidget ¶
- viewportEntered¶
viewportEntered(self) [signal]
- viewportEvent(self, event: QEvent) bool ¶
- viewportMargins(self) QMargins ¶
- viewportSizeHint(self) QSize ¶
- visibleRegion(self) QRegion ¶
- visualRect(self, index: QModelIndex) QRect ¶
- visualRegionForSelection(self, selection: QItemSelection) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.StringSearchFilterProxyModel(parent=None)¶
Bases:
PyQt6.QtCore.QSortFilterProxyModel
A proxy model to filter a tree model to show both parents and children nodes if they match the regular expression string.
- __init__(parent=None)¶
- filterAcceptsRow(source_row, source_parent)¶
See Qt Documentation for more information on parameters.
This filter accepts a particular row if any of the following are true: 1. The index’s item’s text matches the reg exp. 2. Any of the index’s children match the reg exp. 3. Any of the index’s parents (up to the root) match the reg exp.
Note that the conditions specified above are searched in that order.
- filterAcceptsIndex(index)¶
Checks whether this index’s item should be accepted by the filter. This DFS method checks if either this index’s item’s text or any of its children matches the filter reg exp.
- Parameters
index (QtCore.QModelIndex) – the index to filter in or out according to regular exp.
- Returns
whether the index should be accepted by the filter
- Return type
bool
- filterAcceptsParent(index)¶
Checks whether this index’s item’s text or any of its ancestors matches the filter reg exp.
- Parameters
index (QtCore.QModelIndex) – the index to filter in or out according to regular exp.
- Returns
whether the index should be accepted by the filter
- Return type
bool
- class CheckIndexOption(value)¶
Bases:
enum.Flag
An enumeration.
- NoOption = 0¶
- IndexIsValid = 1¶
- DoNotUseParent = 2¶
- ParentIsInvalid = 4¶
- HorizontalSortHint = 2¶
- class LayoutChangeHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- HorizontalSortHint = 2¶
- NoLayoutChangeHint = 0¶
- VerticalSortHint = 1¶
- autoAcceptChildRows(self) bool ¶
- autoAcceptChildRowsChanged¶
autoAcceptChildRowsChanged(self, autoAcceptChildRows: bool) [signal]
- beginInsertColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginInsertRows(self, parent: QModelIndex, first: int, last: int)¶
- beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) bool ¶
- beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) bool ¶
- beginRemoveColumns(self, parent: QModelIndex, first: int, last: int)¶
- beginRemoveRows(self, parent: QModelIndex, first: int, last: int)¶
- beginResetModel(self)¶
- blockSignals(self, b: bool) bool ¶
- buddy(self, index: QModelIndex) QModelIndex ¶
- canDropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- canFetchMore(self, parent: QModelIndex) bool ¶
- changePersistentIndex(self, from_: QModelIndex, to: QModelIndex)¶
- changePersistentIndexList(self, from_: Iterable[QModelIndex], to: Iterable[QModelIndex])¶
- checkIndex(self, index: QModelIndex, options: QAbstractItemModel.CheckIndexOption = QAbstractItemModel.CheckIndexOption.NoOption) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- clearItemData(self, index: QModelIndex) bool ¶
- columnCount(self, parent: QModelIndex = QModelIndex()) int ¶
- columnsAboutToBeInserted¶
columnsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsAboutToBeMoved¶
columnsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationColumn: int) [signal]
- columnsAboutToBeRemoved¶
columnsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsInserted¶
columnsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- columnsMoved¶
columnsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, column: int) [signal]
- columnsRemoved¶
columnsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- connectNotify(self, signal: QMetaMethod)¶
- createIndex(self, row: int, column: int, object: object = 0) QModelIndex ¶
- customEvent(self, a0: QEvent)¶
- data(self, index: QModelIndex, role: int = Qt.DisplayRole) Any ¶
- dataChanged¶
dataChanged(self, topLeft: QModelIndex, bottomRight: QModelIndex, roles: Iterable[int] = []) [signal]
- decodeData(self, row: int, column: int, parent: QModelIndex, stream: QDataStream) bool ¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dropMimeData(self, data: QMimeData, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) bool ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- dynamicSortFilter(self) bool ¶
- dynamicSortFilterChanged¶
dynamicSortFilterChanged(self, dynamicSortFilter: bool) [signal]
- encodeData(self, indexes: Iterable[QModelIndex], stream: QDataStream)¶
- endInsertColumns(self)¶
- endInsertRows(self)¶
- endMoveColumns(self)¶
- endMoveRows(self)¶
- endRemoveColumns(self)¶
- endRemoveRows(self)¶
- endResetModel(self)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- fetchMore(self, parent: QModelIndex)¶
- filterAcceptsColumn(self, source_column: int, source_parent: QModelIndex) bool ¶
- filterCaseSensitivity(self) Qt.CaseSensitivity ¶
- filterCaseSensitivityChanged¶
filterCaseSensitivityChanged(self, filterCaseSensitivity: Qt.CaseSensitivity) [signal]
- filterKeyColumn(self) int ¶
- filterRegularExpression(self) QRegularExpression ¶
- filterRole(self) int ¶
- filterRoleChanged¶
filterRoleChanged(self, filterRole: int) [signal]
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- flags(self, index: QModelIndex) Qt.ItemFlag ¶
- hasChildren(self, parent: QModelIndex = QModelIndex()) bool ¶
- hasIndex(self, row: int, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- headerData(self, section: int, orientation: Qt.Orientation, role: int = Qt.DisplayRole) Any ¶
- headerDataChanged¶
headerDataChanged(self, orientation: Qt.Orientation, first: int, last: int) [signal]
- index(self, row: int, column: int, parent: QModelIndex = QModelIndex()) QModelIndex ¶
- inherits(self, classname: str) bool ¶
- insertColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertRow(self, row: int, parent: QModelIndex = QModelIndex()) bool ¶
- insertRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- installEventFilter(self, a0: QObject)¶
- invalidate(self)¶
- invalidateColumnsFilter(self)¶
- invalidateFilter(self)¶
- invalidateRowsFilter(self)¶
- isRecursiveFilteringEnabled(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isSortLocaleAware(self) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- itemData(self, index: QModelIndex) Dict[int, Any] ¶
- killTimer(self, id: int)¶
- layoutAboutToBeChanged¶
layoutAboutToBeChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- layoutChanged¶
layoutChanged(self, parents: Iterable[QPersistentModelIndex] = [], hint: QAbstractItemModel.LayoutChangeHint = QAbstractItemModel.NoLayoutChangeHint) [signal]
- lessThan(self, left: QModelIndex, right: QModelIndex) bool ¶
- mapFromSource(self, sourceIndex: QModelIndex) QModelIndex ¶
- mapSelectionFromSource(self, sourceSelection: QItemSelection) QItemSelection ¶
- mapSelectionToSource(self, proxySelection: QItemSelection) QItemSelection ¶
- mapToSource(self, proxyIndex: QModelIndex) QModelIndex ¶
- match(self, start: QModelIndex, role: int, value: Any, hits: int = 1, flags: Qt.MatchFlag = Qt.MatchFlags(Qt.MatchStartsWith | Qt.MatchWrap)) List[QModelIndex] ¶
- metaObject(self) QMetaObject ¶
- mimeData(self, indexes: Iterable[QModelIndex]) QMimeData ¶
- mimeTypes(self) List[str] ¶
- modelAboutToBeReset¶
modelAboutToBeReset(self) [signal]
- modelReset¶
modelReset(self) [signal]
- moveColumn(self, sourceParent: QModelIndex, sourceColumn: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRow(self, sourceParent: QModelIndex, sourceRow: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) bool ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self, child: QModelIndex) QModelIndex ¶
- parent(self) QObject
- persistentIndexList(self) List[QModelIndex] ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- recursiveFilteringEnabledChanged¶
recursiveFilteringEnabledChanged(self, recursiveFilteringEnabled: bool) [signal]
- removeColumn(self, column: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeColumns(self, column: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeEventFilter(self, a0: QObject)¶
- removeRow(self, row: int, parent: QModelIndex = QModelIndex()) bool ¶
- removeRows(self, row: int, count: int, parent: QModelIndex = QModelIndex()) bool ¶
- resetInternalData(self)¶
- revert(self)¶
- roleNames(self) Dict[int, QByteArray] ¶
- rowCount(self, parent: QModelIndex = QModelIndex()) int ¶
- rowsAboutToBeInserted¶
rowsAboutToBeInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsAboutToBeMoved¶
rowsAboutToBeMoved(self, sourceParent: QModelIndex, sourceStart: int, sourceEnd: int, destinationParent: QModelIndex, destinationRow: int) [signal]
- rowsAboutToBeRemoved¶
rowsAboutToBeRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsInserted¶
rowsInserted(self, parent: QModelIndex, first: int, last: int) [signal]
- rowsMoved¶
rowsMoved(self, parent: QModelIndex, start: int, end: int, destination: QModelIndex, row: int) [signal]
- rowsRemoved¶
rowsRemoved(self, parent: QModelIndex, first: int, last: int) [signal]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAutoAcceptChildRows(self, accept: bool)¶
- setData(self, index: QModelIndex, value: Any, role: int = Qt.EditRole) bool ¶
- setDynamicSortFilter(self, enable: bool)¶
- setFilterCaseSensitivity(self, cs: Qt.CaseSensitivity)¶
- setFilterFixedString(self, pattern: str)¶
- setFilterKeyColumn(self, column: int)¶
- setFilterRegularExpression(self, regularExpression: QRegularExpression)¶
- setFilterRegularExpression(self, pattern: str) None
- setFilterRole(self, role: int)¶
- setFilterWildcard(self, pattern: str)¶
- setHeaderData(self, section: int, orientation: Qt.Orientation, value: Any, role: int = Qt.EditRole) bool ¶
- setItemData(self, index: QModelIndex, roles: Dict[int, Any]) bool ¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- setRecursiveFilteringEnabled(self, recursive: bool)¶
- setSortCaseSensitivity(self, cs: Qt.CaseSensitivity)¶
- setSortLocaleAware(self, on: bool)¶
- setSortRole(self, role: int)¶
- setSourceModel(self, sourceModel: QAbstractItemModel)¶
- sibling(self, row: int, column: int, idx: QModelIndex) QModelIndex ¶
- signalsBlocked(self) bool ¶
- sort(self, column: int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- sortCaseSensitivity(self) Qt.CaseSensitivity ¶
- sortCaseSensitivityChanged¶
sortCaseSensitivityChanged(self, sortCaseSensitivity: Qt.CaseSensitivity) [signal]
- sortColumn(self) int ¶
- sortLocaleAwareChanged¶
sortLocaleAwareChanged(self, sortLocaleAware: bool) [signal]
- sortOrder(self) Qt.SortOrder ¶
- sortRole(self) int ¶
- sortRoleChanged¶
sortRoleChanged(self, sortRole: int) [signal]
- sourceModel(self) QAbstractItemModel ¶
- sourceModelChanged¶
sourceModelChanged(self) [signal]
- span(self, index: QModelIndex) QSize ¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- submit(self) bool ¶
- supportedDragActions(self) Qt.DropAction ¶
- supportedDropActions(self) Qt.DropAction ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- class schrodinger.application.livedesign.panel_components.BaseSelectionPopUp(parent)¶
Bases:
schrodinger.application.livedesign.panel_components.BaseSearchTreeWidgetHelper
,schrodinger.ui.qt.pop_up_widgets.PopUp
Base class for a popup used to selecting either an Assay or Live Report - this class only adds the common widgets and aesthetics to confirm both Popups look identical.
- setup()¶
Sets up the model, view, proxy and search box.
See BaseSearchTreeWidgetHelper.setUpWidgets for more info.
- reset()¶
- Box = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- HLine = 4¶
- IgnoreMask = 4¶
- NoFrame = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- Raised = 32¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- Shadow_Mask = 240¶
- class Shape(value)¶
Bases:
enum.IntEnum
An enumeration.
- NoFrame = 0¶
- Box = 1¶
- Panel = 2¶
- WinPanel = 3¶
- HLine = 4¶
- VLine = 5¶
- StyledPanel = 6¶
- Shape_Mask = 15¶
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- __init__(parent)¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- dataChanged¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- drawFrame(self, a0: QPainter)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- estimateMaxHeight()¶
Return an estimate of the maximum allowable height of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable height. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable height
- Return type
int
- estimateMaxWidth()¶
Return an estimate of the maximum allowable width of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable width. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable width
- Return type
int
- event(self, e: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(event)¶
Emit a signal every time this pop up is hidden.
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- installPopUpEventFilter(event_filter)¶
Install the provided event filter on all widgets within this pop up that can receive focus.
- Note
This function only installs the event filter on immediate children of this widget. As a result, keyboard events on grandchildren (or later descendant) widgets will not be handled properly. If this causes issues, the implementation will have to be modified.
- Parameters
event_filter (
_BasisSelectorPopUpEventFilter
) – The event filter to install
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineEditUpdated(text)¶
Update this pop up in response to the user changing the line edit text. Note that, by default, this widget will not be able to send signals during execution of this method. This prevents an infinite loop of
PopUp.lineEditUpdated
andLineEditWithPopUp.popUpUpdated
. To modify this behavior, subclassLineEditWithPopUp
and reimplementLineEditWithPopUp.popUpUpdated
.- Parameters
text (str) – The current text of the line edit
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popUpResized¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resetWidgets()¶
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- searchTextChanged(search_text)¶
Set the search term to the sort filter proxy model to show only the matching tree items. Any filtered in items will be expanded to show all children. Otherwise, all the items will be collapsed.
- Parameters
search_text (str) – search terms to apply to proxy model.
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrameRect(self, a0: QRect)¶
- setFrameShadow(self, a0: QFrame.Shadow)¶
- setFrameShape(self, a0: QFrame.Shape)¶
- setFrameStyle(self, a0: int)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineWidth(self, a0: int)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMidLineWidth(self, a0: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpLayout()¶
Sets up the layout, but needs to be added to the widget by the subclass.
- setUpWidgets(model, view)¶
Sets up the search box, model, view, and search proxy.
- Parameters
model (
QtGui.QStandardItemModel
) – model for the treeview (
QtWidgets.QTreeView
) – view for the model
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(event)¶
Emit a signal every time this pop up is shown.
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- subWidgetHasFocus()¶
Return True if any widget within the pop up has focus. False otherwise.
- Note
Note that combo boxes have various list view and frame children that can receive focus (and which of these widgets can receive focus varies by OS). As a result, we check the full ancestry of the focus widget here rather than just checking it’s parent. Also note that we can’t use Qt’s isAncestorOf() function to check ancestry, since combo box drop downs are considered to be their own window and isAncestorOf() requires ancestors to be part of the same window.
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- visibilityChanged¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.BaseLiveReportSelectionPopup(parent)¶
Bases:
schrodinger.application.livedesign.panel_components.BaseSelectionPopUp
A
BaseSelectionPopup
that also has a combo box that can be used to select how Live Report data is organized.- Variables
LRSortMethodChanged (QtCore.pyqtSignal) – signal indicating that a new live report sort method has been chosen; emitted with an
LRSort
value
- LRSortMethodChanged¶
- setUpWidgets(model, view)¶
Sets up the search box, model, view, and search proxy.
- Parameters
model (
QtGui.QStandardItemModel
) – model for the treeview (
QtWidgets.QTreeView
) – view for the model
- setUpLayout()¶
Sets up the layout, but needs to be added to the widget by the subclass.
- Box = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- HLine = 4¶
- IgnoreMask = 4¶
- NoFrame = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- Raised = 32¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- Shadow_Mask = 240¶
- class Shape(value)¶
Bases:
enum.IntEnum
An enumeration.
- NoFrame = 0¶
- Box = 1¶
- Panel = 2¶
- WinPanel = 3¶
- HLine = 4¶
- VLine = 5¶
- StyledPanel = 6¶
- Shape_Mask = 15¶
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- __init__(parent)¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- dataChanged¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- drawFrame(self, a0: QPainter)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- estimateMaxHeight()¶
Return an estimate of the maximum allowable height of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable height. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable height
- Return type
int
- estimateMaxWidth()¶
Return an estimate of the maximum allowable width of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable width. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable width
- Return type
int
- event(self, e: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(event)¶
Emit a signal every time this pop up is hidden.
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- installPopUpEventFilter(event_filter)¶
Install the provided event filter on all widgets within this pop up that can receive focus.
- Note
This function only installs the event filter on immediate children of this widget. As a result, keyboard events on grandchildren (or later descendant) widgets will not be handled properly. If this causes issues, the implementation will have to be modified.
- Parameters
event_filter (
_BasisSelectorPopUpEventFilter
) – The event filter to install
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineEditUpdated(text)¶
Update this pop up in response to the user changing the line edit text. Note that, by default, this widget will not be able to send signals during execution of this method. This prevents an infinite loop of
PopUp.lineEditUpdated
andLineEditWithPopUp.popUpUpdated
. To modify this behavior, subclassLineEditWithPopUp
and reimplementLineEditWithPopUp.popUpUpdated
.- Parameters
text (str) – The current text of the line edit
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popUpResized¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- reset()¶
- resetWidgets()¶
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- searchTextChanged(search_text)¶
Set the search term to the sort filter proxy model to show only the matching tree items. Any filtered in items will be expanded to show all children. Otherwise, all the items will be collapsed.
- Parameters
search_text (str) – search terms to apply to proxy model.
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrameRect(self, a0: QRect)¶
- setFrameShadow(self, a0: QFrame.Shadow)¶
- setFrameShape(self, a0: QFrame.Shape)¶
- setFrameStyle(self, a0: int)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineWidth(self, a0: int)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMidLineWidth(self, a0: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- setup()¶
Sets up the model, view, proxy and search box.
See BaseSearchTreeWidgetHelper.setUpWidgets for more info.
- show(self)¶
- showEvent(event)¶
Emit a signal every time this pop up is shown.
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- subWidgetHasFocus()¶
Return True if any widget within the pop up has focus. False otherwise.
- Note
Note that combo boxes have various list view and frame children that can receive focus (and which of these widgets can receive focus varies by OS). As a result, we check the full ancestry of the focus widget here rather than just checking it’s parent. Also note that we can’t use Qt’s isAncestorOf() function to check ancestry, since combo box drop downs are considered to be their own window and isAncestorOf() requires ancestors to be part of the same window.
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- visibilityChanged¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.LiveReportSelectionPopup(parent)¶
Bases:
schrodinger.application.livedesign.panel_components.BaseLiveReportSelectionPopup
A popup for selecting Live Reports. Contains a refresh button.
- refreshRequested¶
- PRE_REFRESH_TEXT = 'Refresh'¶
- REFRESHING_TEXT = 'Refreshing...'¶
- setUpWidgets(model, view)¶
Sets up the search box, model, view, and search proxy.
- Parameters
model (
QtGui.QStandardItemModel
) – model for the treeview (
QtWidgets.QTreeView
) – view for the model
- setUpLayout()¶
Sets up the layout, but needs to be added to the widget by the subclass.
- onRefreshClicked()¶
- onRefreshCompleted()¶
- Box = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- HLine = 4¶
- IgnoreMask = 4¶
- LRSortMethodChanged¶
- NoFrame = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- Raised = 32¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- Shadow_Mask = 240¶
- class Shape(value)¶
Bases:
enum.IntEnum
An enumeration.
- NoFrame = 0¶
- Box = 1¶
- Panel = 2¶
- WinPanel = 3¶
- HLine = 4¶
- VLine = 5¶
- StyledPanel = 6¶
- Shape_Mask = 15¶
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- __init__(parent)¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- dataChanged¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- drawFrame(self, a0: QPainter)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- estimateMaxHeight()¶
Return an estimate of the maximum allowable height of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable height. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable height
- Return type
int
- estimateMaxWidth()¶
Return an estimate of the maximum allowable width of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable width. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable width
- Return type
int
- event(self, e: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(event)¶
Emit a signal every time this pop up is hidden.
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- installPopUpEventFilter(event_filter)¶
Install the provided event filter on all widgets within this pop up that can receive focus.
- Note
This function only installs the event filter on immediate children of this widget. As a result, keyboard events on grandchildren (or later descendant) widgets will not be handled properly. If this causes issues, the implementation will have to be modified.
- Parameters
event_filter (
_BasisSelectorPopUpEventFilter
) – The event filter to install
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineEditUpdated(text)¶
Update this pop up in response to the user changing the line edit text. Note that, by default, this widget will not be able to send signals during execution of this method. This prevents an infinite loop of
PopUp.lineEditUpdated
andLineEditWithPopUp.popUpUpdated
. To modify this behavior, subclassLineEditWithPopUp
and reimplementLineEditWithPopUp.popUpUpdated
.- Parameters
text (str) – The current text of the line edit
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popUpResized¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- reset()¶
- resetWidgets()¶
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- searchTextChanged(search_text)¶
Set the search term to the sort filter proxy model to show only the matching tree items. Any filtered in items will be expanded to show all children. Otherwise, all the items will be collapsed.
- Parameters
search_text (str) – search terms to apply to proxy model.
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrameRect(self, a0: QRect)¶
- setFrameShadow(self, a0: QFrame.Shadow)¶
- setFrameShape(self, a0: QFrame.Shape)¶
- setFrameStyle(self, a0: int)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineWidth(self, a0: int)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMidLineWidth(self, a0: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- setup()¶
Sets up the model, view, proxy and search box.
See BaseSearchTreeWidgetHelper.setUpWidgets for more info.
- show(self)¶
- showEvent(event)¶
Emit a signal every time this pop up is shown.
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- subWidgetHasFocus()¶
Return True if any widget within the pop up has focus. False otherwise.
- Note
Note that combo boxes have various list view and frame children that can receive focus (and which of these widgets can receive focus varies by OS). As a result, we check the full ancestry of the focus widget here rather than just checking it’s parent. Also note that we can’t use Qt’s isAncestorOf() function to check ancestry, since combo box drop downs are considered to be their own window and isAncestorOf() requires ancestors to be part of the same window.
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- visibilityChanged¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.LiveReportSelectionComboBox(parent, lr_widget)¶
Bases:
schrodinger.ui.qt.pop_up_widgets.ComboBoxWithPopUp
A custom Combo Box to show a Popup (LiveReportSelectionPopup) when the user clicks on the menu arrow. Also provides a “refresh” button to update the list of live reports from the host.
- Variables
refreshRequested – signal indicating that a refresh was requested from the pop up.
liveReportSelected (
QtCore.pyqtSignal
) – signal emitted when a live report has been chosen in the combo box, with an argument of the live report id.LRSortMethodChanged (QtCore.pyqtSignal) – signal indicating that a new live report sort method has been chosen; emitted with an
LRSort
value
- refreshRequested¶
- liveReportSelected¶
- LRSortMethodChanged¶
- __init__(parent, lr_widget)¶
Create an instance.
- Parameters
parent (
PyQt5.QtWidgets.QWidget
) – the Qt parent widget
- reset()¶
Reset the combo box to initial state.
- setData(live_reports)¶
Load in the live reports to the Tree widget.
- Parameters
live_reports (List of BaseLDTreeItemWrapper) – live reports to be added.
- addNewLiveReport()¶
Generates a new name for the live report depending on any reports selected in the tree and the current date. Sets value on combo box for a new report.
- Returns
Name of new live report
- Return type
str
- onLiveReportSelected(item)¶
Slot connected to tree view’s selection.
- Parameters
item (BaseLDTreeItemWrapper) – selected live report item in the tree view.
- setCurrentLR(lr_id)¶
Sets the current livereport to the item pointed by lr_id
- Parameters
lr_id (str) – Livereport id
- Returns
True if success else False
- Return type
bool
- onRefreshCompleted()¶
- ALIGN_AUTO = 4¶
- ALIGN_BOTTOM = 1¶
- ALIGN_LEFT = 3¶
- ALIGN_RIGHT = 2¶
- ALIGN_TOP = 0¶
- AdjustToContents = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToMinimumContentsLengthWithIcon = 2¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- InsertAfterCurrent = 4¶
- InsertAlphabetically = 6¶
- InsertAtBottom = 3¶
- InsertAtCurrent = 2¶
- InsertAtTop = 1¶
- InsertBeforeCurrent = 5¶
- class InsertPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- NoInsert = 0¶
- InsertAtTop = 1¶
- InsertAtCurrent = 2¶
- InsertAtBottom = 3¶
- InsertAfterCurrent = 4¶
- InsertBeforeCurrent = 5¶
- InsertAlphabetically = 6¶
- NoInsert = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- class SizeAdjustPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- AdjustToContents = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToMinimumContentsLengthWithIcon = 2¶
- __len__()¶
Return len(self).
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activated¶
activated(self, index: int) [signal]
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- addItem(self, text: str, userData: Any = None)¶
- addItem(self, icon: QIcon, text: str, userData: Any = None) None
- addItems(self, texts: Iterable[str])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, e: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearEditText(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- completer(self) QCompleter ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, e: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- count(self) int ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- currentData(self, role: int = Qt.UserRole) Any ¶
- currentIndex(self) int ¶
- currentIndexChanged¶
currentIndexChanged(self, index: int) [signal]
- currentText(self) str ¶
- currentTextChanged¶
currentTextChanged(self, a0: str) [signal]
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- duplicatesEnabled(self) bool ¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- editTextChanged¶
editTextChanged(self, a0: str) [signal]
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, event: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findData(self, data: Any, role: int = Qt.UserRole, flags: Qt.MatchFlag = static_cast<QFlags<Qt.MatchFlag>>(Qt.MatchExactly|Qt.MatchCaseSensitive)) int ¶
- findText(self, text: str, flags: Qt.MatchFlag = static_cast<QFlags<Qt.MatchFlag>>(Qt.MatchExactly|Qt.MatchCaseSensitive)) int ¶
- focusInEvent(self, e: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, e: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasFrame(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, e: QHideEvent)¶
- hidePopup(self)¶
- highlighted¶
highlighted(self, index: int) [signal]
- iconSize(self) QSize ¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionComboBox)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- inputMethodQuery(self, query: Qt.InputMethodQuery, argument: Any) Any
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- insertItem(self, index: int, text: str, userData: Any = None)¶
- insertItem(self, index: int, icon: QIcon, text: str, userData: Any = None) None
- insertItems(self, index: int, texts: Iterable[str])¶
- insertPolicy(self) QComboBox.InsertPolicy ¶
- insertSeparator(self, index: int)¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEditable(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- itemData(self, index: int, role: int = Qt.UserRole) Any ¶
- itemDelegate(self) QAbstractItemDelegate ¶
- itemIcon(self, index: int) QIcon ¶
- itemText(self, index: int) str ¶
- keyPressEvent(self, e: QKeyEvent)¶
- keyReleaseEvent(self, e: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineEdit(self) QLineEdit ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maxCount(self) int ¶
- maxVisibleItems(self) int ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumContentsLength(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- model(self) QAbstractItemModel ¶
- modelColumn(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, e: QMouseEvent)¶
- mouseReleaseEvent(self, e: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(event)¶
Update the pop up position and size when the widget is moved
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, e: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- placeholderText(self) str ¶
- popUpClosing¶
- popUpUpdated(text)¶
Whenever the pop up emits the dataChanged signal, update the widget. This function should be implemented in subclasses if required.
- Parameters
text (str) – The text emitted with the dataChanged signal
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- removeItem(self, index: int)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(event)¶
Update the pop up position and size when the widget is resized
- restoreGeometry(self, geometry: QByteArray) bool ¶
- rootModelIndex(self) QModelIndex ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setCompleter(self, c: QCompleter)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCurrentIndex(self, index: int)¶
- setCurrentText(self, text: str)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setDuplicatesEnabled(self, enable: bool)¶
- setEditText(self, text: str)¶
- setEditable(self, editable: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrame(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setIconSize(self, size: QSize)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setInsertPolicy(self, policy: QComboBox.InsertPolicy)¶
- setItemData(self, index: int, value: Any, role: int = Qt.UserRole)¶
- setItemDelegate(self, delegate: QAbstractItemDelegate)¶
- setItemIcon(self, index: int, icon: QIcon)¶
- setItemText(self, index: int, text: str)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineEdit(self, edit: QLineEdit)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaxCount(self, max: int)¶
- setMaxVisibleItems(self, maxItems: int)¶
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumContentsLength(self, characters: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModel(self, model: QAbstractItemModel)¶
- setModelColumn(self, visibleColumn: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPlaceholderText(self, placeholderText: str)¶
- setPopUp(pop_up)¶
Set the pop up widget to the specified pop up widget instance.
- setPopUpClass(pop_up_class)¶
If a pop up class was not specified via the constructor, use this method to set it after the fact. Useful for placing widgets into
*.ui
files.
- setPopupHalign(popup_halign)¶
Specify whether the pop up should have its right edge aligned with the right edge of the widget (ALIGN_RIGHT), have its left edge aligned with the left edge of the widget (ALIGN_LEFT), or have it’s horizontal alignment determined automatically (ALIGN_AUTO). Note that this setting is moot if the widget is wider than the pop up’s size hint, as the pop up will be extended to the same width as the widget.
- Parameters
popup_halign (int) – The desired horizontal alignment of the pop up. Must be one of ALIGN_RIGHT, ALIGN_LEFT, or ALIGN_AUTO.
- setPopupValign(popup_valign)¶
Specify whether the pop up should appear above (ALIGN_TOP), below (ALIGN_BOTTOM) the widget, or have it’s vertical alignment determined automatically (ALIGN_AUTO).
- Parameters
popup_valign (int) – The desired vertical alignment of the pop up. Must be either ALIGN_TOP, ALIGN_BOTTOM, or ALIGN_AUTO.
- setProperty(self, name: str, value: Any) bool ¶
- setRootModelIndex(self, index: QModelIndex)¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeAdjustPolicy(self, policy: QComboBox.SizeAdjustPolicy)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setValidator(self, v: QValidator)¶
- setView(self, itemView: QAbstractItemView)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(event)¶
Update the pop up position and size when the widget is shown
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showPopup(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeAdjustPolicy(self) QComboBox.SizeAdjustPolicy ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- textActivated¶
textActivated(self, a0: str) [signal]
- textHighlighted¶
textHighlighted(self, a0: str) [signal]
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- validator(self) QValidator ¶
- view(self) QAbstractItemView ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, e: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.LiveReportTemplateSelectorCombo(parent=None)¶
Bases:
PyQt6.QtWidgets.QComboBox
QComboBox with a placeholder text as the first time.
- Variables
templateSelected (QtCore.pyqtSignal) – Emitted when the template selection changes. Emitted with the template id of the selection
- templateSelected¶
- PLACEHOLDER_TEXT = 'Blank Template'¶
- __init__(parent=None)¶
- reset()¶
Reset the combobox items to default values
- setTemplates(templates)¶
Reset and set items on the combobox in alphabetical order and by global ID.
- Parameters
templates (List[LiveReport]) – List of templates
- AdjustToContents = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToMinimumContentsLengthWithIcon = 2¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- InsertAfterCurrent = 4¶
- InsertAlphabetically = 6¶
- InsertAtBottom = 3¶
- InsertAtCurrent = 2¶
- InsertAtTop = 1¶
- InsertBeforeCurrent = 5¶
- class InsertPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- NoInsert = 0¶
- InsertAtTop = 1¶
- InsertAtCurrent = 2¶
- InsertAtBottom = 3¶
- InsertAfterCurrent = 4¶
- InsertBeforeCurrent = 5¶
- InsertAlphabetically = 6¶
- NoInsert = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- class SizeAdjustPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- AdjustToContents = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToMinimumContentsLengthWithIcon = 2¶
- __len__()¶
Return len(self).
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activated¶
activated(self, index: int) [signal]
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- addItem(self, text: str, userData: Any = None)¶
- addItem(self, icon: QIcon, text: str, userData: Any = None) None
- addItems(self, texts: Iterable[str])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, e: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearEditText(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- completer(self) QCompleter ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, e: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- count(self) int ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- currentData(self, role: int = Qt.UserRole) Any ¶
- currentIndex(self) int ¶
- currentIndexChanged¶
currentIndexChanged(self, index: int) [signal]
- currentText(self) str ¶
- currentTextChanged¶
currentTextChanged(self, a0: str) [signal]
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- duplicatesEnabled(self) bool ¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- editTextChanged¶
editTextChanged(self, a0: str) [signal]
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, event: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findData(self, data: Any, role: int = Qt.UserRole, flags: Qt.MatchFlag = static_cast<QFlags<Qt.MatchFlag>>(Qt.MatchExactly|Qt.MatchCaseSensitive)) int ¶
- findText(self, text: str, flags: Qt.MatchFlag = static_cast<QFlags<Qt.MatchFlag>>(Qt.MatchExactly|Qt.MatchCaseSensitive)) int ¶
- focusInEvent(self, e: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, e: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasFrame(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, e: QHideEvent)¶
- hidePopup(self)¶
- highlighted¶
highlighted(self, index: int) [signal]
- iconSize(self) QSize ¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionComboBox)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- inputMethodQuery(self, query: Qt.InputMethodQuery, argument: Any) Any
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- insertItem(self, index: int, text: str, userData: Any = None)¶
- insertItem(self, index: int, icon: QIcon, text: str, userData: Any = None) None
- insertItems(self, index: int, texts: Iterable[str])¶
- insertPolicy(self) QComboBox.InsertPolicy ¶
- insertSeparator(self, index: int)¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEditable(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- itemData(self, index: int, role: int = Qt.UserRole) Any ¶
- itemDelegate(self) QAbstractItemDelegate ¶
- itemIcon(self, index: int) QIcon ¶
- itemText(self, index: int) str ¶
- keyPressEvent(self, e: QKeyEvent)¶
- keyReleaseEvent(self, e: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineEdit(self) QLineEdit ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maxCount(self) int ¶
- maxVisibleItems(self) int ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumContentsLength(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- model(self) QAbstractItemModel ¶
- modelColumn(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, e: QMouseEvent)¶
- mouseReleaseEvent(self, e: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, e: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- placeholderText(self) str ¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- removeItem(self, index: int)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, e: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- rootModelIndex(self) QModelIndex ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setCompleter(self, c: QCompleter)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCurrentIndex(self, index: int)¶
- setCurrentText(self, text: str)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setDuplicatesEnabled(self, enable: bool)¶
- setEditText(self, text: str)¶
- setEditable(self, editable: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrame(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setIconSize(self, size: QSize)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setInsertPolicy(self, policy: QComboBox.InsertPolicy)¶
- setItemData(self, index: int, value: Any, role: int = Qt.UserRole)¶
- setItemDelegate(self, delegate: QAbstractItemDelegate)¶
- setItemIcon(self, index: int, icon: QIcon)¶
- setItemText(self, index: int, text: str)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineEdit(self, edit: QLineEdit)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaxCount(self, max: int)¶
- setMaxVisibleItems(self, maxItems: int)¶
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumContentsLength(self, characters: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModel(self, model: QAbstractItemModel)¶
- setModelColumn(self, visibleColumn: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPlaceholderText(self, placeholderText: str)¶
- setProperty(self, name: str, value: Any) bool ¶
- setRootModelIndex(self, index: QModelIndex)¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeAdjustPolicy(self, policy: QComboBox.SizeAdjustPolicy)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setValidator(self, v: QValidator)¶
- setView(self, itemView: QAbstractItemView)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, e: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showPopup(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeAdjustPolicy(self) QComboBox.SizeAdjustPolicy ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- textActivated¶
textActivated(self, a0: str) [signal]
- textHighlighted¶
textHighlighted(self, a0: str) [signal]
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- validator(self) QValidator ¶
- view(self) QAbstractItemView ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, e: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.LiveReportSelector(parent, lr_widget, allow_add=True)¶
Bases:
schrodinger.ui.qt.widgetmixins.basicmixins.InitMixin
,PyQt6.QtWidgets.QWidget
A widget containing a
LiveReportSelectionComboBox
and a create new LR button.- Variables
refreshRequested (QtCore.pyqtSignal) – signals that the user has requested a refresh by clicking on the refresh button
liveReportSelected (
QtCore.pyqtSignal
) – signal emitted when a live report has been chosen in the combo box, with an argument of the live report id.newLiveReportSelected (
QtCore.pyqtSignal
) – signal emitted when a live report has been created, with an argument of the live report id.LRSortMethodChanged (QtCore.pyqtSignal) – signal indicating that a new live report sort method has been chosen; emitted with an
LRSort
value
- refreshRequested¶
- liveReportSelected¶
- newLiveReportSelected¶
- LRSortMethodChanged¶
- __init__(parent, lr_widget, allow_add=True)¶
- initSetUp()¶
Creates widget from
ui
and stores itui_widget
.Suggested subclass use: create and initialize subwidgets, and connect signals.
- initLayOut()¶
Create a vertical layout for the widget (
widget_layout
) and populate it with two vertical sub-layouts:main_layout
andbottom_layout
.If the user has specified the
ui
data member, insert the resultantui_widget
intomain_layout
.If the widget already has a layout defined, this method will produce a warning (but not a traceback).
main_layout
andbottom_layout
will 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.
- 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.
- setData(live_reports)¶
Load in the live reports to the Tree widget on the combo box.
- Parameters
live_reports (List of BaseLDTreeItemWrapper) – live reports to be added.
- setLiveReport(live_report_id)¶
Set the active live report, refreshing the available list if necessary.
- Parameters
live_report_id (str) – the live report ID of the desired live report
- Returns
True if success else False
- Return type
bool
- onRefreshCompleted()¶
- addNewLiveReport()¶
- setComboToSelect()¶
Sets live report combo to Select mode
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- inherits(self, classname: str) bool ¶
- initFinalize()¶
Suggested subclass use: perform any remaining initialization.
- initPainter(self, painter: QPainter)¶
- initSetOptions()¶
Suggested subclass use: set instance variables, excluding layouts and subwidgets. Also use here to (optionally) apply the legacy stylesheet spacing settings (PANEL-19101).
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWidgetLayout()¶
Set the widget layout
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- ui_module = None¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.AddNewLineEdit(*args, **kwargs)¶
Bases:
PyQt6.QtWidgets.QLineEdit
- default_text = ''¶
- __init__(*args, **kwargs)¶
- focusInEvent(self, a0: QFocusEvent)¶
- class ActionPosition(value)¶
Bases:
enum.Enum
An enumeration.
- LeadingPosition = 0¶
- TrailingPosition = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class EchoMode(value)¶
Bases:
enum.Enum
An enumeration.
- Normal = 0¶
- NoEcho = 1¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- IgnoreMask = 4¶
- LeadingPosition = 0¶
- NoEcho = 1¶
- Normal = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- TrailingPosition = 1¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, a0: QAction)¶
- addAction(self, action: QAction, position: QLineEdit.ActionPosition) None
- addAction(self, icon: QIcon, position: QLineEdit.ActionPosition) QAction
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- alignment(self) Qt.AlignmentFlag ¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- backspace(self)¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- completer(self) QCompleter ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- copy(self)¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createStandardContextMenu(self) QMenu ¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- cursorBackward(self, mark: bool, steps: int = 1)¶
- cursorForward(self, mark: bool, steps: int = 1)¶
- cursorMoveStyle(self) Qt.CursorMoveStyle ¶
- cursorPosition(self) int ¶
- cursorPositionAt(self, pos: QPoint) int ¶
- cursorPositionChanged¶
cursorPositionChanged(self, a0: int, a1: int) [signal]
- cursorRect(self) QRect ¶
- cursorWordBackward(self, mark: bool)¶
- cursorWordForward(self, mark: bool)¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- cut(self)¶
- del_(self)¶
- deleteLater(self)¶
- depth(self) int ¶
- deselect(self)¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- displayText(self) str ¶
- dragEnabled(self) bool ¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, e: QDragLeaveEvent)¶
- dragMoveEvent(self, e: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- echoMode(self) QLineEdit.EchoMode ¶
- editingFinished¶
editingFinished(self) [signal]
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- end(self, mark: bool)¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasAcceptableInput(self) bool ¶
- hasFocus(self) bool ¶
- hasFrame(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasSelectedText(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- home(self, mark: bool)¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMask(self) str ¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- inputMethodQuery(self, property: Qt.InputMethodQuery, argument: Any) Any
- inputRejected¶
inputRejected(self) [signal]
- insert(self, a0: str)¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isClearButtonEnabled(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isModified(self) bool ¶
- isReadOnly(self) bool ¶
- isRedoAvailable(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isUndoAvailable(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maxLength(self) int ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- paste(self)¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- placeholderText(self) str ¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- redo(self)¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- returnPressed¶
returnPressed(self) [signal]
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- selectAll(self)¶
- selectedText(self) str ¶
- selectionChanged¶
selectionChanged(self) [signal]
- selectionEnd(self) int ¶
- selectionLength(self) int ¶
- selectionStart(self) int ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAlignment(self, flag: Qt.AlignmentFlag)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setClearButtonEnabled(self, enable: bool)¶
- setCompleter(self, completer: QCompleter)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setCursorMoveStyle(self, style: Qt.CursorMoveStyle)¶
- setCursorPosition(self, a0: int)¶
- setDisabled(self, a0: bool)¶
- setDragEnabled(self, b: bool)¶
- setEchoMode(self, a0: QLineEdit.EchoMode)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrame(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMask(self, inputMask: str)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaxLength(self, a0: int)¶
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModified(self, a0: bool)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPlaceholderText(self, a0: str)¶
- setProperty(self, name: str, value: Any) bool ¶
- setReadOnly(self, a0: bool)¶
- setScreen(self, a0: QScreen)¶
- setSelection(self, a0: int, a1: int)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setText(self, a0: str)¶
- setTextMargins(self, left: int, top: int, right: int, bottom: int)¶
- setTextMargins(self, margins: QMargins) None
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setValidator(self, a0: QValidator)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- text(self) str ¶
- textChanged¶
textChanged(self, a0: str) [signal]
- textEdited¶
textEdited(self, a0: str) [signal]
- textMargins(self) QMargins ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- undo(self)¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- validator(self) QValidator ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.AbstractSelectionPopUp(parent)¶
Bases:
schrodinger.application.livedesign.panel_components.BaseSelectionPopUp
A popup for selecting LiveDesign values.
- newValueSelected¶
- SEARCH_MODE_PAGE = 0¶
- CREATE_MODE_PAGE = 1¶
- SEARCH_TEXT = 'Placeholder search text'¶
- setup()¶
Sets up the model, view, proxy and search box.
See BaseSearchTreeWidgetHelper.setUpWidgets for more info.
- selectNewValue()¶
Creates a new value to add to the line edit.
- setNumSelectedRows(num_rows)¶
- setDefaultText(text)¶
- Box = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- HLine = 4¶
- IgnoreMask = 4¶
- NoFrame = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- Raised = 32¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- Shadow_Mask = 240¶
- class Shape(value)¶
Bases:
enum.IntEnum
An enumeration.
- NoFrame = 0¶
- Box = 1¶
- Panel = 2¶
- WinPanel = 3¶
- HLine = 4¶
- VLine = 5¶
- StyledPanel = 6¶
- Shape_Mask = 15¶
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- __init__(parent)¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- dataChanged¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- drawFrame(self, a0: QPainter)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- estimateMaxHeight()¶
Return an estimate of the maximum allowable height of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable height. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable height
- Return type
int
- estimateMaxWidth()¶
Return an estimate of the maximum allowable width of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable width. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable width
- Return type
int
- event(self, e: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(event)¶
Emit a signal every time this pop up is hidden.
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- installPopUpEventFilter(event_filter)¶
Install the provided event filter on all widgets within this pop up that can receive focus.
- Note
This function only installs the event filter on immediate children of this widget. As a result, keyboard events on grandchildren (or later descendant) widgets will not be handled properly. If this causes issues, the implementation will have to be modified.
- Parameters
event_filter (
_BasisSelectorPopUpEventFilter
) – The event filter to install
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineEditUpdated(text)¶
Update this pop up in response to the user changing the line edit text. Note that, by default, this widget will not be able to send signals during execution of this method. This prevents an infinite loop of
PopUp.lineEditUpdated
andLineEditWithPopUp.popUpUpdated
. To modify this behavior, subclassLineEditWithPopUp
and reimplementLineEditWithPopUp.popUpUpdated
.- Parameters
text (str) – The current text of the line edit
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popUpResized¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- reset()¶
- resetWidgets()¶
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- searchTextChanged(search_text)¶
Set the search term to the sort filter proxy model to show only the matching tree items. Any filtered in items will be expanded to show all children. Otherwise, all the items will be collapsed.
- Parameters
search_text (str) – search terms to apply to proxy model.
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrameRect(self, a0: QRect)¶
- setFrameShadow(self, a0: QFrame.Shadow)¶
- setFrameShape(self, a0: QFrame.Shape)¶
- setFrameStyle(self, a0: int)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineWidth(self, a0: int)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMidLineWidth(self, a0: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpLayout()¶
Sets up the layout, but needs to be added to the widget by the subclass.
- setUpWidgets(model, view)¶
Sets up the search box, model, view, and search proxy.
- Parameters
model (
QtGui.QStandardItemModel
) – model for the treeview (
QtWidgets.QTreeView
) – view for the model
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(event)¶
Emit a signal every time this pop up is shown.
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- subWidgetHasFocus()¶
Return True if any widget within the pop up has focus. False otherwise.
- Note
Note that combo boxes have various list view and frame children that can receive focus (and which of these widgets can receive focus varies by OS). As a result, we check the full ancestry of the focus widget here rather than just checking it’s parent. Also note that we can’t use Qt’s isAncestorOf() function to check ancestry, since combo box drop downs are considered to be their own window and isAncestorOf() requires ancestors to be part of the same window.
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- visibilityChanged¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.AbstractSelectionLineEdit(parent, initial_rows=1)¶
Bases:
schrodinger.ui.qt.pop_up_widgets.LineEditWithPopUp
Custom Line Edit to show a Selection PopUp when the user clicks on the table cell.
- newValueSelected¶
- valueSelected¶
- numSelectedRowsChanged¶
- POPUP_CLS = NotImplemented¶
- __init__(parent, initial_rows=1)¶
- Parameters
parent (
PyQt5.QtWidgets.QWidget
) – the Qt parent widgetinitial_rows (int) – Initial rows selected on creation of widget
- addNew(name)¶
Adds the new value name to the table cell and the popup tree.
- Parameters
name (str) – new value name
- onApplyToRowsClicked()¶
Trigger PopUpDelegate.commitDataToSelected signal
- onValueSelected(item)¶
Slot connected to the view’s selection.
- Parameters
item (BaseLDTreeItemWrapper) – selected item in the tree view.
- addData(data)¶
Add the data value to the line edit.
- ALIGN_AUTO = 4¶
- ALIGN_BOTTOM = 1¶
- ALIGN_LEFT = 3¶
- ALIGN_RIGHT = 2¶
- ALIGN_TOP = 0¶
- class ActionPosition(value)¶
Bases:
enum.Enum
An enumeration.
- LeadingPosition = 0¶
- TrailingPosition = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class EchoMode(value)¶
Bases:
enum.Enum
An enumeration.
- Normal = 0¶
- NoEcho = 1¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- IgnoreMask = 4¶
- LeadingPosition = 0¶
- NoEcho = 1¶
- Normal = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- TrailingPosition = 1¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, a0: QAction)¶
- addAction(self, action: QAction, position: QLineEdit.ActionPosition) None
- addAction(self, icon: QIcon, position: QLineEdit.ActionPosition) QAction
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- alignment(self) Qt.AlignmentFlag ¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- backspace(self)¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- completer(self) QCompleter ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- copy(self)¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createStandardContextMenu(self) QMenu ¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- cursorBackward(self, mark: bool, steps: int = 1)¶
- cursorForward(self, mark: bool, steps: int = 1)¶
- cursorMoveStyle(self) Qt.CursorMoveStyle ¶
- cursorPosition(self) int ¶
- cursorPositionAt(self, pos: QPoint) int ¶
- cursorPositionChanged¶
cursorPositionChanged(self, a0: int, a1: int) [signal]
- cursorRect(self) QRect ¶
- cursorWordBackward(self, mark: bool)¶
- cursorWordForward(self, mark: bool)¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- cut(self)¶
- del_(self)¶
- deleteLater(self)¶
- depth(self) int ¶
- deselect(self)¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- displayText(self) str ¶
- dragEnabled(self) bool ¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, e: QDragLeaveEvent)¶
- dragMoveEvent(self, e: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- echoMode(self) QLineEdit.EchoMode ¶
- editingFinished¶
editingFinished(self) [signal]
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- end(self, mark: bool)¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(event)¶
When the line edit receives focus, show the pop up
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasAcceptableInput(self) bool ¶
- hasFocus(self) bool ¶
- hasFrame(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasSelectedText(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- home(self, mark: bool)¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMask(self) str ¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- inputMethodQuery(self, property: Qt.InputMethodQuery, argument: Any) Any
- inputRejected¶
inputRejected(self) [signal]
- insert(self, a0: str)¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isClearButtonEnabled(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isModified(self) bool ¶
- isReadOnly(self) bool ¶
- isRedoAvailable(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isUndoAvailable(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maxLength(self) int ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(event)¶
If the user clicks on the line edit and it already has focus, show the pop up again (in case the user hid it with a key press)
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(event)¶
Update the pop up position and size when the widget is moved
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- paste(self)¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- placeholderText(self) str ¶
- popUpClosing¶
- popUpUpdated(text)¶
Whenever the pop up emits the dataChanged signal, update the widget. This function should be implemented in subclasses if required.
- Parameters
text (str) – The text emitted with the dataChanged signal
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- redo(self)¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(event)¶
Update the pop up position and size when the widget is resized
- restoreGeometry(self, geometry: QByteArray) bool ¶
- returnPressed¶
returnPressed(self) [signal]
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- selectAll(self)¶
- selectedText(self) str ¶
- selectionChanged¶
selectionChanged(self) [signal]
- selectionEnd(self) int ¶
- selectionLength(self) int ¶
- selectionStart(self) int ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAlignment(self, flag: Qt.AlignmentFlag)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setClearButtonEnabled(self, enable: bool)¶
- setCompleter(self, completer: QCompleter)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setCursorMoveStyle(self, style: Qt.CursorMoveStyle)¶
- setCursorPosition(self, a0: int)¶
- setDisabled(self, a0: bool)¶
- setDragEnabled(self, b: bool)¶
- setEchoMode(self, a0: QLineEdit.EchoMode)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrame(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMask(self, inputMask: str)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaxLength(self, a0: int)¶
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModified(self, a0: bool)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPlaceholderText(self, a0: str)¶
- setPopUp(pop_up)¶
Set the pop up widget to the specified pop up widget instance.
- setPopUpClass(pop_up_class)¶
If a pop up class was not specified via the constructor, use this method to set it after the fact. Useful for placing widgets into
*.ui
files.
- setPopupHalign(popup_halign)¶
Specify whether the pop up should have its right edge aligned with the right edge of the widget (ALIGN_RIGHT), have its left edge aligned with the left edge of the widget (ALIGN_LEFT), or have it’s horizontal alignment determined automatically (ALIGN_AUTO). Note that this setting is moot if the widget is wider than the pop up’s size hint, as the pop up will be extended to the same width as the widget.
- Parameters
popup_halign (int) – The desired horizontal alignment of the pop up. Must be one of ALIGN_RIGHT, ALIGN_LEFT, or ALIGN_AUTO.
- setPopupValign(popup_valign)¶
Specify whether the pop up should appear above (ALIGN_TOP), below (ALIGN_BOTTOM) the widget, or have it’s vertical alignment determined automatically (ALIGN_AUTO).
- Parameters
popup_valign (int) – The desired vertical alignment of the pop up. Must be either ALIGN_TOP, ALIGN_BOTTOM, or ALIGN_AUTO.
- setProperty(self, name: str, value: Any) bool ¶
- setReadOnly(self, a0: bool)¶
- setScreen(self, a0: QScreen)¶
- setSelection(self, a0: int, a1: int)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setText(self, a0: str)¶
- setTextMargins(self, left: int, top: int, right: int, bottom: int)¶
- setTextMargins(self, margins: QMargins) None
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setValidator(self, a0: QValidator)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(event)¶
Update the pop up position and size when the widget is shown
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- text(self) str ¶
- textChanged¶
textChanged(self, a0: str) [signal]
- textEdited¶
textEdited(self, a0: str) [signal]
- textMargins(self) QMargins ¶
- textUpdated(text)¶
Whenever the text in the line edit is changed, show the pop up and call
PopUp.lineEditUpdated
. The default implementation prevents thePopUp
from sending signals during the execution ofPopUp.lineEditUpdated
. This prevents an infinite loop ofPopUp.lineEditUpdated
andLineEditWithPopUp.popUpUpdated
.- Parameters
text (str) – The current text in the line edit
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- undo(self)¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- validator(self) QValidator ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.AbstractSelectionPopUpDelegate(parent)¶
Bases:
schrodinger.ui.qt.pop_up_widgets.PopUpDelegate
,schrodinger.ui.qt.delegates.AbstractDelegateWithEditIcon
Delegate for handling column line edits.
- Variables
numSelectedRowsChanged – signal emitted when the amount of selected rows are changed.
- numSelectedRowsChanged¶
- EDIT_ICON = '/scr/buildbot/savedbuilds/2024-1/NB/build-133/internal/lib/python3.8/site-packages/schrodinger/ui/qt/standard/icons/icon_data/menu-caret/menu-caret_lb.png'¶
- COLUMN_TYPE: <unknown>.ExportTableColumns = NotImplemented¶
- POPUP_CLS = NotImplemented¶
- LINE_EDIT_CLS = NotImplemented¶
- __init__(parent)¶
- Parameters
parent (
PyQt5.QtWidgets.QWidget
) – The Qt parent widgetpop_up_class (type) – The class of the pop up widget. Should be a subclass of
PopUp
.enable_accept_multi (bool) – Whether committing data to all selected cells at once is enabled. If True,
commitDataToSelected
will be emitted when theLineEditWithPopUp
emitspopUpClosing
withACCEPT_MULTI
. If False,commitData
will be emitted instead.
- paint(self, painter: QPainter, option: QStyleOptionViewItem, index: QModelIndex)¶
- EditNextItem = 1¶
- EditPreviousItem = 2¶
- class EndEditHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoHint = 0¶
- EditNextItem = 1¶
- EditPreviousItem = 2¶
- SubmitModelCache = 3¶
- RevertModelCache = 4¶
- NoHint = 0¶
- RevertModelCache = 4¶
- SubmitModelCache = 3¶
- blockSignals(self, b: bool) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- closeEditor¶
closeEditor(self, editor: QWidget, hint: QAbstractItemDelegate.EndEditHint = QAbstractItemDelegate.NoHint) [signal]
- commitData¶
commitData(self, editor: QWidget) [signal]
- commitDataToSelected¶
- connectNotify(self, signal: QMetaMethod)¶
- createEditor(parent, option, index)¶
Create the editor and connect the
popUpClosing
signal. If a subclass needs to modify editor instantiation,_createEditor
should be reimplemented instead of this function to ensure that thepopUpClosing
signal is connected properly.See Qt documentation for an explanation of the arguments and return value.
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- destroyEditor(self, editor: QWidget, index: QModelIndex)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- displayText(self, value: Any, locale: QLocale) str ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- editorEvent(self, event: QEvent, model: QAbstractItemModel, option: QStyleOptionViewItem, index: QModelIndex) bool ¶
- event(self, a0: QEvent) bool ¶
- eventFilter(editor, event)¶
Ignore the editor losing focus, since focus may be switching to one of the pop up widgets. If the editor including the popup loses focus, popUpClosed will be called.
See Qt documentation for an explanation of the arguments and return value.
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- helpEvent(self, event: QHelpEvent, view: QAbstractItemView, option: QStyleOptionViewItem, index: QModelIndex) bool ¶
- inherits(self, classname: str) bool ¶
- initStyleOption(self, option: QStyleOptionViewItem, index: QModelIndex)¶
- installEventFilter(self, a0: QObject)¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- itemEditorFactory(self) QItemEditorFactory ¶
- killTimer(self, id: int)¶
- metaObject(self) QMetaObject ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- parent(self) QObject ¶
- popUpClosed(editor, accept)¶
Respond to the editor closing by either rejecting or accepting the data. If
enable_accept_multi
is True, the data may also be committed to all selected rows.- Parameters
editor (
LineEditWithPopUp
) – The editor that was just closedaccept (int) – The signal that was emitted by the editor when it closed
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeEventFilter(self, a0: QObject)¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setEditorData(self, editor: QWidget, index: QModelIndex)¶
- setItemEditorFactory(self, factory: QItemEditorFactory)¶
- setModelData(self, editor: QWidget, model: QAbstractItemModel, index: QModelIndex)¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- signalsBlocked(self) bool ¶
- sizeHint(self, option: QStyleOptionViewItem, index: QModelIndex) QSize ¶
- sizeHintChanged¶
sizeHintChanged(self, a0: QModelIndex) [signal]
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- updateEditorGeometry(self, editor: QWidget, option: QStyleOptionViewItem, index: QModelIndex)¶
- class schrodinger.application.livedesign.panel_components.AssaySelectionPopUp(parent)¶
Bases:
schrodinger.application.livedesign.panel_components.AbstractSelectionPopUp
A popup for selecting Assays.
- SEARCH_TEXT = 'Search model or assay name'¶
- setup()¶
Sets up the model, view, proxy and search box.
See BaseSearchTreeWidgetHelper.setUpWidgets for more info.
- Box = 1¶
- CREATE_MODE_PAGE = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- HLine = 4¶
- IgnoreMask = 4¶
- NoFrame = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- Raised = 32¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- SEARCH_MODE_PAGE = 0¶
- Shadow_Mask = 240¶
- class Shape(value)¶
Bases:
enum.IntEnum
An enumeration.
- NoFrame = 0¶
- Box = 1¶
- Panel = 2¶
- WinPanel = 3¶
- HLine = 4¶
- VLine = 5¶
- StyledPanel = 6¶
- Shape_Mask = 15¶
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- __init__(parent)¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- dataChanged¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- drawFrame(self, a0: QPainter)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- estimateMaxHeight()¶
Return an estimate of the maximum allowable height of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable height. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable height
- Return type
int
- estimateMaxWidth()¶
Return an estimate of the maximum allowable width of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable width. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable width
- Return type
int
- event(self, e: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(event)¶
Emit a signal every time this pop up is hidden.
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- installPopUpEventFilter(event_filter)¶
Install the provided event filter on all widgets within this pop up that can receive focus.
- Note
This function only installs the event filter on immediate children of this widget. As a result, keyboard events on grandchildren (or later descendant) widgets will not be handled properly. If this causes issues, the implementation will have to be modified.
- Parameters
event_filter (
_BasisSelectorPopUpEventFilter
) – The event filter to install
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineEditUpdated(text)¶
Update this pop up in response to the user changing the line edit text. Note that, by default, this widget will not be able to send signals during execution of this method. This prevents an infinite loop of
PopUp.lineEditUpdated
andLineEditWithPopUp.popUpUpdated
. To modify this behavior, subclassLineEditWithPopUp
and reimplementLineEditWithPopUp.popUpUpdated
.- Parameters
text (str) – The current text of the line edit
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- newValueSelected¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popUpResized¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- reset()¶
- resetWidgets()¶
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- searchTextChanged(search_text)¶
Set the search term to the sort filter proxy model to show only the matching tree items. Any filtered in items will be expanded to show all children. Otherwise, all the items will be collapsed.
- Parameters
search_text (str) – search terms to apply to proxy model.
- selectNewValue()¶
Creates a new value to add to the line edit.
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDefaultText(text)¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrameRect(self, a0: QRect)¶
- setFrameShadow(self, a0: QFrame.Shadow)¶
- setFrameShape(self, a0: QFrame.Shape)¶
- setFrameStyle(self, a0: int)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineWidth(self, a0: int)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMidLineWidth(self, a0: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setNumSelectedRows(num_rows)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpLayout()¶
Sets up the layout, but needs to be added to the widget by the subclass.
- setUpWidgets(model, view)¶
Sets up the search box, model, view, and search proxy.
- Parameters
model (
QtGui.QStandardItemModel
) – model for the treeview (
QtWidgets.QTreeView
) – view for the model
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(event)¶
Emit a signal every time this pop up is shown.
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- subWidgetHasFocus()¶
Return True if any widget within the pop up has focus. False otherwise.
- Note
Note that combo boxes have various list view and frame children that can receive focus (and which of these widgets can receive focus varies by OS). As a result, we check the full ancestry of the focus widget here rather than just checking it’s parent. Also note that we can’t use Qt’s isAncestorOf() function to check ancestry, since combo box drop downs are considered to be their own window and isAncestorOf() requires ancestors to be part of the same window.
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- visibilityChanged¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.AssaySelectionLineEdit(parent, num_rows)¶
Bases:
schrodinger.application.livedesign.panel_components.AbstractSelectionLineEdit
Custom Line Edit to show an AssaySelectionPopUp.
- mappingSaved¶
- POPUP_CLS¶
alias of
schrodinger.application.livedesign.panel_components.AssaySelectionPopUp
- __init__(parent, num_rows)¶
- Parameters
parent (
PyQt5.QtWidgets.QWidget
) – the Qt parent widgetinitial_rows (int) – Initial rows selected on creation of widget
- addNew(name)¶
Adds the new value name to the table cell and the popup tree.
- Parameters
name (str) – new value name
- addData(data)¶
Add the assay data to populate the pop up tree model.
- Parameters
data (List of BaseLDTreeItemWrapper) – the list of tree item wrappers containing the name and path of the assays
- onValueSelected(item)¶
Slot connected to tree view’s selection.
- Parameters
item (BaseLDTreeItemWrapper) – selected Assay item in the tree view.
- saveMapping()¶
Saves the state of collapsed and expanded items in the QTreeView
- saveExpansionBFS(model_idx: PyQt6.QtCore.QModelIndex)¶
Searches for and saves the expanded items of an element and its children. Uses breadth first searching
- getTreePath(model_idx: PyQt6.QtCore.QModelIndex) List[str] ¶
Gets full path of element at the model index.
X Y Z
tree path of element Z is [‘X’, ‘Y’, ‘Z’]
- applyMapping(mapping: List[List[str]])¶
Applies the given expansion mapping to elements in the view
- setExpansionBFS(model_idx: PyQt6.QtCore.QModelIndex, mapping: List[List[str]])¶
Applies the expansion states from mapping to the element at the given model index
- getAssayFolderPath()¶
Return the currently selected assay’s folder path. If no assay is selected, None is returned.
- Returns
folder path of currently selected assay.
- Return type
str or None
- setAllAssayData(assays_list, assay_name, assay_folder_path)¶
Set all the assay data including the list of possible assays, the current (ie last selected) assay name value, and the folder path to the current assay (if exists). This will add the possible assays to the popup’s selection view, set the line edit text, store the assay folder path, and scroll to and select the item corresponding to the current selection in the popup.
Note that because the assay name and path does not currently store whether the original location was from its original path or the ‘Project Favorites’ folder, the selection always scrolls to the original location rather than the ‘Project Favorites’ location.
- Parameters
assays_list (List of BaseLDTreeItemWrapper) – the list of ld items specifying the assay names and paths
assay_name (str) – the current value of the assay name
assay_folder_path (str) – the current value of the assay folder path
- getNewAssay()¶
Return the newly created assay if one exists.
- Returns
the newly created assay
- Return type
BaseLDTreeItemWrapper or None
- setText(self, a0: str)¶
- ALIGN_AUTO = 4¶
- ALIGN_BOTTOM = 1¶
- ALIGN_LEFT = 3¶
- ALIGN_RIGHT = 2¶
- ALIGN_TOP = 0¶
- class ActionPosition(value)¶
Bases:
enum.Enum
An enumeration.
- LeadingPosition = 0¶
- TrailingPosition = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class EchoMode(value)¶
Bases:
enum.Enum
An enumeration.
- Normal = 0¶
- NoEcho = 1¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- IgnoreMask = 4¶
- LeadingPosition = 0¶
- NoEcho = 1¶
- Normal = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- TrailingPosition = 1¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, a0: QAction)¶
- addAction(self, action: QAction, position: QLineEdit.ActionPosition) None
- addAction(self, icon: QIcon, position: QLineEdit.ActionPosition) QAction
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- alignment(self) Qt.AlignmentFlag ¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- backspace(self)¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- completer(self) QCompleter ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- copy(self)¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createStandardContextMenu(self) QMenu ¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- cursorBackward(self, mark: bool, steps: int = 1)¶
- cursorForward(self, mark: bool, steps: int = 1)¶
- cursorMoveStyle(self) Qt.CursorMoveStyle ¶
- cursorPosition(self) int ¶
- cursorPositionAt(self, pos: QPoint) int ¶
- cursorPositionChanged¶
cursorPositionChanged(self, a0: int, a1: int) [signal]
- cursorRect(self) QRect ¶
- cursorWordBackward(self, mark: bool)¶
- cursorWordForward(self, mark: bool)¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- cut(self)¶
- del_(self)¶
- deleteLater(self)¶
- depth(self) int ¶
- deselect(self)¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- displayText(self) str ¶
- dragEnabled(self) bool ¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, e: QDragLeaveEvent)¶
- dragMoveEvent(self, e: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- echoMode(self) QLineEdit.EchoMode ¶
- editingFinished¶
editingFinished(self) [signal]
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- end(self, mark: bool)¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(event)¶
When the line edit receives focus, show the pop up
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasAcceptableInput(self) bool ¶
- hasFocus(self) bool ¶
- hasFrame(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasSelectedText(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- home(self, mark: bool)¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMask(self) str ¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- inputMethodQuery(self, property: Qt.InputMethodQuery, argument: Any) Any
- inputRejected¶
inputRejected(self) [signal]
- insert(self, a0: str)¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isClearButtonEnabled(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isModified(self) bool ¶
- isReadOnly(self) bool ¶
- isRedoAvailable(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isUndoAvailable(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maxLength(self) int ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(event)¶
If the user clicks on the line edit and it already has focus, show the pop up again (in case the user hid it with a key press)
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(event)¶
Update the pop up position and size when the widget is moved
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- newValueSelected¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- numSelectedRowsChanged¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- onApplyToRowsClicked()¶
Trigger PopUpDelegate.commitDataToSelected signal
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- paste(self)¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- placeholderText(self) str ¶
- popUpClosing¶
- popUpUpdated(text)¶
Whenever the pop up emits the dataChanged signal, update the widget. This function should be implemented in subclasses if required.
- Parameters
text (str) – The text emitted with the dataChanged signal
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- redo(self)¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(event)¶
Update the pop up position and size when the widget is resized
- restoreGeometry(self, geometry: QByteArray) bool ¶
- returnPressed¶
returnPressed(self) [signal]
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- selectAll(self)¶
- selectedText(self) str ¶
- selectionChanged¶
selectionChanged(self) [signal]
- selectionEnd(self) int ¶
- selectionLength(self) int ¶
- selectionStart(self) int ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAlignment(self, flag: Qt.AlignmentFlag)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setClearButtonEnabled(self, enable: bool)¶
- setCompleter(self, completer: QCompleter)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setCursorMoveStyle(self, style: Qt.CursorMoveStyle)¶
- setCursorPosition(self, a0: int)¶
- setDisabled(self, a0: bool)¶
- setDragEnabled(self, b: bool)¶
- setEchoMode(self, a0: QLineEdit.EchoMode)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrame(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMask(self, inputMask: str)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaxLength(self, a0: int)¶
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModified(self, a0: bool)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPlaceholderText(self, a0: str)¶
- setPopUp(pop_up)¶
Set the pop up widget to the specified pop up widget instance.
- setPopUpClass(pop_up_class)¶
If a pop up class was not specified via the constructor, use this method to set it after the fact. Useful for placing widgets into
*.ui
files.
- setPopupHalign(popup_halign)¶
Specify whether the pop up should have its right edge aligned with the right edge of the widget (ALIGN_RIGHT), have its left edge aligned with the left edge of the widget (ALIGN_LEFT), or have it’s horizontal alignment determined automatically (ALIGN_AUTO). Note that this setting is moot if the widget is wider than the pop up’s size hint, as the pop up will be extended to the same width as the widget.
- Parameters
popup_halign (int) – The desired horizontal alignment of the pop up. Must be one of ALIGN_RIGHT, ALIGN_LEFT, or ALIGN_AUTO.
- setPopupValign(popup_valign)¶
Specify whether the pop up should appear above (ALIGN_TOP), below (ALIGN_BOTTOM) the widget, or have it’s vertical alignment determined automatically (ALIGN_AUTO).
- Parameters
popup_valign (int) – The desired vertical alignment of the pop up. Must be either ALIGN_TOP, ALIGN_BOTTOM, or ALIGN_AUTO.
- setProperty(self, name: str, value: Any) bool ¶
- setReadOnly(self, a0: bool)¶
- setScreen(self, a0: QScreen)¶
- setSelection(self, a0: int, a1: int)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setTextMargins(self, left: int, top: int, right: int, bottom: int)¶
- setTextMargins(self, margins: QMargins) None
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setValidator(self, a0: QValidator)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(event)¶
Update the pop up position and size when the widget is shown
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- text(self) str ¶
- textChanged¶
textChanged(self, a0: str) [signal]
- textEdited¶
textEdited(self, a0: str) [signal]
- textMargins(self) QMargins ¶
- textUpdated(text)¶
Whenever the text in the line edit is changed, show the pop up and call
PopUp.lineEditUpdated
. The default implementation prevents thePopUp
from sending signals during the execution ofPopUp.lineEditUpdated
. This prevents an infinite loop ofPopUp.lineEditUpdated
andLineEditWithPopUp.popUpUpdated
.- Parameters
text (str) – The current text in the line edit
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- undo(self)¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- validator(self) QValidator ¶
- valueSelected¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.AssaySelectionPopUpDelegate(parent)¶
Bases:
schrodinger.application.livedesign.panel_components.AbstractSelectionPopUpDelegate
Delegate for handling assay line edits.
- Variables
newAssaySelected (QtCore.pyqtSignal(QtCore.QModelIndex)) – signal emitted when a new assay is created by user and selected for use. This signal is emitted once the assay data is set in the model, and with the assay index.
assaySelected (QtCore.pyqtSignal(QtCore.QModelIndex)) – signal emitted when an existing assay is selected and applied. This signal is emitted once the assay data is set in the model, and with the assay index.
- newAssaySelected¶
- assaySelected¶
- numSelectedRowsChanged¶
- mappingSaved¶
- COLUMN_TYPE: <unknown>.ExportTableColumns = Column 1 (LiveDesign Column)¶
- POPUP_CLS¶
alias of
schrodinger.application.livedesign.panel_components.AssaySelectionPopUp
- LINE_EDIT_CLS¶
alias of
schrodinger.application.livedesign.panel_components.AssaySelectionLineEdit
- __init__(parent)¶
- Parameters
parent (
PyQt5.QtWidgets.QWidget
) – The Qt parent widgetpop_up_class (type) – The class of the pop up widget. Should be a subclass of
PopUp
.enable_accept_multi (bool) – Whether committing data to all selected cells at once is enabled. If True,
commitDataToSelected
will be emitted when theLineEditWithPopUp
emitspopUpClosing
withACCEPT_MULTI
. If False,commitData
will be emitted instead.
- onNewAssaySelected()¶
- onAssaySelected()¶
- setMapping(mapping)¶
- setEditorData(self, editor: QWidget, index: QModelIndex)¶
- setModelData(self, editor: QWidget, model: QAbstractItemModel, index: QModelIndex)¶
- EDIT_ICON = '/scr/buildbot/savedbuilds/2024-1/NB/build-133/internal/lib/python3.8/site-packages/schrodinger/ui/qt/standard/icons/icon_data/menu-caret/menu-caret_lb.png'¶
- EditNextItem = 1¶
- EditPreviousItem = 2¶
- class EndEditHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoHint = 0¶
- EditNextItem = 1¶
- EditPreviousItem = 2¶
- SubmitModelCache = 3¶
- RevertModelCache = 4¶
- NoHint = 0¶
- RevertModelCache = 4¶
- SubmitModelCache = 3¶
- blockSignals(self, b: bool) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- closeEditor¶
closeEditor(self, editor: QWidget, hint: QAbstractItemDelegate.EndEditHint = QAbstractItemDelegate.NoHint) [signal]
- commitData¶
commitData(self, editor: QWidget) [signal]
- commitDataToSelected¶
- connectNotify(self, signal: QMetaMethod)¶
- createEditor(parent, option, index)¶
Create the editor and connect the
popUpClosing
signal. If a subclass needs to modify editor instantiation,_createEditor
should be reimplemented instead of this function to ensure that thepopUpClosing
signal is connected properly.See Qt documentation for an explanation of the arguments and return value.
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- destroyEditor(self, editor: QWidget, index: QModelIndex)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- displayText(self, value: Any, locale: QLocale) str ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- editorEvent(self, event: QEvent, model: QAbstractItemModel, option: QStyleOptionViewItem, index: QModelIndex) bool ¶
- event(self, a0: QEvent) bool ¶
- eventFilter(editor, event)¶
Ignore the editor losing focus, since focus may be switching to one of the pop up widgets. If the editor including the popup loses focus, popUpClosed will be called.
See Qt documentation for an explanation of the arguments and return value.
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- helpEvent(self, event: QHelpEvent, view: QAbstractItemView, option: QStyleOptionViewItem, index: QModelIndex) bool ¶
- inherits(self, classname: str) bool ¶
- initStyleOption(self, option: QStyleOptionViewItem, index: QModelIndex)¶
- installEventFilter(self, a0: QObject)¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- itemEditorFactory(self) QItemEditorFactory ¶
- killTimer(self, id: int)¶
- metaObject(self) QMetaObject ¶
- moveToThread(self, thread: QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- paint(self, painter: QPainter, option: QStyleOptionViewItem, index: QModelIndex)¶
- parent(self) QObject ¶
- popUpClosed(editor, accept)¶
Respond to the editor closing by either rejecting or accepting the data. If
enable_accept_multi
is True, the data may also be committed to all selected rows.- Parameters
editor (
LineEditWithPopUp
) – The editor that was just closedaccept (int) – The signal that was emitted by the editor when it closed
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeEventFilter(self, a0: QObject)¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setItemEditorFactory(self, factory: QItemEditorFactory)¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- signalsBlocked(self) bool ¶
- sizeHint(self, option: QStyleOptionViewItem, index: QModelIndex) QSize ¶
- sizeHintChanged¶
sizeHintChanged(self, a0: QModelIndex) [signal]
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- updateEditorGeometry(self, editor: QWidget, option: QStyleOptionViewItem, index: QModelIndex)¶
- class schrodinger.application.livedesign.panel_components.EndpointSelectionPopUp(parent)¶
Bases:
schrodinger.application.livedesign.panel_components.AbstractSelectionPopUp
A popup for selecting Endpoints.
- SEARCH_TEXT = 'Search property name'¶
- setup()¶
Sets up the model, view, proxy and search box.
See BaseSearchTreeWidgetHelper.setUpWidgets for more info.
- Box = 1¶
- CREATE_MODE_PAGE = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- HLine = 4¶
- IgnoreMask = 4¶
- NoFrame = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- Raised = 32¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- SEARCH_MODE_PAGE = 0¶
- Shadow_Mask = 240¶
- class Shape(value)¶
Bases:
enum.IntEnum
An enumeration.
- NoFrame = 0¶
- Box = 1¶
- Panel = 2¶
- WinPanel = 3¶
- HLine = 4¶
- VLine = 5¶
- StyledPanel = 6¶
- Shape_Mask = 15¶
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- __init__(parent)¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- dataChanged¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- drawFrame(self, a0: QPainter)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- estimateMaxHeight()¶
Return an estimate of the maximum allowable height of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable height. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable height
- Return type
int
- estimateMaxWidth()¶
Return an estimate of the maximum allowable width of this pop up. This estimate is used to ensure that the pop up is positioned within the window. The default implementation uses the current size hint. Subclasses can reimplement this function if they can calculate a more accurate allowable width. This is typically only applicable if the pop up is likely to change size.
- Returns
The maximum allowable width
- Return type
int
- event(self, e: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(event)¶
Emit a signal every time this pop up is hidden.
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- installPopUpEventFilter(event_filter)¶
Install the provided event filter on all widgets within this pop up that can receive focus.
- Note
This function only installs the event filter on immediate children of this widget. As a result, keyboard events on grandchildren (or later descendant) widgets will not be handled properly. If this causes issues, the implementation will have to be modified.
- Parameters
event_filter (
_BasisSelectorPopUpEventFilter
) – The event filter to install
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineEditUpdated(text)¶
Update this pop up in response to the user changing the line edit text. Note that, by default, this widget will not be able to send signals during execution of this method. This prevents an infinite loop of
PopUp.lineEditUpdated
andLineEditWithPopUp.popUpUpdated
. To modify this behavior, subclassLineEditWithPopUp
and reimplementLineEditWithPopUp.popUpUpdated
.- Parameters
text (str) – The current text of the line edit
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- newValueSelected¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popUpResized¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- reset()¶
- resetWidgets()¶
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- searchTextChanged(search_text)¶
Set the search term to the sort filter proxy model to show only the matching tree items. Any filtered in items will be expanded to show all children. Otherwise, all the items will be collapsed.
- Parameters
search_text (str) – search terms to apply to proxy model.
- selectNewValue()¶
Creates a new value to add to the line edit.
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDefaultText(text)¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrameRect(self, a0: QRect)¶
- setFrameShadow(self, a0: QFrame.Shadow)¶
- setFrameShape(self, a0: QFrame.Shape)¶
- setFrameStyle(self, a0: int)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineWidth(self, a0: int)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMidLineWidth(self, a0: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setNumSelectedRows(num_rows)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool ¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpLayout()¶
Sets up the layout, but needs to be added to the widget by the subclass.
- setUpWidgets(model, view)¶
Sets up the search box, model, view, and search proxy.
- Parameters
model (
QtGui.QStandardItemModel
) – model for the treeview (
QtWidgets.QTreeView
) – view for the model
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(event)¶
Emit a signal every time this pop up is shown.
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- subWidgetHasFocus()¶
Return True if any widget within the pop up has focus. False otherwise.
- Note
Note that combo boxes have various list view and frame children that can receive focus (and which of these widgets can receive focus varies by OS). As a result, we check the full ancestry of the focus widget here rather than just checking it’s parent. Also note that we can’t use Qt’s isAncestorOf() function to check ancestry, since combo box drop downs are considered to be their own window and isAncestorOf() requires ancestors to be part of the same window.
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- visibilityChanged¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.EndpointSelectionLineEdit(parent, initial_rows=1)¶
Bases:
schrodinger.application.livedesign.panel_components.AbstractSelectionLineEdit
Custom Line Edit to show a PopUp (EndpointSelectionPopUp) when the user double clicks on the table cell.
- POPUP_CLS¶
alias of
schrodinger.application.livedesign.panel_components.EndpointSelectionPopUp
- addNew(name)¶
Adds the new value name to the table cell and the popup tree.
- Parameters
name (str) – new value name
- addData(data)¶
Add the endpoint data to populate the pop up tree model.
- Parameters
data (List of str) – data values that need to be added as rows
- onValueSelected(item)¶
Slot connected to tree view’s selection.
- Parameters
item (BaseLDTreeItemWrapper) – selected Endpoint item in the tree view.
- ALIGN_AUTO = 4¶
- ALIGN_BOTTOM = 1¶
- ALIGN_LEFT = 3¶
- ALIGN_RIGHT = 2¶
- ALIGN_TOP = 0¶
- class ActionPosition(value)¶
Bases:
enum.Enum
An enumeration.
- LeadingPosition = 0¶
- TrailingPosition = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class EchoMode(value)¶
Bases:
enum.Enum
An enumeration.
- Normal = 0¶
- NoEcho = 1¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- IgnoreMask = 4¶
- LeadingPosition = 0¶
- NoEcho = 1¶
- Normal = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- TrailingPosition = 1¶
- __init__(parent, initial_rows=1)¶
- Parameters
parent (
PyQt5.QtWidgets.QWidget
) – the Qt parent widgetinitial_rows (int) – Initial rows selected on creation of widget
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, a0: QAction)¶
- addAction(self, action: QAction, position: QLineEdit.ActionPosition) None
- addAction(self, icon: QIcon, position: QLineEdit.ActionPosition) QAction
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- alignment(self) Qt.AlignmentFlag ¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- backspace(self)¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- completer(self) QCompleter ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- copy(self)¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createStandardContextMenu(self) QMenu ¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- cursorBackward(self, mark: bool, steps: int = 1)¶
- cursorForward(self, mark: bool, steps: int = 1)¶
- cursorMoveStyle(self) Qt.CursorMoveStyle ¶
- cursorPosition(self) int ¶
- cursorPositionAt(self, pos: QPoint) int ¶
- cursorPositionChanged¶
cursorPositionChanged(self, a0: int, a1: int) [signal]
- cursorRect(self) QRect ¶
- cursorWordBackward(self, mark: bool)¶
- cursorWordForward(self, mark: bool)¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- cut(self)¶
- del_(self)¶
- deleteLater(self)¶
- depth(self) int ¶
- deselect(self)¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- displayText(self) str ¶
- dragEnabled(self) bool ¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, e: QDragLeaveEvent)¶
- dragMoveEvent(self, e: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- echoMode(self) QLineEdit.EchoMode ¶
- editingFinished¶
editingFinished(self) [signal]
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- end(self, mark: bool)¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(event)¶
When the line edit receives focus, show the pop up
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasAcceptableInput(self) bool ¶
- hasFocus(self) bool ¶
- hasFrame(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasSelectedText(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- home(self, mark: bool)¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMask(self) str ¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- inputMethodQuery(self, property: Qt.InputMethodQuery, argument: Any) Any
- inputRejected¶
inputRejected(self) [signal]
- insert(self, a0: str)¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isClearButtonEnabled(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isModified(self) bool ¶
- isReadOnly(self) bool ¶
- isRedoAvailable(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isUndoAvailable(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maxLength(self) int ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(event)¶
If the user clicks on the line edit and it already has focus, show the pop up again (in case the user hid it with a key press)
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(event)¶
Update the pop up position and size when the widget is moved
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- newValueSelected¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- numSelectedRowsChanged¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- onApplyToRowsClicked()¶
Trigger PopUpDelegate.commitDataToSelected signal
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- paste(self)¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- placeholderText(self) str ¶
- popUpClosing¶
- popUpUpdated(text)¶
Whenever the pop up emits the dataChanged signal, update the widget. This function should be implemented in subclasses if required.
- Parameters
text (str) – The text emitted with the dataChanged signal
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- redo(self)¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(event)¶
Update the pop up position and size when the widget is resized
- restoreGeometry(self, geometry: QByteArray) bool ¶
- returnPressed¶
returnPressed(self) [signal]
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- selectAll(self)¶
- selectedText(self) str ¶
- selectionChanged¶
selectionChanged(self) [signal]
- selectionEnd(self) int ¶
- selectionLength(self) int ¶
- selectionStart(self) int ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAlignment(self, flag: Qt.AlignmentFlag)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setClearButtonEnabled(self, enable: bool)¶
- setCompleter(self, completer: QCompleter)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setCursorMoveStyle(self, style: Qt.CursorMoveStyle)¶
- setCursorPosition(self, a0: int)¶
- setDisabled(self, a0: bool)¶
- setDragEnabled(self, b: bool)¶
- setEchoMode(self, a0: QLineEdit.EchoMode)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrame(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMask(self, inputMask: str)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaxLength(self, a0: int)¶
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModified(self, a0: bool)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPlaceholderText(self, a0: str)¶
- setPopUp(pop_up)¶
Set the pop up widget to the specified pop up widget instance.
- setPopUpClass(pop_up_class)¶
If a pop up class was not specified via the constructor, use this method to set it after the fact. Useful for placing widgets into
*.ui
files.
- setPopupHalign(popup_halign)¶
Specify whether the pop up should have its right edge aligned with the right edge of the widget (ALIGN_RIGHT), have its left edge aligned with the left edge of the widget (ALIGN_LEFT), or have it’s horizontal alignment determined automatically (ALIGN_AUTO). Note that this setting is moot if the widget is wider than the pop up’s size hint, as the pop up will be extended to the same width as the widget.
- Parameters
popup_halign (int) – The desired horizontal alignment of the pop up. Must be one of ALIGN_RIGHT, ALIGN_LEFT, or ALIGN_AUTO.
- setPopupValign(popup_valign)¶
Specify whether the pop up should appear above (ALIGN_TOP), below (ALIGN_BOTTOM) the widget, or have it’s vertical alignment determined automatically (ALIGN_AUTO).
- Parameters
popup_valign (int) – The desired vertical alignment of the pop up. Must be either ALIGN_TOP, ALIGN_BOTTOM, or ALIGN_AUTO.
- setProperty(self, name: str, value: Any) bool ¶
- setReadOnly(self, a0: bool)¶
- setScreen(self, a0: QScreen)¶
- setSelection(self, a0: int, a1: int)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setText(self, a0: str)¶
- setTextMargins(self, left: int, top: int, right: int, bottom: int)¶
- setTextMargins(self, margins: QMargins) None
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setValidator(self, a0: QValidator)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(event)¶
Update the pop up position and size when the widget is shown
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- text(self) str ¶
- textChanged¶
textChanged(self, a0: str) [signal]
- textEdited¶
textEdited(self, a0: str) [signal]
- textMargins(self) QMargins ¶
- textUpdated(text)¶
Whenever the text in the line edit is changed, show the pop up and call
PopUp.lineEditUpdated
. The default implementation prevents thePopUp
from sending signals during the execution ofPopUp.lineEditUpdated
. This prevents an infinite loop ofPopUp.lineEditUpdated
andLineEditWithPopUp.popUpUpdated
.- Parameters
text (str) – The current text in the line edit
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- undo(self)¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- validator(self) QValidator ¶
- valueSelected¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.EndpointSelectionPopUpDelegate(parent)¶
Bases:
schrodinger.application.livedesign.panel_components.AbstractSelectionPopUpDelegate
Delegate for handling endpoint line edit.
- COLUMN_TYPE: <unknown>.ExportTableColumns = Column 2 (LiveDesign Property)¶
- POPUP_CLS¶
alias of
schrodinger.application.livedesign.panel_components.EndpointSelectionPopUp
- LINE_EDIT_CLS¶
alias of
schrodinger.application.livedesign.panel_components.EndpointSelectionLineEdit
- __init__(parent)¶
- Parameters
parent (
PyQt5.QtWidgets.QWidget
) – The Qt parent widgetpop_up_class (type) – The class of the pop up widget. Should be a subclass of
PopUp
.enable_accept_multi (bool) – Whether committing data to all selected cells at once is enabled. If True,
commitDataToSelected
will be emitted when theLineEditWithPopUp
emitspopUpClosing
withACCEPT_MULTI
. If False,commitData
will be emitted instead.
- setEditorData(self, editor: QWidget, index: QModelIndex)¶
- setModelData(self, editor: QWidget, model: QAbstractItemModel, index: QModelIndex)¶
- EDIT_ICON = '/scr/buildbot/savedbuilds/2024-1/NB/build-133/internal/lib/python3.8/site-packages/schrodinger/ui/qt/standard/icons/icon_data/menu-caret/menu-caret_lb.png'¶
- EditNextItem = 1¶
- EditPreviousItem = 2¶
- class EndEditHint(value)¶
Bases:
enum.Enum
An enumeration.
- NoHint = 0¶
- EditNextItem = 1¶
- EditPreviousItem = 2¶
- SubmitModelCache = 3¶
- RevertModelCache = 4¶
- NoHint = 0¶
- RevertModelCache = 4¶
- SubmitModelCache = 3¶
- blockSignals(self, b: bool) bool ¶
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- closeEditor¶
closeEditor(self, editor: QWidget, hint: QAbstractItemDelegate.EndEditHint = QAbstractItemDelegate.NoHint) [signal]
- commitData¶
commitData(self, editor: QWidget) [signal]
- commitDataToSelected¶
- connectNotify(self, signal: QMetaMethod)¶
- createEditor(parent, option, index)¶
Create the editor and connect the
popUpClosing
signal. If a subclass needs to modify editor instantiation,_createEditor
should be reimplemented instead of this function to ensure that thepopUpClosing
signal is connected properly.See Qt documentation for an explanation of the arguments and return value.
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- destroyEditor(self, editor: QWidget, index: QModelIndex)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- displayText(self, value: Any, locale: QLocale) str ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- editorEvent(self, event: QEvent, model: QAbstractItemModel, option: QStyleOptionViewItem, index: QModelIndex) bool ¶
- event(self, a0: QEvent) bool ¶
- eventFilter(editor, event)¶
Ignore the editor losing focus, since focus may be switching to one of the pop up widgets. If the editor including the popup loses focus, popUpClosed will be called.
See Qt documentation for an explanation of the arguments and return value.
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- helpEvent(self, event: QHelpEvent, view: QAbstractItemView, option: QStyleOptionViewItem, index: QModelIndex) bool ¶
- inherits(self, classname: str) bool ¶
- initStyleOption(self, option: QStyleOptionViewItem, index: QModelIndex)¶
- installEventFilter(self, a0: QObject)¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- itemEditorFactory(self) QItemEditorFactory ¶
- killTimer(self, id: int)¶
- metaObject(self) QMetaObject ¶
- moveToThread(self, thread: QThread)¶
- numSelectedRowsChanged¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- paint(self, painter: QPainter, option: QStyleOptionViewItem, index: QModelIndex)¶
- parent(self) QObject ¶
- popUpClosed(editor, accept)¶
Respond to the editor closing by either rejecting or accepting the data. If
enable_accept_multi
is True, the data may also be committed to all selected rows.- Parameters
editor (
LineEditWithPopUp
) – The editor that was just closedaccept (int) – The signal that was emitted by the editor when it closed
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- receivers(self, signal: PYQT_SIGNAL) int ¶
- removeEventFilter(self, a0: QObject)¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setItemEditorFactory(self, factory: QItemEditorFactory)¶
- setObjectName(self, name: str)¶
- setParent(self, a0: QObject)¶
- setProperty(self, name: str, value: Any) bool ¶
- signalsBlocked(self) bool ¶
- sizeHint(self, option: QStyleOptionViewItem, index: QModelIndex) QSize ¶
- sizeHintChanged¶
sizeHintChanged(self, a0: QModelIndex) [signal]
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- updateEditorGeometry(self, editor: QWidget, option: QStyleOptionViewItem, index: QModelIndex)¶
- class schrodinger.application.livedesign.panel_components.LiveDesignProjectsCombo(parent=None)¶
Bases:
PyQt6.QtWidgets.QComboBox
This is a standard QComboBox with a few helper methods.
- Variables
projectSelected (
QtCore.pyqtSignal
) – signal for when a any project in the combo box is selected. Emitted with the project name and ID.placeholderSelected (
QtCore.pyqtSignal
) – signal for when the placeholder in the combo box is selected. Emitted with no arguments.
- projectSelected¶
- placeholderSelected¶
- __init__(parent=None)¶
Custom QComboBox for selecting a LiveDesign Project
- setDefaults()¶
Resets the combobox and sets the default placeholder entry.
- addProjects(projects)¶
Resets the combobox and adds the new LD projects in alphabetical order, along with the project id as the user data.
- Parameters
projects ([ldclient.models.Project]) – list of LD projects
- currentProjectName()¶
Return the current selected project name or None if no project is selected.
- Returns
project name if applicable
- Return type
str or None
- currentProjectID()¶
Return the current selected project’s id. If placeholder item is currently selected, None will be returned.
- Returns
project id if applicable
- Return type
str or None
- isPlaceholderItemSelected()¶
Returns whether the placeholder text is currently selected.
- Returns
whether the placeholder is selected.
- Return type
bool
- selectPlaceholderItem()¶
Simply set the current item to be the placeholder text.
- AdjustToContents = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToMinimumContentsLengthWithIcon = 2¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- InsertAfterCurrent = 4¶
- InsertAlphabetically = 6¶
- InsertAtBottom = 3¶
- InsertAtCurrent = 2¶
- InsertAtTop = 1¶
- InsertBeforeCurrent = 5¶
- class InsertPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- NoInsert = 0¶
- InsertAtTop = 1¶
- InsertAtCurrent = 2¶
- InsertAtBottom = 3¶
- InsertAfterCurrent = 4¶
- InsertBeforeCurrent = 5¶
- InsertAlphabetically = 6¶
- NoInsert = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- class SizeAdjustPolicy(value)¶
Bases:
enum.Enum
An enumeration.
- AdjustToContents = 0¶
- AdjustToContentsOnFirstShow = 1¶
- AdjustToMinimumContentsLengthWithIcon = 2¶
- __len__()¶
Return len(self).
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activated¶
activated(self, index: int) [signal]
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- addItem(self, text: str, userData: Any = None)¶
- addItem(self, icon: QIcon, text: str, userData: Any = None) None
- addItems(self, texts: Iterable[str])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, e: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearEditText(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- completer(self) QCompleter ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, e: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- count(self) int ¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- currentData(self, role: int = Qt.UserRole) Any ¶
- currentIndex(self) int ¶
- currentIndexChanged¶
currentIndexChanged(self, index: int) [signal]
- currentText(self) str ¶
- currentTextChanged¶
currentTextChanged(self, a0: str) [signal]
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- duplicatesEnabled(self) bool ¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- editTextChanged¶
editTextChanged(self, a0: str) [signal]
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, event: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findData(self, data: Any, role: int = Qt.UserRole, flags: Qt.MatchFlag = static_cast<QFlags<Qt.MatchFlag>>(Qt.MatchExactly|Qt.MatchCaseSensitive)) int ¶
- findText(self, text: str, flags: Qt.MatchFlag = static_cast<QFlags<Qt.MatchFlag>>(Qt.MatchExactly|Qt.MatchCaseSensitive)) int ¶
- focusInEvent(self, e: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, e: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasFrame(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, e: QHideEvent)¶
- hidePopup(self)¶
- highlighted¶
highlighted(self, index: int) [signal]
- iconSize(self) QSize ¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionComboBox)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- inputMethodQuery(self, query: Qt.InputMethodQuery, argument: Any) Any
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- insertItem(self, index: int, text: str, userData: Any = None)¶
- insertItem(self, index: int, icon: QIcon, text: str, userData: Any = None) None
- insertItems(self, index: int, texts: Iterable[str])¶
- insertPolicy(self) QComboBox.InsertPolicy ¶
- insertSeparator(self, index: int)¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isEditable(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- itemData(self, index: int, role: int = Qt.UserRole) Any ¶
- itemDelegate(self) QAbstractItemDelegate ¶
- itemIcon(self, index: int) QIcon ¶
- itemText(self, index: int) str ¶
- keyPressEvent(self, e: QKeyEvent)¶
- keyReleaseEvent(self, e: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- lineEdit(self) QLineEdit ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maxCount(self) int ¶
- maxVisibleItems(self) int ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumContentsLength(self) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- model(self) QAbstractItemModel ¶
- modelColumn(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, e: QMouseEvent)¶
- mouseReleaseEvent(self, e: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, e: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- placeholderText(self) str ¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- removeItem(self, index: int)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, e: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- rootModelIndex(self) QModelIndex ¶
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setCompleter(self, c: QCompleter)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCurrentIndex(self, index: int)¶
- setCurrentText(self, text: str)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setDuplicatesEnabled(self, enable: bool)¶
- setEditText(self, text: str)¶
- setEditable(self, editable: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrame(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setIconSize(self, size: QSize)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setInsertPolicy(self, policy: QComboBox.InsertPolicy)¶
- setItemData(self, index: int, value: Any, role: int = Qt.UserRole)¶
- setItemDelegate(self, delegate: QAbstractItemDelegate)¶
- setItemIcon(self, index: int, icon: QIcon)¶
- setItemText(self, index: int, text: str)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLineEdit(self, edit: QLineEdit)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaxCount(self, max: int)¶
- setMaxVisibleItems(self, maxItems: int)¶
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumContentsLength(self, characters: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModel(self, model: QAbstractItemModel)¶
- setModelColumn(self, visibleColumn: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPlaceholderText(self, placeholderText: str)¶
- setProperty(self, name: str, value: Any) bool ¶
- setRootModelIndex(self, index: QModelIndex)¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeAdjustPolicy(self, policy: QComboBox.SizeAdjustPolicy)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setValidator(self, v: QValidator)¶
- setView(self, itemView: QAbstractItemView)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, e: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showPopup(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeAdjustPolicy(self) QComboBox.SizeAdjustPolicy ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- textActivated¶
textActivated(self, a0: str) [signal]
- textHighlighted¶
textHighlighted(self, a0: str) [signal]
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- validator(self) QValidator ¶
- view(self) QAbstractItemView ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, e: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.InitialSuggestionLineEdit¶
Bases:
PyQt6.QtWidgets.QLineEdit
Line edit that allows suggestions on click event, without needing an initial keystroke
- mousePressEvent(self, a0: QMouseEvent)¶
- startCompletion()¶
Manually trigger the line edit’s QCompleter, if it exists
- class ActionPosition(value)¶
Bases:
enum.Enum
An enumeration.
- LeadingPosition = 0¶
- TrailingPosition = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class EchoMode(value)¶
Bases:
enum.Enum
An enumeration.
- Normal = 0¶
- NoEcho = 1¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- IgnoreMask = 4¶
- LeadingPosition = 0¶
- NoEcho = 1¶
- Normal = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- TrailingPosition = 1¶
- __init__(*args, **kwargs)¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, a0: QAction)¶
- addAction(self, action: QAction, position: QLineEdit.ActionPosition) None
- addAction(self, icon: QIcon, position: QLineEdit.ActionPosition) QAction
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- alignment(self) Qt.AlignmentFlag ¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- backspace(self)¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- completer(self) QCompleter ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- copy(self)¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createStandardContextMenu(self) QMenu ¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- cursorBackward(self, mark: bool, steps: int = 1)¶
- cursorForward(self, mark: bool, steps: int = 1)¶
- cursorMoveStyle(self) Qt.CursorMoveStyle ¶
- cursorPosition(self) int ¶
- cursorPositionAt(self, pos: QPoint) int ¶
- cursorPositionChanged¶
cursorPositionChanged(self, a0: int, a1: int) [signal]
- cursorRect(self) QRect ¶
- cursorWordBackward(self, mark: bool)¶
- cursorWordForward(self, mark: bool)¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- cut(self)¶
- del_(self)¶
- deleteLater(self)¶
- depth(self) int ¶
- deselect(self)¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- displayText(self) str ¶
- dragEnabled(self) bool ¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, e: QDragLeaveEvent)¶
- dragMoveEvent(self, e: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- echoMode(self) QLineEdit.EchoMode ¶
- editingFinished¶
editingFinished(self) [signal]
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- end(self, mark: bool)¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasAcceptableInput(self) bool ¶
- hasFocus(self) bool ¶
- hasFrame(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasSelectedText(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- home(self, mark: bool)¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMask(self) str ¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- inputMethodQuery(self, property: Qt.InputMethodQuery, argument: Any) Any
- inputRejected¶
inputRejected(self) [signal]
- insert(self, a0: str)¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isClearButtonEnabled(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isModified(self) bool ¶
- isReadOnly(self) bool ¶
- isRedoAvailable(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isUndoAvailable(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maxLength(self) int ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- paste(self)¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- placeholderText(self) str ¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- redo(self)¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- returnPressed¶
returnPressed(self) [signal]
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- selectAll(self)¶
- selectedText(self) str ¶
- selectionChanged¶
selectionChanged(self) [signal]
- selectionEnd(self) int ¶
- selectionLength(self) int ¶
- selectionStart(self) int ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAlignment(self, flag: Qt.AlignmentFlag)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setClearButtonEnabled(self, enable: bool)¶
- setCompleter(self, completer: QCompleter)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setCursorMoveStyle(self, style: Qt.CursorMoveStyle)¶
- setCursorPosition(self, a0: int)¶
- setDisabled(self, a0: bool)¶
- setDragEnabled(self, b: bool)¶
- setEchoMode(self, a0: QLineEdit.EchoMode)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrame(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMask(self, inputMask: str)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaxLength(self, a0: int)¶
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModified(self, a0: bool)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPlaceholderText(self, a0: str)¶
- setProperty(self, name: str, value: Any) bool ¶
- setReadOnly(self, a0: bool)¶
- setScreen(self, a0: QScreen)¶
- setSelection(self, a0: int, a1: int)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setText(self, a0: str)¶
- setTextMargins(self, left: int, top: int, right: int, bottom: int)¶
- setTextMargins(self, margins: QMargins) None
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setValidator(self, a0: QValidator)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- text(self) str ¶
- textChanged¶
textChanged(self, a0: str) [signal]
- textEdited¶
textEdited(self, a0: str) [signal]
- textMargins(self) QMargins ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- undo(self)¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- validator(self) QValidator ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.livedesign.panel_components.ClearInitialSuggestionLineEdit(*args, **kwargs)¶
Bases:
schrodinger.application.livedesign.panel_components.InitialSuggestionLineEdit
Suggestion line edit that implements a custom clear button that triggers completion after clearing
- __init__(*args, **kwargs)¶
- class ActionPosition(value)¶
Bases:
enum.Enum
An enumeration.
- LeadingPosition = 0¶
- TrailingPosition = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class EchoMode(value)¶
Bases:
enum.Enum
An enumeration.
- Normal = 0¶
- NoEcho = 1¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- IgnoreMask = 4¶
- LeadingPosition = 0¶
- NoEcho = 1¶
- Normal = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.Enum
An enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.Flag
An enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- TrailingPosition = 1¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, a0: QAction)¶
- addAction(self, action: QAction, position: QLineEdit.ActionPosition) None
- addAction(self, icon: QIcon, position: QLineEdit.ActionPosition) QAction
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- alignment(self) Qt.AlignmentFlag ¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- backspace(self)¶
- baseSize(self) QSize ¶
- blockSignals(self, b: bool) bool ¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget ¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int ¶
- completer(self) QCompleter ¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- copy(self)¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createStandardContextMenu(self) QMenu ¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget ¶
- cursor(self) QCursor ¶
- cursorBackward(self, mark: bool, steps: int = 1)¶
- cursorForward(self, mark: bool, steps: int = 1)¶
- cursorMoveStyle(self) Qt.CursorMoveStyle ¶
- cursorPosition(self) int ¶
- cursorPositionAt(self, pos: QPoint) int ¶
- cursorPositionChanged¶
cursorPositionChanged(self, a0: int, a1: int) [signal]
- cursorRect(self) QRect ¶
- cursorWordBackward(self, mark: bool)¶
- cursorWordForward(self, mark: bool)¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- cut(self)¶
- del_(self)¶
- deleteLater(self)¶
- depth(self) int ¶
- deselect(self)¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) float ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(a0: QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- displayText(self) str ¶
- dragEnabled(self) bool ¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, e: QDragLeaveEvent)¶
- dragMoveEvent(self, e: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- echoMode(self) QLineEdit.EchoMode ¶
- editingFinished¶
editingFinished(self) [signal]
- effectiveWinId(self) PyQt6.sip.voidptr ¶
- end(self, mark: bool)¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool ¶
- eventFilter(self, a0: QObject, a1: QEvent) bool ¶
- find(a0: PyQt6.sip.voidptr) QWidget ¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasAcceptableInput(self) bool ¶
- hasFocus(self) bool ¶
- hasFrame(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasSelectedText(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, a0: int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- home(self, mark: bool)¶
- inherits(self, classname: str) bool ¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMask(self) str ¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint ¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any ¶
- inputMethodQuery(self, property: Qt.InputMethodQuery, argument: Any) Any
- inputRejected¶
inputRejected(self) [signal]
- insert(self, a0: str)¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, child: QWidget) bool ¶
- isClearButtonEnabled(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, a0: QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isModified(self) bool ¶
- isReadOnly(self) bool ¶
- isRedoAvailable(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- isUndoAvailable(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, a0: QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, id: int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint ¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint ¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint ¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint ¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint ¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion ¶
- maxLength(self) int ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- paste(self)¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- placeholderText(self) str ¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, name: str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- redo(self)¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool ¶
- returnPressed¶
returnPressed(self) [signal]
- saveGeometry(self) QByteArray ¶
- screen(self) QScreen ¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- selectAll(self)¶
- selectedText(self) str ¶
- selectionChanged¶
selectionChanged(self) [signal]
- selectionEnd(self) int ¶
- selectionLength(self) int ¶
- selectionStart(self) int ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAlignment(self, flag: Qt.AlignmentFlag)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setClearButtonEnabled(self, enable: bool)¶
- setCompleter(self, completer: QCompleter)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setCursorMoveStyle(self, style: Qt.CursorMoveStyle)¶
- setCursorPosition(self, a0: int)¶
- setDisabled(self, a0: bool)¶
- setDragEnabled(self, b: bool)¶
- setEchoMode(self, a0: QLineEdit.EchoMode)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrame(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMask(self, inputMask: str)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaxLength(self, a0: int)¶
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModified(self, a0: bool)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPlaceholderText(self, a0: str)¶
- setProperty(self, name: str, value: Any) bool ¶
- setReadOnly(self, a0: bool)¶
- setScreen(self, a0: QScreen)¶
- setSelection(self, a0: int, a1: int)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setText(self, a0: str)¶
- setTextMargins(self, left: int, top: int, right: int, bottom: int)¶
- setTextMargins(self, margins: QMargins) None
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setValidator(self, a0: QValidator)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, a0: QWidget)¶
- startCompletion()¶
Manually trigger the line edit’s QCompleter, if it exists
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool ¶
- text(self) str ¶
- textChanged¶
textChanged(self, a0: str) [signal]
- textEdited¶
textEdited(self, a0: str) [signal]
- textMargins(self) QMargins ¶
- thread(self) QThread ¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- undo(self)¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool ¶
- validator(self) QValidator ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt6.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowType ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowState ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- schrodinger.application.livedesign.panel_components.organize_ld_data_tree(ld_data_list)¶
Given a list of LD data, organize it for display in the exportable data tree.
- Parameters
ld_data_list (list(data_classes.LDData)) – LD data to organize
- Returns
a tuple representing the organized data: each
- Return type
collections.OrderedDict(str, list(data_classes.LDData))
- schrodinger.application.livedesign.panel_components.filter_missing_entry(entry, default_value)¶