schrodinger.application.livedesign.panel_components module¶
-
class
schrodinger.application.livedesign.panel_components.
LRSort
¶ Bases:
enum.Enum
An enumeration.
-
Folder
= 2¶
-
Owner
= 1¶
-
-
class
schrodinger.application.livedesign.panel_components.
StatusBarDialog
¶ Bases:
PyQt5.QtWidgets.QDialog
Helper class to setup the status bar for the panel. This class acts as the parent to avoid thread issues.
-
Accepted
= 1¶
-
class
DialogCode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x22ed378>¶
-
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
IgnoreMask
= 4¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
accept
(self)¶
-
acceptDrops
(self) → bool¶
-
accepted
¶ accepted(self) [signal]
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
done
(self, int)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
exec
(self) → int¶
-
exec_
(self) → int¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
finished
¶ finished(self, int) [signal]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isSizeGripEnabled
(self) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
open
(self)¶
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
reject
(self)¶
-
rejected
¶ rejected(self) [signal]
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
result
(self) → int¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModal
(self, bool)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setResult
(self, int)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeGripEnabled
(self, bool)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
show
(self)¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeHint
(self) → QSize¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
stackUnder
(self, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
LRSortCombo
(parent=None)¶ Bases:
PyQt5.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)¶ Initialize self. See help(type(self)) for accurate signature.
-
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¶
-
AdjustToMinimumContentsLength
= 2¶
-
AdjustToMinimumContentsLengthWithIcon
= 3¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
IgnoreMask
= 4¶
-
InsertAfterCurrent
= 4¶
-
InsertAlphabetically
= 6¶
-
InsertAtBottom
= 3¶
-
InsertAtCurrent
= 2¶
-
InsertAtTop
= 1¶
-
InsertBeforeCurrent
= 5¶
-
class
InsertPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fd6958>¶
-
-
NoInsert
= 0¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
PdmDepth
= 6¶
-
PdmDevicePixelRatio
= 11¶
-
PdmDevicePixelRatioScaled
= 12¶
-
PdmDpiX
= 7¶
-
PdmDpiY
= 8¶
-
PdmHeight
= 2¶
-
PdmHeightMM
= 4¶
-
PdmNumColors
= 5¶
-
PdmPhysicalDpiX
= 9¶
-
PdmPhysicalDpiY
= 10¶
-
PdmWidth
= 1¶
-
PdmWidthMM
= 3¶
-
class
RenderFlag
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
SizeAdjustPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fd6d08>¶
-
-
__len__
¶ Return len(self).
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
activated
¶ activated(self, int) [signal] activated(self, str) [signal]
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
addItem
(self, str, userData: Any = None)¶ addItem(self, QIcon, str, userData: Any = None)
-
addItems
(self, Iterable[str])¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clear
(self)¶
-
clearEditText
(self)¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
completer
(self) → QCompleter¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
count
(self) → int¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
currentData
(self, role: int = Qt.UserRole) → Any¶
-
currentIndex
(self) → int¶
-
currentIndexChanged
¶ currentIndexChanged(self, int) [signal] currentIndexChanged(self, str) [signal]
-
currentText
(self) → str¶
-
currentTextChanged
¶ currentTextChanged(self, str) [signal]
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
duplicatesEnabled
(self) → bool¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
editTextChanged
¶ editTextChanged(self, str) [signal]
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
findData
(self, Any, role: int = Qt.UserRole, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly|Qt.MatchCaseSensitive) → int¶
-
findText
(self, str, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly|Qt.MatchCaseSensitive) → int¶
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, 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, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
hidePopup
(self)¶
-
highlighted
¶ highlighted(self, int) [signal] highlighted(self, str) [signal]
-
iconSize
(self) → QSize¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionComboBox)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶ inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
insertItem
(self, int, str, userData: Any = None)¶ insertItem(self, int, QIcon, str, userData: Any = None)
-
insertItems
(self, int, Iterable[str])¶
-
insertPolicy
(self) → QComboBox.InsertPolicy¶
-
insertSeparator
(self, int)¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isEditable
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemData
(self, int, role: int = Qt.UserRole) → Any¶
-
itemDelegate
(self) → QAbstractItemDelegate¶
-
itemIcon
(self, int) → QIcon¶
-
itemText
(self, int) → str¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
lineEdit
(self) → QLineEdit¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maxCount
(self) → int¶
-
maxVisibleItems
(self) → int¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, 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, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
removeItem
(self, int)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
rootModelIndex
(self) → QModelIndex¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setCompleter
(self, QCompleter)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCurrentIndex
(self, int)¶
-
setCurrentText
(self, str)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setDuplicatesEnabled
(self, bool)¶
-
setEditText
(self, str)¶
-
setEditable
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrame
(self, bool)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setIconSize
(self, QSize)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setInsertPolicy
(self, QComboBox.InsertPolicy)¶
-
setItemData
(self, int, Any, role: int = Qt.UserRole)¶
-
setItemDelegate
(self, QAbstractItemDelegate)¶
-
setItemIcon
(self, int, QIcon)¶
-
setItemText
(self, int, str)¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineEdit
(self, QLineEdit)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaxCount
(self, int)¶
-
setMaxVisibleItems
(self, int)¶
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumContentsLength
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModel
(self, QAbstractItemModel)¶
-
setModelColumn
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setRootModelIndex
(self, QModelIndex)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeAdjustPolicy
(self, QComboBox.SizeAdjustPolicy)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setValidator
(self, QValidator)¶
-
setView
(self, QAbstractItemView)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
show
(self)¶
-
showEvent
(self, 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, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
validator
(self) → QValidator¶
-
view
(self) → QAbstractItemView¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.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 tree - view (
QtWidgets.QTreeView
) – view for the model
- 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
()¶
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
schrodinger.application.livedesign.panel_components.
CascadingCheckboxItem
(*args, **kwargs)¶ Bases:
PyQt5.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)¶ Initialize self. See help(type(self)) for accurate signature.
-
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, bool)¶
-
class
ItemType
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x3086be8>¶
-
-
Type
= 0¶
-
UserType
= 1000¶
-
accessibleDescription
(self) → str¶
-
accessibleText
(self) → str¶
-
appendColumn
(self, Iterable[QStandardItem])¶
-
appendRow
(self, Iterable[QStandardItem])¶ appendRow(self, QStandardItem)
-
appendRows
(self, Iterable[QStandardItem])¶
-
background
(self) → QBrush¶
-
checkState
(self) → Qt.CheckState¶
-
child
(self, 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.ItemFlags¶
-
font
(self) → QFont¶
-
foreground
(self) → QBrush¶
-
hasChildren
(self) → bool¶
-
icon
(self) → QIcon¶
-
index
(self) → QModelIndex¶
-
insertColumn
(self, int, Iterable[QStandardItem])¶
-
insertColumns
(self, int, int)¶
-
insertRow
(self, int, Iterable[QStandardItem])¶ insertRow(self, int, QStandardItem)
-
insertRows
(self, int, int)¶ insertRows(self, int, Iterable[QStandardItem])
-
isAutoTristate
(self) → bool¶
-
isCheckable
(self) → bool¶
-
isDragEnabled
(self) → bool¶
-
isDropEnabled
(self) → bool¶
-
isEditable
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isSelectable
(self) → bool¶
-
isTristate
(self) → bool¶
-
isUserTristate
(self) → bool¶
-
model
(self) → QStandardItemModel¶
-
parent
(self) → QStandardItem¶
-
read
(self, QDataStream)¶
-
removeColumn
(self, int)¶
-
removeColumns
(self, int, int)¶
-
removeRow
(self, int)¶
-
removeRows
(self, int, int)¶
-
row
(self) → int¶
-
rowCount
(self) → int¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleText
(self, str)¶
-
setAutoTristate
(self, bool)¶
-
setBackground
(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])¶
-
setCheckState
(self, Qt.CheckState)¶
-
setCheckable
(self, bool)¶
-
setChild
(self, int, int, QStandardItem)¶ setChild(self, int, QStandardItem)
-
setColumnCount
(self, int)¶
-
setDragEnabled
(self, bool)¶
-
setDropEnabled
(self, bool)¶
-
setEditable
(self, bool)¶
-
setFlags
(self, Union[Qt.ItemFlags, Qt.ItemFlag])¶
-
setFont
(self, QFont)¶
-
setForeground
(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])¶
-
setIcon
(self, QIcon)¶
-
setRowCount
(self, int)¶
-
setSelectable
(self, bool)¶
-
setSizeHint
(self, QSize)¶
-
setStatusTip
(self, str)¶
-
setText
(self, str)¶
-
setTextAlignment
(self, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
setToolTip
(self, str)¶
-
setTristate
(self, bool)¶
-
setUserTristate
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
sizeHint
(self) → QSize¶
-
sortChildren
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
statusTip
(self) → str¶
-
takeChild
(self, int, column: int = 0) → QStandardItem¶
-
takeColumn
(self, int) → List[QStandardItem]¶
-
takeRow
(self, int) → List[QStandardItem]¶
-
text
(self) → str¶
-
textAlignment
(self) → Qt.Alignment¶
-
toolTip
(self) → str¶
-
type
(self) → int¶
-
whatsThis
(self) → str¶
-
write
(self, 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
-
ld_data
¶
-
class
ItemType
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x3086be8>¶
-
-
Type
= 0¶
-
UserType
= 1000¶
-
accessibleDescription
(self) → str¶
-
accessibleText
(self) → str¶
-
appendColumn
(self, Iterable[QStandardItem])¶
-
appendRow
(self, Iterable[QStandardItem])¶ appendRow(self, QStandardItem)
-
appendRows
(self, Iterable[QStandardItem])¶
-
background
(self) → QBrush¶
-
checkState
(self) → Qt.CheckState¶
-
child
(self, 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.ItemFlags¶
-
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, int, Iterable[QStandardItem])¶
-
insertColumns
(self, int, int)¶
-
insertRow
(self, int, Iterable[QStandardItem])¶ insertRow(self, int, QStandardItem)
-
insertRows
(self, int, int)¶ insertRows(self, int, Iterable[QStandardItem])
-
isAutoTristate
(self) → bool¶
-
isCheckable
(self) → bool¶
-
isDragEnabled
(self) → bool¶
-
isDropEnabled
(self) → bool¶
-
isEditable
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isSelectable
(self) → bool¶
-
isTristate
(self) → bool¶
-
isUserTristate
(self) → bool¶
-
model
(self) → QStandardItemModel¶
-
parent
(self) → QStandardItem¶
-
read
(self, QDataStream)¶
-
removeColumn
(self, int)¶
-
removeColumns
(self, int, int)¶
-
removeRow
(self, int)¶
-
removeRows
(self, int, int)¶
-
row
(self) → int¶
-
rowCount
(self) → int¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleText
(self, str)¶
-
setAutoTristate
(self, bool)¶
-
setBackground
(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])¶
-
setCheckState
(self, Qt.CheckState)¶
-
setCheckable
(self, bool)¶
-
setChild
(self, int, int, QStandardItem)¶ setChild(self, int, QStandardItem)
-
setColumnCount
(self, 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, bool)¶
-
setDropEnabled
(self, bool)¶
-
setEditable
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFlags
(self, Union[Qt.ItemFlags, Qt.ItemFlag])¶
-
setFont
(self, QFont)¶
-
setForeground
(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])¶
-
setIcon
(self, QIcon)¶
-
setRowCount
(self, int)¶
-
setSelectable
(self, bool)¶
-
setSizeHint
(self, QSize)¶
-
setStatusTip
(self, str)¶
-
setText
(self, str)¶
-
setTextAlignment
(self, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
setToolTip
(self, str)¶
-
setTristate
(self, bool)¶
-
setUserTristate
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
sizeHint
(self) → QSize¶
-
sortChildren
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
statusTip
(self) → str¶
-
takeChild
(self, int, column: int = 0) → QStandardItem¶
-
takeColumn
(self, int) → List[QStandardItem]¶
-
takeRow
(self, int) → List[QStandardItem]¶
-
text
(self) → str¶
-
textAlignment
(self) → Qt.Alignment¶
-
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, QDataStream)¶
-
-
class
schrodinger.application.livedesign.panel_components.
LDDataSelectionModel
(*args, **kwargs)¶ Bases:
PyQt5.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)¶ Initialize self. See help(type(self)) for accurate signature.
-
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)
-
setItemChecked
(ld_data, checked)¶ Set the checkstate of the item associated with the supplied data, if it is enabled.
Parameters: - ld_data (data_classes.LDData) – a
LDData
instance corresponding to an item in the model - checked (bool) – whether to check or uncheck the specified item
- ld_data (data_classes.LDData) – a
-
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
¶ Bases:
enum.IntEnum
An enumeration.
-
DoNotUseParent
= 2¶
-
IndexIsValid
= 1¶
-
NoOption
= 0¶
-
ParentIsInvalid
= 4¶
-
-
class
CheckIndexOptions
¶ Bases:
sip.simplewrapper
QAbstractItemModel.CheckIndexOptions(Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption]) QAbstractItemModel.CheckIndexOptions(QAbstractItemModel.CheckIndexOptions)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
HorizontalSortHint
= 2¶
-
class
LayoutChangeHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x26a55a8>¶
-
-
NoLayoutChangeHint
= 0¶
-
VerticalSortHint
= 1¶
-
appendColumn
(self, Iterable[QStandardItem])¶
-
appendRow
(self, Iterable[QStandardItem])¶ appendRow(self, QStandardItem)
-
beginInsertColumns
(self, QModelIndex, int, int)¶
-
beginInsertRows
(self, QModelIndex, int, int)¶
-
beginMoveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginMoveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginRemoveColumns
(self, QModelIndex, int, int)¶
-
beginRemoveRows
(self, QModelIndex, int, int)¶
-
beginResetModel
(self)¶
-
blockSignals
(self, bool) → bool¶
-
buddy
(self, QModelIndex) → QModelIndex¶
-
canDropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
canFetchMore
(self, QModelIndex) → bool¶
-
changePersistentIndex
(self, QModelIndex, QModelIndex)¶
-
changePersistentIndexList
(self, Iterable[QModelIndex], Iterable[QModelIndex])¶
-
checkIndex
(self, QModelIndex, options: Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption] = QAbstractItemModel.CheckIndexOption.NoOption) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
clearItemData
(self, QModelIndex) → bool¶
-
columnCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
columnsAboutToBeInserted
¶ columnsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
columnsAboutToBeMoved
¶ columnsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsAboutToBeRemoved
¶ columnsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
columnsInserted
¶ columnsInserted(self, QModelIndex, int, int) [signal]
-
columnsMoved
¶ columnsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsRemoved
¶ columnsRemoved(self, QModelIndex, int, int) [signal]
-
connectNotify
(self, QMetaMethod)¶
-
createIndex
(self, int, int, object: object = 0) → QModelIndex¶
-
customEvent
(self, QEvent)¶
-
data
(self, QModelIndex, role: int = Qt.DisplayRole) → Any¶
-
dataChanged
¶ dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = []) [signal]
-
decodeData
(self, int, int, QModelIndex, QDataStream) → bool¶
-
deleteLater
(self)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
encodeData
(self, Iterable[QModelIndex], QDataStream)¶
-
endInsertColumns
(self)¶
-
endInsertRows
(self)¶
-
endMoveColumns
(self)¶
-
endMoveRows
(self)¶
-
endRemoveColumns
(self)¶
-
endRemoveRows
(self)¶
-
endResetModel
(self)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
fetchMore
(self, QModelIndex)¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
findItems
(self, str, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly, column: int = 0) → List[QStandardItem]¶
-
flags
(self, QModelIndex) → Qt.ItemFlags¶
-
hasChildren
(self, parent: QModelIndex = QModelIndex()) → bool¶
-
hasIndex
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
headerData
(self, int, Qt.Orientation, role: int = Qt.DisplayRole) → Any¶
-
headerDataChanged
¶ headerDataChanged(self, Qt.Orientation, int, int) [signal]
-
horizontalHeaderItem
(self, int) → QStandardItem¶
-
index
(self, int, int, parent: QModelIndex = QModelIndex()) → QModelIndex¶
-
indexFromItem
(self, QStandardItem) → QModelIndex¶
-
inherits
(self, str) → bool¶
-
insertColumn
(self, int, Iterable[QStandardItem])¶ insertColumn(self, int, parent: QModelIndex = QModelIndex()) -> bool
-
insertColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRow
(self, int, Iterable[QStandardItem])¶ insertRow(self, int, QStandardItem) insertRow(self, int, parent: QModelIndex = QModelIndex()) -> bool
-
insertRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
installEventFilter
(self, QObject)¶
-
invisibleRootItem
(self) → QStandardItem¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
item
(self, int, column: int = 0) → QStandardItem¶
-
itemChanged
¶ itemChanged(self, QStandardItem) [signal]
-
itemData
(self, QModelIndex) → Dict[int, Any]¶
-
itemFromIndex
(self, QModelIndex) → QStandardItem¶
-
itemPrototype
(self) → QStandardItem¶
-
killTimer
(self, 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, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) → List[QModelIndex]¶
-
metaObject
(self) → QMetaObject¶
-
mimeData
(self, Iterable[QModelIndex]) → QMimeData¶
-
mimeTypes
(self) → List[str]¶
-
modelAboutToBeReset
¶ modelAboutToBeReset(self) [signal]
-
modelReset
¶ modelReset(self) [signal]
-
moveColumn
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveRow
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
parent
(self, QModelIndex) → QModelIndex¶ parent(self) -> QObject
-
persistentIndexList
(self) → List[QModelIndex]¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeEventFilter
(self, QObject)¶
-
removeRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
resetInternalData
(self)¶
-
revert
(self)¶
-
roleNames
(self) → Dict[int, QByteArray]¶
-
rowCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
rowsAboutToBeInserted
¶ rowsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
rowsAboutToBeMoved
¶ rowsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsAboutToBeRemoved
¶ rowsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
rowsInserted
¶ rowsInserted(self, QModelIndex, int, int) [signal]
-
rowsMoved
¶ rowsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsRemoved
¶ rowsRemoved(self, QModelIndex, int, int) [signal]
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setColumnCount
(self, int)¶
-
setData
(self, QModelIndex, Any, role: int = Qt.EditRole) → bool¶
-
setHeaderData
(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) → bool¶
-
setHorizontalHeaderItem
(self, int, QStandardItem)¶
-
setHorizontalHeaderLabels
(self, Iterable[str])¶
-
setItem
(self, int, int, QStandardItem)¶ setItem(self, int, QStandardItem)
-
setItemData
(self, QModelIndex, Dict[int, Any]) → bool¶
-
setItemPrototype
(self, QStandardItem)¶
-
setItemRoleNames
(self, Dict[int, Union[QByteArray, bytes, bytearray]])¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
setRowCount
(self, int)¶
-
setSortRole
(self, int)¶
-
setVerticalHeaderItem
(self, int, QStandardItem)¶
-
setVerticalHeaderLabels
(self, Iterable[str])¶
-
sibling
(self, int, int, QModelIndex) → QModelIndex¶
-
signalsBlocked
(self) → bool¶
-
sort
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
sortRole
(self) → int¶
-
span
(self, QModelIndex) → QSize¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
submit
(self) → bool¶
-
supportedDragActions
(self) → Qt.DropActions¶
-
supportedDropActions
(self) → Qt.DropActions¶
-
takeColumn
(self, int) → List[QStandardItem]¶
-
takeHorizontalHeaderItem
(self, int) → QStandardItem¶
-
takeItem
(self, int, column: int = 0) → QStandardItem¶
-
takeRow
(self, int) → List[QStandardItem]¶
-
takeVerticalHeaderItem
(self, int) → QStandardItem¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
verticalHeaderItem
(self, int) → QStandardItem¶
-
-
class
schrodinger.application.livedesign.panel_components.
LDDataSelectionTreeView
¶ Bases:
PyQt5.QtWidgets.QTreeView
A class for displaying LD data selection.
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7f878>¶
-
-
DoubleClicked
= 2¶
-
DragDrop
= 3¶
-
class
DragDropMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7fc28>¶
-
-
DragOnly
= 1¶
-
DragSelectingState
= 2¶
-
DraggingState
= 1¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
class
DropIndicatorPosition
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7ffd8>¶
-
-
DropOnly
= 2¶
-
EditKeyPressed
= 8¶
-
class
EditTrigger
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e80388>¶
-
-
class
EditTriggers
¶ Bases:
sip.simplewrapper
QAbstractItemView.EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) QAbstractItemView.EditTriggers(QAbstractItemView.EditTriggers)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
ScrollHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fccdf8>¶
-
-
class
ScrollMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd1a8>¶
-
-
ScrollPerItem
= 0¶
-
ScrollPerPixel
= 1¶
-
SelectColumns
= 2¶
-
SelectItems
= 0¶
-
SelectRows
= 1¶
-
SelectedClicked
= 4¶
-
class
SelectionBehavior
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd558>¶
-
-
class
SelectionMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd908>¶
-
-
class
Shadow
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff4cd8>¶
-
-
Shadow_Mask
= 240¶
-
Shape_Mask
= 15¶
-
SingleSelection
= 1¶
-
class
SizeAdjustPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fce068>¶
-
-
class
StyleMask
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff5438>¶
-
-
StyledPanel
= 6¶
-
Sunken
= 48¶
-
VLine
= 5¶
-
WinPanel
= 3¶
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
activated
¶ activated(self, QModelIndex) [signal]
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
addScrollBarWidget
(self, QWidget, Union[Qt.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, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
clearSelection
(self)¶
-
clicked
¶ clicked(self, QModelIndex) [signal]
-
close
(self) → bool¶
-
closeEditor
(self, QWidget, QAbstractItemDelegate.EndEditHint)¶
-
closeEvent
(self, QCloseEvent)¶
-
closePersistentEditor
(self, QModelIndex)¶
-
collapse
(self, QModelIndex)¶
-
collapseAll
(self)¶
-
collapsed
¶ collapsed(self, QModelIndex) [signal]
-
colorCount
(self) → int¶
-
columnAt
(self, int) → int¶
-
columnCountChanged
(self, int, int)¶
-
columnMoved
(self)¶
-
columnResized
(self, int, int, int)¶
-
columnViewportPosition
(self, int) → int¶
-
columnWidth
(self, int) → int¶
-
commitData
(self, QWidget)¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
cornerWidget
(self) → QWidget¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
currentChanged
(self, QModelIndex, QModelIndex)¶
-
currentIndex
(self) → QModelIndex¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
dataChanged
(self, QModelIndex, 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: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
dirtyRegionOffset
(self) → QPoint¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
doubleClicked
¶ doubleClicked(self, QModelIndex) [signal]
-
dragDropMode
(self) → QAbstractItemView.DragDropMode¶
-
dragDropOverwriteMode
(self) → bool¶
-
dragEnabled
(self) → bool¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawBranches
(self, QPainter, QRect, QModelIndex)¶
-
drawFrame
(self, QPainter)¶
-
drawRow
(self, QPainter, QStyleOptionViewItem, QModelIndex)¶
-
drawTree
(self, QPainter, QRegion)¶
-
dropEvent
(self, QDropEvent)¶
-
dropIndicatorPosition
(self) → QAbstractItemView.DropIndicatorPosition¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
edit
(self, QModelIndex)¶ edit(self, QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool
-
editTriggers
(self) → QAbstractItemView.EditTriggers¶
-
editorDestroyed
(self, QObject)¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
entered
¶ entered(self, QModelIndex) [signal]
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
executeDelayedItemsLayout
(self)¶
-
expand
(self, QModelIndex)¶
-
expandAll
(self)¶
-
expandToDepth
(self, int)¶
-
expanded
¶ expanded(self, QModelIndex) [signal]
-
expandsOnDoubleClick
(self) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameRect
(self) → QRect¶
-
frameShadow
(self) → QFrame.Shadow¶
-
frameShape
(self) → QFrame.Shape¶
-
frameSize
(self) → QSize¶
-
frameStyle
(self) → int¶
-
frameWidth
(self) → int¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, 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, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideColumn
(self, int)¶
-
hideEvent
(self, QHideEvent)¶
-
horizontalOffset
(self) → int¶
-
horizontalScrollBar
(self) → QScrollBar¶
-
horizontalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
horizontalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
horizontalScrollbarAction
(self, int)¶
-
horizontalScrollbarValueChanged
(self, int)¶
-
iconSize
(self) → QSize¶
-
iconSizeChanged
¶ iconSizeChanged(self, QSize) [signal]
-
indentation
(self) → int¶
-
indexAbove
(self, QModelIndex) → QModelIndex¶
-
indexAt
(self, QPoint) → QModelIndex¶
-
indexBelow
(self, QModelIndex) → QModelIndex¶
-
indexRowSizeHint
(self, QModelIndex) → int¶
-
indexWidget
(self, QModelIndex) → QWidget¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isAnimated
(self) → bool¶
-
isColumnHidden
(self, int) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isExpanded
(self, QModelIndex) → bool¶
-
isFirstColumnSpanned
(self, int, QModelIndex) → bool¶
-
isFullScreen
(self) → bool¶
-
isHeaderHidden
(self) → bool¶
-
isHidden
(self) → bool¶
-
isIndexHidden
(self, QModelIndex) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isPersistentEditorOpen
(self, QModelIndex) → bool¶
-
isRightToLeft
(self) → bool¶
-
isRowHidden
(self, int, QModelIndex) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isSortingEnabled
(self) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemDelegate
(self) → QAbstractItemDelegate¶ itemDelegate(self, QModelIndex) -> QAbstractItemDelegate
-
itemDelegateForColumn
(self, int) → QAbstractItemDelegate¶
-
itemDelegateForRow
(self, int) → QAbstractItemDelegate¶
-
itemsExpandable
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
keyboardSearch
(self, str)¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
lineWidth
(self) → int¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumViewportSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
midLineWidth
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
model
(self) → QAbstractItemModel¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveCursor
(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) → QModelIndex¶
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
openPersistentEditor
(self, QModelIndex)¶
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
pressed
¶ pressed(self, QModelIndex) [signal]
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
reexpand
(self)¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reset
(self)¶
-
resetHorizontalScrollMode
(self)¶
-
resetIndentation
(self)¶
-
resetVerticalScrollMode
(self)¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeColumnToContents
(self, int)¶
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
rootIndex
(self) → QModelIndex¶
-
rootIsDecorated
(self) → bool¶
-
rowHeight
(self, QModelIndex) → int¶
-
rowsAboutToBeRemoved
(self, QModelIndex, int, int)¶
-
rowsInserted
(self, QModelIndex, int, int)¶
-
rowsRemoved
(self, QModelIndex, int, int)¶
-
saveGeometry
(self) → QByteArray¶
-
scheduleDelayedItemsLayout
(self)¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
scrollBarWidgets
(self, Union[Qt.Alignment, Qt.AlignmentFlag]) → List[QWidget]¶
-
scrollContentsBy
(self, int, int)¶
-
scrollDirtyRegion
(self, int, int)¶
-
scrollTo
(self, QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
-
scrollToBottom
(self)¶
-
scrollToTop
(self)¶
-
selectAll
(self)¶
-
selectedIndexes
(self) → List[QModelIndex]¶
-
selectionBehavior
(self) → QAbstractItemView.SelectionBehavior¶
-
selectionChanged
(self, QItemSelection, QItemSelection)¶
-
selectionCommand
(self, QModelIndex, event: QEvent = None) → QItemSelectionModel.SelectionFlags¶
-
selectionMode
(self) → QAbstractItemView.SelectionMode¶
-
selectionModel
(self) → QItemSelectionModel¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAllColumnsShowFocus
(self, bool)¶
-
setAlternatingRowColors
(self, bool)¶
-
setAnimated
(self, bool)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoExpandDelay
(self, int)¶
-
setAutoFillBackground
(self, bool)¶
-
setAutoScroll
(self, bool)¶
-
setAutoScrollMargin
(self, int)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setColumnHidden
(self, int, bool)¶
-
setColumnWidth
(self, int, int)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCornerWidget
(self, QWidget)¶
-
setCurrentIndex
(self, QModelIndex)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDefaultDropAction
(self, Qt.DropAction)¶
-
setDirtyRegion
(self, QRegion)¶
-
setDisabled
(self, bool)¶
-
setDragDropMode
(self, QAbstractItemView.DragDropMode)¶
-
setDragDropOverwriteMode
(self, bool)¶
-
setDragEnabled
(self, bool)¶
-
setDropIndicatorShown
(self, bool)¶
-
setEditTriggers
(self, Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger])¶
-
setEnabled
(self, bool)¶
-
setExpanded
(self, QModelIndex, bool)¶
-
setExpandsOnDoubleClick
(self, bool)¶
-
setFirstColumnSpanned
(self, int, QModelIndex, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrameRect
(self, QRect)¶
-
setFrameShadow
(self, QFrame.Shadow)¶
-
setFrameShape
(self, QFrame.Shape)¶
-
setFrameStyle
(self, int)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHeader
(self, QHeaderView)¶
-
setHeaderHidden
(self, bool)¶
-
setHidden
(self, bool)¶
-
setHorizontalScrollBar
(self, QScrollBar)¶
-
setHorizontalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setHorizontalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setIconSize
(self, QSize)¶
-
setIndentation
(self, int)¶
-
setIndexWidget
(self, QModelIndex, QWidget)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setItemDelegate
(self, QAbstractItemDelegate)¶
-
setItemDelegateForColumn
(self, int, QAbstractItemDelegate)¶
-
setItemDelegateForRow
(self, int, QAbstractItemDelegate)¶
-
setItemsExpandable
(self, bool)¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineWidth
(self, int)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMidLineWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModel
(self, QAbstractItemModel)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setRootIndex
(self, QModelIndex)¶
-
setRootIsDecorated
(self, bool)¶
-
setRowHidden
(self, int, QModelIndex, bool)¶
-
setSelection
(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
-
setSelectionBehavior
(self, QAbstractItemView.SelectionBehavior)¶
-
setSelectionMode
(self, QAbstractItemView.SelectionMode)¶
-
setSelectionModel
(self, QItemSelectionModel)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeAdjustPolicy
(self, QAbstractScrollArea.SizeAdjustPolicy)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setSortingEnabled
(self, bool)¶
-
setState
(self, QAbstractItemView.State)¶
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setTextElideMode
(self, Qt.TextElideMode)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setTreePosition
(self, int)¶
-
setUniformRowHeights
(self, bool)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVerticalScrollBar
(self, QScrollBar)¶
-
setVerticalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setVerticalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setViewport
(self, QWidget)¶
-
setViewportMargins
(self, int, int, int, int)¶ setViewportMargins(self, QMargins)
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
setWordWrap
(self, bool)¶
-
setupViewport
(self, QWidget)¶
-
show
(self)¶
-
showColumn
(self, int)¶
-
showDropIndicator
(self) → bool¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeAdjustPolicy
(self) → QAbstractScrollArea.SizeAdjustPolicy¶
-
sizeHint
(self) → QSize¶
-
sizeHintForColumn
(self, int) → int¶
-
sizeHintForIndex
(self, QModelIndex) → QSize¶
-
sizeHintForRow
(self, int) → int¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
sortByColumn
(self, int, Qt.SortOrder)¶
-
stackUnder
(self, QWidget)¶
-
startDrag
(self, Union[Qt.DropActions, Qt.DropAction])¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
state
(self) → QAbstractItemView.State¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
textElideMode
(self) → Qt.TextElideMode¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
treePosition
(self) → int¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
uniformRowHeights
(self) → bool¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QModelIndex)
-
updateEditorData
(self)¶
-
updateEditorGeometries
(self)¶
-
updateGeometries
(self)¶
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
verticalOffset
(self) → int¶
-
verticalScrollBar
(self) → QScrollBar¶
-
verticalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
verticalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
verticalScrollbarAction
(self, int)¶
-
verticalScrollbarValueChanged
(self, int)¶
-
viewOptions
(self) → QStyleOptionViewItem¶
-
viewport
(self) → QWidget¶
-
viewportEntered
¶ viewportEntered(self) [signal]
-
viewportEvent
(self, QEvent) → bool¶
-
viewportMargins
(self) → QMargins¶
-
viewportSizeHint
(self) → QSize¶
-
visibleRegion
(self) → QRegion¶
-
visualRect
(self, QModelIndex) → QRect¶
-
visualRegionForSelection
(self, QItemSelection) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
wordWrap
(self) → bool¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
LDDataSelectionTreeWidget
(*args, **kwargs)¶ Bases:
schrodinger.ui.qt.widgetmixins.basicmixins.InitMixin
,schrodinger.application.livedesign.panel_components.BaseSearchTreeWidgetHelper
,PyQt5.QtWidgets.QWidget
A QWidget with a initialization mixin to group together a search bar LineEdit and the LD Data Selection QTreeView.
-
dataChanged
¶
-
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.
-
loadData
(ld_data_list)¶ See
LDDataSelectionModel.loadData()
for more information.
-
getCheckedData
()¶ See
LDDataSelectionModel.getCheckedData()
for more information.
-
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)¶ Set the checkstate of the specified item. If the item associated with the supplied LD data does not exist or if it is not enabled, do nothing.
Parameters: - ld_data (data_classes.LDData) – a
LDData
instance corresponding to an item in the model - checked (bool) – whether to check or uncheck the specified item
- ld_data (data_classes.LDData) – a
-
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 modelReturns: 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 modelReturns: 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
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
IgnoreMask
= 4¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
PdmDepth
= 6¶
-
PdmDevicePixelRatio
= 11¶
-
PdmDevicePixelRatioScaled
= 12¶
-
PdmDpiX
= 7¶
-
PdmDpiY
= 8¶
-
PdmHeight
= 2¶
-
PdmHeightMM
= 4¶
-
PdmNumColors
= 5¶
-
PdmPhysicalDpiX
= 9¶
-
PdmPhysicalDpiY
= 10¶
-
PdmWidth
= 1¶
-
PdmWidthMM
= 3¶
-
class
RenderFlag
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
inherits
(self, str) → bool¶
-
initFinalize
()¶ Suggested subclass use: perform any remaining initialization.
-
initPainter
(self, QPainter)¶
-
initSetOptions
()¶ Suggested subclass use: set instance variables, excluding layouts and subwidgets.
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
resetWidgets
()¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
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, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWidgetLayout
()¶ Set the widget layout
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
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 tree - view (
QtWidgets.QTreeView
) – view for the model
- model (
-
show
(self)¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeHint
(self) → QSize¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
stackUnder
(self, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
ui_module
= None¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
ColumnSelectionModel
(*args, **kwargs)¶ Bases:
PyQt5.QtGui.QStandardItemModel
A tree structured model for storing data by family.
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
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
()¶ Recursively traverses the entire tree and returns all the checked properties.
Returns: the checked properties Return type: list of structure.PropertyName
-
checkAll
(checked=True)¶ Check all items
-
onItemChanged
(item)¶ Handle changes in the all button check state.
-
class
CheckIndexOption
¶ Bases:
enum.IntEnum
An enumeration.
-
DoNotUseParent
= 2¶
-
IndexIsValid
= 1¶
-
NoOption
= 0¶
-
ParentIsInvalid
= 4¶
-
-
class
CheckIndexOptions
¶ Bases:
sip.simplewrapper
QAbstractItemModel.CheckIndexOptions(Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption]) QAbstractItemModel.CheckIndexOptions(QAbstractItemModel.CheckIndexOptions)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
HorizontalSortHint
= 2¶
-
class
LayoutChangeHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x26a55a8>¶
-
-
NoLayoutChangeHint
= 0¶
-
VerticalSortHint
= 1¶
-
appendColumn
(self, Iterable[QStandardItem])¶
-
appendRow
(self, Iterable[QStandardItem])¶ appendRow(self, QStandardItem)
-
beginInsertColumns
(self, QModelIndex, int, int)¶
-
beginInsertRows
(self, QModelIndex, int, int)¶
-
beginMoveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginMoveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginRemoveColumns
(self, QModelIndex, int, int)¶
-
beginRemoveRows
(self, QModelIndex, int, int)¶
-
beginResetModel
(self)¶
-
blockSignals
(self, bool) → bool¶
-
buddy
(self, QModelIndex) → QModelIndex¶
-
canDropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
canFetchMore
(self, QModelIndex) → bool¶
-
changePersistentIndex
(self, QModelIndex, QModelIndex)¶
-
changePersistentIndexList
(self, Iterable[QModelIndex], Iterable[QModelIndex])¶
-
checkIndex
(self, QModelIndex, options: Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption] = QAbstractItemModel.CheckIndexOption.NoOption) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
clear
(self)¶
-
clearItemData
(self, QModelIndex) → bool¶
-
columnCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
columnsAboutToBeInserted
¶ columnsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
columnsAboutToBeMoved
¶ columnsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsAboutToBeRemoved
¶ columnsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
columnsInserted
¶ columnsInserted(self, QModelIndex, int, int) [signal]
-
columnsMoved
¶ columnsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsRemoved
¶ columnsRemoved(self, QModelIndex, int, int) [signal]
-
connectNotify
(self, QMetaMethod)¶
-
createIndex
(self, int, int, object: object = 0) → QModelIndex¶
-
customEvent
(self, QEvent)¶
-
data
(self, QModelIndex, role: int = Qt.DisplayRole) → Any¶
-
dataChanged
¶ dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = []) [signal]
-
decodeData
(self, int, int, QModelIndex, QDataStream) → bool¶
-
deleteLater
(self)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
encodeData
(self, Iterable[QModelIndex], QDataStream)¶
-
endInsertColumns
(self)¶
-
endInsertRows
(self)¶
-
endMoveColumns
(self)¶
-
endMoveRows
(self)¶
-
endRemoveColumns
(self)¶
-
endRemoveRows
(self)¶
-
endResetModel
(self)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
fetchMore
(self, QModelIndex)¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
findItems
(self, str, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly, column: int = 0) → List[QStandardItem]¶
-
flags
(self, QModelIndex) → Qt.ItemFlags¶
-
hasChildren
(self, parent: QModelIndex = QModelIndex()) → bool¶
-
hasIndex
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
headerData
(self, int, Qt.Orientation, role: int = Qt.DisplayRole) → Any¶
-
headerDataChanged
¶ headerDataChanged(self, Qt.Orientation, int, int) [signal]
-
horizontalHeaderItem
(self, int) → QStandardItem¶
-
index
(self, int, int, parent: QModelIndex = QModelIndex()) → QModelIndex¶
-
indexFromItem
(self, QStandardItem) → QModelIndex¶
-
inherits
(self, str) → bool¶
-
insertColumn
(self, int, Iterable[QStandardItem])¶ insertColumn(self, int, parent: QModelIndex = QModelIndex()) -> bool
-
insertColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRow
(self, int, Iterable[QStandardItem])¶ insertRow(self, int, QStandardItem) insertRow(self, int, parent: QModelIndex = QModelIndex()) -> bool
-
insertRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
installEventFilter
(self, QObject)¶
-
invisibleRootItem
(self) → QStandardItem¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
item
(self, int, column: int = 0) → QStandardItem¶
-
itemChanged
¶ itemChanged(self, QStandardItem) [signal]
-
itemData
(self, QModelIndex) → Dict[int, Any]¶
-
itemFromIndex
(self, QModelIndex) → QStandardItem¶
-
itemPrototype
(self) → QStandardItem¶
-
killTimer
(self, 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, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) → List[QModelIndex]¶
-
metaObject
(self) → QMetaObject¶
-
mimeData
(self, Iterable[QModelIndex]) → QMimeData¶
-
mimeTypes
(self) → List[str]¶
-
modelAboutToBeReset
¶ modelAboutToBeReset(self) [signal]
-
modelReset
¶ modelReset(self) [signal]
-
moveColumn
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveRow
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
parent
(self, QModelIndex) → QModelIndex¶ parent(self) -> QObject
-
persistentIndexList
(self) → List[QModelIndex]¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeEventFilter
(self, QObject)¶
-
removeRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
resetInternalData
(self)¶
-
revert
(self)¶
-
roleNames
(self) → Dict[int, QByteArray]¶
-
rowCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
rowsAboutToBeInserted
¶ rowsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
rowsAboutToBeMoved
¶ rowsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsAboutToBeRemoved
¶ rowsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
rowsInserted
¶ rowsInserted(self, QModelIndex, int, int) [signal]
-
rowsMoved
¶ rowsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsRemoved
¶ rowsRemoved(self, QModelIndex, int, int) [signal]
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setColumnCount
(self, int)¶
-
setData
(self, QModelIndex, Any, role: int = Qt.EditRole) → bool¶
-
setHeaderData
(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) → bool¶
-
setHorizontalHeaderItem
(self, int, QStandardItem)¶
-
setHorizontalHeaderLabels
(self, Iterable[str])¶
-
setItem
(self, int, int, QStandardItem)¶ setItem(self, int, QStandardItem)
-
setItemData
(self, QModelIndex, Dict[int, Any]) → bool¶
-
setItemPrototype
(self, QStandardItem)¶
-
setItemRoleNames
(self, Dict[int, Union[QByteArray, bytes, bytearray]])¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
setRowCount
(self, int)¶
-
setSortRole
(self, int)¶
-
setVerticalHeaderItem
(self, int, QStandardItem)¶
-
setVerticalHeaderLabels
(self, Iterable[str])¶
-
sibling
(self, int, int, QModelIndex) → QModelIndex¶
-
signalsBlocked
(self) → bool¶
-
sort
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
sortRole
(self) → int¶
-
span
(self, QModelIndex) → QSize¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
submit
(self) → bool¶
-
supportedDragActions
(self) → Qt.DropActions¶
-
supportedDropActions
(self) → Qt.DropActions¶
-
takeColumn
(self, int) → List[QStandardItem]¶
-
takeHorizontalHeaderItem
(self, int) → QStandardItem¶
-
takeItem
(self, int, column: int = 0) → QStandardItem¶
-
takeRow
(self, int) → List[QStandardItem]¶
-
takeVerticalHeaderItem
(self, int) → QStandardItem¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
verticalHeaderItem
(self, int) → QStandardItem¶
-
-
class
schrodinger.application.livedesign.panel_components.
ColumnSelectionProxyModel
(parent=None)¶ Bases:
PyQt5.QtCore.QSortFilterProxyModel
A proxy model to filter an assay model based on the availability
-
__init__
(parent=None)¶ Initialize self. See help(type(self)) for accurate signature.
-
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
¶ Bases:
enum.IntEnum
An enumeration.
-
DoNotUseParent
= 2¶
-
IndexIsValid
= 1¶
-
NoOption
= 0¶
-
ParentIsInvalid
= 4¶
-
-
class
CheckIndexOptions
¶ Bases:
sip.simplewrapper
QAbstractItemModel.CheckIndexOptions(Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption]) QAbstractItemModel.CheckIndexOptions(QAbstractItemModel.CheckIndexOptions)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
HorizontalSortHint
= 2¶
-
class
LayoutChangeHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x26a55a8>¶
-
-
NoLayoutChangeHint
= 0¶
-
VerticalSortHint
= 1¶
-
beginInsertColumns
(self, QModelIndex, int, int)¶
-
beginInsertRows
(self, QModelIndex, int, int)¶
-
beginMoveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginMoveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginRemoveColumns
(self, QModelIndex, int, int)¶
-
beginRemoveRows
(self, QModelIndex, int, int)¶
-
beginResetModel
(self)¶
-
blockSignals
(self, bool) → bool¶
-
buddy
(self, QModelIndex) → QModelIndex¶
-
canDropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
canFetchMore
(self, QModelIndex) → bool¶
-
changePersistentIndex
(self, QModelIndex, QModelIndex)¶
-
changePersistentIndexList
(self, Iterable[QModelIndex], Iterable[QModelIndex])¶
-
checkIndex
(self, QModelIndex, options: Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption] = QAbstractItemModel.CheckIndexOption.NoOption) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
columnCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
columnsAboutToBeInserted
¶ columnsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
columnsAboutToBeMoved
¶ columnsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsAboutToBeRemoved
¶ columnsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
columnsInserted
¶ columnsInserted(self, QModelIndex, int, int) [signal]
-
columnsMoved
¶ columnsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsRemoved
¶ columnsRemoved(self, QModelIndex, int, int) [signal]
-
connectNotify
(self, QMetaMethod)¶
-
createIndex
(self, int, int, object: object = 0) → QModelIndex¶
-
customEvent
(self, QEvent)¶
-
data
(self, QModelIndex, role: int = Qt.DisplayRole) → Any¶
-
dataChanged
¶ dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = []) [signal]
-
decodeData
(self, int, int, QModelIndex, QDataStream) → bool¶
-
deleteLater
(self)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
dynamicSortFilter
(self) → bool¶
-
encodeData
(self, Iterable[QModelIndex], QDataStream)¶
-
endInsertColumns
(self)¶
-
endInsertRows
(self)¶
-
endMoveColumns
(self)¶
-
endMoveRows
(self)¶
-
endRemoveColumns
(self)¶
-
endRemoveRows
(self)¶
-
endResetModel
(self)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
fetchMore
(self, QModelIndex)¶
-
filterAcceptsColumn
(self, int, QModelIndex) → bool¶
-
filterCaseSensitivity
(self) → Qt.CaseSensitivity¶
-
filterKeyColumn
(self) → int¶
-
filterRegExp
(self) → QRegExp¶
-
filterRegularExpression
(self) → QRegularExpression¶
-
filterRole
(self) → int¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
flags
(self, QModelIndex) → Qt.ItemFlags¶
-
hasChildren
(self, parent: QModelIndex = QModelIndex()) → bool¶
-
hasIndex
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
headerData
(self, int, Qt.Orientation, role: int = Qt.DisplayRole) → Any¶
-
headerDataChanged
¶ headerDataChanged(self, Qt.Orientation, int, int) [signal]
-
index
(self, int, int, parent: QModelIndex = QModelIndex()) → QModelIndex¶
-
inherits
(self, str) → bool¶
-
insertColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
installEventFilter
(self, QObject)¶
-
invalidate
(self)¶
-
invalidateFilter
(self)¶
-
isRecursiveFilteringEnabled
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isSortLocaleAware
(self) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemData
(self, QModelIndex) → Dict[int, Any]¶
-
killTimer
(self, 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, QModelIndex, QModelIndex) → bool¶
-
mapFromSource
(self, QModelIndex) → QModelIndex¶
-
mapSelectionFromSource
(self, QItemSelection) → QItemSelection¶
-
mapSelectionToSource
(self, QItemSelection) → QItemSelection¶
-
mapToSource
(self, QModelIndex) → QModelIndex¶
-
match
(self, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) → List[QModelIndex]¶
-
metaObject
(self) → QMetaObject¶
-
mimeData
(self, Iterable[QModelIndex]) → QMimeData¶
-
mimeTypes
(self) → List[str]¶
-
modelAboutToBeReset
¶ modelAboutToBeReset(self) [signal]
-
modelReset
¶ modelReset(self) [signal]
-
moveColumn
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveRow
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
parent
(self, QModelIndex) → QModelIndex¶ parent(self) -> QObject
-
persistentIndexList
(self) → List[QModelIndex]¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeEventFilter
(self, QObject)¶
-
removeRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
resetInternalData
(self)¶
-
revert
(self)¶
-
roleNames
(self) → Dict[int, QByteArray]¶
-
rowCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
rowsAboutToBeInserted
¶ rowsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
rowsAboutToBeMoved
¶ rowsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsAboutToBeRemoved
¶ rowsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
rowsInserted
¶ rowsInserted(self, QModelIndex, int, int) [signal]
-
rowsMoved
¶ rowsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsRemoved
¶ rowsRemoved(self, QModelIndex, int, int) [signal]
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setData
(self, QModelIndex, Any, role: int = Qt.EditRole) → bool¶
-
setDynamicSortFilter
(self, bool)¶
-
setFilterCaseSensitivity
(self, Qt.CaseSensitivity)¶
-
setFilterFixedString
(self, str)¶
-
setFilterKeyColumn
(self, int)¶
-
setFilterRegExp
(self, QRegExp)¶ setFilterRegExp(self, str)
-
setFilterRegularExpression
(self, QRegularExpression)¶ setFilterRegularExpression(self, str)
-
setFilterRole
(self, int)¶
-
setFilterWildcard
(self, str)¶
-
setHeaderData
(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) → bool¶
-
setItemData
(self, QModelIndex, Dict[int, Any]) → bool¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
setRecursiveFilteringEnabled
(self, bool)¶
-
setSortCaseSensitivity
(self, Qt.CaseSensitivity)¶
-
setSortLocaleAware
(self, bool)¶
-
setSortRole
(self, int)¶
-
setSourceModel
(self, QAbstractItemModel)¶
-
sibling
(self, int, int, QModelIndex) → QModelIndex¶
-
signalsBlocked
(self) → bool¶
-
sort
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
sortCaseSensitivity
(self) → Qt.CaseSensitivity¶
-
sortColumn
(self) → int¶
-
sortOrder
(self) → Qt.SortOrder¶
-
sortRole
(self) → int¶
-
sourceModel
(self) → QAbstractItemModel¶
-
sourceModelChanged
¶ sourceModelChanged(self) [signal]
-
span
(self, QModelIndex) → QSize¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
submit
(self) → bool¶
-
supportedDragActions
(self) → Qt.DropActions¶
-
supportedDropActions
(self) → Qt.DropActions¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
-
class
schrodinger.application.livedesign.panel_components.
ColumnCheckboxItem
(col, force_unavailable=False)¶ Bases:
PyQt5.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¶
-
class
ItemType
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x3086be8>¶
-
-
Type
= 0¶
-
UserType
= 1000¶
-
accessibleDescription
(self) → str¶
-
accessibleText
(self) → str¶
-
appendColumn
(self, Iterable[QStandardItem])¶
-
appendRow
(self, Iterable[QStandardItem])¶ appendRow(self, QStandardItem)
-
appendRows
(self, Iterable[QStandardItem])¶
-
background
(self) → QBrush¶
-
checkState
(self) → Qt.CheckState¶
-
child
(self, 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.ItemFlags¶
-
font
(self) → QFont¶
-
foreground
(self) → QBrush¶
-
hasChildren
(self) → bool¶
-
icon
(self) → QIcon¶
-
index
(self) → QModelIndex¶
-
insertColumn
(self, int, Iterable[QStandardItem])¶
-
insertColumns
(self, int, int)¶
-
insertRow
(self, int, Iterable[QStandardItem])¶ insertRow(self, int, QStandardItem)
-
insertRows
(self, int, int)¶ insertRows(self, int, Iterable[QStandardItem])
-
isAutoTristate
(self) → bool¶
-
isCheckable
(self) → bool¶
-
isDragEnabled
(self) → bool¶
-
isDropEnabled
(self) → bool¶
-
isEditable
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isSelectable
(self) → bool¶
-
isTristate
(self) → bool¶
-
isUserTristate
(self) → bool¶
-
model
(self) → QStandardItemModel¶
-
parent
(self) → QStandardItem¶
-
read
(self, QDataStream)¶
-
removeColumn
(self, int)¶
-
removeColumns
(self, int, int)¶
-
removeRow
(self, int)¶
-
removeRows
(self, int, int)¶
-
row
(self) → int¶
-
rowCount
(self) → int¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleText
(self, str)¶
-
setAutoTristate
(self, bool)¶
-
setBackground
(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])¶
-
setCheckState
(self, Qt.CheckState)¶
-
setCheckable
(self, bool)¶
-
setChild
(self, int, int, QStandardItem)¶ setChild(self, int, QStandardItem)
-
setColumnCount
(self, int)¶
-
setData
(self, Any, role: int = Qt.UserRole+1)¶
-
setDragEnabled
(self, bool)¶
-
setDropEnabled
(self, bool)¶
-
setEditable
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFlags
(self, Union[Qt.ItemFlags, Qt.ItemFlag])¶
-
setFont
(self, QFont)¶
-
setForeground
(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])¶
-
setIcon
(self, QIcon)¶
-
setRowCount
(self, int)¶
-
setSelectable
(self, bool)¶
-
setSizeHint
(self, QSize)¶
-
setStatusTip
(self, str)¶
-
setText
(self, str)¶
-
setTextAlignment
(self, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
setToolTip
(self, str)¶
-
setTristate
(self, bool)¶
-
setUserTristate
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
sizeHint
(self) → QSize¶
-
sortChildren
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
statusTip
(self) → str¶
-
takeChild
(self, int, column: int = 0) → QStandardItem¶
-
takeColumn
(self, int) → List[QStandardItem]¶
-
takeRow
(self, int) → List[QStandardItem]¶
-
text
(self) → str¶
-
textAlignment
(self) → Qt.Alignment¶
-
toolTip
(self) → str¶
-
type
(self) → int¶
-
whatsThis
(self) → str¶
-
write
(self, QDataStream)¶
-
-
class
schrodinger.application.livedesign.panel_components.
ColumnSelectionListView
¶ Bases:
PyQt5.QtWidgets.QListView
A class for displaying a column selection
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7f878>¶
-
-
DoubleClicked
= 2¶
-
DragDrop
= 3¶
-
class
DragDropMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7fc28>¶
-
-
DragOnly
= 1¶
-
DragSelectingState
= 2¶
-
DraggingState
= 1¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
class
DropIndicatorPosition
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7ffd8>¶
-
-
DropOnly
= 2¶
-
EditKeyPressed
= 8¶
-
class
EditTrigger
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e80388>¶
-
-
class
EditTriggers
¶ Bases:
sip.simplewrapper
QAbstractItemView.EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) QAbstractItemView.EditTriggers(QAbstractItemView.EditTriggers)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
EditingState
= 3¶
-
EnsureVisible
= 0¶
-
ExpandingState
= 4¶
-
ExtendedSelection
= 3¶
-
Fixed
= 0¶
-
Free
= 1¶
-
HLine
= 4¶
-
IconMode
= 1¶
-
IgnoreMask
= 4¶
-
InternalMove
= 4¶
-
class
LayoutMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2b278b8>¶
-
-
LeftToRight
= 0¶
-
ListMode
= 0¶
-
MoveDown
= 1¶
-
MoveEnd
= 5¶
-
MoveHome
= 4¶
-
MoveLeft
= 2¶
-
MoveNext
= 8¶
-
MovePageDown
= 7¶
-
MovePageUp
= 6¶
-
MovePrevious
= 9¶
-
MoveRight
= 3¶
-
MoveUp
= 0¶
-
class
Movement
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2b27c68>¶
-
-
MultiSelection
= 2¶
-
NoDragDrop
= 0¶
-
NoEditTriggers
= 0¶
-
NoFrame
= 0¶
-
NoSelection
= 0¶
-
NoState
= 0¶
-
OnItem
= 0¶
-
OnViewport
= 3¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
ResizeMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2b28018>¶
-
-
class
ScrollHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fccdf8>¶
-
-
class
ScrollMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd1a8>¶
-
-
ScrollPerItem
= 0¶
-
ScrollPerPixel
= 1¶
-
SelectColumns
= 2¶
-
SelectItems
= 0¶
-
SelectRows
= 1¶
-
SelectedClicked
= 4¶
-
class
SelectionBehavior
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd558>¶
-
-
class
SelectionMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd908>¶
-
-
class
Shadow
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff4cd8>¶
-
-
Shadow_Mask
= 240¶
-
Shape_Mask
= 15¶
-
SinglePass
= 0¶
-
SingleSelection
= 1¶
-
class
SizeAdjustPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fce068>¶
-
-
Snap
= 2¶
-
Static
= 0¶
-
class
StyleMask
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff5438>¶
-
-
StyledPanel
= 6¶
-
Sunken
= 48¶
-
TopToBottom
= 1¶
-
VLine
= 5¶
-
class
ViewMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2b283c8>¶
-
-
WinPanel
= 3¶
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
activated
¶ activated(self, QModelIndex) [signal]
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
addScrollBarWidget
(self, QWidget, Union[Qt.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, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
clearPropertyFlags
(self)¶
-
clearSelection
(self)¶
-
clicked
¶ clicked(self, QModelIndex) [signal]
-
close
(self) → bool¶
-
closeEditor
(self, QWidget, QAbstractItemDelegate.EndEditHint)¶
-
closeEvent
(self, QCloseEvent)¶
-
closePersistentEditor
(self, QModelIndex)¶
-
colorCount
(self) → int¶
-
commitData
(self, QWidget)¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
cornerWidget
(self) → QWidget¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
currentChanged
(self, QModelIndex, QModelIndex)¶
-
currentIndex
(self) → QModelIndex¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
dataChanged
(self, QModelIndex, 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: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
dirtyRegionOffset
(self) → QPoint¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
doubleClicked
¶ doubleClicked(self, QModelIndex) [signal]
-
dragDropMode
(self) → QAbstractItemView.DragDropMode¶
-
dragDropOverwriteMode
(self) → bool¶
-
dragEnabled
(self) → bool¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawFrame
(self, QPainter)¶
-
dropEvent
(self, QDropEvent)¶
-
dropIndicatorPosition
(self) → QAbstractItemView.DropIndicatorPosition¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
edit
(self, QModelIndex)¶ edit(self, QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool
-
editTriggers
(self) → QAbstractItemView.EditTriggers¶
-
editorDestroyed
(self, QObject)¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
entered
¶ entered(self, QModelIndex) [signal]
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
executeDelayedItemsLayout
(self)¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
flow
(self) → QListView.Flow¶
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameRect
(self) → QRect¶
-
frameShadow
(self) → QFrame.Shadow¶
-
frameShape
(self) → QFrame.Shape¶
-
frameSize
(self) → QSize¶
-
frameStyle
(self) → int¶
-
frameWidth
(self) → int¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, 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, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
horizontalOffset
(self) → int¶
-
horizontalScrollBar
(self) → QScrollBar¶
-
horizontalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
horizontalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
horizontalScrollbarAction
(self, int)¶
-
horizontalScrollbarValueChanged
(self, int)¶
-
iconSize
(self) → QSize¶
-
iconSizeChanged
¶ iconSizeChanged(self, QSize) [signal]
-
indexAt
(self, QPoint) → QModelIndex¶
-
indexWidget
(self, QModelIndex) → QWidget¶
-
indexesMoved
¶ indexesMoved(self, Iterable[QModelIndex]) [signal]
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isIndexHidden
(self, QModelIndex) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isPersistentEditorOpen
(self, QModelIndex) → bool¶
-
isRightToLeft
(self) → bool¶
-
isRowHidden
(self, int) → bool¶
-
isSelectionRectVisible
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
isWrapping
(self) → bool¶
-
itemAlignment
(self) → Qt.Alignment¶
-
itemDelegate
(self) → QAbstractItemDelegate¶ itemDelegate(self, QModelIndex) -> QAbstractItemDelegate
-
itemDelegateForColumn
(self, int) → QAbstractItemDelegate¶
-
itemDelegateForRow
(self, int) → QAbstractItemDelegate¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
keyboardSearch
(self, str)¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
layoutMode
(self) → QListView.LayoutMode¶
-
leaveEvent
(self, QEvent)¶
-
lineWidth
(self) → int¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumViewportSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, 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, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveCursor
(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) → QModelIndex¶
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
movement
(self) → QListView.Movement¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
openPersistentEditor
(self, QModelIndex)¶
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
pressed
¶ pressed(self, QModelIndex) [signal]
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
rectForIndex
(self, QModelIndex) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reset
(self)¶
-
resetHorizontalScrollMode
(self)¶
-
resetVerticalScrollMode
(self)¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
resizeMode
(self) → QListView.ResizeMode¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
rootIndex
(self) → QModelIndex¶
-
rowsAboutToBeRemoved
(self, QModelIndex, int, int)¶
-
rowsInserted
(self, QModelIndex, int, int)¶
-
saveGeometry
(self) → QByteArray¶
-
scheduleDelayedItemsLayout
(self)¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
scrollBarWidgets
(self, Union[Qt.Alignment, Qt.AlignmentFlag]) → List[QWidget]¶
-
scrollContentsBy
(self, int, int)¶
-
scrollDirtyRegion
(self, int, int)¶
-
scrollTo
(self, QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
-
scrollToBottom
(self)¶
-
scrollToTop
(self)¶
-
selectAll
(self)¶
-
selectedIndexes
(self) → List[QModelIndex]¶
-
selectionBehavior
(self) → QAbstractItemView.SelectionBehavior¶
-
selectionChanged
(self, QItemSelection, QItemSelection)¶
-
selectionCommand
(self, QModelIndex, event: QEvent = None) → QItemSelectionModel.SelectionFlags¶
-
selectionMode
(self) → QAbstractItemView.SelectionMode¶
-
selectionModel
(self) → QItemSelectionModel¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAlternatingRowColors
(self, bool)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setAutoScroll
(self, bool)¶
-
setAutoScrollMargin
(self, int)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setBatchSize
(self, int)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCornerWidget
(self, QWidget)¶
-
setCurrentIndex
(self, QModelIndex)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDefaultDropAction
(self, Qt.DropAction)¶
-
setDirtyRegion
(self, QRegion)¶
-
setDisabled
(self, bool)¶
-
setDragDropMode
(self, QAbstractItemView.DragDropMode)¶
-
setDragDropOverwriteMode
(self, bool)¶
-
setDragEnabled
(self, bool)¶
-
setDropIndicatorShown
(self, bool)¶
-
setEditTriggers
(self, Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger])¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFlow
(self, QListView.Flow)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrameRect
(self, QRect)¶
-
setFrameShadow
(self, QFrame.Shadow)¶
-
setFrameShape
(self, QFrame.Shape)¶
-
setFrameStyle
(self, int)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setGridSize
(self, QSize)¶
-
setHidden
(self, bool)¶
-
setHorizontalScrollBar
(self, QScrollBar)¶
-
setHorizontalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setHorizontalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setIconSize
(self, QSize)¶
-
setIndexWidget
(self, QModelIndex, QWidget)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setItemAlignment
(self, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
setItemDelegate
(self, QAbstractItemDelegate)¶
-
setItemDelegateForColumn
(self, int, QAbstractItemDelegate)¶
-
setItemDelegateForRow
(self, int, QAbstractItemDelegate)¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLayoutMode
(self, QListView.LayoutMode)¶
-
setLineWidth
(self, int)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMidLineWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModel
(self, QAbstractItemModel)¶
-
setModelColumn
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setMovement
(self, QListView.Movement)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setPositionForIndex
(self, QPoint, QModelIndex)¶
-
setProperty
(self, str, Any) → bool¶
-
setResizeMode
(self, QListView.ResizeMode)¶
-
setRootIndex
(self, QModelIndex)¶
-
setRowHidden
(self, int, bool)¶
-
setSelection
(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
-
setSelectionBehavior
(self, QAbstractItemView.SelectionBehavior)¶
-
setSelectionMode
(self, QAbstractItemView.SelectionMode)¶
-
setSelectionModel
(self, QItemSelectionModel)¶
-
setSelectionRectVisible
(self, bool)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeAdjustPolicy
(self, QAbstractScrollArea.SizeAdjustPolicy)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setSpacing
(self, int)¶
-
setState
(self, QAbstractItemView.State)¶
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setTextElideMode
(self, Qt.TextElideMode)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUniformItemSizes
(self, bool)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVerticalScrollBar
(self, QScrollBar)¶
-
setVerticalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setVerticalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setViewMode
(self, QListView.ViewMode)¶
-
setViewport
(self, QWidget)¶
-
setViewportMargins
(self, int, int, int, int)¶ setViewportMargins(self, QMargins)
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
setWordWrap
(self, bool)¶
-
setWrapping
(self, bool)¶
-
setupViewport
(self, QWidget)¶
-
show
(self)¶
-
showDropIndicator
(self) → bool¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeAdjustPolicy
(self) → QAbstractScrollArea.SizeAdjustPolicy¶
-
sizeHint
(self) → QSize¶
-
sizeHintForColumn
(self, int) → int¶
-
sizeHintForIndex
(self, QModelIndex) → QSize¶
-
sizeHintForRow
(self, int) → int¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
spacing
(self) → int¶
-
stackUnder
(self, QWidget)¶
-
startDrag
(self, Union[Qt.DropActions, Qt.DropAction])¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
state
(self) → QAbstractItemView.State¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
textElideMode
(self) → Qt.TextElideMode¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
uniformItemSizes
(self) → bool¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QModelIndex)
-
updateEditorData
(self)¶
-
updateEditorGeometries
(self)¶
-
updateGeometries
(self)¶
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
verticalOffset
(self) → int¶
-
verticalScrollBar
(self) → QScrollBar¶
-
verticalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
verticalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
verticalScrollbarAction
(self, int)¶
-
verticalScrollbarValueChanged
(self, int)¶
-
viewMode
(self) → QListView.ViewMode¶
-
viewOptions
(self) → QStyleOptionViewItem¶
-
viewport
(self) → QWidget¶
-
viewportEntered
¶ viewportEntered(self) [signal]
-
viewportEvent
(self, QEvent) → bool¶
-
viewportMargins
(self) → QMargins¶
-
viewportSizeHint
(self) → QSize¶
-
visibleRegion
(self) → QRegion¶
-
visualRect
(self, QModelIndex) → QRect¶
-
visualRegionForSelection
(self, QItemSelection) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
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, assay_folder_path=None)¶ Bases:
object
An object for data in each row in the table.
-
__init__
(ld_data=None, assay=None, endpoint=None, units=None, decimal=None, assay_folder_path=None)¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
schrodinger.application.livedesign.panel_components.
AbstractExportTableModel
¶ Bases:
schrodinger.ui.qt.table_helper.RowBasedTableModel
Subclasses of this model must define a
Column
class variable (as described in thetable_helper.RowBasedTableModel
documentation) which must include the following columns: Assay, Endpoint, Data, Units, Decimal.-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
-
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
-
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.
-
getExportData
()¶ Return a list of
ExportData
objects corresponding to the items currently selected for export.Returns: the items currently selected for export Return type: list(data_classes.ExportData)
-
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 cellReturns: whether the assay holds the initial ‘Maestro’ assay set for maestro properties. Return type: bool
-
CHECKABLE_COLS
= ()¶
-
COLUMN
= None¶
-
class
CheckIndexOption
¶ Bases:
enum.IntEnum
An enumeration.
-
DoNotUseParent
= 2¶
-
IndexIsValid
= 1¶
-
NoOption
= 0¶
-
ParentIsInvalid
= 4¶
-
-
class
CheckIndexOptions
¶ Bases:
sip.simplewrapper
QAbstractItemModel.CheckIndexOptions(Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption]) QAbstractItemModel.CheckIndexOptions(QAbstractItemModel.CheckIndexOptions)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
Column
= None¶
-
EDITABLE_COLS
= <object object>¶
-
HorizontalSortHint
= 2¶
-
class
LayoutChangeHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x26a55a8>¶
-
-
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
-
beginInsertColumns
(self, QModelIndex, int, int)¶
-
beginInsertRows
(self, QModelIndex, int, int)¶
-
beginMoveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginMoveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginRemoveColumns
(self, QModelIndex, int, int)¶
-
beginRemoveRows
(self, QModelIndex, int, int)¶
-
beginResetModel
(self)¶
-
blockSignals
(self, bool) → bool¶
-
buddy
(self, QModelIndex) → QModelIndex¶
-
canDropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
canFetchMore
(self, QModelIndex) → bool¶
-
changePersistentIndex
(self, QModelIndex, QModelIndex)¶
-
changePersistentIndexList
(self, Iterable[QModelIndex], Iterable[QModelIndex])¶
-
checkIndex
(self, QModelIndex, options: Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption] = QAbstractItemModel.CheckIndexOption.NoOption) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
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
(parent=None)¶
-
columnsAboutToBeInserted
¶ columnsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
columnsAboutToBeMoved
¶ columnsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsAboutToBeRemoved
¶ columnsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
columnsInserted
¶ columnsInserted(self, QModelIndex, int, int) [signal]
-
columnsMoved
¶ columnsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsRemoved
¶ columnsRemoved(self, QModelIndex, int, int) [signal]
-
connectNotify
(self, QMetaMethod)¶
-
createIndex
(self, int, int, object: object = 0) → QModelIndex¶
-
customEvent
(self, QEvent)¶
-
data
(index, role=0)¶ 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, QModelIndex, QModelIndex, roles: Iterable[int] = []) [signal]
-
decodeData
(self, int, int, QModelIndex, QDataStream) → bool¶
-
deleteLater
(self)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
encodeData
(self, Iterable[QModelIndex], QDataStream)¶
-
endInsertColumns
(self)¶
-
endInsertRows
(self)¶
-
endMoveColumns
(self)¶
-
endMoveRows
(self)¶
-
endRemoveColumns
(self)¶
-
endRemoveRows
(self)¶
-
endResetModel
(self)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
fetchMore
(self, QModelIndex)¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
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
-
hasChildren
()¶
-
hasIndex
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
headerData
(section, orientation, role=0)¶ Provide column headers, and optionally column tooltips and row numbers.
See Qt documentation for an explanation of arguments and return value
-
headerDataChanged
¶ headerDataChanged(self, Qt.Orientation, int, int) [signal]
-
index
(self, int, int, parent: QModelIndex = QModelIndex()) → QModelIndex¶
-
inherits
(self, str) → bool¶
-
insertColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
installEventFilter
(self, QObject)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemData
(self, QModelIndex) → Dict[int, Any]¶
-
killTimer
(self, 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, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) → List[QModelIndex]¶
-
metaObject
(self) → QMetaObject¶
-
mimeData
(self, 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, QModelIndex, int, QModelIndex, int) → bool¶
-
moveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveRow
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
parent
(self) → QObject¶
-
persistentIndexList
(self) → List[QModelIndex]¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeEventFilter
(self, QObject)¶
-
removeRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeRows
(row, count, parent=None)¶
-
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 order - the 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- the
-
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
(parent=None)¶
-
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, QModelIndex, int, int) [signal]
-
rowsAboutToBeMoved
¶ rowsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsAboutToBeRemoved
¶ rowsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
rowsInserted
¶ rowsInserted(self, QModelIndex, int, int) [signal]
-
rowsMoved
¶ rowsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsRemoved
¶ rowsRemoved(self, QModelIndex, int, int) [signal]
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setData
(index, value, role=2)¶ 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, int, Qt.Orientation, Any, role: int = Qt.EditRole) → bool¶
-
setItemData
(self, QModelIndex, Dict[int, Any]) → bool¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
sibling
(self, int, int, QModelIndex) → QModelIndex¶
-
signalsBlocked
(self) → bool¶
-
sort
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
span
(self, QModelIndex) → QSize¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
submit
(self) → bool¶
-
supportedDragActions
(self) → Qt.DropActions¶
-
supportedDropActions
(self) → Qt.DropActions¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
-
class
schrodinger.application.livedesign.panel_components.
ExportTableView
(parent)¶ Bases:
PyQt5.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__
(parent)¶ Initialize self. See help(type(self)) for accurate signature.
-
setModel
(self, QAbstractItemModel)¶
-
Column
¶
-
onCommitDataToSelected
(editor, index, delegate)¶ Called when “Apply to Selected Rows” is clicked in Assay popup.
See parent class for args documentations.
-
hideColumns
(hide=True)¶ 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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7f878>¶
-
-
DoubleClicked
= 2¶
-
DragDrop
= 3¶
-
class
DragDropMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7fc28>¶
-
-
DragOnly
= 1¶
-
DragSelectingState
= 2¶
-
DraggingState
= 1¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
class
DropIndicatorPosition
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7ffd8>¶
-
-
DropOnly
= 2¶
-
EditKeyPressed
= 8¶
-
class
EditTrigger
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e80388>¶
-
-
class
EditTriggers
¶ Bases:
sip.simplewrapper
QAbstractItemView.EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) QAbstractItemView.EditTriggers(QAbstractItemView.EditTriggers)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
ScrollHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fccdf8>¶
-
-
class
ScrollMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd1a8>¶
-
-
ScrollPerItem
= 0¶
-
ScrollPerPixel
= 1¶
-
SelectColumns
= 2¶
-
SelectItems
= 0¶
-
SelectRows
= 1¶
-
SelectedClicked
= 4¶
-
class
SelectionBehavior
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd558>¶
-
-
class
SelectionMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd908>¶
-
-
class
Shadow
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff4cd8>¶
-
-
Shadow_Mask
= 240¶
-
Shape_Mask
= 15¶
-
SingleSelection
= 1¶
-
class
SizeAdjustPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fce068>¶
-
-
class
StyleMask
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff5438>¶
-
-
StyledPanel
= 6¶
-
Sunken
= 48¶
-
VLine
= 5¶
-
WinPanel
= 3¶
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
activated
¶ activated(self, QModelIndex) [signal]
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
addScrollBarWidget
(self, QWidget, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
adjustSize
(self)¶
-
alternatingRowColors
(self) → bool¶
-
autoFillBackground
(self) → bool¶
-
autoScrollMargin
(self) → int¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
clearSelection
(self)¶
-
clearSpans
(self)¶
-
clicked
¶ clicked(self, QModelIndex) [signal]
-
close
(self) → bool¶
-
closeEditor
(self, QWidget, QAbstractItemDelegate.EndEditHint)¶
-
closeEvent
(self, QCloseEvent)¶
-
closePersistentEditor
(self, QModelIndex)¶
-
colorCount
(self) → int¶
-
columnAt
(self, int) → int¶
-
columnCountChanged
(self, int, int)¶
-
columnMoved
(self, int, int, int)¶
-
columnResized
(self, int, int, int)¶
-
columnSpan
(self, int, int) → int¶
-
columnViewportPosition
(self, int) → int¶
-
columnWidth
(self, int) → int¶
-
commitData
(self, QWidget)¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
cornerWidget
(self) → QWidget¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
currentChanged
(self, QModelIndex, QModelIndex)¶
-
currentIndex
(self) → QModelIndex¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
dataChanged
(self, QModelIndex, 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: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
dirtyRegionOffset
(self) → QPoint¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
doubleClicked
¶ doubleClicked(self, QModelIndex) [signal]
-
dragDropMode
(self) → QAbstractItemView.DragDropMode¶
-
dragDropOverwriteMode
(self) → bool¶
-
dragEnabled
(self) → bool¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawFrame
(self, QPainter)¶
-
dropEvent
(self, QDropEvent)¶
-
dropIndicatorPosition
(self) → QAbstractItemView.DropIndicatorPosition¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
edit
(self, QModelIndex)¶ edit(self, QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool
-
editTriggers
(self) → QAbstractItemView.EditTriggers¶
-
editorDestroyed
(self, QObject)¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
entered
¶ entered(self, QModelIndex) [signal]
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
executeDelayedItemsLayout
(self)¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameRect
(self) → QRect¶
-
frameShadow
(self) → QFrame.Shadow¶
-
frameShape
(self) → QFrame.Shape¶
-
frameSize
(self) → QSize¶
-
frameStyle
(self) → int¶
-
frameWidth
(self) → int¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, 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, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideColumn
(self, int)¶
-
hideEvent
(self, QHideEvent)¶
-
hideRow
(self, int)¶
-
horizontalHeader
(self) → QHeaderView¶
-
horizontalOffset
(self) → int¶
-
horizontalScrollBar
(self) → QScrollBar¶
-
horizontalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
horizontalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
horizontalScrollbarAction
(self, int)¶
-
horizontalScrollbarValueChanged
(self, int)¶
-
iconSize
(self) → QSize¶
-
iconSizeChanged
¶ iconSizeChanged(self, QSize) [signal]
-
indexAt
(self, QPoint) → QModelIndex¶
-
indexWidget
(self, QModelIndex) → QWidget¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isColumnHidden
(self, int) → bool¶
-
isCornerButtonEnabled
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isIndexHidden
(self, QModelIndex) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isPersistentEditorOpen
(self, QModelIndex) → bool¶
-
isRightToLeft
(self) → bool¶
-
isRowHidden
(self, int) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isSortingEnabled
(self) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemDelegate
(self) → QAbstractItemDelegate¶ itemDelegate(self, QModelIndex) -> QAbstractItemDelegate
-
itemDelegateForColumn
(self, int) → QAbstractItemDelegate¶
-
itemDelegateForRow
(self, int) → QAbstractItemDelegate¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
keyboardSearch
(self, str)¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
lineWidth
(self) → int¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumViewportSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
midLineWidth
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
model
(self) → QAbstractItemModel¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveCursor
(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) → QModelIndex¶
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
openPersistentEditor
(self, QModelIndex)¶
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
pressed
¶ pressed(self, QModelIndex) [signal]
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reset
(self)¶
-
resetHorizontalScrollMode
(self)¶
-
resetVerticalScrollMode
(self)¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeColumnToContents
(self, int)¶
-
resizeColumnsToContents
(self)¶
-
resizeEvent
(self, QResizeEvent)¶
-
resizeRowToContents
(self, int)¶
-
resizeRowsToContents
(self)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
rootIndex
(self) → QModelIndex¶
-
rowAt
(self, int) → int¶
-
rowCountChanged
(self, int, int)¶
-
rowHeight
(self, int) → int¶
-
rowMoved
(self, int, int, int)¶
-
rowResized
(self, int, int, int)¶
-
rowSpan
(self, int, int) → int¶
-
rowViewportPosition
(self, int) → int¶
-
rowsAboutToBeRemoved
(self, QModelIndex, int, int)¶
-
rowsInserted
(self, QModelIndex, int, int)¶
-
saveGeometry
(self) → QByteArray¶
-
scheduleDelayedItemsLayout
(self)¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
scrollBarWidgets
(self, Union[Qt.Alignment, Qt.AlignmentFlag]) → List[QWidget]¶
-
scrollContentsBy
(self, int, int)¶
-
scrollDirtyRegion
(self, int, int)¶
-
scrollTo
(self, QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
-
scrollToBottom
(self)¶
-
scrollToTop
(self)¶
-
selectAll
(self)¶
-
selectColumn
(self, int)¶
-
selectRow
(self, int)¶
-
selectedIndexes
(self) → List[QModelIndex]¶
-
selectionBehavior
(self) → QAbstractItemView.SelectionBehavior¶
-
selectionChanged
(self, QItemSelection, QItemSelection)¶
-
selectionCommand
(self, QModelIndex, event: QEvent = None) → QItemSelectionModel.SelectionFlags¶
-
selectionMode
(self) → QAbstractItemView.SelectionMode¶
-
selectionModel
(self) → QItemSelectionModel¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAlternatingRowColors
(self, bool)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setAutoScroll
(self, bool)¶
-
setAutoScrollMargin
(self, int)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setColumnHidden
(self, int, bool)¶
-
setColumnWidth
(self, int, int)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCornerButtonEnabled
(self, bool)¶
-
setCornerWidget
(self, QWidget)¶
-
setCurrentIndex
(self, QModelIndex)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDefaultDropAction
(self, Qt.DropAction)¶
-
setDirtyRegion
(self, QRegion)¶
-
setDisabled
(self, bool)¶
-
setDragDropMode
(self, QAbstractItemView.DragDropMode)¶
-
setDragDropOverwriteMode
(self, bool)¶
-
setDragEnabled
(self, bool)¶
-
setDropIndicatorShown
(self, bool)¶
-
setEditTriggers
(self, Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger])¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrameRect
(self, QRect)¶
-
setFrameShadow
(self, QFrame.Shadow)¶
-
setFrameShape
(self, QFrame.Shape)¶
-
setFrameStyle
(self, int)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setGridStyle
(self, Qt.PenStyle)¶
-
setHidden
(self, bool)¶
-
setHorizontalHeader
(self, QHeaderView)¶
-
setHorizontalScrollBar
(self, QScrollBar)¶
-
setHorizontalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setHorizontalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setIconSize
(self, QSize)¶
-
setIndexWidget
(self, QModelIndex, QWidget)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setItemDelegate
(self, QAbstractItemDelegate)¶
-
setItemDelegateForColumn
(self, int, QAbstractItemDelegate)¶
-
setItemDelegateForRow
(self, int, QAbstractItemDelegate)¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineWidth
(self, int)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMidLineWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setRootIndex
(self, QModelIndex)¶
-
setRowHeight
(self, int, int)¶
-
setRowHidden
(self, int, bool)¶
-
setSelection
(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
-
setSelectionBehavior
(self, QAbstractItemView.SelectionBehavior)¶
-
setSelectionMode
(self, QAbstractItemView.SelectionMode)¶
-
setSelectionModel
(self, QItemSelectionModel)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setShowGrid
(self, bool)¶
-
setSizeAdjustPolicy
(self, QAbstractScrollArea.SizeAdjustPolicy)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setSortingEnabled
(self, bool)¶
-
setSpan
(self, int, int, int, int)¶
-
setState
(self, QAbstractItemView.State)¶
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setTextElideMode
(self, Qt.TextElideMode)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVerticalHeader
(self, QHeaderView)¶
-
setVerticalScrollBar
(self, QScrollBar)¶
-
setVerticalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setVerticalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setViewport
(self, QWidget)¶
-
setViewportMargins
(self, int, int, int, int)¶ setViewportMargins(self, QMargins)
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
setWordWrap
(self, bool)¶
-
setupViewport
(self, QWidget)¶
-
show
(self)¶
-
showColumn
(self, int)¶
-
showDropIndicator
(self) → bool¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showGrid
(self) → bool¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
showRow
(self, int)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeAdjustPolicy
(self) → QAbstractScrollArea.SizeAdjustPolicy¶
-
sizeHint
(self) → QSize¶
-
sizeHintForColumn
(self, int) → int¶
-
sizeHintForIndex
(self, QModelIndex) → QSize¶
-
sizeHintForRow
(self, int) → int¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
sortByColumn
(self, int, Qt.SortOrder)¶
-
stackUnder
(self, QWidget)¶
-
startDrag
(self, Union[Qt.DropActions, Qt.DropAction])¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
state
(self) → QAbstractItemView.State¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
textElideMode
(self) → Qt.TextElideMode¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QModelIndex)
-
updateEditorData
(self)¶
-
updateEditorGeometries
(self)¶
-
updateGeometries
(self)¶
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
verticalHeader
(self) → QHeaderView¶
-
verticalOffset
(self) → int¶
-
verticalScrollBar
(self) → QScrollBar¶
-
verticalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
verticalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
verticalScrollbarAction
(self, int)¶
-
verticalScrollbarValueChanged
(self, int)¶
-
viewOptions
(self) → QStyleOptionViewItem¶
-
viewport
(self) → QWidget¶
-
viewportEntered
¶ viewportEntered(self) [signal]
-
viewportEvent
(self, QEvent) → bool¶
-
viewportMargins
(self) → QMargins¶
-
viewportSizeHint
(self) → QSize¶
-
visibleRegion
(self) → QRegion¶
-
visualRect
(self, QModelIndex) → QRect¶
-
visualRegionForSelection
(self, QItemSelection) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
wordWrap
(self) → bool¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
PathTreeDict
(paths=None)¶ Bases:
collections.defaultdict
-
__init__
(paths=None)¶ Initialize self. See help(type(self)) for accurate signature.
-
addPath
(path)¶
-
findPath
(path)¶
-
__contains__
()¶ True if D has a key k, 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
()¶ Returns a new dict with keys from iterable and values equal to value.
-
get
(k[, d]) → D[k] if k in D, else d. d defaults to None.¶
-
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
() → (k, v), remove and return some (key, value) pair as a¶ 2-tuple; but raise KeyError if D is empty.
-
setdefault
(k[, d]) → D.get(k,d), also set D[k]=d if k not in D¶
-
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:
PyQt5.QtGui.QStandardItem
A custom Tree item.
-
__init__
(ld_item)¶ Parameters: ld_item (BaseLDTreeItemWrapper) – an object that holds a name and folder_path attributes.
-
class
ItemType
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x3086be8>¶
-
-
Type
= 0¶
-
UserType
= 1000¶
-
accessibleDescription
(self) → str¶
-
accessibleText
(self) → str¶
-
appendColumn
(self, Iterable[QStandardItem])¶
-
appendRow
(self, Iterable[QStandardItem])¶ appendRow(self, QStandardItem)
-
appendRows
(self, Iterable[QStandardItem])¶
-
background
(self) → QBrush¶
-
checkState
(self) → Qt.CheckState¶
-
child
(self, 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.ItemFlags¶
-
font
(self) → QFont¶
-
foreground
(self) → QBrush¶
-
hasChildren
(self) → bool¶
-
icon
(self) → QIcon¶
-
index
(self) → QModelIndex¶
-
insertColumn
(self, int, Iterable[QStandardItem])¶
-
insertColumns
(self, int, int)¶
-
insertRow
(self, int, Iterable[QStandardItem])¶ insertRow(self, int, QStandardItem)
-
insertRows
(self, int, int)¶ insertRows(self, int, Iterable[QStandardItem])
-
isAutoTristate
(self) → bool¶
-
isCheckable
(self) → bool¶
-
isDragEnabled
(self) → bool¶
-
isDropEnabled
(self) → bool¶
-
isEditable
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isSelectable
(self) → bool¶
-
isTristate
(self) → bool¶
-
isUserTristate
(self) → bool¶
-
model
(self) → QStandardItemModel¶
-
parent
(self) → QStandardItem¶
-
read
(self, QDataStream)¶
-
removeColumn
(self, int)¶
-
removeColumns
(self, int, int)¶
-
removeRow
(self, int)¶
-
removeRows
(self, int, int)¶
-
row
(self) → int¶
-
rowCount
(self) → int¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleText
(self, str)¶
-
setAutoTristate
(self, bool)¶
-
setBackground
(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])¶
-
setCheckState
(self, Qt.CheckState)¶
-
setCheckable
(self, bool)¶
-
setChild
(self, int, int, QStandardItem)¶ setChild(self, int, QStandardItem)
-
setColumnCount
(self, int)¶
-
setData
(self, Any, role: int = Qt.UserRole+1)¶
-
setDragEnabled
(self, bool)¶
-
setDropEnabled
(self, bool)¶
-
setEditable
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFlags
(self, Union[Qt.ItemFlags, Qt.ItemFlag])¶
-
setFont
(self, QFont)¶
-
setForeground
(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])¶
-
setIcon
(self, QIcon)¶
-
setRowCount
(self, int)¶
-
setSelectable
(self, bool)¶
-
setSizeHint
(self, QSize)¶
-
setStatusTip
(self, str)¶
-
setText
(self, str)¶
-
setTextAlignment
(self, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
setToolTip
(self, str)¶
-
setTristate
(self, bool)¶
-
setUserTristate
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
sizeHint
(self) → QSize¶
-
sortChildren
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
statusTip
(self) → str¶
-
takeChild
(self, int, column: int = 0) → QStandardItem¶
-
takeColumn
(self, int) → List[QStandardItem]¶
-
takeRow
(self, int) → List[QStandardItem]¶
-
text
(self) → str¶
-
textAlignment
(self) → Qt.Alignment¶
-
toolTip
(self) → str¶
-
type
(self) → int¶
-
whatsThis
(self) → str¶
-
write
(self, QDataStream)¶
-
-
class
schrodinger.application.livedesign.panel_components.
LDSelectionModel
¶ Bases:
PyQt5.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
¶ Bases:
enum.IntEnum
An enumeration.
-
DoNotUseParent
= 2¶
-
IndexIsValid
= 1¶
-
NoOption
= 0¶
-
ParentIsInvalid
= 4¶
-
-
class
CheckIndexOptions
¶ Bases:
sip.simplewrapper
QAbstractItemModel.CheckIndexOptions(Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption]) QAbstractItemModel.CheckIndexOptions(QAbstractItemModel.CheckIndexOptions)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
HorizontalSortHint
= 2¶
-
class
LayoutChangeHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x26a55a8>¶
-
-
NoLayoutChangeHint
= 0¶
-
VerticalSortHint
= 1¶
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
appendColumn
(self, Iterable[QStandardItem])¶
-
appendRow
(self, Iterable[QStandardItem])¶ appendRow(self, QStandardItem)
-
beginInsertColumns
(self, QModelIndex, int, int)¶
-
beginInsertRows
(self, QModelIndex, int, int)¶
-
beginMoveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginMoveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginRemoveColumns
(self, QModelIndex, int, int)¶
-
beginRemoveRows
(self, QModelIndex, int, int)¶
-
beginResetModel
(self)¶
-
blockSignals
(self, bool) → bool¶
-
buddy
(self, QModelIndex) → QModelIndex¶
-
canDropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
canFetchMore
(self, QModelIndex) → bool¶
-
changePersistentIndex
(self, QModelIndex, QModelIndex)¶
-
changePersistentIndexList
(self, Iterable[QModelIndex], Iterable[QModelIndex])¶
-
checkIndex
(self, QModelIndex, options: Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption] = QAbstractItemModel.CheckIndexOption.NoOption) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
clear
(self)¶
-
clearItemData
(self, QModelIndex) → bool¶
-
columnCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
columnsAboutToBeInserted
¶ columnsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
columnsAboutToBeMoved
¶ columnsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsAboutToBeRemoved
¶ columnsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
columnsInserted
¶ columnsInserted(self, QModelIndex, int, int) [signal]
-
columnsMoved
¶ columnsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsRemoved
¶ columnsRemoved(self, QModelIndex, int, int) [signal]
-
connectNotify
(self, QMetaMethod)¶
-
createIndex
(self, int, int, object: object = 0) → QModelIndex¶
-
customEvent
(self, QEvent)¶
-
data
(self, QModelIndex, role: int = Qt.DisplayRole) → Any¶
-
dataChanged
¶ dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = []) [signal]
-
decodeData
(self, int, int, QModelIndex, QDataStream) → bool¶
-
deleteLater
(self)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
encodeData
(self, Iterable[QModelIndex], QDataStream)¶
-
endInsertColumns
(self)¶
-
endInsertRows
(self)¶
-
endMoveColumns
(self)¶
-
endMoveRows
(self)¶
-
endRemoveColumns
(self)¶
-
endRemoveRows
(self)¶
-
endResetModel
(self)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
fetchMore
(self, QModelIndex)¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
findItems
(self, str, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly, column: int = 0) → List[QStandardItem]¶
-
hasChildren
(self, parent: QModelIndex = QModelIndex()) → bool¶
-
hasIndex
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
headerData
(self, int, Qt.Orientation, role: int = Qt.DisplayRole) → Any¶
-
headerDataChanged
¶ headerDataChanged(self, Qt.Orientation, int, int) [signal]
-
horizontalHeaderItem
(self, int) → QStandardItem¶
-
index
(self, int, int, parent: QModelIndex = QModelIndex()) → QModelIndex¶
-
indexFromItem
(self, QStandardItem) → QModelIndex¶
-
inherits
(self, str) → bool¶
-
insertColumn
(self, int, Iterable[QStandardItem])¶ insertColumn(self, int, parent: QModelIndex = QModelIndex()) -> bool
-
insertColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRow
(self, int, Iterable[QStandardItem])¶ insertRow(self, int, QStandardItem) insertRow(self, int, parent: QModelIndex = QModelIndex()) -> bool
-
insertRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
installEventFilter
(self, QObject)¶
-
invisibleRootItem
(self) → QStandardItem¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
item
(self, int, column: int = 0) → QStandardItem¶
-
itemChanged
¶ itemChanged(self, QStandardItem) [signal]
-
itemData
(self, QModelIndex) → Dict[int, Any]¶
-
itemFromIndex
(self, QModelIndex) → QStandardItem¶
-
itemPrototype
(self) → QStandardItem¶
-
killTimer
(self, 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, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) → List[QModelIndex]¶
-
metaObject
(self) → QMetaObject¶
-
mimeData
(self, Iterable[QModelIndex]) → QMimeData¶
-
mimeTypes
(self) → List[str]¶
-
modelAboutToBeReset
¶ modelAboutToBeReset(self) [signal]
-
modelReset
¶ modelReset(self) [signal]
-
moveColumn
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveRow
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
parent
(self, QModelIndex) → QModelIndex¶ parent(self) -> QObject
-
persistentIndexList
(self) → List[QModelIndex]¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeEventFilter
(self, QObject)¶
-
removeRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
resetInternalData
(self)¶
-
revert
(self)¶
-
roleNames
(self) → Dict[int, QByteArray]¶
-
rowCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
rowsAboutToBeInserted
¶ rowsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
rowsAboutToBeMoved
¶ rowsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsAboutToBeRemoved
¶ rowsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
rowsInserted
¶ rowsInserted(self, QModelIndex, int, int) [signal]
-
rowsMoved
¶ rowsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsRemoved
¶ rowsRemoved(self, QModelIndex, int, int) [signal]
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setColumnCount
(self, int)¶
-
setData
(self, QModelIndex, Any, role: int = Qt.EditRole) → bool¶
-
setHeaderData
(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) → bool¶
-
setHorizontalHeaderItem
(self, int, QStandardItem)¶
-
setHorizontalHeaderLabels
(self, Iterable[str])¶
-
setItem
(self, int, int, QStandardItem)¶ setItem(self, int, QStandardItem)
-
setItemData
(self, QModelIndex, Dict[int, Any]) → bool¶
-
setItemPrototype
(self, QStandardItem)¶
-
setItemRoleNames
(self, Dict[int, Union[QByteArray, bytes, bytearray]])¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
setRowCount
(self, int)¶
-
setSortRole
(self, int)¶
-
setVerticalHeaderItem
(self, int, QStandardItem)¶
-
setVerticalHeaderLabels
(self, Iterable[str])¶
-
sibling
(self, int, int, QModelIndex) → QModelIndex¶
-
signalsBlocked
(self) → bool¶
-
sort
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
sortRole
(self) → int¶
-
span
(self, QModelIndex) → QSize¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
submit
(self) → bool¶
-
supportedDragActions
(self) → Qt.DropActions¶
-
supportedDropActions
(self) → Qt.DropActions¶
-
takeColumn
(self, int) → List[QStandardItem]¶
-
takeHorizontalHeaderItem
(self, int) → QStandardItem¶
-
takeItem
(self, int, column: int = 0) → QStandardItem¶
-
takeRow
(self, int) → List[QStandardItem]¶
-
takeVerticalHeaderItem
(self, int) → QStandardItem¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
verticalHeaderItem
(self, 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, QModelIndex, role: int = Qt.DisplayRole) → Any¶
-
class
CheckIndexOption
¶ Bases:
enum.IntEnum
An enumeration.
-
DoNotUseParent
= 2¶
-
IndexIsValid
= 1¶
-
NoOption
= 0¶
-
ParentIsInvalid
= 4¶
-
-
class
CheckIndexOptions
¶ Bases:
sip.simplewrapper
QAbstractItemModel.CheckIndexOptions(Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption]) QAbstractItemModel.CheckIndexOptions(QAbstractItemModel.CheckIndexOptions)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
HorizontalSortHint
= 2¶
-
class
LayoutChangeHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x26a55a8>¶
-
-
NoLayoutChangeHint
= 0¶
-
VerticalSortHint
= 1¶
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
appendColumn
(self, Iterable[QStandardItem])¶
-
appendRow
(self, Iterable[QStandardItem])¶ appendRow(self, QStandardItem)
-
beginInsertColumns
(self, QModelIndex, int, int)¶
-
beginInsertRows
(self, QModelIndex, int, int)¶
-
beginMoveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginMoveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginRemoveColumns
(self, QModelIndex, int, int)¶
-
beginRemoveRows
(self, QModelIndex, int, int)¶
-
beginResetModel
(self)¶
-
blockSignals
(self, bool) → bool¶
-
buddy
(self, QModelIndex) → QModelIndex¶
-
canDropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
canFetchMore
(self, QModelIndex) → bool¶
-
changePersistentIndex
(self, QModelIndex, QModelIndex)¶
-
changePersistentIndexList
(self, Iterable[QModelIndex], Iterable[QModelIndex])¶
-
checkIndex
(self, QModelIndex, options: Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption] = QAbstractItemModel.CheckIndexOption.NoOption) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
clear
(self)¶
-
clearItemData
(self, QModelIndex) → bool¶
-
columnCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
columnsAboutToBeInserted
¶ columnsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
columnsAboutToBeMoved
¶ columnsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsAboutToBeRemoved
¶ columnsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
columnsInserted
¶ columnsInserted(self, QModelIndex, int, int) [signal]
-
columnsMoved
¶ columnsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsRemoved
¶ columnsRemoved(self, QModelIndex, int, int) [signal]
-
connectNotify
(self, QMetaMethod)¶
-
createIndex
(self, int, int, object: object = 0) → QModelIndex¶
-
customEvent
(self, QEvent)¶
-
dataChanged
¶ dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = []) [signal]
-
decodeData
(self, int, int, QModelIndex, QDataStream) → bool¶
-
deleteLater
(self)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
encodeData
(self, Iterable[QModelIndex], QDataStream)¶
-
endInsertColumns
(self)¶
-
endInsertRows
(self)¶
-
endMoveColumns
(self)¶
-
endMoveRows
(self)¶
-
endRemoveColumns
(self)¶
-
endRemoveRows
(self)¶
-
endResetModel
(self)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
fetchMore
(self, QModelIndex)¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
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, str, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly, column: int = 0) → List[QStandardItem]¶
-
hasChildren
(self, parent: QModelIndex = QModelIndex()) → bool¶
-
hasIndex
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
headerData
(self, int, Qt.Orientation, role: int = Qt.DisplayRole) → Any¶
-
headerDataChanged
¶ headerDataChanged(self, Qt.Orientation, int, int) [signal]
-
horizontalHeaderItem
(self, int) → QStandardItem¶
-
index
(self, int, int, parent: QModelIndex = QModelIndex()) → QModelIndex¶
-
indexFromItem
(self, QStandardItem) → QModelIndex¶
-
inherits
(self, str) → bool¶
-
insertColumn
(self, int, Iterable[QStandardItem])¶ insertColumn(self, int, parent: QModelIndex = QModelIndex()) -> bool
-
insertColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRow
(self, int, Iterable[QStandardItem])¶ insertRow(self, int, QStandardItem) insertRow(self, int, parent: QModelIndex = QModelIndex()) -> bool
-
insertRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
installEventFilter
(self, QObject)¶
-
invisibleRootItem
(self) → QStandardItem¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
item
(self, int, column: int = 0) → QStandardItem¶
-
itemChanged
¶ itemChanged(self, QStandardItem) [signal]
-
itemData
(self, QModelIndex) → Dict[int, Any]¶
-
itemFromIndex
(self, QModelIndex) → QStandardItem¶
-
itemPrototype
(self) → QStandardItem¶
-
killTimer
(self, 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, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) → List[QModelIndex]¶
-
metaObject
(self) → QMetaObject¶
-
mimeData
(self, Iterable[QModelIndex]) → QMimeData¶
-
mimeTypes
(self) → List[str]¶
-
modelAboutToBeReset
¶ modelAboutToBeReset(self) [signal]
-
modelReset
¶ modelReset(self) [signal]
-
moveColumn
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveRow
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
parent
(self, QModelIndex) → QModelIndex¶ parent(self) -> QObject
-
persistentIndexList
(self) → List[QModelIndex]¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeEventFilter
(self, QObject)¶
-
removeRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
resetInternalData
(self)¶
-
revert
(self)¶
-
roleNames
(self) → Dict[int, QByteArray]¶
-
rowCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
rowsAboutToBeInserted
¶ rowsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
rowsAboutToBeMoved
¶ rowsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsAboutToBeRemoved
¶ rowsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
rowsInserted
¶ rowsInserted(self, QModelIndex, int, int) [signal]
-
rowsMoved
¶ rowsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsRemoved
¶ rowsRemoved(self, QModelIndex, int, int) [signal]
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setColumnCount
(self, int)¶
-
setData
(self, QModelIndex, Any, role: int = Qt.EditRole) → bool¶
-
setHeaderData
(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) → bool¶
-
setHorizontalHeaderItem
(self, int, QStandardItem)¶
-
setHorizontalHeaderLabels
(self, Iterable[str])¶
-
setItem
(self, int, int, QStandardItem)¶ setItem(self, int, QStandardItem)
-
setItemData
(self, QModelIndex, Dict[int, Any]) → bool¶
-
setItemPrototype
(self, QStandardItem)¶
-
setItemRoleNames
(self, Dict[int, Union[QByteArray, bytes, bytearray]])¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
setRowCount
(self, int)¶
-
setSortRole
(self, int)¶
-
setVerticalHeaderItem
(self, int, QStandardItem)¶
-
setVerticalHeaderLabels
(self, Iterable[str])¶
-
sibling
(self, int, int, QModelIndex) → QModelIndex¶
-
signalsBlocked
(self) → bool¶
-
sort
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
sortRole
(self) → int¶
-
span
(self, QModelIndex) → QSize¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
submit
(self) → bool¶
-
supportedDragActions
(self) → Qt.DropActions¶
-
supportedDropActions
(self) → Qt.DropActions¶
-
takeColumn
(self, int) → List[QStandardItem]¶
-
takeHorizontalHeaderItem
(self, int) → QStandardItem¶
-
takeItem
(self, int, column: int = 0) → QStandardItem¶
-
takeRow
(self, int) → List[QStandardItem]¶
-
takeVerticalHeaderItem
(self, int) → QStandardItem¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
verticalHeaderItem
(self, int) → QStandardItem¶
-
-
class
schrodinger.application.livedesign.panel_components.
BaseLDTreeItemWrapper
(ld_name, ld_id=None, path='', linked_path=None, show_path=False)¶ Bases:
object
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.
-
-
class
schrodinger.application.livedesign.panel_components.
LDSelectionTreeView
¶ Bases:
PyQt5.QtWidgets.QTreeView
Base class for Selecting an item from a Tree.
-
itemSelected
¶
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7f878>¶
-
-
DoubleClicked
= 2¶
-
DragDrop
= 3¶
-
class
DragDropMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7fc28>¶
-
-
DragOnly
= 1¶
-
DragSelectingState
= 2¶
-
DraggingState
= 1¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
class
DropIndicatorPosition
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7ffd8>¶
-
-
DropOnly
= 2¶
-
EditKeyPressed
= 8¶
-
class
EditTrigger
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e80388>¶
-
-
class
EditTriggers
¶ Bases:
sip.simplewrapper
QAbstractItemView.EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) QAbstractItemView.EditTriggers(QAbstractItemView.EditTriggers)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
ScrollHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fccdf8>¶
-
-
class
ScrollMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd1a8>¶
-
-
ScrollPerItem
= 0¶
-
ScrollPerPixel
= 1¶
-
SelectColumns
= 2¶
-
SelectItems
= 0¶
-
SelectRows
= 1¶
-
SelectedClicked
= 4¶
-
class
SelectionBehavior
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd558>¶
-
-
class
SelectionMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fcd908>¶
-
-
class
Shadow
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff4cd8>¶
-
-
Shadow_Mask
= 240¶
-
Shape_Mask
= 15¶
-
SingleSelection
= 1¶
-
class
SizeAdjustPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fce068>¶
-
-
class
StyleMask
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff5438>¶
-
-
StyledPanel
= 6¶
-
Sunken
= 48¶
-
VLine
= 5¶
-
WinPanel
= 3¶
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
activated
¶ activated(self, QModelIndex) [signal]
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
addScrollBarWidget
(self, QWidget, Union[Qt.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, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
clearSelection
(self)¶
-
clicked
¶ clicked(self, QModelIndex) [signal]
-
close
(self) → bool¶
-
closeEditor
(self, QWidget, QAbstractItemDelegate.EndEditHint)¶
-
closeEvent
(self, QCloseEvent)¶
-
closePersistentEditor
(self, QModelIndex)¶
-
collapse
(self, QModelIndex)¶
-
collapseAll
(self)¶
-
collapsed
¶ collapsed(self, QModelIndex) [signal]
-
colorCount
(self) → int¶
-
columnAt
(self, int) → int¶
-
columnCountChanged
(self, int, int)¶
-
columnMoved
(self)¶
-
columnResized
(self, int, int, int)¶
-
columnViewportPosition
(self, int) → int¶
-
columnWidth
(self, int) → int¶
-
commitData
(self, QWidget)¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
cornerWidget
(self) → QWidget¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
currentChanged
(self, QModelIndex, QModelIndex)¶
-
currentIndex
(self) → QModelIndex¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
dataChanged
(self, QModelIndex, 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: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
dirtyRegionOffset
(self) → QPoint¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
doubleClicked
¶ doubleClicked(self, QModelIndex) [signal]
-
dragDropMode
(self) → QAbstractItemView.DragDropMode¶
-
dragDropOverwriteMode
(self) → bool¶
-
dragEnabled
(self) → bool¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawBranches
(self, QPainter, QRect, QModelIndex)¶
-
drawFrame
(self, QPainter)¶
-
drawRow
(self, QPainter, QStyleOptionViewItem, QModelIndex)¶
-
drawTree
(self, QPainter, QRegion)¶
-
dropEvent
(self, QDropEvent)¶
-
dropIndicatorPosition
(self) → QAbstractItemView.DropIndicatorPosition¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
edit
(self, QModelIndex)¶ edit(self, QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool
-
editTriggers
(self) → QAbstractItemView.EditTriggers¶
-
editorDestroyed
(self, QObject)¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
entered
¶ entered(self, QModelIndex) [signal]
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
executeDelayedItemsLayout
(self)¶
-
expand
(self, QModelIndex)¶
-
expandAll
(self)¶
-
expandToDepth
(self, int)¶
-
expanded
¶ expanded(self, QModelIndex) [signal]
-
expandsOnDoubleClick
(self) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameRect
(self) → QRect¶
-
frameShadow
(self) → QFrame.Shadow¶
-
frameShape
(self) → QFrame.Shape¶
-
frameSize
(self) → QSize¶
-
frameStyle
(self) → int¶
-
frameWidth
(self) → int¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, 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, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideColumn
(self, int)¶
-
hideEvent
(self, QHideEvent)¶
-
horizontalOffset
(self) → int¶
-
horizontalScrollBar
(self) → QScrollBar¶
-
horizontalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
horizontalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
horizontalScrollbarAction
(self, int)¶
-
horizontalScrollbarValueChanged
(self, int)¶
-
iconSize
(self) → QSize¶
-
iconSizeChanged
¶ iconSizeChanged(self, QSize) [signal]
-
indentation
(self) → int¶
-
indexAbove
(self, QModelIndex) → QModelIndex¶
-
indexAt
(self, QPoint) → QModelIndex¶
-
indexBelow
(self, QModelIndex) → QModelIndex¶
-
indexRowSizeHint
(self, QModelIndex) → int¶
-
indexWidget
(self, QModelIndex) → QWidget¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isAnimated
(self) → bool¶
-
isColumnHidden
(self, int) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isExpanded
(self, QModelIndex) → bool¶
-
isFirstColumnSpanned
(self, int, QModelIndex) → bool¶
-
isFullScreen
(self) → bool¶
-
isHeaderHidden
(self) → bool¶
-
isHidden
(self) → bool¶
-
isIndexHidden
(self, QModelIndex) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isPersistentEditorOpen
(self, QModelIndex) → bool¶
-
isRightToLeft
(self) → bool¶
-
isRowHidden
(self, int, QModelIndex) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isSortingEnabled
(self) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemDelegate
(self) → QAbstractItemDelegate¶ itemDelegate(self, QModelIndex) -> QAbstractItemDelegate
-
itemDelegateForColumn
(self, int) → QAbstractItemDelegate¶
-
itemDelegateForRow
(self, int) → QAbstractItemDelegate¶
-
itemsExpandable
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
keyboardSearch
(self, str)¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
lineWidth
(self) → int¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumViewportSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
midLineWidth
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
model
(self) → QAbstractItemModel¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveCursor
(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) → QModelIndex¶
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
openPersistentEditor
(self, QModelIndex)¶
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
pressed
¶ pressed(self, QModelIndex) [signal]
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
reexpand
(self)¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reset
(self)¶
-
resetHorizontalScrollMode
(self)¶
-
resetIndentation
(self)¶
-
resetVerticalScrollMode
(self)¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeColumnToContents
(self, int)¶
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
rootIndex
(self) → QModelIndex¶
-
rootIsDecorated
(self) → bool¶
-
rowHeight
(self, QModelIndex) → int¶
-
rowsAboutToBeRemoved
(self, QModelIndex, int, int)¶
-
rowsInserted
(self, QModelIndex, int, int)¶
-
rowsRemoved
(self, QModelIndex, int, int)¶
-
saveGeometry
(self) → QByteArray¶
-
scheduleDelayedItemsLayout
(self)¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
scrollBarWidgets
(self, Union[Qt.Alignment, Qt.AlignmentFlag]) → List[QWidget]¶
-
scrollContentsBy
(self, int, int)¶
-
scrollDirtyRegion
(self, int, int)¶
-
scrollTo
(self, QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
-
scrollToBottom
(self)¶
-
scrollToTop
(self)¶
-
selectAll
(self)¶
-
selectedIndexes
(self) → List[QModelIndex]¶
-
selectionBehavior
(self) → QAbstractItemView.SelectionBehavior¶
-
selectionCommand
(self, QModelIndex, event: QEvent = None) → QItemSelectionModel.SelectionFlags¶
-
selectionMode
(self) → QAbstractItemView.SelectionMode¶
-
selectionModel
(self) → QItemSelectionModel¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAllColumnsShowFocus
(self, bool)¶
-
setAlternatingRowColors
(self, bool)¶
-
setAnimated
(self, bool)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoExpandDelay
(self, int)¶
-
setAutoFillBackground
(self, bool)¶
-
setAutoScroll
(self, bool)¶
-
setAutoScrollMargin
(self, int)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setColumnHidden
(self, int, bool)¶
-
setColumnWidth
(self, int, int)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCornerWidget
(self, QWidget)¶
-
setCurrentIndex
(self, QModelIndex)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDefaultDropAction
(self, Qt.DropAction)¶
-
setDirtyRegion
(self, QRegion)¶
-
setDisabled
(self, bool)¶
-
setDragDropMode
(self, QAbstractItemView.DragDropMode)¶
-
setDragDropOverwriteMode
(self, bool)¶
-
setDragEnabled
(self, bool)¶
-
setDropIndicatorShown
(self, bool)¶
-
setEditTriggers
(self, Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger])¶
-
setEnabled
(self, bool)¶
-
setExpanded
(self, QModelIndex, bool)¶
-
setExpandsOnDoubleClick
(self, bool)¶
-
setFirstColumnSpanned
(self, int, QModelIndex, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrameRect
(self, QRect)¶
-
setFrameShadow
(self, QFrame.Shadow)¶
-
setFrameShape
(self, QFrame.Shape)¶
-
setFrameStyle
(self, int)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHeader
(self, QHeaderView)¶
-
setHeaderHidden
(self, bool)¶
-
setHidden
(self, bool)¶
-
setHorizontalScrollBar
(self, QScrollBar)¶
-
setHorizontalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setHorizontalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setIconSize
(self, QSize)¶
-
setIndentation
(self, int)¶
-
setIndexWidget
(self, QModelIndex, QWidget)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setItemDelegate
(self, QAbstractItemDelegate)¶
-
setItemDelegateForColumn
(self, int, QAbstractItemDelegate)¶
-
setItemDelegateForRow
(self, int, QAbstractItemDelegate)¶
-
setItemsExpandable
(self, bool)¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineWidth
(self, int)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMidLineWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModel
(self, QAbstractItemModel)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setRootIndex
(self, QModelIndex)¶
-
setRootIsDecorated
(self, bool)¶
-
setRowHidden
(self, int, QModelIndex, bool)¶
-
setSelection
(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
-
setSelectionBehavior
(self, QAbstractItemView.SelectionBehavior)¶
-
setSelectionMode
(self, QAbstractItemView.SelectionMode)¶
-
setSelectionModel
(self, QItemSelectionModel)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeAdjustPolicy
(self, QAbstractScrollArea.SizeAdjustPolicy)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setSortingEnabled
(self, bool)¶
-
setState
(self, QAbstractItemView.State)¶
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setTextElideMode
(self, Qt.TextElideMode)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setTreePosition
(self, int)¶
-
setUniformRowHeights
(self, bool)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVerticalScrollBar
(self, QScrollBar)¶
-
setVerticalScrollBarPolicy
(self, Qt.ScrollBarPolicy)¶
-
setVerticalScrollMode
(self, QAbstractItemView.ScrollMode)¶
-
setViewport
(self, QWidget)¶
-
setViewportMargins
(self, int, int, int, int)¶ setViewportMargins(self, QMargins)
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
setWordWrap
(self, bool)¶
-
setupViewport
(self, QWidget)¶
-
show
(self)¶
-
showColumn
(self, int)¶
-
showDropIndicator
(self) → bool¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeAdjustPolicy
(self) → QAbstractScrollArea.SizeAdjustPolicy¶
-
sizeHint
(self) → QSize¶
-
sizeHintForColumn
(self, int) → int¶
-
sizeHintForIndex
(self, QModelIndex) → QSize¶
-
sizeHintForRow
(self, int) → int¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
sortByColumn
(self, int, Qt.SortOrder)¶
-
stackUnder
(self, QWidget)¶
-
startDrag
(self, Union[Qt.DropActions, Qt.DropAction])¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
state
(self) → QAbstractItemView.State¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
textElideMode
(self) → Qt.TextElideMode¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
treePosition
(self) → int¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
uniformRowHeights
(self) → bool¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QModelIndex)
-
updateEditorData
(self)¶
-
updateEditorGeometries
(self)¶
-
updateGeometries
(self)¶
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
verticalOffset
(self) → int¶
-
verticalScrollBar
(self) → QScrollBar¶
-
verticalScrollBarPolicy
(self) → Qt.ScrollBarPolicy¶
-
verticalScrollMode
(self) → QAbstractItemView.ScrollMode¶
-
verticalScrollbarAction
(self, int)¶
-
verticalScrollbarValueChanged
(self, int)¶
-
viewOptions
(self) → QStyleOptionViewItem¶
-
viewport
(self) → QWidget¶
-
viewportEntered
¶ viewportEntered(self) [signal]
-
viewportEvent
(self, QEvent) → bool¶
-
viewportMargins
(self) → QMargins¶
-
viewportSizeHint
(self) → QSize¶
-
visibleRegion
(self) → QRegion¶
-
visualRect
(self, QModelIndex) → QRect¶
-
visualRegionForSelection
(self, QItemSelection) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
wordWrap
(self) → bool¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
StringSearchFilterProxyModel
(parent=None)¶ Bases:
PyQt5.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)¶ Initialize self. See help(type(self)) for accurate signature.
-
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
¶ Bases:
enum.IntEnum
An enumeration.
-
DoNotUseParent
= 2¶
-
IndexIsValid
= 1¶
-
NoOption
= 0¶
-
ParentIsInvalid
= 4¶
-
-
class
CheckIndexOptions
¶ Bases:
sip.simplewrapper
QAbstractItemModel.CheckIndexOptions(Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption]) QAbstractItemModel.CheckIndexOptions(QAbstractItemModel.CheckIndexOptions)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
HorizontalSortHint
= 2¶
-
class
LayoutChangeHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x26a55a8>¶
-
-
NoLayoutChangeHint
= 0¶
-
VerticalSortHint
= 1¶
-
beginInsertColumns
(self, QModelIndex, int, int)¶
-
beginInsertRows
(self, QModelIndex, int, int)¶
-
beginMoveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginMoveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
beginRemoveColumns
(self, QModelIndex, int, int)¶
-
beginRemoveRows
(self, QModelIndex, int, int)¶
-
beginResetModel
(self)¶
-
blockSignals
(self, bool) → bool¶
-
buddy
(self, QModelIndex) → QModelIndex¶
-
canDropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
canFetchMore
(self, QModelIndex) → bool¶
-
changePersistentIndex
(self, QModelIndex, QModelIndex)¶
-
changePersistentIndexList
(self, Iterable[QModelIndex], Iterable[QModelIndex])¶
-
checkIndex
(self, QModelIndex, options: Union[QAbstractItemModel.CheckIndexOptions, QAbstractItemModel.CheckIndexOption] = QAbstractItemModel.CheckIndexOption.NoOption) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
columnCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
columnsAboutToBeInserted
¶ columnsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
columnsAboutToBeMoved
¶ columnsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsAboutToBeRemoved
¶ columnsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
columnsInserted
¶ columnsInserted(self, QModelIndex, int, int) [signal]
-
columnsMoved
¶ columnsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
columnsRemoved
¶ columnsRemoved(self, QModelIndex, int, int) [signal]
-
connectNotify
(self, QMetaMethod)¶
-
createIndex
(self, int, int, object: object = 0) → QModelIndex¶
-
customEvent
(self, QEvent)¶
-
data
(self, QModelIndex, role: int = Qt.DisplayRole) → Any¶
-
dataChanged
¶ dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = []) [signal]
-
decodeData
(self, int, int, QModelIndex, QDataStream) → bool¶
-
deleteLater
(self)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dropMimeData
(self, QMimeData, Qt.DropAction, int, int, QModelIndex) → bool¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
dynamicSortFilter
(self) → bool¶
-
encodeData
(self, Iterable[QModelIndex], QDataStream)¶
-
endInsertColumns
(self)¶
-
endInsertRows
(self)¶
-
endMoveColumns
(self)¶
-
endMoveRows
(self)¶
-
endRemoveColumns
(self)¶
-
endRemoveRows
(self)¶
-
endResetModel
(self)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
fetchMore
(self, QModelIndex)¶
-
filterAcceptsColumn
(self, int, QModelIndex) → bool¶
-
filterCaseSensitivity
(self) → Qt.CaseSensitivity¶
-
filterKeyColumn
(self) → int¶
-
filterRegExp
(self) → QRegExp¶
-
filterRegularExpression
(self) → QRegularExpression¶
-
filterRole
(self) → int¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
flags
(self, QModelIndex) → Qt.ItemFlags¶
-
hasChildren
(self, parent: QModelIndex = QModelIndex()) → bool¶
-
hasIndex
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
headerData
(self, int, Qt.Orientation, role: int = Qt.DisplayRole) → Any¶
-
headerDataChanged
¶ headerDataChanged(self, Qt.Orientation, int, int) [signal]
-
index
(self, int, int, parent: QModelIndex = QModelIndex()) → QModelIndex¶
-
inherits
(self, str) → bool¶
-
insertColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
insertRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
installEventFilter
(self, QObject)¶
-
invalidate
(self)¶
-
invalidateFilter
(self)¶
-
isRecursiveFilteringEnabled
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isSortLocaleAware
(self) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemData
(self, QModelIndex) → Dict[int, Any]¶
-
killTimer
(self, 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, QModelIndex, QModelIndex) → bool¶
-
mapFromSource
(self, QModelIndex) → QModelIndex¶
-
mapSelectionFromSource
(self, QItemSelection) → QItemSelection¶
-
mapSelectionToSource
(self, QItemSelection) → QItemSelection¶
-
mapToSource
(self, QModelIndex) → QModelIndex¶
-
match
(self, QModelIndex, int, Any, hits: int = 1, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchStartsWith|Qt.MatchWrap) → List[QModelIndex]¶
-
metaObject
(self) → QMetaObject¶
-
mimeData
(self, Iterable[QModelIndex]) → QMimeData¶
-
mimeTypes
(self) → List[str]¶
-
modelAboutToBeReset
¶ modelAboutToBeReset(self) [signal]
-
modelReset
¶ modelReset(self) [signal]
-
moveColumn
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveColumns
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveRow
(self, QModelIndex, int, QModelIndex, int) → bool¶
-
moveRows
(self, QModelIndex, int, int, QModelIndex, int) → bool¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
parent
(self, QModelIndex) → QModelIndex¶ parent(self) -> QObject
-
persistentIndexList
(self) → List[QModelIndex]¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeColumn
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeColumns
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeEventFilter
(self, QObject)¶
-
removeRow
(self, int, parent: QModelIndex = QModelIndex()) → bool¶
-
removeRows
(self, int, int, parent: QModelIndex = QModelIndex()) → bool¶
-
resetInternalData
(self)¶
-
revert
(self)¶
-
roleNames
(self) → Dict[int, QByteArray]¶
-
rowCount
(self, parent: QModelIndex = QModelIndex()) → int¶
-
rowsAboutToBeInserted
¶ rowsAboutToBeInserted(self, QModelIndex, int, int) [signal]
-
rowsAboutToBeMoved
¶ rowsAboutToBeMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsAboutToBeRemoved
¶ rowsAboutToBeRemoved(self, QModelIndex, int, int) [signal]
-
rowsInserted
¶ rowsInserted(self, QModelIndex, int, int) [signal]
-
rowsMoved
¶ rowsMoved(self, QModelIndex, int, int, QModelIndex, int) [signal]
-
rowsRemoved
¶ rowsRemoved(self, QModelIndex, int, int) [signal]
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setData
(self, QModelIndex, Any, role: int = Qt.EditRole) → bool¶
-
setDynamicSortFilter
(self, bool)¶
-
setFilterCaseSensitivity
(self, Qt.CaseSensitivity)¶
-
setFilterFixedString
(self, str)¶
-
setFilterKeyColumn
(self, int)¶
-
setFilterRegExp
(self, QRegExp)¶ setFilterRegExp(self, str)
-
setFilterRegularExpression
(self, QRegularExpression)¶ setFilterRegularExpression(self, str)
-
setFilterRole
(self, int)¶
-
setFilterWildcard
(self, str)¶
-
setHeaderData
(self, int, Qt.Orientation, Any, role: int = Qt.EditRole) → bool¶
-
setItemData
(self, QModelIndex, Dict[int, Any]) → bool¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
setRecursiveFilteringEnabled
(self, bool)¶
-
setSortCaseSensitivity
(self, Qt.CaseSensitivity)¶
-
setSortLocaleAware
(self, bool)¶
-
setSortRole
(self, int)¶
-
setSourceModel
(self, QAbstractItemModel)¶
-
sibling
(self, int, int, QModelIndex) → QModelIndex¶
-
signalsBlocked
(self) → bool¶
-
sort
(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
-
sortCaseSensitivity
(self) → Qt.CaseSensitivity¶
-
sortColumn
(self) → int¶
-
sortOrder
(self) → Qt.SortOrder¶
-
sortRole
(self) → int¶
-
sourceModel
(self) → QAbstractItemModel¶
-
sourceModelChanged
¶ sourceModelChanged(self) [signal]
-
span
(self, QModelIndex) → QSize¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
submit
(self) → bool¶
-
supportedDragActions
(self) → Qt.DropActions¶
-
supportedDropActions
(self) → Qt.DropActions¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: 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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
Shadow
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff4cd8>¶
-
-
Shadow_Mask
= 240¶
-
Shape_Mask
= 15¶
-
class
StyleMask
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff5438>¶
-
-
StyledPanel
= 6¶
-
Sunken
= 48¶
-
VLine
= 5¶
-
WinPanel
= 3¶
-
__init__
(parent)¶ Initialize self. See help(type(self)) for accurate signature.
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
dataChanged
¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawFrame
(self, QPainter)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
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, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameRect
(self) → QRect¶
-
frameShadow
(self) → QFrame.Shadow¶
-
frameShape
(self) → QFrame.Shape¶
-
frameSize
(self) → QSize¶
-
frameStyle
(self) → int¶
-
frameWidth
(self) → int¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(event)¶ Emit a signal every time this pop up is hidden.
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, 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, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
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, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
midLineWidth
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
popUpResized
¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
resetWidgets
()¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
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, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrameRect
(self, QRect)¶
-
setFrameShadow
(self, QFrame.Shadow)¶
-
setFrameShape
(self, QFrame.Shape)¶
-
setFrameStyle
(self, int)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineWidth
(self, int)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMidLineWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
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 tree - view (
QtWidgets.QTreeView
) – view for the model
- model (
-
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, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.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, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
visibilityChanged
¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.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 tree - view (
QtWidgets.QTreeView
) – view for the model
- 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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
Shadow
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff4cd8>¶
-
-
Shadow_Mask
= 240¶
-
Shape_Mask
= 15¶
-
class
StyleMask
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff5438>¶
-
-
StyledPanel
= 6¶
-
Sunken
= 48¶
-
VLine
= 5¶
-
WinPanel
= 3¶
-
__init__
(parent)¶ Initialize self. See help(type(self)) for accurate signature.
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
dataChanged
¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawFrame
(self, QPainter)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
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, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameRect
(self) → QRect¶
-
frameShadow
(self) → QFrame.Shadow¶
-
frameShape
(self) → QFrame.Shape¶
-
frameSize
(self) → QSize¶
-
frameStyle
(self) → int¶
-
frameWidth
(self) → int¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(event)¶ Emit a signal every time this pop up is hidden.
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, 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, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
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, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
midLineWidth
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
popUpResized
¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reset
()¶
-
resetWidgets
()¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
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, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrameRect
(self, QRect)¶
-
setFrameShadow
(self, QFrame.Shadow)¶
-
setFrameShape
(self, QFrame.Shape)¶
-
setFrameStyle
(self, int)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineWidth
(self, int)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMidLineWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
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, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.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, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
visibilityChanged
¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
LiveReportSelectionPopup
(parent)¶ Bases:
schrodinger.application.livedesign.panel_components.BaseLiveReportSelectionPopup
A popup for selecting Live Reports.
-
setup
()¶ Sets up the model, view, proxy and search box.
See BaseSearchTreeWidgetHelper.setupWidgets for more info.
-
Box
= 1¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
HLine
= 4¶
-
IgnoreMask
= 4¶
-
LRSortMethodChanged
¶
-
NoFrame
= 0¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
Shadow
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff4cd8>¶
-
-
Shadow_Mask
= 240¶
-
Shape_Mask
= 15¶
-
class
StyleMask
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff5438>¶
-
-
StyledPanel
= 6¶
-
Sunken
= 48¶
-
VLine
= 5¶
-
WinPanel
= 3¶
-
__init__
(parent)¶ Initialize self. See help(type(self)) for accurate signature.
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
dataChanged
¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawFrame
(self, QPainter)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
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, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameRect
(self) → QRect¶
-
frameShadow
(self) → QFrame.Shadow¶
-
frameShape
(self) → QFrame.Shape¶
-
frameSize
(self) → QSize¶
-
frameStyle
(self) → int¶
-
frameWidth
(self) → int¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(event)¶ Emit a signal every time this pop up is hidden.
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, 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, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
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, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
midLineWidth
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
popUpResized
¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reset
()¶
-
resetWidgets
()¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
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, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrameRect
(self, QRect)¶
-
setFrameShadow
(self, QFrame.Shadow)¶
-
setFrameShape
(self, QFrame.Shape)¶
-
setFrameStyle
(self, int)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineWidth
(self, int)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMidLineWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
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 tree - view (
QtWidgets.QTreeView
) – view for the model
- model (
-
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, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.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, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
visibilityChanged
¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
LiveReportSelectionComboBox
(parent, exp_panel, allow_add=True)¶ 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: - 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 name. - LRSortMethodChanged (QtCore.pyqtSignal) – signal indicating that a new live report sort
method has been chosen; emitted with an
LRSort
value
-
newLiveReportSelected
¶
-
liveReportSelected
¶
-
LRSortMethodChanged
¶
-
__init__
(parent, exp_panel, allow_add=True)¶ 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.
-
addNew
()¶ Slot connected to the ‘Add New Live Report’ button. Generates a new name for the live report depending on any reports selected in the tree and the current date.
-
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
-
ALIGN_AUTO
= 4¶
-
ALIGN_BOTTOM
= 1¶
-
ALIGN_LEFT
= 3¶
-
ALIGN_RIGHT
= 2¶
-
ALIGN_TOP
= 0¶
-
AdjustToContents
= 0¶
-
AdjustToContentsOnFirstShow
= 1¶
-
AdjustToMinimumContentsLength
= 2¶
-
AdjustToMinimumContentsLengthWithIcon
= 3¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
IgnoreMask
= 4¶
-
InsertAfterCurrent
= 4¶
-
InsertAlphabetically
= 6¶
-
InsertAtBottom
= 3¶
-
InsertAtCurrent
= 2¶
-
InsertAtTop
= 1¶
-
InsertBeforeCurrent
= 5¶
-
class
InsertPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fd6958>¶
-
-
NoInsert
= 0¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
PdmDepth
= 6¶
-
PdmDevicePixelRatio
= 11¶
-
PdmDevicePixelRatioScaled
= 12¶
-
PdmDpiX
= 7¶
-
PdmDpiY
= 8¶
-
PdmHeight
= 2¶
-
PdmHeightMM
= 4¶
-
PdmNumColors
= 5¶
-
PdmPhysicalDpiX
= 9¶
-
PdmPhysicalDpiY
= 10¶
-
PdmWidth
= 1¶
-
PdmWidthMM
= 3¶
-
class
RenderFlag
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
SizeAdjustPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fd6d08>¶
-
-
__len__
¶ Return len(self).
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
activated
¶ activated(self, int) [signal] activated(self, str) [signal]
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
addItem
(self, str, userData: Any = None)¶ addItem(self, QIcon, str, userData: Any = None)
-
addItems
(self, Iterable[str])¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clear
(self)¶
-
clearEditText
(self)¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
completer
(self) → QCompleter¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
count
(self) → int¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
currentData
(self, role: int = Qt.UserRole) → Any¶
-
currentIndex
(self) → int¶
-
currentIndexChanged
¶ currentIndexChanged(self, int) [signal] currentIndexChanged(self, str) [signal]
-
currentText
(self) → str¶
-
currentTextChanged
¶ currentTextChanged(self, str) [signal]
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
duplicatesEnabled
(self) → bool¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
editTextChanged
¶ editTextChanged(self, str) [signal]
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
findData
(self, Any, role: int = Qt.UserRole, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly|Qt.MatchCaseSensitive) → int¶
-
findText
(self, str, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly|Qt.MatchCaseSensitive) → int¶
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, 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, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
hidePopup
(self)¶
-
highlighted
¶ highlighted(self, int) [signal] highlighted(self, str) [signal]
-
iconSize
(self) → QSize¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionComboBox)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶ inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
insertItem
(self, int, str, userData: Any = None)¶ insertItem(self, int, QIcon, str, userData: Any = None)
-
insertItems
(self, int, Iterable[str])¶
-
insertPolicy
(self) → QComboBox.InsertPolicy¶
-
insertSeparator
(self, int)¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isEditable
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemData
(self, int, role: int = Qt.UserRole) → Any¶
-
itemDelegate
(self) → QAbstractItemDelegate¶
-
itemIcon
(self, int) → QIcon¶
-
itemText
(self, int) → str¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
lineEdit
(self) → QLineEdit¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maxCount
(self) → int¶
-
maxVisibleItems
(self) → int¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, 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, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(event)¶ Update the pop up position and size when the widget is moved
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
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, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
removeItem
(self, int)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(event)¶ Update the pop up position and size when the widget is resized
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
rootModelIndex
(self) → QModelIndex¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setCompleter
(self, QCompleter)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCurrentIndex
(self, int)¶
-
setCurrentText
(self, str)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setDuplicatesEnabled
(self, bool)¶
-
setEditText
(self, str)¶
-
setEditable
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrame
(self, bool)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setIconSize
(self, QSize)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setInsertPolicy
(self, QComboBox.InsertPolicy)¶
-
setItemData
(self, int, Any, role: int = Qt.UserRole)¶
-
setItemDelegate
(self, QAbstractItemDelegate)¶
-
setItemIcon
(self, int, QIcon)¶
-
setItemText
(self, int, str)¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineEdit
(self, QLineEdit)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaxCount
(self, int)¶
-
setMaxVisibleItems
(self, int)¶
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumContentsLength
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModel
(self, QAbstractItemModel)¶
-
setModelColumn
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
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, str, Any) → bool¶
-
setRootModelIndex
(self, QModelIndex)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeAdjustPolicy
(self, QComboBox.SizeAdjustPolicy)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setValidator
(self, QValidator)¶
-
setView
(self, QAbstractItemView)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
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, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
validator
(self) → QValidator¶
-
view
(self) → QAbstractItemView¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
- liveReportSelected (
-
class
schrodinger.application.livedesign.panel_components.
LiveReportSelector
(parent, exp_panel, allow_add=True)¶ Bases:
schrodinger.ui.qt.widgetmixins.basicmixins.InitMixin
,PyQt5.QtWidgets.QWidget
A widget containing a
LiveReportSelectionComboBox
and a refresh 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, exp_panel, allow_add=True)¶ Initialize self. See help(type(self)) for accurate signature.
-
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
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
IgnoreMask
= 4¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
PdmDepth
= 6¶
-
PdmDevicePixelRatio
= 11¶
-
PdmDevicePixelRatioScaled
= 12¶
-
PdmDpiX
= 7¶
-
PdmDpiY
= 8¶
-
PdmHeight
= 2¶
-
PdmHeightMM
= 4¶
-
PdmNumColors
= 5¶
-
PdmPhysicalDpiX
= 9¶
-
PdmPhysicalDpiY
= 10¶
-
PdmWidth
= 1¶
-
PdmWidthMM
= 3¶
-
class
RenderFlag
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
inherits
(self, str) → bool¶
-
initFinalize
()¶ Suggested subclass use: perform any remaining initialization.
-
initPainter
(self, QPainter)¶
-
initSetOptions
()¶ Suggested subclass use: set instance variables, excluding layouts and subwidgets.
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWidgetLayout
()¶ Set the widget layout
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
show
(self)¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeHint
(self) → QSize¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
stackUnder
(self, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
ui_module
= None¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
class
schrodinger.application.livedesign.panel_components.
AddNewLineEdit
¶ Bases:
PyQt5.QtWidgets.QLineEdit
-
default_text
= ''¶
-
focusInEvent
(self, QFocusEvent)¶
-
class
ActionPosition
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2b269d8>¶
-
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
class
EchoMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2b26d88>¶
-
-
IgnoreMask
= 4¶
-
LeadingPosition
= 0¶
-
NoEcho
= 1¶
-
Normal
= 0¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
TrailingPosition
= 1¶
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶ addAction(self, QAction, QLineEdit.ActionPosition) addAction(self, QIcon, QLineEdit.ActionPosition) -> QAction
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
alignment
(self) → Qt.Alignment¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
backspace
(self)¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clear
(self)¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
completer
(self) → QCompleter¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
copy
(self)¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createStandardContextMenu
(self) → QMenu¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
cursorBackward
(self, bool, steps: int = 1)¶
-
cursorForward
(self, bool, steps: int = 1)¶
-
cursorMoveStyle
(self) → Qt.CursorMoveStyle¶
-
cursorPosition
(self) → int¶
-
cursorPositionAt
(self, QPoint) → int¶
-
cursorPositionChanged
¶ cursorPositionChanged(self, int, int) [signal]
-
cursorRect
(self) → QRect¶
-
cursorWordBackward
(self, bool)¶
-
cursorWordForward
(self, bool)¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
cut
(self)¶
-
del_
(self)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
deselect
(self)¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
displayText
(self) → str¶
-
dragEnabled
(self) → bool¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
echoMode
(self) → QLineEdit.EchoMode¶
-
editingFinished
¶ editingFinished(self) [signal]
-
effectiveWinId
(self) → sip.voidptr¶
-
end
(self, bool)¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
getTextMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, 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, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
home
(self, bool)¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMask
(self) → str¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶ inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any
-
inputRejected
¶ inputRejected(self) [signal]
-
insert
(self, str)¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isClearButtonEnabled
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isModified
(self) → bool¶
-
isReadOnly
(self) → bool¶
-
isRedoAvailable
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isUndoAvailable
(self) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maxLength
(self) → int¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
paste
(self)¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
placeholderText
(self) → str¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
redo
(self)¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
returnPressed
¶ returnPressed(self) [signal]
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
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, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAlignment
(self, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setClearButtonEnabled
(self, bool)¶
-
setCompleter
(self, QCompleter)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setCursorMoveStyle
(self, Qt.CursorMoveStyle)¶
-
setCursorPosition
(self, int)¶
-
setDisabled
(self, bool)¶
-
setDragEnabled
(self, bool)¶
-
setEchoMode
(self, QLineEdit.EchoMode)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrame
(self, bool)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMask
(self, str)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaxLength
(self, int)¶
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModified
(self, bool)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setPlaceholderText
(self, str)¶
-
setProperty
(self, str, Any) → bool¶
-
setReadOnly
(self, bool)¶
-
setSelection
(self, int, int)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setText
(self, str)¶
-
setTextMargins
(self, int, int, int, int)¶ setTextMargins(self, QMargins)
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setValidator
(self, QValidator)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
show
(self)¶
-
showEvent
(self, QShowEvent)¶
-
showFullScreen
(self)¶
-
showMaximized
(self)¶
-
showMinimized
(self)¶
-
showNormal
(self)¶
-
signalsBlocked
(self) → bool¶
-
size
(self) → QSize¶
-
sizeHint
(self) → QSize¶
-
sizeIncrement
(self) → QSize¶
-
sizePolicy
(self) → QSizePolicy¶
-
stackUnder
(self, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
text
(self) → str¶
-
textChanged
¶ textChanged(self, str) [signal]
-
textEdited
¶ textEdited(self, str) [signal]
-
textMargins
(self) → QMargins¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
undo
(self)¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
validator
(self) → QValidator¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
AssaySelectionPopup
(parent)¶ Bases:
schrodinger.application.livedesign.panel_components.BaseSelectionPopup
A popup for selecting Assays.
-
newAssaySelected
¶
-
setup
()¶ Sets up the model, view, proxy and search box.
See BaseSearchTreeWidgetHelper.setupWidgets for more info.
-
selectNewAssay
()¶
-
setDefaultText
(text)¶
-
Box
= 1¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
HLine
= 4¶
-
IgnoreMask
= 4¶
-
NoFrame
= 0¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
Shadow
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff4cd8>¶
-
-
Shadow_Mask
= 240¶
-
Shape_Mask
= 15¶
-
class
StyleMask
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff5438>¶
-
-
StyledPanel
= 6¶
-
Sunken
= 48¶
-
VLine
= 5¶
-
WinPanel
= 3¶
-
__init__
(parent)¶ Initialize self. See help(type(self)) for accurate signature.
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
dataChanged
¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawFrame
(self, QPainter)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
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, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameRect
(self) → QRect¶
-
frameShadow
(self) → QFrame.Shadow¶
-
frameShape
(self) → QFrame.Shape¶
-
frameSize
(self) → QSize¶
-
frameStyle
(self) → int¶
-
frameWidth
(self) → int¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(event)¶ Emit a signal every time this pop up is hidden.
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, 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, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
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, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
midLineWidth
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
popUpResized
¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reset
()¶
-
resetWidgets
()¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
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, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrameRect
(self, QRect)¶
-
setFrameShadow
(self, QFrame.Shadow)¶
-
setFrameShape
(self, QFrame.Shape)¶
-
setFrameStyle
(self, int)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineWidth
(self, int)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMidLineWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
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 tree - view (
QtWidgets.QTreeView
) – view for the model
- model (
-
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, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.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, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
visibilityChanged
¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
AssaySelectionLineEdit
(parent)¶ Bases:
schrodinger.ui.qt.pop_up_widgets.LineEditWithPopUp
Custom Line Edit to show a Popup (AssaySelectionPopup) when the user clicks on the table cell.
-
newAssaySelected
¶
-
assaySelected
¶
-
__init__
(parent)¶ Parameters: parent ( PyQt5.QtWidgets.QWidget
) – the Qt parent widget
-
onApplyToRowsClicked
()¶ Triggers PopUpDelegate.commitDataToSelected signal
-
addNew
(name)¶ Adds the new Model / Assay name to the table cell and the popup tree.
Parameters: name (str) – new Assay name
-
addData
(assay_path_data)¶ Add the assay data to populate the pop up tree model.
Parameters: assay_path_data (List of BaseLDTreeItemWrapper) – the list of tree item wrappers containing the name and path of the assays
-
onAssaySelected
(item)¶ Slot connected to tree view’s selection.
Parameters: item (BaseLDTreeItemWrapper) – selected Assay item in the tree view.
-
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, str)¶
-
ALIGN_AUTO
= 4¶
-
ALIGN_BOTTOM
= 1¶
-
ALIGN_LEFT
= 3¶
-
ALIGN_RIGHT
= 2¶
-
ALIGN_TOP
= 0¶
-
class
ActionPosition
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2b269d8>¶
-
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
class
EchoMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2b26d88>¶
-
-
IgnoreMask
= 4¶
-
LeadingPosition
= 0¶
-
NoEcho
= 1¶
-
Normal
= 0¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
TrailingPosition
= 1¶
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶ addAction(self, QAction, QLineEdit.ActionPosition) addAction(self, QIcon, QLineEdit.ActionPosition) -> QAction
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
alignment
(self) → Qt.Alignment¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
backspace
(self)¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clear
(self)¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
completer
(self) → QCompleter¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
copy
(self)¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createStandardContextMenu
(self) → QMenu¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
cursorBackward
(self, bool, steps: int = 1)¶
-
cursorForward
(self, bool, steps: int = 1)¶
-
cursorMoveStyle
(self) → Qt.CursorMoveStyle¶
-
cursorPosition
(self) → int¶
-
cursorPositionAt
(self, QPoint) → int¶
-
cursorPositionChanged
¶ cursorPositionChanged(self, int, int) [signal]
-
cursorRect
(self) → QRect¶
-
cursorWordBackward
(self, bool)¶
-
cursorWordForward
(self, bool)¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
cut
(self)¶
-
del_
(self)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
deselect
(self)¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
displayText
(self) → str¶
-
dragEnabled
(self) → bool¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
echoMode
(self) → QLineEdit.EchoMode¶
-
editingFinished
¶ editingFinished(self) [signal]
-
effectiveWinId
(self) → sip.voidptr¶
-
end
(self, bool)¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(event)¶ When the line edit receives focus, show the pop up
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
getTextMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, 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, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
home
(self, bool)¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMask
(self) → str¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶ inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any
-
inputRejected
¶ inputRejected(self) [signal]
-
insert
(self, str)¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isClearButtonEnabled
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isModified
(self) → bool¶
-
isReadOnly
(self) → bool¶
-
isRedoAvailable
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isUndoAvailable
(self) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maxLength
(self) → int¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(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, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(event)¶ Update the pop up position and size when the widget is moved
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
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, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
redo
(self)¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(event)¶ Update the pop up position and size when the widget is resized
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
returnPressed
¶ returnPressed(self) [signal]
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
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, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAlignment
(self, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setClearButtonEnabled
(self, bool)¶
-
setCompleter
(self, QCompleter)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setCursorMoveStyle
(self, Qt.CursorMoveStyle)¶
-
setCursorPosition
(self, int)¶
-
setDisabled
(self, bool)¶
-
setDragEnabled
(self, bool)¶
-
setEchoMode
(self, QLineEdit.EchoMode)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrame
(self, bool)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMask
(self, str)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaxLength
(self, int)¶
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModified
(self, bool)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setPlaceholderText
(self, 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, str, Any) → bool¶
-
setReadOnly
(self, bool)¶
-
setSelection
(self, int, int)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setTextMargins
(self, int, int, int, int)¶ setTextMargins(self, QMargins)
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setValidator
(self, QValidator)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
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, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
text
(self) → str¶
-
textChanged
¶ textChanged(self, str) [signal]
-
textEdited
¶ textEdited(self, 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, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
undo
(self)¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
validator
(self) → QValidator¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
AssaySelectionPopUpDelegate
(parent)¶ Bases:
schrodinger.ui.qt.pop_up_widgets.PopUpDelegate
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
¶
-
__init__
(parent)¶ Create an instance.
Parameters: parent ( PyQt5.QtWidgets.QWidget
) – the Qt parent widget
-
onNewAssaySelected
()¶
-
onAssaySelected
()¶
-
setEditorData
(self, QWidget, QModelIndex)¶
-
setModelData
(self, QWidget, QAbstractItemModel, QModelIndex)¶
-
EditNextItem
= 1¶
-
EditPreviousItem
= 2¶
-
class
EndEditHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7e958>¶
-
-
NoHint
= 0¶
-
RevertModelCache
= 4¶
-
SubmitModelCache
= 3¶
-
blockSignals
(self, bool) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
closeEditor
¶ closeEditor(self, QWidget, hint: QAbstractItemDelegate.EndEditHint = QAbstractItemDelegate.NoHint) [signal]
-
commitData
¶ commitData(self, QWidget) [signal]
-
commitDataToSelected
¶
-
connectNotify
(self, 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, QEvent)¶
-
deleteLater
(self)¶
-
destroyEditor
(self, QWidget, QModelIndex)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
displayText
(self, Any, QLocale) → str¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
editorEvent
(self, QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) → bool¶
-
event
(self, 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, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
helpEvent
(self, QHelpEvent, QAbstractItemView, QStyleOptionViewItem, QModelIndex) → bool¶
-
inherits
(self, str) → bool¶
-
initStyleOption
(self, QStyleOptionViewItem, QModelIndex)¶
-
installEventFilter
(self, QObject)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemEditorFactory
(self) → QItemEditorFactory¶
-
killTimer
(self, int)¶
-
metaObject
(self) → QMetaObject¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
paint
(self, QPainter, QStyleOptionViewItem, 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 closed - accept (int) – The signal that was emitted by the editor when it closed
- editor (
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeEventFilter
(self, QObject)¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setItemEditorFactory
(self, QItemEditorFactory)¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
signalsBlocked
(self) → bool¶
-
sizeHint
(self, QStyleOptionViewItem, QModelIndex) → QSize¶
-
sizeHintChanged
¶ sizeHintChanged(self, QModelIndex) [signal]
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
updateEditorGeometry
(self, QWidget, QStyleOptionViewItem, QModelIndex)¶
-
class
schrodinger.application.livedesign.panel_components.
EndpointSelectionPopup
(parent)¶ Bases:
schrodinger.application.livedesign.panel_components.BaseSelectionPopup
A popup for selecting Endpoints.
-
newEndpointSelected
¶
-
setup
()¶ Sets up the model, view, proxy and search box.
See BaseSearchTreeWidgetHelper.setupWidgets for more info.
-
addNewEndpoint
()¶
-
Box
= 1¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
HLine
= 4¶
-
IgnoreMask
= 4¶
-
NoFrame
= 0¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
Shadow
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff4cd8>¶
-
-
Shadow_Mask
= 240¶
-
Shape_Mask
= 15¶
-
class
StyleMask
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2ff5438>¶
-
-
StyledPanel
= 6¶
-
Sunken
= 48¶
-
VLine
= 5¶
-
WinPanel
= 3¶
-
__init__
(parent)¶ Initialize self. See help(type(self)) for accurate signature.
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
dataChanged
¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
drawFrame
(self, QPainter)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
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, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameRect
(self) → QRect¶
-
frameShadow
(self) → QFrame.Shadow¶
-
frameShape
(self) → QFrame.Shape¶
-
frameSize
(self) → QSize¶
-
frameStyle
(self) → int¶
-
frameWidth
(self) → int¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶
-
graphicsEffect
(self) → QGraphicsEffect¶
-
graphicsProxyWidget
(self) → QGraphicsProxyWidget¶
-
hasFocus
(self) → bool¶
-
hasHeightForWidth
(self) → bool¶
-
hasMouseTracking
(self) → bool¶
-
hasTabletTracking
(self) → bool¶
-
height
(self) → int¶
-
heightForWidth
(self, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(event)¶ Emit a signal every time this pop up is hidden.
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, 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, QWidget) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
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, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
midLineWidth
(self) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
popUpResized
¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
reset
()¶
-
resetWidgets
()¶
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
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, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrameRect
(self, QRect)¶
-
setFrameShadow
(self, QFrame.Shadow)¶
-
setFrameShape
(self, QFrame.Shape)¶
-
setFrameStyle
(self, int)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineWidth
(self, int)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMidLineWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
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 tree - view (
QtWidgets.QTreeView
) – view for the model
- model (
-
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, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.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, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
visibilityChanged
¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
EndpointSelectionLineEdit
(parent)¶ Bases:
schrodinger.ui.qt.pop_up_widgets.LineEditWithPopUp
Custom Line Edit to show a Popup (EndpointSelectionPopup) when the user double clicks on the table cell.
-
newEndpointSelected
¶
-
endpointSelected
¶
-
__init__
(parent)¶ Create an instance.
Parameters: parent ( PyQt5.QtWidgets.QWidget
) – the Qt parent widget
-
addNew
(name)¶ Slot connected a new Endpoint creation. Add the new Endpoint to the lineedit and the tree.
-
addData
(endpoint_data)¶ Add the endpoint data to populate the pop up tree model.
Parameters: endpoint_data (List of str) –
-
onEndpointSelected
(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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2b269d8>¶
-
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
class
EchoMode
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x2b26d88>¶
-
-
IgnoreMask
= 4¶
-
LeadingPosition
= 0¶
-
NoEcho
= 1¶
-
Normal
= 0¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
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
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
TrailingPosition
= 1¶
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
addAction
(self, QAction)¶ addAction(self, QAction, QLineEdit.ActionPosition) addAction(self, QIcon, QLineEdit.ActionPosition) -> QAction
-
addActions
(self, Iterable[QAction])¶
-
adjustSize
(self)¶
-
alignment
(self) → Qt.Alignment¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
backspace
(self)¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clear
(self)¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
completer
(self) → QCompleter¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
copy
(self)¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createStandardContextMenu
(self) → QMenu¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
cursor
(self) → QCursor¶
-
cursorBackward
(self, bool, steps: int = 1)¶
-
cursorForward
(self, bool, steps: int = 1)¶
-
cursorMoveStyle
(self) → Qt.CursorMoveStyle¶
-
cursorPosition
(self) → int¶
-
cursorPositionAt
(self, QPoint) → int¶
-
cursorPositionChanged
¶ cursorPositionChanged(self, int, int) [signal]
-
cursorRect
(self) → QRect¶
-
cursorWordBackward
(self, bool)¶
-
cursorWordForward
(self, bool)¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
cut
(self)¶
-
del_
(self)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
deselect
(self)¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
displayText
(self) → str¶
-
dragEnabled
(self) → bool¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
echoMode
(self) → QLineEdit.EchoMode¶
-
editingFinished
¶ editingFinished(self) [signal]
-
effectiveWinId
(self) → sip.voidptr¶
-
end
(self, bool)¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
focusInEvent
(event)¶ When the line edit receives focus, show the pop up
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
getTextMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, 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, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
home
(self, bool)¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionFrame)¶
-
inputMask
(self) → str¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶ inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any
-
inputRejected
¶ inputRejected(self) [signal]
-
insert
(self, str)¶
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isClearButtonEnabled
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isModified
(self) → bool¶
-
isReadOnly
(self) → bool¶
-
isRedoAvailable
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isUndoAvailable
(self) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maxLength
(self) → int¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, QPaintDevice.PaintDeviceMetric) → int¶
-
minimumHeight
(self) → int¶
-
minimumSize
(self) → QSize¶
-
minimumSizeHint
(self) → QSize¶
-
minimumWidth
(self) → int¶
-
mouseDoubleClickEvent
(self, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(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, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(event)¶ Update the pop up position and size when the widget is moved
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
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, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
redo
(self)¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(event)¶ Update the pop up position and size when the widget is resized
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
returnPressed
¶ returnPressed(self) [signal]
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
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, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAlignment
(self, Union[Qt.Alignment, Qt.AlignmentFlag])¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setClearButtonEnabled
(self, bool)¶
-
setCompleter
(self, QCompleter)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setCursorMoveStyle
(self, Qt.CursorMoveStyle)¶
-
setCursorPosition
(self, int)¶
-
setDisabled
(self, bool)¶
-
setDragEnabled
(self, bool)¶
-
setEchoMode
(self, QLineEdit.EchoMode)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrame
(self, bool)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setInputMask
(self, str)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaxLength
(self, int)¶
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModified
(self, bool)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setPlaceholderText
(self, 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, str, Any) → bool¶
-
setReadOnly
(self, bool)¶
-
setSelection
(self, int, int)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setText
(self, str)¶
-
setTextMargins
(self, int, int, int, int)¶ setTextMargins(self, QMargins)
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setValidator
(self, QValidator)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
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, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
text
(self) → str¶
-
textChanged
¶ textChanged(self, str) [signal]
-
textEdited
¶ textEdited(self, 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, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
undo
(self)¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
validator
(self) → QValidator¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
-
-
class
schrodinger.application.livedesign.panel_components.
EndpointSelectionPopUpDelegate
(parent)¶ Bases:
schrodinger.ui.qt.pop_up_widgets.PopUpDelegate
-
__init__
(parent)¶ Create an instance.
Parameters: parent ( PyQt5.QtWidgets.QWidget
) – the Qt parent widget
-
setEditorData
(self, QWidget, QModelIndex)¶
-
EditNextItem
= 1¶
-
EditPreviousItem
= 2¶
-
class
EndEditHint
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1e7e958>¶
-
-
NoHint
= 0¶
-
RevertModelCache
= 4¶
-
SubmitModelCache
= 3¶
-
blockSignals
(self, bool) → bool¶
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
closeEditor
¶ closeEditor(self, QWidget, hint: QAbstractItemDelegate.EndEditHint = QAbstractItemDelegate.NoHint) [signal]
-
commitData
¶ commitData(self, QWidget) [signal]
-
commitDataToSelected
¶
-
connectNotify
(self, 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, QEvent)¶
-
deleteLater
(self)¶
-
destroyEditor
(self, QWidget, QModelIndex)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
displayText
(self, Any, QLocale) → str¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
editorEvent
(self, QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) → bool¶
-
event
(self, 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, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
helpEvent
(self, QHelpEvent, QAbstractItemView, QStyleOptionViewItem, QModelIndex) → bool¶
-
inherits
(self, str) → bool¶
-
initStyleOption
(self, QStyleOptionViewItem, QModelIndex)¶
-
installEventFilter
(self, QObject)¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemEditorFactory
(self) → QItemEditorFactory¶
-
killTimer
(self, int)¶
-
metaObject
(self) → QMetaObject¶
-
moveToThread
(self, QThread)¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
paint
(self, QPainter, QStyleOptionViewItem, 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 closed - accept (int) – The signal that was emitted by the editor when it closed
- editor (
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
receivers
(self, PYQT_SIGNAL) → int¶
-
removeEventFilter
(self, QObject)¶
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setItemEditorFactory
(self, QItemEditorFactory)¶
-
setModelData
(self, QWidget, QAbstractItemModel, QModelIndex)¶
-
setObjectName
(self, str)¶
-
setParent
(self, QObject)¶
-
setProperty
(self, str, Any) → bool¶
-
signalsBlocked
(self) → bool¶
-
sizeHint
(self, QStyleOptionViewItem, QModelIndex) → QSize¶
-
sizeHintChanged
¶ sizeHintChanged(self, QModelIndex) [signal]
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
updateEditorGeometry
(self, QWidget, QStyleOptionViewItem, QModelIndex)¶
-
-
class
schrodinger.application.livedesign.panel_components.
LiveDesignProjectsCombo
(parent=None)¶ Bases:
PyQt5.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: int 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¶
-
AdjustToMinimumContentsLength
= 2¶
-
AdjustToMinimumContentsLengthWithIcon
= 3¶
-
DrawChildren
= 2¶
-
DrawWindowBackground
= 1¶
-
IgnoreMask
= 4¶
-
InsertAfterCurrent
= 4¶
-
InsertAlphabetically
= 6¶
-
InsertAtBottom
= 3¶
-
InsertAtCurrent
= 2¶
-
InsertAtTop
= 1¶
-
InsertBeforeCurrent
= 5¶
-
class
InsertPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fd6958>¶
-
-
NoInsert
= 0¶
-
class
PaintDeviceMetric
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x33c5518>¶
-
-
PdmDepth
= 6¶
-
PdmDevicePixelRatio
= 11¶
-
PdmDevicePixelRatioScaled
= 12¶
-
PdmDpiX
= 7¶
-
PdmDpiY
= 8¶
-
PdmHeight
= 2¶
-
PdmHeightMM
= 4¶
-
PdmNumColors
= 5¶
-
PdmPhysicalDpiX
= 9¶
-
PdmPhysicalDpiY
= 10¶
-
PdmWidth
= 1¶
-
PdmWidthMM
= 3¶
-
class
RenderFlag
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1bb7888>¶
-
-
class
RenderFlags
¶ Bases:
sip.simplewrapper
QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
-
class
SizeAdjustPolicy
¶ Bases:
int
-
__init__
= <method-wrapper '__init__' of sip.enumtype object at 0x1fd6d08>¶
-
-
__len__
¶ Return len(self).
-
acceptDrops
(self) → bool¶
-
accessibleDescription
(self) → str¶
-
accessibleName
(self) → str¶
-
actionEvent
(self, QActionEvent)¶
-
actions
(self) → List[QAction]¶
-
activateWindow
(self)¶
-
activated
¶ activated(self, int) [signal] activated(self, str) [signal]
-
addAction
(self, QAction)¶
-
addActions
(self, Iterable[QAction])¶
-
addItem
(self, str, userData: Any = None)¶ addItem(self, QIcon, str, userData: Any = None)
-
addItems
(self, Iterable[str])¶
-
adjustSize
(self)¶
-
autoFillBackground
(self) → bool¶
-
backgroundRole
(self) → QPalette.ColorRole¶
-
baseSize
(self) → QSize¶
-
blockSignals
(self, bool) → bool¶
-
changeEvent
(self, QEvent)¶
-
childAt
(self, QPoint) → QWidget¶ childAt(self, int, int) -> QWidget
-
childEvent
(self, QChildEvent)¶
-
children
(self) → List[QObject]¶
-
childrenRect
(self) → QRect¶
-
childrenRegion
(self) → QRegion¶
-
clear
(self)¶
-
clearEditText
(self)¶
-
clearFocus
(self)¶
-
clearMask
(self)¶
-
close
(self) → bool¶
-
closeEvent
(self, QCloseEvent)¶
-
colorCount
(self) → int¶
-
completer
(self) → QCompleter¶
-
connectNotify
(self, QMetaMethod)¶
-
contentsMargins
(self) → QMargins¶
-
contentsRect
(self) → QRect¶
-
contextMenuEvent
(self, QContextMenuEvent)¶
-
contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶
-
count
(self) → int¶
-
create
(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
-
createWindowContainer
(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) → QWidget¶
-
currentData
(self, role: int = Qt.UserRole) → Any¶
-
currentIndex
(self) → int¶
-
currentIndexChanged
¶ currentIndexChanged(self, int) [signal] currentIndexChanged(self, str) [signal]
-
currentText
(self) → str¶
-
currentTextChanged
¶ currentTextChanged(self, str) [signal]
-
cursor
(self) → QCursor¶
-
customContextMenuRequested
¶ customContextMenuRequested(self, QPoint) [signal]
-
customEvent
(self, QEvent)¶
-
deleteLater
(self)¶
-
depth
(self) → int¶
-
destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
-
destroyed
¶ destroyed(self, object: QObject = None) [signal]
-
devType
(self) → int¶
-
devicePixelRatio
(self) → int¶
-
devicePixelRatioF
(self) → float¶
-
devicePixelRatioFScale
() → float¶
-
disconnect
(self)¶
-
disconnectNotify
(self, QMetaMethod)¶
-
dragEnterEvent
(self, QDragEnterEvent)¶
-
dragLeaveEvent
(self, QDragLeaveEvent)¶
-
dragMoveEvent
(self, QDragMoveEvent)¶
-
dropEvent
(self, QDropEvent)¶
-
dumpObjectInfo
(self)¶
-
dumpObjectTree
(self)¶
-
duplicatesEnabled
(self) → bool¶
-
dynamicPropertyNames
(self) → List[QByteArray]¶
-
editTextChanged
¶ editTextChanged(self, str) [signal]
-
effectiveWinId
(self) → sip.voidptr¶
-
ensurePolished
(self)¶
-
enterEvent
(self, QEvent)¶
-
event
(self, QEvent) → bool¶
-
eventFilter
(self, QObject, QEvent) → bool¶
-
find
(sip.voidptr) → QWidget¶
-
findChild
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → QObject¶ findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
-
findChildren
(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) → List[QObject]¶ findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
-
findData
(self, Any, role: int = Qt.UserRole, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly|Qt.MatchCaseSensitive) → int¶
-
findText
(self, str, flags: Union[Qt.MatchFlags, Qt.MatchFlag] = Qt.MatchExactly|Qt.MatchCaseSensitive) → int¶
-
focusInEvent
(self, QFocusEvent)¶
-
focusNextChild
(self) → bool¶
-
focusNextPrevChild
(self, bool) → bool¶
-
focusOutEvent
(self, QFocusEvent)¶
-
focusPolicy
(self) → Qt.FocusPolicy¶
-
focusPreviousChild
(self) → bool¶
-
focusProxy
(self) → QWidget¶
-
focusWidget
(self) → QWidget¶
-
font
(self) → QFont¶
-
fontInfo
(self) → QFontInfo¶
-
fontMetrics
(self) → QFontMetrics¶
-
foregroundRole
(self) → QPalette.ColorRole¶
-
frameGeometry
(self) → QRect¶
-
frameSize
(self) → QSize¶
-
geometry
(self) → QRect¶
-
getContentsMargins
(self) → Tuple[int, int, int, int]¶
-
grab
(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) → QPixmap¶
-
grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
-
grabKeyboard
(self)¶
-
grabMouse
(self)¶ grabMouse(self, Union[QCursor, Qt.CursorShape])
-
grabShortcut
(self, 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, int) → int¶
-
heightMM
(self) → int¶
-
hide
(self)¶
-
hideEvent
(self, QHideEvent)¶
-
hidePopup
(self)¶
-
highlighted
¶ highlighted(self, int) [signal] highlighted(self, str) [signal]
-
iconSize
(self) → QSize¶
-
inherits
(self, str) → bool¶
-
initPainter
(self, QPainter)¶
-
initStyleOption
(self, QStyleOptionComboBox)¶
-
inputMethodEvent
(self, QInputMethodEvent)¶
-
inputMethodHints
(self) → Qt.InputMethodHints¶
-
inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶ inputMethodQuery(self, Qt.InputMethodQuery, Any) -> Any
-
insertAction
(self, QAction, QAction)¶
-
insertActions
(self, QAction, Iterable[QAction])¶
-
insertItem
(self, int, str, userData: Any = None)¶ insertItem(self, int, QIcon, str, userData: Any = None)
-
insertItems
(self, int, Iterable[str])¶
-
insertPolicy
(self) → QComboBox.InsertPolicy¶
-
insertSeparator
(self, int)¶
-
installEventFilter
(self, QObject)¶
-
isActiveWindow
(self) → bool¶
-
isAncestorOf
(self, QWidget) → bool¶
-
isEditable
(self) → bool¶
-
isEnabled
(self) → bool¶
-
isEnabledTo
(self, QWidget) → bool¶
-
isFullScreen
(self) → bool¶
-
isHidden
(self) → bool¶
-
isLeftToRight
(self) → bool¶
-
isMaximized
(self) → bool¶
-
isMinimized
(self) → bool¶
-
isModal
(self) → bool¶
-
isRightToLeft
(self) → bool¶
-
isSignalConnected
(self, QMetaMethod) → bool¶
-
isVisible
(self) → bool¶
-
isVisibleTo
(self, QWidget) → bool¶
-
isWidgetType
(self) → bool¶
-
isWindow
(self) → bool¶
-
isWindowModified
(self) → bool¶
-
isWindowType
(self) → bool¶
-
itemData
(self, int, role: int = Qt.UserRole) → Any¶
-
itemDelegate
(self) → QAbstractItemDelegate¶
-
itemIcon
(self, int) → QIcon¶
-
itemText
(self, int) → str¶
-
keyPressEvent
(self, QKeyEvent)¶
-
keyReleaseEvent
(self, QKeyEvent)¶
-
keyboardGrabber
() → QWidget¶
-
killTimer
(self, int)¶
-
layout
(self) → QLayout¶
-
layoutDirection
(self) → Qt.LayoutDirection¶
-
leaveEvent
(self, QEvent)¶
-
lineEdit
(self) → QLineEdit¶
-
locale
(self) → QLocale¶
-
logicalDpiX
(self) → int¶
-
logicalDpiY
(self) → int¶
-
lower
(self)¶
-
mapFrom
(self, QWidget, QPoint) → QPoint¶
-
mapFromGlobal
(self, QPoint) → QPoint¶
-
mapFromParent
(self, QPoint) → QPoint¶
-
mapTo
(self, QWidget, QPoint) → QPoint¶
-
mapToGlobal
(self, QPoint) → QPoint¶
-
mapToParent
(self, QPoint) → QPoint¶
-
mask
(self) → QRegion¶
-
maxCount
(self) → int¶
-
maxVisibleItems
(self) → int¶
-
maximumHeight
(self) → int¶
-
maximumSize
(self) → QSize¶
-
maximumWidth
(self) → int¶
-
metaObject
(self) → QMetaObject¶
-
metric
(self, 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, QMouseEvent)¶
-
mouseGrabber
() → QWidget¶
-
mouseMoveEvent
(self, QMouseEvent)¶
-
mousePressEvent
(self, QMouseEvent)¶
-
mouseReleaseEvent
(self, QMouseEvent)¶
-
move
(self, QPoint)¶ move(self, int, int)
-
moveEvent
(self, QMoveEvent)¶
-
moveToThread
(self, QThread)¶
-
nativeEvent
(self, Union[QByteArray, bytes, bytearray], sip.voidptr) → Tuple[bool, int]¶
-
nativeParentWidget
(self) → QWidget¶
-
nextInFocusChain
(self) → QWidget¶
-
normalGeometry
(self) → QRect¶
-
objectName
(self) → str¶
-
objectNameChanged
¶ objectNameChanged(self, str) [signal]
-
overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
paintEngine
(self) → QPaintEngine¶
-
paintEvent
(self, QPaintEvent)¶
-
paintingActive
(self) → bool¶
-
palette
(self) → QPalette¶
-
parent
(self) → QObject¶
-
parentWidget
(self) → QWidget¶
-
physicalDpiX
(self) → int¶
-
physicalDpiY
(self) → int¶
-
pos
(self) → QPoint¶
-
previousInFocusChain
(self) → QWidget¶
-
property
(self, str) → Any¶
-
pyqtConfigure
(...)¶ Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
-
raise_
(self)¶
-
receivers
(self, PYQT_SIGNAL) → int¶
-
rect
(self) → QRect¶
-
releaseKeyboard
(self)¶
-
releaseMouse
(self)¶
-
releaseShortcut
(self, int)¶
-
removeAction
(self, QAction)¶
-
removeEventFilter
(self, QObject)¶
-
removeItem
(self, int)¶
-
render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))¶ render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
-
repaint
(self)¶ repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
-
resize
(self, QSize)¶ resize(self, int, int)
-
resizeEvent
(self, QResizeEvent)¶
-
restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶
-
rootModelIndex
(self) → QModelIndex¶
-
saveGeometry
(self) → QByteArray¶
-
scroll
(self, int, int)¶ scroll(self, int, int, QRect)
-
sender
(self) → QObject¶
-
senderSignalIndex
(self) → int¶
-
setAcceptDrops
(self, bool)¶
-
setAccessibleDescription
(self, str)¶
-
setAccessibleName
(self, str)¶
-
setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶
-
setAutoFillBackground
(self, bool)¶
-
setBackgroundRole
(self, QPalette.ColorRole)¶
-
setBaseSize
(self, int, int)¶ setBaseSize(self, QSize)
-
setCompleter
(self, QCompleter)¶
-
setContentsMargins
(self, int, int, int, int)¶ setContentsMargins(self, QMargins)
-
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶
-
setCurrentIndex
(self, int)¶
-
setCurrentText
(self, str)¶
-
setCursor
(self, Union[QCursor, Qt.CursorShape])¶
-
setDisabled
(self, bool)¶
-
setDuplicatesEnabled
(self, bool)¶
-
setEditText
(self, str)¶
-
setEditable
(self, bool)¶
-
setEnabled
(self, bool)¶
-
setFixedHeight
(self, int)¶
-
setFixedSize
(self, QSize)¶ setFixedSize(self, int, int)
-
setFixedWidth
(self, int)¶
-
setFocus
(self)¶ setFocus(self, Qt.FocusReason)
-
setFocusPolicy
(self, Qt.FocusPolicy)¶
-
setFocusProxy
(self, QWidget)¶
-
setFont
(self, QFont)¶
-
setForegroundRole
(self, QPalette.ColorRole)¶
-
setFrame
(self, bool)¶
-
setGeometry
(self, QRect)¶ setGeometry(self, int, int, int, int)
-
setGraphicsEffect
(self, QGraphicsEffect)¶
-
setHidden
(self, bool)¶
-
setIconSize
(self, QSize)¶
-
setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
-
setInsertPolicy
(self, QComboBox.InsertPolicy)¶
-
setItemData
(self, int, Any, role: int = Qt.UserRole)¶
-
setItemDelegate
(self, QAbstractItemDelegate)¶
-
setItemIcon
(self, int, QIcon)¶
-
setItemText
(self, int, str)¶
-
setLayout
(self, QLayout)¶
-
setLayoutDirection
(self, Qt.LayoutDirection)¶
-
setLineEdit
(self, QLineEdit)¶
-
setLocale
(self, QLocale)¶
-
setMask
(self, QBitmap)¶ setMask(self, QRegion)
-
setMaxCount
(self, int)¶
-
setMaxVisibleItems
(self, int)¶
-
setMaximumHeight
(self, int)¶
-
setMaximumSize
(self, int, int)¶ setMaximumSize(self, QSize)
-
setMaximumWidth
(self, int)¶
-
setMinimumContentsLength
(self, int)¶
-
setMinimumHeight
(self, int)¶
-
setMinimumSize
(self, int, int)¶ setMinimumSize(self, QSize)
-
setMinimumWidth
(self, int)¶
-
setModel
(self, QAbstractItemModel)¶
-
setModelColumn
(self, int)¶
-
setMouseTracking
(self, bool)¶
-
setObjectName
(self, str)¶
-
setPalette
(self, QPalette)¶
-
setParent
(self, QWidget)¶ setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
-
setProperty
(self, str, Any) → bool¶
-
setRootModelIndex
(self, QModelIndex)¶
-
setShortcutAutoRepeat
(self, int, enabled: bool = True)¶
-
setShortcutEnabled
(self, int, enabled: bool = True)¶
-
setSizeAdjustPolicy
(self, QComboBox.SizeAdjustPolicy)¶
-
setSizeIncrement
(self, int, int)¶ setSizeIncrement(self, QSize)
-
setSizePolicy
(self, QSizePolicy)¶ setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
-
setStatusTip
(self, str)¶
-
setStyle
(self, QStyle)¶
-
setStyleSheet
(self, str)¶
-
setTabOrder
(QWidget, QWidget)¶
-
setTabletTracking
(self, bool)¶
-
setToolTip
(self, str)¶
-
setToolTipDuration
(self, int)¶
-
setUpdatesEnabled
(self, bool)¶
-
setValidator
(self, QValidator)¶
-
setView
(self, QAbstractItemView)¶
-
setVisible
(self, bool)¶
-
setWhatsThis
(self, str)¶
-
setWindowFilePath
(self, str)¶
-
setWindowFlag
(self, Qt.WindowType, on: bool = True)¶
-
setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶
-
setWindowIcon
(self, QIcon)¶
-
setWindowIconText
(self, str)¶
-
setWindowModality
(self, Qt.WindowModality)¶
-
setWindowModified
(self, bool)¶
-
setWindowOpacity
(self, float)¶
-
setWindowRole
(self, str)¶
-
setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶
-
setWindowTitle
(self, str)¶
-
show
(self)¶
-
showEvent
(self, 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, QWidget)¶
-
startTimer
(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) → int¶
-
staticMetaObject
= <PyQt5.QtCore.QMetaObject object>¶
-
statusTip
(self) → str¶
-
style
(self) → QStyle¶
-
styleSheet
(self) → str¶
-
tabletEvent
(self, QTabletEvent)¶
-
testAttribute
(self, Qt.WidgetAttribute) → bool¶
-
thread
(self) → QThread¶
-
timerEvent
(self, QTimerEvent)¶
-
toolTip
(self) → str¶
-
toolTipDuration
(self) → int¶
-
tr
(self, str, disambiguation: str = None, n: int = -1) → str¶
-
underMouse
(self) → bool¶
-
ungrabGesture
(self, Qt.GestureType)¶
-
unsetCursor
(self)¶
-
unsetLayoutDirection
(self)¶
-
unsetLocale
(self)¶
-
update
(self)¶ update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
-
updateGeometry
(self)¶
-
updateMicroFocus
(self)¶
-
updatesEnabled
(self) → bool¶
-
validator
(self) → QValidator¶
-
view
(self) → QAbstractItemView¶
-
visibleRegion
(self) → QRegion¶
-
whatsThis
(self) → str¶
-
wheelEvent
(self, QWheelEvent)¶
-
width
(self) → int¶
-
widthMM
(self) → int¶
-
winId
(self) → sip.voidptr¶
-
window
(self) → QWidget¶
-
windowFilePath
(self) → str¶
-
windowFlags
(self) → Qt.WindowFlags¶
-
windowHandle
(self) → QWindow¶
-
windowIcon
(self) → QIcon¶
-
windowIconChanged
¶ windowIconChanged(self, QIcon) [signal]
-
windowIconText
(self) → str¶
-
windowIconTextChanged
¶ windowIconTextChanged(self, str) [signal]
-
windowModality
(self) → Qt.WindowModality¶
-
windowOpacity
(self) → float¶
-
windowRole
(self) → str¶
-
windowState
(self) → Qt.WindowStates¶
-
windowTitle
(self) → str¶
-
windowTitleChanged
¶ windowTitleChanged(self, str) [signal]
-
windowType
(self) → Qt.WindowType¶
-
x
(self) → int¶
-
y
(self) → int¶
- projectSelected (
-
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)¶
-
schrodinger.application.livedesign.panel_components.
exportrow_to_exportdata
(export_row)¶ Converts a panel_components.ExportRow to data_classes.ExportData :param export_row: ExportRow object :type export_row: panel_components.ExportRow
Returns: ExportData object Return type: data_classes.ExportData