schrodinger.application.msv.gui.view module¶
- class schrodinger.application.msv.gui.view.StyledQMenu(parent=None)[source]¶
Bases:
PyQt5.QtWidgets.QMenu
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- StyledQMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- StyledQMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) QPoint ¶
- 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)¶
- StyledQMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- StyledQMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- StyledQMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- saveGeometry(self) QByteArray ¶
- StyledQMenu.scroll(self, int, int)
- StyledQMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- StyledQMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- StyledQMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- StyledQMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- StyledQMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- StyledQMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- StyledQMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- StyledQMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- StyledQMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- StyledQMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.MappedMenu(parent=None)[source]¶
Bases:
schrodinger.models.mappers.MapperMixin
,schrodinger.application.msv.gui.view.StyledQMenu
- model_class¶
alias of
schrodinger.application.msv.gui.gui_models.MenuEnabledModel
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- MappedMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- defineMappings()¶
Override this in the subclass to define mappings. Should return a list of tuples [(<target>, <param>)]. Targets can be:
a basic widget, like
QLineEdit
orQComboBox
a custom object that inherits
MapperMixin
orTargetMixin
a
TargetSpec
instancea slot
For common widgets, standard signals and getter/setter methods will be used, as defined in
mappers._get_default_access_names()
.For more fine-grained custom control, instantiate a
TargetSpec
object, which allows custom setters, getters, and signals to be specified.Supplying a slot as the first element of the tuple is equivalent to providing
TargetSpec(slot=my_slot)
.Note that all target slots are triggered on
setModel()
as well as in response to the specified signal.The param is an abstract param reference, e.g. MyModel.my_param.
Example:
def defineMappings(self): combo = self.style_combo return [(self.name_le, MyModel.name), (TargetSpec(combo, getter=combo.currentText, setter=combo.setCurrentText), MyModel.style), (self.coord_widget, MyModel.coord), (self._onASLTextChanged, MyModel.asl_text)]
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- getModel()¶
- getSignalsAndSlots(model)¶
Override this method to specify signal and slot pairs that need to be connected/disconnected whenever the model instance is switched using setModel. The model instance is provided as an argument so that instance-specific signals can be used, but any pairs of signals and slots may be returned from this method.
- Returns
a list of 2-tuples where each tuple is a signal, slot pair
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initLayOut()¶
@overrides: widgetmixins.InitMixin
- initPainter(self, QPainter)¶
- initSetDefaults()¶
@overrides: widgetmixins.InitMixin
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- MappedMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- makeInitialModel()¶
- 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 ¶
- mappedParams()¶
Return a list of the abstract params that are mapped to.
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- property model¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- MappedMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- MappedMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resetMappedParams()¶
- resize(self, QSize)¶
- MappedMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- runAllSlots()¶
- saveGeometry(self) QByteArray ¶
- MappedMenu.scroll(self, int, int)
- MappedMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- MappedMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- MappedMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDefaults()¶
@overrides: af2.App
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- MappedMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- MappedMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- MappedMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- MappedMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setModel(model)¶
Sets the model object for the mapper. Disconnects the old model, if one is set, and connects the new model. Pass in None to have no model set.
- Parameters
model – the model instance or None
- setModelWithoutSlots(model)¶
This is called when this MapperMixin is a sub-widget of a parent MapperMixin. Since the slots will all be called at the end of the parent setModel, they shouldn’t be called during the sub-widget’s setModel.
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- MappedMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- MappedMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- setting_model()¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- MappedMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.AbstractElementContextMenu(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.MappedMenu
Context menu for selecting on elements in the alignment.
- expandAlongColumnsRequested¶
- expandFromReferenceRequested¶
- expandToFullChainRequested¶
- invertSelectionRequested¶
- copyRequested¶
- deleteGapsOnlyRequested¶
- highlightSelectionRequested¶
- removeHighlightsRequested¶
- hideColumnsRequested¶
- anchorRequested¶
- unanchorRequested¶
- editSeqInPlaceRequested¶
- copyToNewTabRequested¶
- defineMappings()[source]¶
Override this in the subclass to define mappings. Should return a list of tuples [(<target>, <param>)]. Targets can be:
a basic widget, like
QLineEdit
orQComboBox
a custom object that inherits
MapperMixin
orTargetMixin
a
TargetSpec
instancea slot
For common widgets, standard signals and getter/setter methods will be used, as defined in
mappers._get_default_access_names()
.For more fine-grained custom control, instantiate a
TargetSpec
object, which allows custom setters, getters, and signals to be specified.Supplying a slot as the first element of the tuple is equivalent to providing
TargetSpec(slot=my_slot)
.Note that all target slots are triggered on
setModel()
as well as in response to the specified signal.The param is an abstract param reference, e.g. MyModel.my_param.
Example:
def defineMappings(self): combo = self.style_combo return [(self.name_le, MyModel.name), (TargetSpec(combo, getter=combo.currentText, setter=combo.setCurrentText), MyModel.style), (self.coord_widget, MyModel.coord), (self._onASLTextChanged, MyModel.asl_text)]
- setExpandFromReferenceEnabled(enabled)[source]¶
Set whether Expand From Reference is enabled
- Parameters
enabled (bool) – Whether Expand From Reference should be enabled
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- AbstractElementContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- getModel()¶
- getSignalsAndSlots(model)¶
Override this method to specify signal and slot pairs that need to be connected/disconnected whenever the model instance is switched using setModel. The model instance is provided as an argument so that instance-specific signals can be used, but any pairs of signals and slots may be returned from this method.
- Returns
a list of 2-tuples where each tuple is a signal, slot pair
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initLayOut()¶
@overrides: widgetmixins.InitMixin
- initPainter(self, QPainter)¶
- initSetDefaults()¶
@overrides: widgetmixins.InitMixin
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- AbstractElementContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- makeInitialModel()¶
- 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 ¶
- mappedParams()¶
Return a list of the abstract params that are mapped to.
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- property model¶
- model_class¶
alias of
schrodinger.application.msv.gui.gui_models.MenuEnabledModel
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- AbstractElementContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- AbstractElementContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resetMappedParams()¶
- resize(self, QSize)¶
- AbstractElementContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- runAllSlots()¶
- saveGeometry(self) QByteArray ¶
- AbstractElementContextMenu.scroll(self, int, int)
- AbstractElementContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- AbstractElementContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- AbstractElementContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDefaults()¶
@overrides: af2.App
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- AbstractElementContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- AbstractElementContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- AbstractElementContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- AbstractElementContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setModel(model)¶
Sets the model object for the mapper. Disconnects the old model, if one is set, and connects the new model. Pass in None to have no model set.
- Parameters
model – the model instance or None
- setModelWithoutSlots(model)¶
This is called when this MapperMixin is a sub-widget of a parent MapperMixin. Since the slots will all be called at the end of the parent setModel, they shouldn’t be called during the sub-widget’s setModel.
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- AbstractElementContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- AbstractElementContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- setting_model()¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- AbstractElementContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.ResidueContextMenu(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.AbstractElementContextMenu
- searchForMatchesRequested¶
- replaceWithGapsRequested¶
- deleteRequested¶
- expandBetweenGapsRequested¶
- defineMappings()[source]¶
Override this in the subclass to define mappings. Should return a list of tuples [(<target>, <param>)]. Targets can be:
a basic widget, like
QLineEdit
orQComboBox
a custom object that inherits
MapperMixin
orTargetMixin
a
TargetSpec
instancea slot
For common widgets, standard signals and getter/setter methods will be used, as defined in
mappers._get_default_access_names()
.For more fine-grained custom control, instantiate a
TargetSpec
object, which allows custom setters, getters, and signals to be specified.Supplying a slot as the first element of the tuple is equivalent to providing
TargetSpec(slot=my_slot)
.Note that all target slots are triggered on
setModel()
as well as in response to the specified signal.The param is an abstract param reference, e.g. MyModel.my_param.
Example:
def defineMappings(self): combo = self.style_combo return [(self.name_le, MyModel.name), (TargetSpec(combo, getter=combo.currentText, setter=combo.setCurrentText), MyModel.style), (self.coord_widget, MyModel.coord), (self._onASLTextChanged, MyModel.asl_text)]
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- __init__(parent=None)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- anchorRequested¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- ResidueContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- copyRequested¶
- copyToNewTabRequested¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- deleteGapsOnlyRequested¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- editSeqInPlaceRequested¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- expandAlongColumnsRequested¶
- expandFromReferenceRequested¶
- expandToFullChainRequested¶
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- getModel()¶
- getSignalsAndSlots(model)¶
Override this method to specify signal and slot pairs that need to be connected/disconnected whenever the model instance is switched using setModel. The model instance is provided as an argument so that instance-specific signals can be used, but any pairs of signals and slots may be returned from this method.
- Returns
a list of 2-tuples where each tuple is a signal, slot pair
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideColumnsRequested¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- highlightSelectionRequested¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initLayOut()¶
@overrides: widgetmixins.InitMixin
- initPainter(self, QPainter)¶
- initSetDefaults()¶
@overrides: widgetmixins.InitMixin
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- ResidueContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- invertSelectionRequested¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- makeInitialModel()¶
- 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 ¶
- mappedParams()¶
Return a list of the abstract params that are mapped to.
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- property model¶
- model_class¶
alias of
schrodinger.application.msv.gui.gui_models.MenuEnabledModel
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- ResidueContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- removeHighlightsRequested¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- ResidueContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resetMappedParams()¶
- resize(self, QSize)¶
- ResidueContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- runAllSlots()¶
- saveGeometry(self) QByteArray ¶
- ResidueContextMenu.scroll(self, int, int)
- ResidueContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAnchorEnabled(enabled)¶
- setAnchorMode(new_mode)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- ResidueContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- ResidueContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDefaults()¶
@overrides: af2.App
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setExpandFromReferenceEnabled(enabled)¶
Set whether Expand From Reference is enabled
- Parameters
enabled (bool) – Whether Expand From Reference should be enabled
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- ResidueContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- ResidueContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- ResidueContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- ResidueContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setModel(model)¶
Sets the model object for the mapper. Disconnects the old model, if one is set, and connects the new model. Pass in None to have no model set.
- Parameters
model – the model instance or None
- setModelWithoutSlots(model)¶
This is called when this MapperMixin is a sub-widget of a parent MapperMixin. Since the slots will all be called at the end of the parent setModel, they shouldn’t be called during the sub-widget’s setModel.
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- ResidueContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- ResidueContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- setting_model()¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- unanchorRequested¶
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- ResidueContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.AnnoResContextMenu(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.ResidueContextMenu
- expandToAnnoValsRequested¶
- setClickedAnno(anno, ann_index)[source]¶
Store the annotation associated with this context menu. Must be called before showing the menu.
- Parameters
anno (annotation.ProteinSequenceAnnotations.ANNOTATION_TYPES) – Annotation
ann_index (int) – Annotation index (only used for multi-row annotations)
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- __init__(parent=None)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- anchorRequested¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- AnnoResContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- copyRequested¶
- copyToNewTabRequested¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- defineMappings()¶
Override this in the subclass to define mappings. Should return a list of tuples [(<target>, <param>)]. Targets can be:
a basic widget, like
QLineEdit
orQComboBox
a custom object that inherits
MapperMixin
orTargetMixin
a
TargetSpec
instancea slot
For common widgets, standard signals and getter/setter methods will be used, as defined in
mappers._get_default_access_names()
.For more fine-grained custom control, instantiate a
TargetSpec
object, which allows custom setters, getters, and signals to be specified.Supplying a slot as the first element of the tuple is equivalent to providing
TargetSpec(slot=my_slot)
.Note that all target slots are triggered on
setModel()
as well as in response to the specified signal.The param is an abstract param reference, e.g. MyModel.my_param.
Example:
def defineMappings(self): combo = self.style_combo return [(self.name_le, MyModel.name), (TargetSpec(combo, getter=combo.currentText, setter=combo.setCurrentText), MyModel.style), (self.coord_widget, MyModel.coord), (self._onASLTextChanged, MyModel.asl_text)]
- deleteGapsOnlyRequested¶
- deleteLater(self)¶
- deleteRequested¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- editSeqInPlaceRequested¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- expandAlongColumnsRequested¶
- expandBetweenGapsRequested¶
- expandFromReferenceRequested¶
- expandToFullChainRequested¶
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- getModel()¶
- getSignalsAndSlots(model)¶
Override this method to specify signal and slot pairs that need to be connected/disconnected whenever the model instance is switched using setModel. The model instance is provided as an argument so that instance-specific signals can be used, but any pairs of signals and slots may be returned from this method.
- Returns
a list of 2-tuples where each tuple is a signal, slot pair
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideColumnsRequested¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- highlightSelectionRequested¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initLayOut()¶
@overrides: widgetmixins.InitMixin
- initPainter(self, QPainter)¶
- initSetDefaults()¶
@overrides: widgetmixins.InitMixin
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- AnnoResContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- invertSelectionRequested¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- makeInitialModel()¶
- 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 ¶
- mappedParams()¶
Return a list of the abstract params that are mapped to.
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- property model¶
- model_class¶
alias of
schrodinger.application.msv.gui.gui_models.MenuEnabledModel
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- AnnoResContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- removeHighlightsRequested¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- AnnoResContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- replaceWithGapsRequested¶
- resetMappedParams()¶
- resize(self, QSize)¶
- AnnoResContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- runAllSlots()¶
- saveGeometry(self) QByteArray ¶
- AnnoResContextMenu.scroll(self, int, int)
- AnnoResContextMenu.scroll(self, int, int, QRect) -> None
- searchForMatchesRequested¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAnchorEnabled(enabled)¶
- setAnchorMode(new_mode)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- AnnoResContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- AnnoResContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDefaults()¶
@overrides: af2.App
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setExpandFromReferenceEnabled(enabled)¶
Set whether Expand From Reference is enabled
- Parameters
enabled (bool) – Whether Expand From Reference should be enabled
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- AnnoResContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- AnnoResContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- AnnoResContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- AnnoResContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setModel(model)¶
Sets the model object for the mapper. Disconnects the old model, if one is set, and connects the new model. Pass in None to have no model set.
- Parameters
model – the model instance or None
- setModelWithoutSlots(model)¶
This is called when this MapperMixin is a sub-widget of a parent MapperMixin. Since the slots will all be called at the end of the parent setModel, they shouldn’t be called during the sub-widget’s setModel.
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- AnnoResContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- AnnoResContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- setting_model()¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- unanchorRequested¶
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- AnnoResContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.GapContextMenu(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.AbstractElementContextMenu
- expandAlongGapsRequested¶
- deselectGapsRequested¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- __init__(parent=None)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- anchorRequested¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- GapContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- copyRequested¶
- copyToNewTabRequested¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- defineMappings()¶
Override this in the subclass to define mappings. Should return a list of tuples [(<target>, <param>)]. Targets can be:
a basic widget, like
QLineEdit
orQComboBox
a custom object that inherits
MapperMixin
orTargetMixin
a
TargetSpec
instancea slot
For common widgets, standard signals and getter/setter methods will be used, as defined in
mappers._get_default_access_names()
.For more fine-grained custom control, instantiate a
TargetSpec
object, which allows custom setters, getters, and signals to be specified.Supplying a slot as the first element of the tuple is equivalent to providing
TargetSpec(slot=my_slot)
.Note that all target slots are triggered on
setModel()
as well as in response to the specified signal.The param is an abstract param reference, e.g. MyModel.my_param.
Example:
def defineMappings(self): combo = self.style_combo return [(self.name_le, MyModel.name), (TargetSpec(combo, getter=combo.currentText, setter=combo.setCurrentText), MyModel.style), (self.coord_widget, MyModel.coord), (self._onASLTextChanged, MyModel.asl_text)]
- deleteGapsOnlyRequested¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- editSeqInPlaceRequested¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- expandAlongColumnsRequested¶
- expandFromReferenceRequested¶
- expandToFullChainRequested¶
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- getModel()¶
- getSignalsAndSlots(model)¶
Override this method to specify signal and slot pairs that need to be connected/disconnected whenever the model instance is switched using setModel. The model instance is provided as an argument so that instance-specific signals can be used, but any pairs of signals and slots may be returned from this method.
- Returns
a list of 2-tuples where each tuple is a signal, slot pair
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideColumnsRequested¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- highlightSelectionRequested¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initLayOut()¶
@overrides: widgetmixins.InitMixin
- initPainter(self, QPainter)¶
- initSetDefaults()¶
@overrides: widgetmixins.InitMixin
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- GapContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- invertSelectionRequested¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- makeInitialModel()¶
- 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 ¶
- mappedParams()¶
Return a list of the abstract params that are mapped to.
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- property model¶
- model_class¶
alias of
schrodinger.application.msv.gui.gui_models.MenuEnabledModel
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- GapContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- removeHighlightsRequested¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- GapContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resetMappedParams()¶
- resize(self, QSize)¶
- GapContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- runAllSlots()¶
- saveGeometry(self) QByteArray ¶
- GapContextMenu.scroll(self, int, int)
- GapContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAnchorEnabled(enabled)¶
- setAnchorMode(new_mode)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- GapContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- GapContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDefaults()¶
@overrides: af2.App
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setExpandFromReferenceEnabled(enabled)¶
Set whether Expand From Reference is enabled
- Parameters
enabled (bool) – Whether Expand From Reference should be enabled
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- GapContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- GapContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- GapContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- GapContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setModel(model)¶
Sets the model object for the mapper. Disconnects the old model, if one is set, and connects the new model. Pass in None to have no model set.
- Parameters
model – the model instance or None
- setModelWithoutSlots(model)¶
This is called when this MapperMixin is a sub-widget of a parent MapperMixin. Since the slots will all be called at the end of the parent setModel, they shouldn’t be called during the sub-widget’s setModel.
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- GapContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- GapContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- setting_model()¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- unanchorRequested¶
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- GapContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.AlignmentInfoContextMenu(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.MappedMenu
Class for context menus in the info section of the view.
- Variables
setAsReferenceSeqRequested – Signal emitted to set selected sequence as the reference sequence
renameRequested – Signal emitted to rename the selected sequence
duplicateInPlaceRequested – Duplicates sequence in place
duplicateAtBottomRequested – Duplicates sequence at bottom
duplicateAtTopRequested – Duplicates sequence at top
duplicateAsRefSeqRequested – Duplicates sequence as reference sequence
duplicateIntoNewTabRequested – Duplicates sequence into a new tab
sortRequested – Signal emitted to sort the sequences in ascending or descending order by a given metric. Emits an object as the metric to sort by ‘viewconstants.SortTypes’ Emits a boolean for whether to sort in reverse or not ‘bool’
moveSeqRequested – Signal emitted to move the selected sequence. Emits a list of the selected
sequence.Sequence
objects and theviewconstants.Direction
. We useobject
as the param type because of a known issue withenum_speedup
.getStructurePdbRequested – Signal emitted to request downloading PDB structures for the selected sequence(s)
translateDnaRnaRequested – Signal emitted to translate DNA to RNA
unlinkFromEntryRequested – Signal emitted to unlink from entry
linkToEntryRequested – Signal emitted to link to entry
selectAllResiduesRequested – Signal emitted to select all residues of all selected sequences in the alignment.
deselectAllResiduesRequested – Signal emitted to clear the selection
deleteRequested – Signal emitted to delete the selected sequence(s)
exportSeqsRequested – Signal emitted to export the selected sequence(s)
hideRequested – Signal emitted to hide the selected sequence(s)
alnSetCreateRequested – Signal emitted to add all selected sequences to a new alignment set. The user should be prompted for the set name.
alnSetAddRequested – Signal emitted to add all selected sequences to an existing alignment set. The signal is emitted with the name of the set to add the sequences to.
alnSetRemoveRequested – Signal emitted to remove all selected sequences from their alignment sets.
- setAsReferenceSeqRequested¶
- renameRequested¶
- duplicateInPlaceRequested¶
- duplicateAtBottomRequested¶
- duplicateAtTopRequested¶
- duplicateAsRefSeqRequested¶
- duplicateIntoNewTabRequested¶
- sortRequested¶
- moveSeqRequested¶
- getStructurePdbRequested¶
- translateDnaRnaRequested¶
- unlinkFromEntryRequested¶
- linkToEntryRequested¶
- selectAllResiduesRequested¶
- deselectAllResiduesRequested¶
- deleteRequested¶
- exportSeqsRequested¶
- hideRequested¶
- alnSetCreateRequested¶
- alnSetAddRequested¶
- alnSetRemoveRequested¶
- __init__(parent=None)[source]¶
Initializes a context menu in the info section of the view.
- Parameters
parent (
QtWidgets.QWidget
) – Parent of this menu
- defineMappings()[source]¶
Override this in the subclass to define mappings. Should return a list of tuples [(<target>, <param>)]. Targets can be:
a basic widget, like
QLineEdit
orQComboBox
a custom object that inherits
MapperMixin
orTargetMixin
a
TargetSpec
instancea slot
For common widgets, standard signals and getter/setter methods will be used, as defined in
mappers._get_default_access_names()
.For more fine-grained custom control, instantiate a
TargetSpec
object, which allows custom setters, getters, and signals to be specified.Supplying a slot as the first element of the tuple is equivalent to providing
TargetSpec(slot=my_slot)
.Note that all target slots are triggered on
setModel()
as well as in response to the specified signal.The param is an abstract param reference, e.g. MyModel.my_param.
Example:
def defineMappings(self): combo = self.style_combo return [(self.name_le, MyModel.name), (TargetSpec(combo, getter=combo.currentText, setter=combo.setCurrentText), MyModel.style), (self.coord_widget, MyModel.coord), (self._onASLTextChanged, MyModel.asl_text)]
- createAlnSetMenu(in_set=True)[source]¶
Create Alignment Set menu - with different QActions depending on whether the sequence already belongs to a set or not.
- Parameters
in_set (bool.) – Whether the sequence is already in an alignment set or not.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- AlignmentInfoContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- getModel()¶
- getSignalsAndSlots(model)¶
Override this method to specify signal and slot pairs that need to be connected/disconnected whenever the model instance is switched using setModel. The model instance is provided as an argument so that instance-specific signals can be used, but any pairs of signals and slots may be returned from this method.
- Returns
a list of 2-tuples where each tuple is a signal, slot pair
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initLayOut()¶
@overrides: widgetmixins.InitMixin
- initPainter(self, QPainter)¶
- initSetDefaults()¶
@overrides: widgetmixins.InitMixin
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- AlignmentInfoContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- makeInitialModel()¶
- 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 ¶
- mappedParams()¶
Return a list of the abstract params that are mapped to.
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- property model¶
- model_class¶
alias of
schrodinger.application.msv.gui.gui_models.MenuEnabledModel
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- AlignmentInfoContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- AlignmentInfoContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resetMappedParams()¶
- resize(self, QSize)¶
- AlignmentInfoContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- runAllSlots()¶
- saveGeometry(self) QByteArray ¶
- AlignmentInfoContextMenu.scroll(self, int, int)
- AlignmentInfoContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- AlignmentInfoContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- AlignmentInfoContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDefaults()¶
@overrides: af2.App
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- AlignmentInfoContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- AlignmentInfoContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- AlignmentInfoContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- AlignmentInfoContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setModel(model)¶
Sets the model object for the mapper. Disconnects the old model, if one is set, and connects the new model. Pass in None to have no model set.
- Parameters
model – the model instance or None
- setModelWithoutSlots(model)¶
This is called when this MapperMixin is a sub-widget of a parent MapperMixin. Since the slots will all be called at the end of the parent setModel, they shouldn’t be called during the sub-widget’s setModel.
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- AlignmentInfoContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- AlignmentInfoContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- setting_model()¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- AlignmentInfoContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.AbstractHeaderContextMenu(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.StyledQMenu
Base class for header context menus in the view.
Subclasses must override sort_type or provide a method to set it
- Variables
sortRequested – Signal emitted to request sorting the sequences in ascending or descending order by a given sort type. Emits
viewconstants.SortTypes
as an object due to typing difficulties of enum_speedup.
- sortRequested¶
- sort_type = NotImplemented¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- AbstractHeaderContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- AbstractHeaderContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) QPoint ¶
- 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)¶
- AbstractHeaderContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- AbstractHeaderContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- AbstractHeaderContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- saveGeometry(self) QByteArray ¶
- AbstractHeaderContextMenu.scroll(self, int, int)
- AbstractHeaderContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- AbstractHeaderContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- AbstractHeaderContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- AbstractHeaderContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- AbstractHeaderContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- AbstractHeaderContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- AbstractHeaderContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- AbstractHeaderContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- AbstractHeaderContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- AbstractHeaderContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.AlignmentMetricsContextMenu(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.AbstractHeaderContextMenu
Header context menu for the metrics view
- Variables
metric_to_sort_type (dict(table_helper.Column, viewconstants.SortTypes)) – Mapping between column type and sort type.
- metric_to_sort_type = {Column 0 (ID %): SortTypes.Identity, Column 1 (SIM %): SortTypes.Similarity, Column 2 (CON %): SortTypes.Conservation, Column 3 (SCORE): SortTypes.Score}¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- __init__(parent=None)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- AlignmentMetricsContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- AlignmentMetricsContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) QPoint ¶
- 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)¶
- AlignmentMetricsContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- AlignmentMetricsContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- AlignmentMetricsContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- saveGeometry(self) QByteArray ¶
- AlignmentMetricsContextMenu.scroll(self, int, int)
- AlignmentMetricsContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- AlignmentMetricsContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- AlignmentMetricsContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- AlignmentMetricsContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- AlignmentMetricsContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- AlignmentMetricsContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- AlignmentMetricsContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- AlignmentMetricsContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- AlignmentMetricsContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- sortByColumnRequested(reverse)¶
- sortRequested¶
- sort_type = NotImplemented¶
- 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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- AlignmentMetricsContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.SeqChainContextMenu(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.AbstractHeaderContextMenu
Header context menu for the chain column in the info view
- sort_type = 2¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- __init__(parent=None)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- SeqChainContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- SeqChainContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) QPoint ¶
- 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)¶
- SeqChainContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- SeqChainContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- SeqChainContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- saveGeometry(self) QByteArray ¶
- SeqChainContextMenu.scroll(self, int, int)
- SeqChainContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- SeqChainContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- SeqChainContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- SeqChainContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- SeqChainContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- SeqChainContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- SeqChainContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- SeqChainContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- SeqChainContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- sortByColumnRequested(reverse)¶
- sortRequested¶
- 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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- SeqChainContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.SeqTitleContextMenu(*args, **kwargs)[source]¶
Bases:
schrodinger.application.msv.gui.view.AbstractHeaderContextMenu
Header context menu for the tile column in the info view
- Variables
findInListRequested – Signal to request find sequence in list
- findInListRequested¶
- sort_type = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- SeqTitleContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- SeqTitleContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) QPoint ¶
- 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)¶
- SeqTitleContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- SeqTitleContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- SeqTitleContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- saveGeometry(self) QByteArray ¶
- SeqTitleContextMenu.scroll(self, int, int)
- SeqTitleContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- SeqTitleContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- SeqTitleContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- SeqTitleContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- SeqTitleContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- SeqTitleContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- SeqTitleContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- SeqTitleContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- SeqTitleContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- sortByColumnRequested(reverse)¶
- sortRequested¶
- 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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- SeqTitleContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.StructureColumnContextMenu(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.StyledQMenu
Class for context menus in the structure icon column of the alignment info view.
- INCLUDE_TEXT = 'Include Entry in Workspace'¶
- EXCLUDE_TEXT = 'Exclude Entry from Workspace'¶
- setSelectedSeqs(sel_seqs)[source]¶
- Parameters
sel_seqs (iterable(sequence.Sequence)) – The currently selected sequences.
- setIncluded(included)[source]¶
- Parameters
included (bool) – Whether the clicked on sequence has a structure included in the workspace
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- StructureColumnContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- StructureColumnContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) QPoint ¶
- 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)¶
- StructureColumnContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- StructureColumnContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- StructureColumnContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- saveGeometry(self) QByteArray ¶
- StructureColumnContextMenu.scroll(self, int, int)
- StructureColumnContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- StructureColumnContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- StructureColumnContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- StructureColumnContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- StructureColumnContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- StructureColumnContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- StructureColumnContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- StructureColumnContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- StructureColumnContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- StructureColumnContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.AbstractSelectionProxyModel[source]¶
Bases:
PyQt5.QtCore.QItemSelectionModel
A “hollowed out” selection model that simply notifies the viewmodel about selection instead of keeping track of selection itself. Instead, selection information is stored with the alignment. This makes selection much faster (since QItemSelectionModels are incredibly slow when there are a lot of selection ranges) is makes it easier to keep data synchronized.
Note that isSelected() will always return False for this selection model. Since isSelected() isn’t virtual, any reimplementation here won’t be called from C++, so we avoid reimplementing the method to avoid potential confusion. As a result, selection information should always be fetched via
model.data(index, ROLE)
instead of through this selection model. Note that this will cause problems with Ctrl+click behavior. SeeCtrlClickToggleMixin
to fix those issues.- Variables
ROLE (int) – The Qt role used for selection information. Subclasses must redefine this value.
- ROLE = None¶
- select(self, QModelIndex, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])[source]¶
- select(self, QItemSelection, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag]) None
- Clear = 1¶
- ClearAndSelect = 3¶
- Columns = 64¶
- Current = 16¶
- Deselect = 4¶
- NoUpdate = 0¶
- Rows = 32¶
- Select = 2¶
- SelectCurrent = 18¶
- class SelectionFlag¶
Bases:
int
- class SelectionFlags¶
- class SelectionFlags(Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag]) None
- class SelectionFlags(QItemSelectionModel.SelectionFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- Toggle = 8¶
- ToggleCurrent = 24¶
- __init__(*args, **kwargs)¶
- blockSignals(self, bool) bool ¶
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- clear(self)¶
- clearCurrentIndex(self)¶
- clearSelection(self)¶
- columnIntersectsSelection(self, int, QModelIndex) bool ¶
- connectNotify(self, QMetaMethod)¶
- currentChanged¶
currentChanged(self, QModelIndex, QModelIndex) [signal]
- currentColumnChanged¶
currentColumnChanged(self, QModelIndex, QModelIndex) [signal]
- currentIndex(self) QModelIndex ¶
- currentRowChanged¶
currentRowChanged(self, QModelIndex, QModelIndex) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- AbstractSelectionProxyModel.emitSelectionChanged(self, QItemSelection, QItemSelection)
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- 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]
- hasSelection(self) bool ¶
- inherits(self, str) bool ¶
- installEventFilter(self, QObject)¶
- isColumnSelected(self, int, QModelIndex) bool ¶
- isRowSelected(self, int, QModelIndex) bool ¶
- isSelected(self, QModelIndex) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- killTimer(self, int)¶
- metaObject(self) QMetaObject ¶
- model(self) QAbstractItemModel ¶
- modelChanged¶
modelChanged(self, QAbstractItemModel) [signal]
- moveToThread(self, QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- parent(self) QObject ¶
- 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)¶
- reset(self)¶
- rowIntersectsSelection(self, int, QModelIndex) bool ¶
- selectedColumns(self, row: int = 0) List[QModelIndex] ¶
- selectedIndexes(self) List[QModelIndex] ¶
- selectedRows(self, column: int = 0) List[QModelIndex] ¶
- selection(self) QItemSelection ¶
- selectionChanged¶
selectionChanged(self, QItemSelection, QItemSelection) [signal]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setCurrentIndex(self, QModelIndex, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
- setModel(self, QAbstractItemModel)¶
- setObjectName(self, str)¶
- setParent(self, QObject)¶
- setProperty(self, str, Any) bool ¶
- signalsBlocked(self) bool ¶
- 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 ¶
- class schrodinger.application.msv.gui.view.ResidueSelectionProxyModel(model=None, parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.AbstractSelectionProxyModel
Selection model for selecting residues in an alignment. Intended to be used with
AbstractAlignmentView
. Note that this model only supports selecting single residues. For selecting residue ranges, useAbstractAlignmentView.model().setResRangeSelectionState()
instead.Storing residue selection information with the alignment allows us to synchronize selection state with the maestro workspace.
- ROLE = 282¶
- select(self, QModelIndex, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])[source]¶
- select(self, QItemSelection, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag]) None
- Clear = 1¶
- ClearAndSelect = 3¶
- Columns = 64¶
- Current = 16¶
- Deselect = 4¶
- NoUpdate = 0¶
- Rows = 32¶
- Select = 2¶
- SelectCurrent = 18¶
- class SelectionFlag¶
Bases:
int
- class SelectionFlags¶
- class SelectionFlags(Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag]) None
- class SelectionFlags(QItemSelectionModel.SelectionFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- Toggle = 8¶
- ToggleCurrent = 24¶
- blockSignals(self, bool) bool ¶
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- clear(self)¶
- clearCurrentIndex(self)¶
- clearSelection(self)¶
- columnIntersectsSelection(self, int, QModelIndex) bool ¶
- connectNotify(self, QMetaMethod)¶
- currentChanged¶
currentChanged(self, QModelIndex, QModelIndex) [signal]
- currentColumnChanged¶
currentColumnChanged(self, QModelIndex, QModelIndex) [signal]
- currentIndex(self) QModelIndex ¶
- currentRowChanged¶
currentRowChanged(self, QModelIndex, QModelIndex) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- ResidueSelectionProxyModel.emitSelectionChanged(self, QItemSelection, QItemSelection)
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- 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]
- hasSelection(self) bool ¶
- inherits(self, str) bool ¶
- installEventFilter(self, QObject)¶
- isColumnSelected(self, int, QModelIndex) bool ¶
- isRowSelected(self, int, QModelIndex) bool ¶
- isSelected(self, QModelIndex) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- killTimer(self, int)¶
- metaObject(self) QMetaObject ¶
- model(self) QAbstractItemModel ¶
- modelChanged¶
modelChanged(self, QAbstractItemModel) [signal]
- moveToThread(self, QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- parent(self) QObject ¶
- 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)¶
- reset(self)¶
- rowIntersectsSelection(self, int, QModelIndex) bool ¶
- selectedColumns(self, row: int = 0) List[QModelIndex] ¶
- selectedIndexes(self) List[QModelIndex] ¶
- selectedRows(self, column: int = 0) List[QModelIndex] ¶
- selection(self) QItemSelection ¶
- selectionChanged¶
selectionChanged(self, QItemSelection, QItemSelection) [signal]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setCurrentIndex(self, QModelIndex, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
- setModel(self, QAbstractItemModel)¶
- setObjectName(self, str)¶
- setParent(self, QObject)¶
- setProperty(self, str, Any) bool ¶
- signalsBlocked(self) bool ¶
- 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 ¶
- class schrodinger.application.msv.gui.view.SequenceSelectionProxyModel(model, parent, **kwargs)[source]¶
Bases:
schrodinger.application.msv.gui.view.AbstractSelectionProxyModel
Selection model for selecting entire sequences in an alignment. Intended to be used with
AlignmentInfoView
.The actual selection model is stored with the alignment, similar to how residue selection is stored. This allows us to sync selection across wrap rows on top of improving performance over Qt’s selection models.
- ROLE = 288¶
- Clear = 1¶
- ClearAndSelect = 3¶
- Columns = 64¶
- Current = 16¶
- Deselect = 4¶
- NoUpdate = 0¶
- Rows = 32¶
- Select = 2¶
- SelectCurrent = 18¶
- class SelectionFlag¶
Bases:
int
- class SelectionFlags¶
- class SelectionFlags(Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag]) None
- class SelectionFlags(QItemSelectionModel.SelectionFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- Toggle = 8¶
- ToggleCurrent = 24¶
- blockSignals(self, bool) bool ¶
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- clear(self)¶
- clearCurrentIndex(self)¶
- clearSelection(self)¶
- columnIntersectsSelection(self, int, QModelIndex) bool ¶
- connectNotify(self, QMetaMethod)¶
- currentChanged¶
currentChanged(self, QModelIndex, QModelIndex) [signal]
- currentColumnChanged¶
currentColumnChanged(self, QModelIndex, QModelIndex) [signal]
- currentIndex(self) QModelIndex ¶
- currentRowChanged¶
currentRowChanged(self, QModelIndex, QModelIndex) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- SequenceSelectionProxyModel.emitSelectionChanged(self, QItemSelection, QItemSelection)
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- 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]
- hasSelection(self) bool ¶
- inherits(self, str) bool ¶
- installEventFilter(self, QObject)¶
- isColumnSelected(self, int, QModelIndex) bool ¶
- isRowSelected(self, int, QModelIndex) bool ¶
- isSelected(self, QModelIndex) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isWidgetType(self) bool ¶
- isWindowType(self) bool ¶
- killTimer(self, int)¶
- metaObject(self) QMetaObject ¶
- model(self) QAbstractItemModel ¶
- modelChanged¶
modelChanged(self, QAbstractItemModel) [signal]
- moveToThread(self, QThread)¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- parent(self) QObject ¶
- 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)¶
- reset(self)¶
- rowIntersectsSelection(self, int, QModelIndex) bool ¶
- select(self, QModelIndex, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
- select(self, QItemSelection, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag]) None
- selectedColumns(self, row: int = 0) List[QModelIndex] ¶
- selectedIndexes(self) List[QModelIndex] ¶
- selectedRows(self, column: int = 0) List[QModelIndex] ¶
- selection(self) QItemSelection ¶
- selectionChanged¶
selectionChanged(self, QItemSelection, QItemSelection) [signal]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setCurrentIndex(self, QModelIndex, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
- setModel(self, QAbstractItemModel)¶
- setObjectName(self, str)¶
- setParent(self, QObject)¶
- setProperty(self, str, Any) bool ¶
- signalsBlocked(self) bool ¶
- 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 ¶
- class schrodinger.application.msv.gui.view.CtrlClickToggleMixin(*args, **kwargs)[source]¶
Bases:
object
A mixin for
QAbstractItemViews
that reimplementsselectionCommand
to fix broken Ctrl+click behavior caused by usingAbstractSelectionProxyModel
selection models. QAbstractItemView::mousePressEvent replaces toggle commands with either select or deselect based on selection_model.isSelected(), but AbstractSelectionProxyModel.isSelected() always returns False. To get around this, we replace toggle commands with select or deselect here using the correct selection status.- Variables
SELECTION_ROLE (int) – The Qt role used for selection information. This value must be defined in the view class.
_drag_selection_flag (int) – The selection command to apply when dragging the mouse. This mimics the effects of QAbstractItemViewPrivate::ctrlDragSelectionFlag and prevents us from constantly toggling selection if the mouse is Ctrl+dragged within the same cell.
- SELECTION_ROLE = None¶
- class schrodinger.application.msv.gui.view.SeqExpansionViewMixin(parent=None)[source]¶
Bases:
object
A mixin for views that synchronize sequence expansion via the model.
Must be mixed in with QTreeView.
- class schrodinger.application.msv.gui.view.AbstractAlignmentView(undo_stack, parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.SeqExpansionViewMixin
,schrodinger.application.msv.gui.view.CtrlClickToggleMixin
,schrodinger.ui.qt.widgetmixins.basicmixins.MessageBoxMixin
,PyQt5.QtWidgets.QTreeView
Class for viewing sequence alignments in a table
- Variables
residueHovered – Signal emitted when a residue cell is hovered
residueUnhovered – Signal emitted when a residue cell is unhovered
residueMiddleClicked – Signal emitted when middle-button is clicked on a residue cell
sequenceEditModeRequested – Signal emitted when ‘Edit Sequence in Place’ context menu-item is toggled. Emitted with bool - whether the menu-item is toggled on or off.
copyToNewTabRequested – Signal emitted to duplicate the sequences with only selected residues, to a new tab.
_per_row_data_cache (table_speed_up.DataCache) – A cache for data that is the same for all cells in a row. Stored as {(row, internal_id): (row_type, per_row_data, row_del, per_cell_roles)}, where per_row_data is {role: data}. Note that our models ensure that all indices in the same row have the same internal ID.
_per_cell_data_cache (table_speed_up.DataCache) – A cache of data needed for painting cells. {(row, column, internal_id): {role: data}}.
_heights_by_row_type (dict) – A mapping of {row_type: row height in pixels}.
_row_delegates (list(row_delegates.AbstractDelegate)) – A list of all row delegates. Each row delegate appears only once on the list even if it applies to more than one row type.
_row_delegates_by_row_type (dict(enum.Enum: row_delegates.AbstractDelegate)) – A mapping of {row_type: row delegate}.
- SELECTION_ROLE = 284¶
- residueHovered¶
- residueUnhovered¶
- residueMiddleClicked¶
- openColorPanelRequested¶
- sequenceEditModeRequested¶
- copyToNewTabRequested¶
- __init__(undo_stack, parent=None)[source]¶
- Parameters
undo_stack (schrodinger.application.msv.command.UndoStack) – The undo stack. Used to group commands that happen on mouse drag into a single macro.
parent (QtWidgets.QWidget or None) – The Qt parent
- setModel(model)[source]¶
Set the model and ensure that changes to the model columns trigger updates in the delegates
See Qt documentation for argument documentation
- selectionCommand(index, event=None)[source]¶
Customize selection behavior.
Filter right button mouse events to prevent selection changes when showing context menu on already-selected cells.
Filter middle button clicks to prevent any selection changes.
Make clicks on the ruler select the column.
If a mouse press might potentially start a drag and drop operation, wait until mouse release to change the selection.
See Qt documentation for argument documentation.
- sizeHintForRow(row)[source]¶
Get the height of a top-level row.
Note that you probably want to use
indexRowSizeHint
instead of this method, as that method can determine the height of any row, not just a top-level one. This is still called by QTreeView::scrollContentsBy, though, so we reimplement it here to avoid the delay that would be caused by QTreeView::sizeHintForRow, which calls delegate.sizeHint for every cell in the row.See QAbstractItemView documentation for additional method documentation.
- indexRowSizeHint(index)[source]¶
Get the height of a row.
This method is not normally virtual in QTreeView, but we’re using a modified version of Qt so that we can override this method. The default implementation calls delegate.sizeHint for every column in the row, which leads to major delays while scrolling.
- Note
This method can be called with indices from
self.model()
or from aBaseFixedColumnsView
’s model. (SeeBaseFixedColumnsView.indexRowSizeHint
.) Index row and internal ID will be the same regardless of model, but this method must not assume thatindex.model() == self.model()
.
See QTreeView documentation for additional method documentation.
- expandSelectionFromReference()[source]¶
Expand selection along columns of selected reference elements
- searchForMatches()[source]¶
Searches for matches for the selected residues.
This should only be called if the selection is a single block in a single sequence.
- anchorSelection()[source]¶
Respond to an “Anchor” event selected through the residue context menu. Anchor selected residues using the following per-column protocol:
- If only reference residues are selected, anchor
all non-reference residues aligned to those reference residues.
- If any non-reference residues (or a mix of reference and
non-reference residues) are selected, anchor all selected non-reference residues.
- Any selected elements that can’t be anchored (due to being gaps
or being in columns with reference gaps) will be ignored.
- unanchorSelection()[source]¶
Test that the view has correct behavior for residue unanchoring:
- If only non-reference residues are selected, unanchor
them.
- If any reference residues (or a mix of reference and
non-reference residues) are selected, unanchor all non-reference residues aligned to the selected reference residues.
- resizeEvent(event)[source]¶
Update the row wrapping whenever the table is resized
See Qt documentation for argument documentation
- paintEvent(event)[source]¶
We override this method to speed up painting. We calculate what columns need to be painted and the x-coordinates of their left edges, which get used in
drawRow
below.See Qt documentation for additional method documentation.
- drawRow(painter, option, index)[source]¶
This view paints entire rows at once instead of painting each cell separately. This gives us a ~6x improvement in scrolling frame rate (assuming data is already cached). This view also fetches data for entire rows at once, which gives us an additional ~2x improvement in scrolling frame rate when data is uncached.
See Qt documentation for additional method documentation.
- setSequenceExpansionState(sequences, expand=True)[source]¶
Set the expansion state for the given sequences.
- Parameters
sequences (list(Sequence)) – Sequences to expand or collapse.
expand (bool) – Whether to expand the sequences
- setConstraintsShown(enable)[source]¶
Enable or disable constraint display
- Parameters
enable (bool) – Whether to display constraints
- setEditMode(enable)[source]¶
Enable or disable edit mode.
- Parameters
enable (bool) – Whether to enable edit mode.
- editAndMaybeClearAnchors(edit_func)[source]¶
Try to perform an edit action. If it can’t proceed because it would break anchors, ask the user whether they want to cancel (keeping anchors) or break anchors and proceed.
- Parameters
edit_func (callable) – the function that may break anchors
- insertGapsToLeftOfSelection()[source]¶
Insert one gap to the left of every selected block of residues/gaps.
Editing is not allowed if alignment set residues are selected.
- deleteSelectedGaps()[source]¶
Delete all selected gaps. Selected residues will remain unchanged.
Editing is not allowed if alignment set residues are selected.
- copySelection()[source]¶
Copies the selected residues and gaps as a string onto the clipboard.
- Raises
ValueError – if the selection is not a single block.
- deleteSelection()[source]¶
Delete all selected residues and gaps. If more than one block of residues/gaps is selected, the user will be prompted for confirmation before the deletion occurs.
- editCurrentSelection()[source]¶
If a single residue (or gap) is selected, open an editor for replacing one residue at a time. If a single block of residues/gaps in a single sequence is selected, open an editor for overwriting the current selection. Otherwise, do nothing. Note that editing is disallowed for structured residues, on the workspace tab, or in alignment sets, so no editor will be opened in those cases.
- changeResidues()[source]¶
Open an editor that allows the user to replace one residue or gap at a time. This method should only be called when there is exactly one residue or gap selected.
- insertResidues()[source]¶
Open an editor that allows the user to insert residues before the current selection. This method should only be called when there is exactly one block of residues or gaps from a single sequence selected.
- replaceSelection()[source]¶
Open an editor that allows the user to overwrite the current selection. This method should only be called when there is exactly one block of residues or gaps from a single sequence selected.
Note that if row wrapping is turned on, it’s possible that one contiguous group of residues may be split over multiple rows of the table. The editor will only cover indices in the first row, but the newly entered sequence will replace all selected residues (and the editor will start with the entire sequence to be replaced).
- setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])[source]¶
- 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
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode¶
Bases:
int
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition¶
Bases:
int
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger¶
Bases:
int
- class EditTriggers¶
- class EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) None
- class EditTriggers(QAbstractItemView.EditTriggers) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- 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
- 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
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- class ScrollHint¶
Bases:
int
- class ScrollMode¶
Bases:
int
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior¶
Bases:
int
- class SelectionMode¶
Bases:
int
- class Shadow¶
Bases:
int
- Shadow_Mask = 240¶
- class Shape¶
Bases:
int
- Shape_Mask = 15¶
- SingleSelection = 1¶
- class SizeAdjustPolicy¶
Bases:
int
- class State¶
Bases:
int
- class StyleMask¶
Bases:
int
- 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 ¶
- AbstractAlignmentView.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 ¶
- AbstractAlignmentView.columnCountChanged(self, int, int)
- columnMoved(self)¶
- AbstractAlignmentView.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 ¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- cornerWidget(self) QWidget ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- AbstractAlignmentView.currentChanged(self, QModelIndex, QModelIndex)
- currentIndex(self) QModelIndex ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- AbstractAlignmentView.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(QMetaObject.Connection) bool ¶
- disconnect(self) None
- 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)¶
- 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) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- entered¶
entered(self, QModelIndex) [signal]
- error(*args, **kwargs)¶
Shows a popup error message box. For parameter documentation see
messagebox.MessageBox
.
- eventFilter(self, QObject, QEvent) bool ¶
- executeDelayedItemsLayout(self)¶
- expand(self, QModelIndex)¶
- expandAll(self)¶
- expandToDepth(self, int)¶
- expanded¶
expanded(self, QModelIndex) [signal]
- expandsOnDoubleClick(self) bool ¶
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- forgetMessageBoxResponse(key)¶
Forgets any previously saved response that was stored via a save_response_key.
- Parameters
key – the key for the response to forget
- 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]) None
- 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 ¶
- indexWidget(self, QModelIndex) QWidget ¶
- info(*args, **kwargs)¶
Shows a popup information message box. For parameter documentation see
messagebox.MessageBox
.
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionFrame)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- AbstractAlignmentView.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 ¶
- 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 ¶
- mouseGrabber() QWidget ¶
- move(self, QPoint)¶
- AbstractAlignmentView.move(self, int, int) -> None
- 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 ¶
- 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.
- question(*args, **kwargs)¶
Shows a popup question message box. For parameter documentation see
messagebox.QuestionMessageBox
.
- 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.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- AbstractAlignmentView.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetIndentation(self)¶
- resetVerticalScrollMode(self)¶
- resize(self, QSize)¶
- AbstractAlignmentView.resize(self, int, int) -> None
- resizeColumnToContents(self, int)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- rootIndex(self) QModelIndex ¶
- rootIsDecorated(self) bool ¶
- rowHeight(self, QModelIndex) int ¶
- AbstractAlignmentView.rowsAboutToBeRemoved(self, QModelIndex, int, int)
- AbstractAlignmentView.rowsInserted(self, QModelIndex, int, int)
- AbstractAlignmentView.rowsRemoved(self, QModelIndex, int, int)
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- AbstractAlignmentView.scroll(self, int, int)
- AbstractAlignmentView.scroll(self, int, int, QRect) -> None
- scrollBarWidgets(self, Union[Qt.Alignment, Qt.AlignmentFlag]) List[QWidget] ¶
- AbstractAlignmentView.scrollContentsBy(self, int, int)
- AbstractAlignmentView.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 ¶
- AbstractAlignmentView.selectionChanged(self, QItemSelection, QItemSelection)
- 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)¶
- AbstractAlignmentView.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- setColumnHidden(self, int, bool)¶
- AbstractAlignmentView.setColumnWidth(self, int, int)
- AbstractAlignmentView.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- 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)¶
- AbstractAlignmentView.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setFrameRect(self, QRect)¶
- setFrameShadow(self, QFrame.Shadow)¶
- setFrameShape(self, QFrame.Shape)¶
- setFrameStyle(self, int)¶
- setGeometry(self, QRect)¶
- AbstractAlignmentView.setGeometry(self, int, int, int, int) -> None
- 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) None
- setMaximumHeight(self, int)¶
- AbstractAlignmentView.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMidLineWidth(self, int)¶
- setMinimumHeight(self, int)¶
- AbstractAlignmentView.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setRootIndex(self, QModelIndex)¶
- setRootIsDecorated(self, bool)¶
- setRowHidden(self, int, QModelIndex, bool)¶
- 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)¶
- AbstractAlignmentView.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setSortingEnabled(self, bool)¶
- setState(self, QAbstractItemView.State)¶
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- AbstractAlignmentView.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)¶
- AbstractAlignmentView.setViewportMargins(self, int, int, int, int)
- setViewportMargins(self, QMargins) None ¶
- 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)¶
- showMessageBox(*args, **kwargs)¶
Shows a popup message box. For parameter documentation see
messagebox.MessageBox
.
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeAdjustPolicy(self) QAbstractScrollArea.SizeAdjustPolicy ¶
- sizeHint(self) QSize ¶
- 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) None
- 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 ¶
- warning(*args, **kwargs)¶
Shows a popup warning message box. For parameter documentation see
messagebox.MessageBox
.
- whatsThis(self) str ¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.ProteinAlignmentView(undo_stack, parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.AbstractAlignmentView
- 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
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode¶
Bases:
int
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition¶
Bases:
int
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger¶
Bases:
int
- class EditTriggers¶
- class EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) None
- class EditTriggers(QAbstractItemView.EditTriggers) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- 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
- 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
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- SELECTION_ROLE = 284¶
- class ScrollHint¶
Bases:
int
- class ScrollMode¶
Bases:
int
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior¶
Bases:
int
- class SelectionMode¶
Bases:
int
- class Shadow¶
Bases:
int
- Shadow_Mask = 240¶
- class Shape¶
Bases:
int
- Shape_Mask = 15¶
- SingleSelection = 1¶
- class SizeAdjustPolicy¶
Bases:
int
- class State¶
Bases:
int
- class StyleMask¶
Bases:
int
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- __init__(undo_stack, parent=None)¶
- Parameters
undo_stack (schrodinger.application.msv.command.UndoStack) – The undo stack. Used to group commands that happen on mouse drag into a single macro.
parent (QtWidgets.QWidget or None) – The Qt parent
- 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 ¶
- anchorSelection()¶
Respond to an “Anchor” event selected through the residue context menu. Anchor selected residues using the following per-column protocol:
- If only reference residues are selected, anchor
all non-reference residues aligned to those reference residues.
- If any non-reference residues (or a mix of reference and
non-reference residues) are selected, anchor all selected non-reference residues.
- Any selected elements that can’t be anchored (due to being gaps
or being in columns with reference gaps) will be ignored.
- autoExpandDelay(self) int ¶
- autoFillBackground(self) bool ¶
- autoScrollMargin(self) int ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- changeResidues()¶
Open an editor that allows the user to replace one residue or gap at a time. This method should only be called when there is exactly one residue or gap selected.
- childAt(self, QPoint) QWidget ¶
- ProteinAlignmentView.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- clearSelectedHighlights()¶
Clear the highlights of the selection.
- 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 ¶
- ProteinAlignmentView.columnCountChanged(self, int, int)
- columnMoved(self)¶
- ProteinAlignmentView.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 ¶
- copySelection()¶
Copies the selected residues and gaps as a string onto the clipboard.
- Raises
ValueError – if the selection is not a single block.
- copyToNewTabRequested¶
- cornerWidget(self) QWidget ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- ProteinAlignmentView.currentChanged(self, QModelIndex, QModelIndex)
- currentIndex(self) QModelIndex ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- ProteinAlignmentView.dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])
- defaultDropAction(self) Qt.DropAction ¶
- deleteLater(self)¶
- deleteSelectedGaps()¶
Delete all selected gaps. Selected residues will remain unchanged.
Editing is not allowed if alignment set residues are selected.
- deleteSelection()¶
Delete all selected residues and gaps. If more than one block of residues/gaps is selected, the user will be prompted for confirmation before the deletion occurs.
- deleteUnselectedResidues()¶
Delete all the unselected residues.
- depth(self) int ¶
- deselectGaps()¶
Deselect selected gaps
- 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(QMetaObject.Connection) bool ¶
- disconnect(self) None
- 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(painter, option, index)¶
This view paints entire rows at once instead of painting each cell separately. This gives us a ~6x improvement in scrolling frame rate (assuming data is already cached). This view also fetches data for entire rows at once, which gives us an additional ~2x improvement in scrolling frame rate when data is uncached.
See Qt documentation for additional method documentation.
- 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
- editAndMaybeClearAnchors(edit_func)¶
Try to perform an edit action. If it can’t proceed because it would break anchors, ask the user whether they want to cancel (keeping anchors) or break anchors and proceed.
- Parameters
edit_func (callable) – the function that may break anchors
- editCurrentSelection()¶
If a single residue (or gap) is selected, open an editor for replacing one residue at a time. If a single block of residues/gaps in a single sequence is selected, open an editor for overwriting the current selection. Otherwise, do nothing. Note that editing is disallowed for structured residues, on the workspace tab, or in alignment sets, so no editor will be opened in those cases.
- editTriggers(self) QAbstractItemView.EditTriggers ¶
- editorDestroyed(self, QObject)¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- entered¶
entered(self, QModelIndex) [signal]
- error(*args, **kwargs)¶
Shows a popup error message box. For parameter documentation see
messagebox.MessageBox
.
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- executeDelayedItemsLayout(self)¶
- expand(self, QModelIndex)¶
- expandAll(self)¶
- expandSelectionAlongColumns()¶
Expand selection along the columns of selected elements.
- expandSelectionAlongGaps()¶
Expand selected gaps along gaps within each sequence.
- expandSelectionBetweenGaps()¶
Expand selected residues between gaps within each sequence.
- expandSelectionFromReference()¶
Expand selection along columns of selected reference elements
- expandSelectionToAnnoVals(anno, ann_index)¶
- expandSelectionToFullChain()¶
- expandToDepth(self, int)¶
- expanded¶
expanded(self, QModelIndex) [signal]
- expandsOnDoubleClick(self) bool ¶
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- forgetMessageBoxResponse(key)¶
Forgets any previously saved response that was stored via a save_response_key.
- Parameters
key – the key for the response to forget
- 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]) None
- 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(index)¶
Get the height of a row.
This method is not normally virtual in QTreeView, but we’re using a modified version of Qt so that we can override this method. The default implementation calls delegate.sizeHint for every column in the row, which leads to major delays while scrolling.
- Note
This method can be called with indices from
self.model()
or from aBaseFixedColumnsView
’s model. (SeeBaseFixedColumnsView.indexRowSizeHint
.) Index row and internal ID will be the same regardless of model, but this method must not assume thatindex.model() == self.model()
.
See QTreeView documentation for additional method documentation.
- indexWidget(self, QModelIndex) QWidget ¶
- info(*args, **kwargs)¶
Shows a popup information message box. For parameter documentation see
messagebox.MessageBox
.
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionFrame)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- ProteinAlignmentView.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertGapsToLeftOfSelection()¶
Insert one gap to the left of every selected block of residues/gaps.
Editing is not allowed if alignment set residues are selected.
- insertResidues()¶
Open an editor that allows the user to insert residues before the current selection. This method should only be called when there is exactly one block of residues or gaps from a single sequence selected.
- installEventFilter(self, QObject)¶
- invertResSelection()¶
Invert selection of residues in the alignment
- 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)¶
- ProteinAlignmentView.move(self, int, int) -> None
- 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]
- openColorPanelRequested¶
- openPersistentEditor(self, QModelIndex)¶
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(event)¶
We override this method to speed up painting. We calculate what columns need to be painted and the x-coordinates of their left edges, which get used in
drawRow
below.See Qt documentation for additional method documentation.
- 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.
- question(*args, **kwargs)¶
Shows a popup question message box. For parameter documentation see
messagebox.QuestionMessageBox
.
- 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.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- ProteinAlignmentView.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- replaceSelection()¶
Open an editor that allows the user to overwrite the current selection. This method should only be called when there is exactly one block of residues or gaps from a single sequence selected.
Note that if row wrapping is turned on, it’s possible that one contiguous group of residues may be split over multiple rows of the table. The editor will only cover indices in the first row, but the newly entered sequence will replace all selected residues (and the editor will start with the entire sequence to be replaced).
- replaceSelectionWithGaps()¶
Replace selected with gaps.
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetIndentation(self)¶
- resetVerticalScrollMode(self)¶
- residueHovered¶
- residueMiddleClicked¶
- residueUnhovered¶
- resize(self, QSize)¶
- ProteinAlignmentView.resize(self, int, int) -> None
- resizeColumnToContents(self, int)¶
- resizeEvent(event)¶
Update the row wrapping whenever the table is resized
See Qt documentation for argument documentation
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- rootIndex(self) QModelIndex ¶
- rootIsDecorated(self) bool ¶
- rowHeight(self, QModelIndex) int ¶
- ProteinAlignmentView.rowsAboutToBeRemoved(self, QModelIndex, int, int)
- ProteinAlignmentView.rowsInserted(self, QModelIndex, int, int)
- ProteinAlignmentView.rowsRemoved(self, QModelIndex, int, int)
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- ProteinAlignmentView.scroll(self, int, int)
- ProteinAlignmentView.scroll(self, int, int, QRect) -> None
- scrollBarWidgets(self, Union[Qt.Alignment, Qt.AlignmentFlag]) List[QWidget] ¶
- ProteinAlignmentView.scrollContentsBy(self, int, int)
- ProteinAlignmentView.scrollDirtyRegion(self, int, int)
- scrollTo(self, QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- scrollToBottom(self)¶
- scrollToTop(self)¶
- searchForMatches()¶
Searches for matches for the selected residues.
This should only be called if the selection is a single block in a single sequence.
- selectAll(self)¶
- selectedIndexes(self) List[QModelIndex] ¶
- selectionBehavior(self) QAbstractItemView.SelectionBehavior ¶
- ProteinAlignmentView.selectionChanged(self, QItemSelection, QItemSelection)
- selectionCommand(index, event=None)¶
Customize selection behavior.
Filter right button mouse events to prevent selection changes when showing context menu on already-selected cells.
Filter middle button clicks to prevent any selection changes.
Make clicks on the ruler select the column.
If a mouse press might potentially start a drag and drop operation, wait until mouse release to change the selection.
See Qt documentation for argument documentation.
- selectionMode(self) QAbstractItemView.SelectionMode ¶
- selectionModel(self) QItemSelectionModel ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- sequenceEditModeRequested¶
- 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)¶
- ProteinAlignmentView.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- setChimeraShown(enable)¶
- setColumnHidden(self, int, bool)¶
- ProteinAlignmentView.setColumnWidth(self, int, int)
- setConstraintsShown(enable)¶
Enable or disable constraint display
- Parameters
enable (bool) – Whether to display constraints
- ProteinAlignmentView.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- 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)¶
- setEditMode(enable)¶
Enable or disable edit mode.
- Parameters
enable (bool) – Whether to enable edit mode.
- 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)¶
- ProteinAlignmentView.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setFrameRect(self, QRect)¶
- setFrameShadow(self, QFrame.Shadow)¶
- setFrameShape(self, QFrame.Shape)¶
- setFrameStyle(self, int)¶
- setGeometry(self, QRect)¶
- ProteinAlignmentView.setGeometry(self, int, int, int, int) -> None
- 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])¶
- setIsWorkspace(is_workspace)¶
- setItemDelegate(self, QAbstractItemDelegate)¶
- setItemDelegateForColumn(self, int, QAbstractItemDelegate)¶
- setItemDelegateForRow(self, int, QAbstractItemDelegate)¶
- setItemsExpandable(self, bool)¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLigandConstraintsShown(enable)¶
- setLightMode(enabled)¶
Enable or disable light mode on all delegates
- setLineWidth(self, int)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- ProteinAlignmentView.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMenuModel(model)¶
- setMidLineWidth(self, int)¶
- setMinimumHeight(self, int)¶
- ProteinAlignmentView.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setModel(model)¶
Set the model and ensure that changes to the model columns trigger updates in the delegates
See Qt documentation for argument documentation
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setResOutlinesShown(enable)¶
- 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)¶
- setSequenceExpansionState(sequences, expand=True)¶
Set the expansion state for the given sequences.
- Parameters
sequences (list(Sequence)) – Sequences to expand or collapse.
expand (bool) – Whether to expand the sequences
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- setSizeAdjustPolicy(self, QAbstractScrollArea.SizeAdjustPolicy)¶
- ProteinAlignmentView.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setSortingEnabled(self, bool)¶
- setState(self, QAbstractItemView.State)¶
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- ProteinAlignmentView.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)¶
- ProteinAlignmentView.setViewportMargins(self, int, int, int, int)
- setViewportMargins(self, QMargins) None ¶
- 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)¶
- showMessageBox(*args, **kwargs)¶
Shows a popup message box. For parameter documentation see
messagebox.MessageBox
.
- 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(row)¶
Get the height of a top-level row.
Note that you probably want to use
indexRowSizeHint
instead of this method, as that method can determine the height of any row, not just a top-level one. This is still called by QTreeView::scrollContentsBy, though, so we reimplement it here to avoid the delay that would be caused by QTreeView::sizeHintForRow, which calls delegate.sizeHint for every cell in the row.See QAbstractItemView documentation for additional method documentation.
- 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 ¶
- unanchorSelection()¶
Test that the view has correct behavior for residue unanchoring:
- If only non-reference residues are selected, unanchor
them.
- If any reference residues (or a mix of reference and
non-reference residues) are selected, unanchor all non-reference residues aligned to the selected reference residues.
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- uniformRowHeights(self) bool ¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QModelIndex) None
- 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 ¶
- warning(*args, **kwargs)¶
Shows a popup warning message box. For parameter documentation see
messagebox.MessageBox
.
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.NoScrollAlignmentView(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.AbstractAlignmentView
Alignment view without scroll bars, used in saving the entire alignment as an image.
- __init__(parent=None)[source]¶
- Parameters
undo_stack (schrodinger.application.msv.command.UndoStack) – The undo stack. Used to group commands that happen on mouse drag into a single macro.
parent (QtWidgets.QWidget or None) – The Qt parent
- setModel(model)[source]¶
Set the model and ensure that changes to the model columns trigger updates in the delegates
See Qt documentation for argument documentation
- 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
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode¶
Bases:
int
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition¶
Bases:
int
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger¶
Bases:
int
- class EditTriggers¶
- class EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) None
- class EditTriggers(QAbstractItemView.EditTriggers) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- 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
- 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
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- SELECTION_ROLE = 284¶
- class ScrollHint¶
Bases:
int
- class ScrollMode¶
Bases:
int
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior¶
Bases:
int
- class SelectionMode¶
Bases:
int
- class Shadow¶
Bases:
int
- Shadow_Mask = 240¶
- class Shape¶
Bases:
int
- Shape_Mask = 15¶
- SingleSelection = 1¶
- class SizeAdjustPolicy¶
Bases:
int
- class State¶
Bases:
int
- class StyleMask¶
Bases:
int
- 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 ¶
- anchorSelection()¶
Respond to an “Anchor” event selected through the residue context menu. Anchor selected residues using the following per-column protocol:
- If only reference residues are selected, anchor
all non-reference residues aligned to those reference residues.
- If any non-reference residues (or a mix of reference and
non-reference residues) are selected, anchor all selected non-reference residues.
- Any selected elements that can’t be anchored (due to being gaps
or being in columns with reference gaps) will be ignored.
- autoExpandDelay(self) int ¶
- autoFillBackground(self) bool ¶
- autoScrollMargin(self) int ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- changeResidues()¶
Open an editor that allows the user to replace one residue or gap at a time. This method should only be called when there is exactly one residue or gap selected.
- childAt(self, QPoint) QWidget ¶
- NoScrollAlignmentView.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- clearSelectedHighlights()¶
Clear the highlights of the selection.
- 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 ¶
- NoScrollAlignmentView.columnCountChanged(self, int, int)
- columnMoved(self)¶
- NoScrollAlignmentView.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 ¶
- copySelection()¶
Copies the selected residues and gaps as a string onto the clipboard.
- Raises
ValueError – if the selection is not a single block.
- copyToNewTabRequested¶
- cornerWidget(self) QWidget ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- NoScrollAlignmentView.currentChanged(self, QModelIndex, QModelIndex)
- currentIndex(self) QModelIndex ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- NoScrollAlignmentView.dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])
- defaultDropAction(self) Qt.DropAction ¶
- deleteLater(self)¶
- deleteSelectedGaps()¶
Delete all selected gaps. Selected residues will remain unchanged.
Editing is not allowed if alignment set residues are selected.
- deleteSelection()¶
Delete all selected residues and gaps. If more than one block of residues/gaps is selected, the user will be prompted for confirmation before the deletion occurs.
- deleteUnselectedResidues()¶
Delete all the unselected residues.
- depth(self) int ¶
- deselectGaps()¶
Deselect selected gaps
- 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(QMetaObject.Connection) bool ¶
- disconnect(self) None
- 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(painter, option, index)¶
This view paints entire rows at once instead of painting each cell separately. This gives us a ~6x improvement in scrolling frame rate (assuming data is already cached). This view also fetches data for entire rows at once, which gives us an additional ~2x improvement in scrolling frame rate when data is uncached.
See Qt documentation for additional method documentation.
- 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
- editAndMaybeClearAnchors(edit_func)¶
Try to perform an edit action. If it can’t proceed because it would break anchors, ask the user whether they want to cancel (keeping anchors) or break anchors and proceed.
- Parameters
edit_func (callable) – the function that may break anchors
- editCurrentSelection()¶
If a single residue (or gap) is selected, open an editor for replacing one residue at a time. If a single block of residues/gaps in a single sequence is selected, open an editor for overwriting the current selection. Otherwise, do nothing. Note that editing is disallowed for structured residues, on the workspace tab, or in alignment sets, so no editor will be opened in those cases.
- editTriggers(self) QAbstractItemView.EditTriggers ¶
- editorDestroyed(self, QObject)¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- entered¶
entered(self, QModelIndex) [signal]
- error(*args, **kwargs)¶
Shows a popup error message box. For parameter documentation see
messagebox.MessageBox
.
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- executeDelayedItemsLayout(self)¶
- expand(self, QModelIndex)¶
- expandAll(self)¶
- expandSelectionAlongColumns()¶
Expand selection along the columns of selected elements.
- expandSelectionAlongGaps()¶
Expand selected gaps along gaps within each sequence.
- expandSelectionBetweenGaps()¶
Expand selected residues between gaps within each sequence.
- expandSelectionFromReference()¶
Expand selection along columns of selected reference elements
- expandSelectionToAnnoVals(anno, ann_index)¶
- expandSelectionToFullChain()¶
- expandToDepth(self, int)¶
- expanded¶
expanded(self, QModelIndex) [signal]
- expandsOnDoubleClick(self) bool ¶
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- forgetMessageBoxResponse(key)¶
Forgets any previously saved response that was stored via a save_response_key.
- Parameters
key – the key for the response to forget
- 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]) None
- 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(index)¶
Get the height of a row.
This method is not normally virtual in QTreeView, but we’re using a modified version of Qt so that we can override this method. The default implementation calls delegate.sizeHint for every column in the row, which leads to major delays while scrolling.
- Note
This method can be called with indices from
self.model()
or from aBaseFixedColumnsView
’s model. (SeeBaseFixedColumnsView.indexRowSizeHint
.) Index row and internal ID will be the same regardless of model, but this method must not assume thatindex.model() == self.model()
.
See QTreeView documentation for additional method documentation.
- indexWidget(self, QModelIndex) QWidget ¶
- info(*args, **kwargs)¶
Shows a popup information message box. For parameter documentation see
messagebox.MessageBox
.
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionFrame)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- NoScrollAlignmentView.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertGapsToLeftOfSelection()¶
Insert one gap to the left of every selected block of residues/gaps.
Editing is not allowed if alignment set residues are selected.
- insertResidues()¶
Open an editor that allows the user to insert residues before the current selection. This method should only be called when there is exactly one block of residues or gaps from a single sequence selected.
- installEventFilter(self, QObject)¶
- invertResSelection()¶
Invert selection of residues in the alignment
- 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)¶
- NoScrollAlignmentView.move(self, int, int) -> None
- 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]
- openColorPanelRequested¶
- openPersistentEditor(self, QModelIndex)¶
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(event)¶
We override this method to speed up painting. We calculate what columns need to be painted and the x-coordinates of their left edges, which get used in
drawRow
below.See Qt documentation for additional method documentation.
- 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.
- question(*args, **kwargs)¶
Shows a popup question message box. For parameter documentation see
messagebox.QuestionMessageBox
.
- 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.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- NoScrollAlignmentView.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- replaceSelection()¶
Open an editor that allows the user to overwrite the current selection. This method should only be called when there is exactly one block of residues or gaps from a single sequence selected.
Note that if row wrapping is turned on, it’s possible that one contiguous group of residues may be split over multiple rows of the table. The editor will only cover indices in the first row, but the newly entered sequence will replace all selected residues (and the editor will start with the entire sequence to be replaced).
- replaceSelectionWithGaps()¶
Replace selected with gaps.
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetIndentation(self)¶
- resetVerticalScrollMode(self)¶
- residueHovered¶
- residueMiddleClicked¶
- residueUnhovered¶
- resize(self, QSize)¶
- NoScrollAlignmentView.resize(self, int, int) -> None
- resizeColumnToContents(self, int)¶
- resizeEvent(event)¶
Update the row wrapping whenever the table is resized
See Qt documentation for argument documentation
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- rootIndex(self) QModelIndex ¶
- rootIsDecorated(self) bool ¶
- rowHeight(self, QModelIndex) int ¶
- NoScrollAlignmentView.rowsAboutToBeRemoved(self, QModelIndex, int, int)
- NoScrollAlignmentView.rowsInserted(self, QModelIndex, int, int)
- NoScrollAlignmentView.rowsRemoved(self, QModelIndex, int, int)
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- NoScrollAlignmentView.scroll(self, int, int)
- NoScrollAlignmentView.scroll(self, int, int, QRect) -> None
- scrollBarWidgets(self, Union[Qt.Alignment, Qt.AlignmentFlag]) List[QWidget] ¶
- NoScrollAlignmentView.scrollContentsBy(self, int, int)
- NoScrollAlignmentView.scrollDirtyRegion(self, int, int)
- scrollTo(self, QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- scrollToBottom(self)¶
- scrollToTop(self)¶
- searchForMatches()¶
Searches for matches for the selected residues.
This should only be called if the selection is a single block in a single sequence.
- selectAll(self)¶
- selectedIndexes(self) List[QModelIndex] ¶
- selectionBehavior(self) QAbstractItemView.SelectionBehavior ¶
- NoScrollAlignmentView.selectionChanged(self, QItemSelection, QItemSelection)
- selectionCommand(index, event=None)¶
Customize selection behavior.
Filter right button mouse events to prevent selection changes when showing context menu on already-selected cells.
Filter middle button clicks to prevent any selection changes.
Make clicks on the ruler select the column.
If a mouse press might potentially start a drag and drop operation, wait until mouse release to change the selection.
See Qt documentation for argument documentation.
- selectionMode(self) QAbstractItemView.SelectionMode ¶
- selectionModel(self) QItemSelectionModel ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- sequenceEditModeRequested¶
- 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)¶
- NoScrollAlignmentView.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- setChimeraShown(enable)¶
- setColumnHidden(self, int, bool)¶
- NoScrollAlignmentView.setColumnWidth(self, int, int)
- setConstraintsShown(enable)¶
Enable or disable constraint display
- Parameters
enable (bool) – Whether to display constraints
- NoScrollAlignmentView.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- 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)¶
- setEditMode(enable)¶
Enable or disable edit mode.
- Parameters
enable (bool) – Whether to enable edit mode.
- 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)¶
- NoScrollAlignmentView.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setFrameRect(self, QRect)¶
- setFrameShadow(self, QFrame.Shadow)¶
- setFrameShape(self, QFrame.Shape)¶
- setFrameStyle(self, int)¶
- setGeometry(self, QRect)¶
- NoScrollAlignmentView.setGeometry(self, int, int, int, int) -> None
- 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])¶
- setIsWorkspace(is_workspace)¶
- setItemDelegate(self, QAbstractItemDelegate)¶
- setItemDelegateForColumn(self, int, QAbstractItemDelegate)¶
- setItemDelegateForRow(self, int, QAbstractItemDelegate)¶
- setItemsExpandable(self, bool)¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLigandConstraintsShown(enable)¶
- setLightMode(enabled)¶
Enable or disable light mode on all delegates
- setLineWidth(self, int)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- NoScrollAlignmentView.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMenuModel(model)¶
- setMidLineWidth(self, int)¶
- setMinimumHeight(self, int)¶
- NoScrollAlignmentView.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setResOutlinesShown(enable)¶
- 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)¶
- setSequenceExpansionState(sequences, expand=True)¶
Set the expansion state for the given sequences.
- Parameters
sequences (list(Sequence)) – Sequences to expand or collapse.
expand (bool) – Whether to expand the sequences
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- setSizeAdjustPolicy(self, QAbstractScrollArea.SizeAdjustPolicy)¶
- NoScrollAlignmentView.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setSortingEnabled(self, bool)¶
- setState(self, QAbstractItemView.State)¶
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- NoScrollAlignmentView.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)¶
- NoScrollAlignmentView.setViewportMargins(self, int, int, int, int)
- setViewportMargins(self, QMargins) None ¶
- 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)¶
- showMessageBox(*args, **kwargs)¶
Shows a popup message box. For parameter documentation see
messagebox.MessageBox
.
- 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(row)¶
Get the height of a top-level row.
Note that you probably want to use
indexRowSizeHint
instead of this method, as that method can determine the height of any row, not just a top-level one. This is still called by QTreeView::scrollContentsBy, though, so we reimplement it here to avoid the delay that would be caused by QTreeView::sizeHintForRow, which calls delegate.sizeHint for every cell in the row.See QAbstractItemView documentation for additional method documentation.
- 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 ¶
- unanchorSelection()¶
Test that the view has correct behavior for residue unanchoring:
- If only non-reference residues are selected, unanchor
them.
- If any reference residues (or a mix of reference and
non-reference residues) are selected, unanchor all non-reference residues aligned to the selected reference residues.
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- uniformRowHeights(self) bool ¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QModelIndex) None
- 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 ¶
- warning(*args, **kwargs)¶
Shows a popup warning message box. For parameter documentation see
messagebox.MessageBox
.
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.LogoAlignmentView(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.NoScrollAlignmentView
Alignment view meant to draw ExportLogoProxyModels.
- drawRow(painter, option, index)[source]¶
Draw the row corresponding to the given index. This logic is based off of AbstractAlignmentView.drawRow. However, because the view is static, no caching is used.
- 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
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode¶
Bases:
int
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition¶
Bases:
int
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger¶
Bases:
int
- class EditTriggers¶
- class EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) None
- class EditTriggers(QAbstractItemView.EditTriggers) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- 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
- 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
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- SELECTION_ROLE = 284¶
- class ScrollHint¶
Bases:
int
- class ScrollMode¶
Bases:
int
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior¶
Bases:
int
- class SelectionMode¶
Bases:
int
- class Shadow¶
Bases:
int
- Shadow_Mask = 240¶
- class Shape¶
Bases:
int
- Shape_Mask = 15¶
- SingleSelection = 1¶
- class SizeAdjustPolicy¶
Bases:
int
- class State¶
Bases:
int
- class StyleMask¶
Bases:
int
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- __init__(parent=None)¶
- Parameters
undo_stack (schrodinger.application.msv.command.UndoStack) – The undo stack. Used to group commands that happen on mouse drag into a single macro.
parent (QtWidgets.QWidget or None) – The Qt parent
- 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 ¶
- anchorSelection()¶
Respond to an “Anchor” event selected through the residue context menu. Anchor selected residues using the following per-column protocol:
- If only reference residues are selected, anchor
all non-reference residues aligned to those reference residues.
- If any non-reference residues (or a mix of reference and
non-reference residues) are selected, anchor all selected non-reference residues.
- Any selected elements that can’t be anchored (due to being gaps
or being in columns with reference gaps) will be ignored.
- autoExpandDelay(self) int ¶
- autoFillBackground(self) bool ¶
- autoScrollMargin(self) int ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- changeResidues()¶
Open an editor that allows the user to replace one residue or gap at a time. This method should only be called when there is exactly one residue or gap selected.
- childAt(self, QPoint) QWidget ¶
- LogoAlignmentView.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- clearSelectedHighlights()¶
Clear the highlights of the selection.
- 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 ¶
- LogoAlignmentView.columnCountChanged(self, int, int)
- columnMoved(self)¶
- LogoAlignmentView.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 ¶
- copySelection()¶
Copies the selected residues and gaps as a string onto the clipboard.
- Raises
ValueError – if the selection is not a single block.
- copyToNewTabRequested¶
- cornerWidget(self) QWidget ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- LogoAlignmentView.currentChanged(self, QModelIndex, QModelIndex)
- currentIndex(self) QModelIndex ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- LogoAlignmentView.dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])
- defaultDropAction(self) Qt.DropAction ¶
- deleteLater(self)¶
- deleteSelectedGaps()¶
Delete all selected gaps. Selected residues will remain unchanged.
Editing is not allowed if alignment set residues are selected.
- deleteSelection()¶
Delete all selected residues and gaps. If more than one block of residues/gaps is selected, the user will be prompted for confirmation before the deletion occurs.
- deleteUnselectedResidues()¶
Delete all the unselected residues.
- depth(self) int ¶
- deselectGaps()¶
Deselect selected gaps
- 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(QMetaObject.Connection) bool ¶
- disconnect(self) None
- 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)¶
- 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
- editAndMaybeClearAnchors(edit_func)¶
Try to perform an edit action. If it can’t proceed because it would break anchors, ask the user whether they want to cancel (keeping anchors) or break anchors and proceed.
- Parameters
edit_func (callable) – the function that may break anchors
- editCurrentSelection()¶
If a single residue (or gap) is selected, open an editor for replacing one residue at a time. If a single block of residues/gaps in a single sequence is selected, open an editor for overwriting the current selection. Otherwise, do nothing. Note that editing is disallowed for structured residues, on the workspace tab, or in alignment sets, so no editor will be opened in those cases.
- editTriggers(self) QAbstractItemView.EditTriggers ¶
- editorDestroyed(self, QObject)¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- entered¶
entered(self, QModelIndex) [signal]
- error(*args, **kwargs)¶
Shows a popup error message box. For parameter documentation see
messagebox.MessageBox
.
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- executeDelayedItemsLayout(self)¶
- expand(self, QModelIndex)¶
- expandAll(self)¶
- expandSelectionAlongColumns()¶
Expand selection along the columns of selected elements.
- expandSelectionAlongGaps()¶
Expand selected gaps along gaps within each sequence.
- expandSelectionBetweenGaps()¶
Expand selected residues between gaps within each sequence.
- expandSelectionFromReference()¶
Expand selection along columns of selected reference elements
- expandSelectionToAnnoVals(anno, ann_index)¶
- expandSelectionToFullChain()¶
- expandToDepth(self, int)¶
- expanded¶
expanded(self, QModelIndex) [signal]
- expandsOnDoubleClick(self) bool ¶
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- forgetMessageBoxResponse(key)¶
Forgets any previously saved response that was stored via a save_response_key.
- Parameters
key – the key for the response to forget
- 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]) None
- 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(index)¶
Get the height of a row.
This method is not normally virtual in QTreeView, but we’re using a modified version of Qt so that we can override this method. The default implementation calls delegate.sizeHint for every column in the row, which leads to major delays while scrolling.
- Note
This method can be called with indices from
self.model()
or from aBaseFixedColumnsView
’s model. (SeeBaseFixedColumnsView.indexRowSizeHint
.) Index row and internal ID will be the same regardless of model, but this method must not assume thatindex.model() == self.model()
.
See QTreeView documentation for additional method documentation.
- indexWidget(self, QModelIndex) QWidget ¶
- info(*args, **kwargs)¶
Shows a popup information message box. For parameter documentation see
messagebox.MessageBox
.
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionFrame)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- LogoAlignmentView.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertGapsToLeftOfSelection()¶
Insert one gap to the left of every selected block of residues/gaps.
Editing is not allowed if alignment set residues are selected.
- insertResidues()¶
Open an editor that allows the user to insert residues before the current selection. This method should only be called when there is exactly one block of residues or gaps from a single sequence selected.
- installEventFilter(self, QObject)¶
- invertResSelection()¶
Invert selection of residues in the alignment
- 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)¶
- LogoAlignmentView.move(self, int, int) -> None
- 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]
- openColorPanelRequested¶
- openPersistentEditor(self, QModelIndex)¶
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(event)¶
We override this method to speed up painting. We calculate what columns need to be painted and the x-coordinates of their left edges, which get used in
drawRow
below.See Qt documentation for additional method documentation.
- 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.
- question(*args, **kwargs)¶
Shows a popup question message box. For parameter documentation see
messagebox.QuestionMessageBox
.
- 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.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- LogoAlignmentView.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- replaceSelection()¶
Open an editor that allows the user to overwrite the current selection. This method should only be called when there is exactly one block of residues or gaps from a single sequence selected.
Note that if row wrapping is turned on, it’s possible that one contiguous group of residues may be split over multiple rows of the table. The editor will only cover indices in the first row, but the newly entered sequence will replace all selected residues (and the editor will start with the entire sequence to be replaced).
- replaceSelectionWithGaps()¶
Replace selected with gaps.
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetIndentation(self)¶
- resetVerticalScrollMode(self)¶
- residueHovered¶
- residueMiddleClicked¶
- residueUnhovered¶
- resize(self, QSize)¶
- LogoAlignmentView.resize(self, int, int) -> None
- resizeColumnToContents(self, int)¶
- resizeEvent(event)¶
Update the row wrapping whenever the table is resized
See Qt documentation for argument documentation
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- rootIndex(self) QModelIndex ¶
- rootIsDecorated(self) bool ¶
- rowHeight(self, QModelIndex) int ¶
- LogoAlignmentView.rowsAboutToBeRemoved(self, QModelIndex, int, int)
- LogoAlignmentView.rowsInserted(self, QModelIndex, int, int)
- LogoAlignmentView.rowsRemoved(self, QModelIndex, int, int)
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- LogoAlignmentView.scroll(self, int, int)
- LogoAlignmentView.scroll(self, int, int, QRect) -> None
- scrollBarWidgets(self, Union[Qt.Alignment, Qt.AlignmentFlag]) List[QWidget] ¶
- LogoAlignmentView.scrollContentsBy(self, int, int)
- LogoAlignmentView.scrollDirtyRegion(self, int, int)
- scrollTo(self, QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- scrollToBottom(self)¶
- scrollToTop(self)¶
- searchForMatches()¶
Searches for matches for the selected residues.
This should only be called if the selection is a single block in a single sequence.
- selectAll(self)¶
- selectedIndexes(self) List[QModelIndex] ¶
- selectionBehavior(self) QAbstractItemView.SelectionBehavior ¶
- LogoAlignmentView.selectionChanged(self, QItemSelection, QItemSelection)
- selectionCommand(index, event=None)¶
Customize selection behavior.
Filter right button mouse events to prevent selection changes when showing context menu on already-selected cells.
Filter middle button clicks to prevent any selection changes.
Make clicks on the ruler select the column.
If a mouse press might potentially start a drag and drop operation, wait until mouse release to change the selection.
See Qt documentation for argument documentation.
- selectionMode(self) QAbstractItemView.SelectionMode ¶
- selectionModel(self) QItemSelectionModel ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- sequenceEditModeRequested¶
- 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)¶
- LogoAlignmentView.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- setChimeraShown(enable)¶
- setColumnHidden(self, int, bool)¶
- LogoAlignmentView.setColumnWidth(self, int, int)
- setConstraintsShown(enable)¶
Enable or disable constraint display
- Parameters
enable (bool) – Whether to display constraints
- LogoAlignmentView.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- 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)¶
- setEditMode(enable)¶
Enable or disable edit mode.
- Parameters
enable (bool) – Whether to enable edit mode.
- 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)¶
- LogoAlignmentView.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setFrameRect(self, QRect)¶
- setFrameShadow(self, QFrame.Shadow)¶
- setFrameShape(self, QFrame.Shape)¶
- setFrameStyle(self, int)¶
- setGeometry(self, QRect)¶
- LogoAlignmentView.setGeometry(self, int, int, int, int) -> None
- 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])¶
- setIsWorkspace(is_workspace)¶
- setItemDelegate(self, QAbstractItemDelegate)¶
- setItemDelegateForColumn(self, int, QAbstractItemDelegate)¶
- setItemDelegateForRow(self, int, QAbstractItemDelegate)¶
- setItemsExpandable(self, bool)¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLigandConstraintsShown(enable)¶
- setLightMode(enabled)¶
Enable or disable light mode on all delegates
- setLineWidth(self, int)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- LogoAlignmentView.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMenuModel(model)¶
- setMidLineWidth(self, int)¶
- setMinimumHeight(self, int)¶
- LogoAlignmentView.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setModel(model)¶
Set the model and ensure that changes to the model columns trigger updates in the delegates
See Qt documentation for argument documentation
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setResOutlinesShown(enable)¶
- 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)¶
- setSequenceExpansionState(sequences, expand=True)¶
Set the expansion state for the given sequences.
- Parameters
sequences (list(Sequence)) – Sequences to expand or collapse.
expand (bool) – Whether to expand the sequences
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- setSizeAdjustPolicy(self, QAbstractScrollArea.SizeAdjustPolicy)¶
- LogoAlignmentView.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setSortingEnabled(self, bool)¶
- setState(self, QAbstractItemView.State)¶
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- LogoAlignmentView.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)¶
- LogoAlignmentView.setViewportMargins(self, int, int, int, int)
- setViewportMargins(self, QMargins) None ¶
- 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)¶
- showMessageBox(*args, **kwargs)¶
Shows a popup message box. For parameter documentation see
messagebox.MessageBox
.
- 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(row)¶
Get the height of a top-level row.
Note that you probably want to use
indexRowSizeHint
instead of this method, as that method can determine the height of any row, not just a top-level one. This is still called by QTreeView::scrollContentsBy, though, so we reimplement it here to avoid the delay that would be caused by QTreeView::sizeHintForRow, which calls delegate.sizeHint for every cell in the row.See QAbstractItemView documentation for additional method documentation.
- 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 ¶
- unanchorSelection()¶
Test that the view has correct behavior for residue unanchoring:
- If only non-reference residues are selected, unanchor
them.
- If any reference residues (or a mix of reference and
non-reference residues) are selected, unanchor all non-reference residues aligned to the selected reference residues.
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- uniformRowHeights(self) bool ¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QModelIndex) None
- 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 ¶
- warning(*args, **kwargs)¶
Shows a popup warning message box. For parameter documentation see
messagebox.MessageBox
.
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.BaseFixedColumnsView(alignment_view, parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.SeqExpansionViewMixin
,schrodinger.application.msv.gui.view.CtrlClickToggleMixin
,PyQt5.QtWidgets.QTreeView
Class for fixed column views to be shown alongside an alignment view.
- Variables
CACHE_SIGNALS (list(str)) – Model signals for caching callbacks
- SELECTION_ROLE = 288¶
- CACHE_SIGNALS = ['rowsInserted', 'rowsRemoved', 'rowsMoved', 'columnsInserted', 'columnsRemoved', 'columnsMoved', 'modelReset', 'layoutChanged', 'dataChanged', 'textSizeChanged', 'rowHeightChanged']¶
- __init__(alignment_view, parent=None)[source]¶
- Parameters
alignment_view (
ProteinAlignmentView
) – The main alignment view
- setModel(model)[source]¶
Connects signals from model with the view.
See Qt documentation for argument documentation
- indexRowSizeHint(index)[source]¶
See
AbstractAlignmentView.indexRowSizeHint
documentation for method documentation.
- sizeHintForRow(row)[source]¶
See
AbstractAlignmentView.sizeHintForRow
documentation for method documentation.
- paintEvent(event)[source]¶
We override this method to speed up painting. We calculate what columns need to be painted and various coordinates, which get used in
drawRow
below.See Qt documentation for additional method documentation.
- drawRow(painter, option, index)[source]¶
This view fetches data and paints entire rows at once instead of fetching data for and painting each cell separately. This gives us a dramatic improvement in scrolling frame rate.
See Qt documentation for additional method documentation.
- mousePressEvent(event)[source]¶
Manually handle mouse press events because the internal code that expands and collapses groups was not correctly detecting the click on Windows. :param event: the mouse event that occured :type event: QtGui.QMouseEvent
- mouseReleaseEvent(event)[source]¶
Ignore event if release is over group expansion arrow so it doesnt negate the effect of mousePressEvent. Typically, whether expansion happens on mouse press or release is platform dependent, so by doing this we are normalizing it to only happen on mouse press.
- isGroupIndicatorIndex(index)[source]¶
Get whether or not the given index corresponds to the cell used for the group expansion indicator
- 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
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode¶
Bases:
int
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition¶
Bases:
int
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger¶
Bases:
int
- class EditTriggers¶
- class EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) None
- class EditTriggers(QAbstractItemView.EditTriggers) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- 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
- 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
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- class ScrollHint¶
Bases:
int
- class ScrollMode¶
Bases:
int
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior¶
Bases:
int
- class SelectionMode¶
Bases:
int
- class Shadow¶
Bases:
int
- Shadow_Mask = 240¶
- class Shape¶
Bases:
int
- Shape_Mask = 15¶
- SingleSelection = 1¶
- class SizeAdjustPolicy¶
Bases:
int
- class State¶
Bases:
int
- class StyleMask¶
Bases:
int
- 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 ¶
- BaseFixedColumnsView.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 ¶
- BaseFixedColumnsView.columnCountChanged(self, int, int)
- columnMoved(self)¶
- BaseFixedColumnsView.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: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- BaseFixedColumnsView.currentChanged(self, QModelIndex, QModelIndex)
- currentIndex(self) QModelIndex ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- BaseFixedColumnsView.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(QMetaObject.Connection) bool ¶
- disconnect(self) None
- 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)¶
- 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) PyQt5.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(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- 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]) None
- 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 ¶
- 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 ¶
- BaseFixedColumnsView.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 ¶
- minimumWidth(self) int ¶
- model(self) QAbstractItemModel ¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- BaseFixedColumnsView.move(self, int, int) -> None
- 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 ¶
- 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.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- BaseFixedColumnsView.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetIndentation(self)¶
- resetVerticalScrollMode(self)¶
- resize(self, QSize)¶
- BaseFixedColumnsView.resize(self, int, int) -> None
- resizeColumnToContents(self, int)¶
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- rootIndex(self) QModelIndex ¶
- rootIsDecorated(self) bool ¶
- rowHeight(self, QModelIndex) int ¶
- BaseFixedColumnsView.rowsAboutToBeRemoved(self, QModelIndex, int, int)
- BaseFixedColumnsView.rowsInserted(self, QModelIndex, int, int)
- BaseFixedColumnsView.rowsRemoved(self, QModelIndex, int, int)
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- BaseFixedColumnsView.scroll(self, int, int)
- BaseFixedColumnsView.scroll(self, int, int, QRect) -> None
- scrollBarWidgets(self, Union[Qt.Alignment, Qt.AlignmentFlag]) List[QWidget] ¶
- BaseFixedColumnsView.scrollContentsBy(self, int, int)
- BaseFixedColumnsView.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 ¶
- BaseFixedColumnsView.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)¶
- BaseFixedColumnsView.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- setColumnHidden(self, int, bool)¶
- BaseFixedColumnsView.setColumnWidth(self, int, int)
- BaseFixedColumnsView.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- 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)¶
- BaseFixedColumnsView.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setFrameRect(self, QRect)¶
- setFrameShadow(self, QFrame.Shadow)¶
- setFrameShape(self, QFrame.Shape)¶
- setFrameStyle(self, int)¶
- setGeometry(self, QRect)¶
- BaseFixedColumnsView.setGeometry(self, int, int, int, int) -> None
- 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) None
- setMaximumHeight(self, int)¶
- BaseFixedColumnsView.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMidLineWidth(self, int)¶
- setMinimumHeight(self, int)¶
- BaseFixedColumnsView.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- 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)¶
- BaseFixedColumnsView.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setSortingEnabled(self, bool)¶
- setState(self, QAbstractItemView.State)¶
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- BaseFixedColumnsView.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)¶
- BaseFixedColumnsView.setViewportMargins(self, int, int, int, int)
- setViewportMargins(self, QMargins) None ¶
- 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 ¶
- sizeHintForColumn(self, int) int ¶
- sizeHintForIndex(self, QModelIndex) QSize ¶
- 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) None
- 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) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.AnnotationContextMenu(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.StyledQMenu
Class for annotation menus in the info section of the view
- Variables
annotation – The right-clicked annotation type
clearRequested – Signal emitted to turn off the selected annotations
clearConstraintsRequested – Signal emitted to turn off pairwise constraints
deleteFromAllRequested – Signal emitted to delete the selected non-toggleable annotations (e.g. pfam, predictions)
- clearRequested¶
- clearConstraintsRequested¶
- deleteFromAllRequested¶
- selectAssociatedResiduesRequested¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- AnnotationContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- AnnotationContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) QPoint ¶
- 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)¶
- AnnotationContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- AnnotationContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- AnnotationContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- saveGeometry(self) QByteArray ¶
- AnnotationContextMenu.scroll(self, int, int)
- AnnotationContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- AnnotationContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- AnnotationContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- AnnotationContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- AnnotationContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- AnnotationContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- AnnotationContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- AnnotationContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- AnnotationContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- AnnotationContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.AlignmentSetContextMenu(parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.StyledQMenu
- selectRequested¶
- deselectRequested¶
- renameRequested¶
- dissolveRequested¶
- gatherRequested¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- aboutToHide¶
aboutToHide(self) [signal]
- aboutToShow¶
aboutToShow(self) [signal]
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionAt(self, QPoint) QAction ¶
- actionEvent(self, QActionEvent)¶
- actionGeometry(self, QAction) QRect ¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activeAction(self) QAction ¶
- addAction(self, QAction)¶
- addAction(self, str) QAction
- addAction(self, QIcon, str) QAction
- addAction(self, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addAction(self, QIcon, str, PYQT_SLOT, shortcut: Union[QKeySequence, QKeySequence.StandardKey, str, int] = 0) QAction
- addActions(self, Iterable[QAction])¶
- addMenu(self, QMenu) QAction ¶
- addMenu(self, str) QMenu
- addMenu(self, QIcon, str) QMenu
- addSection(self, str) QAction ¶
- addSection(self, QIcon, str) QAction
- addSeparator(self) QAction ¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- AlignmentSetContextMenu.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- columnCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- defaultAction(self) QAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- exec(self) QAction ¶
- exec(self, QPoint, action: QAction = None) QAction
- exec(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- exec_(self) QAction ¶
- exec_(self, QPoint, action: QAction = None) QAction
- exec_(Iterable[QAction], QPoint, at: QAction = None, parent: QWidget = None) QAction
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- hideTearOffMenu(self)¶
- hovered¶
hovered(self, QAction) [signal]
- icon(self) QIcon ¶
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionMenuItem, QAction)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- AlignmentSetContextMenu.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertMenu(self, QAction, QMenu) QAction ¶
- insertSection(self, QAction, str) QAction ¶
- insertSection(self, QAction, QIcon, str) QAction
- insertSeparator(self, QAction) QAction ¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEmpty(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isTearOffEnabled(self) bool ¶
- isTearOffMenuVisible(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) QPoint ¶
- 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)¶
- AlignmentSetContextMenu.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- popup(self, QPoint, action: QAction = None)¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- AlignmentSetContextMenu.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- AlignmentSetContextMenu.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- saveGeometry(self) QByteArray ¶
- AlignmentSetContextMenu.scroll(self, int, int)
- AlignmentSetContextMenu.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- separatorsCollapsible(self) bool ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setActiveAction(self, QAction)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- AlignmentSetContextMenu.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- AlignmentSetContextMenu.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultAction(self, QAction)¶
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- AlignmentSetContextMenu.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- AlignmentSetContextMenu.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setIcon(self, QIcon)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- AlignmentSetContextMenu.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- AlignmentSetContextMenu.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setNoReplayFor(self, QWidget)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setSeparatorsCollapsible(self, bool)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- AlignmentSetContextMenu.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- AlignmentSetContextMenu.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTearOffEnabled(self, bool)¶
- setTitle(self, str)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setToolTipsVisible(self, bool)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, 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)¶
- showTearOffMenu(self)¶
- showTearOffMenu(self, QPoint) None
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <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)¶
- title(self) str ¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- toolTipsVisible(self) bool ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- triggered¶
triggered(self, QAction) [signal]
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- AlignmentSetContextMenu.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.AlignmentMetricsView(*args, **kwargs)[source]¶
Bases:
schrodinger.application.msv.gui.view.BaseFixedColumnsView
View for the fixed columns to the right of the alignment that includes sequence identity and homology.
- sortRequested¶
- __init__(*args, **kwargs)[source]¶
- Parameters
alignment_view (
ProteinAlignmentView
) – The main alignment view
- setModel(model)[source]¶
Connects signals from model with the view.
See Qt documentation for argument documentation
- AboveItem = 1¶
- AdjustIgnored = 0¶
- AdjustToContents = 2¶
- AdjustToContentsOnFirstShow = 1¶
- AllEditTriggers = 31¶
- AnimatingState = 6¶
- AnyKeyPressed = 16¶
- BelowItem = 2¶
- Box = 1¶
- CACHE_SIGNALS = ['rowsInserted', 'rowsRemoved', 'rowsMoved', 'columnsInserted', 'columnsRemoved', 'columnsMoved', 'modelReset', 'layoutChanged', 'dataChanged', 'textSizeChanged', 'rowHeightChanged']¶
- CollapsingState = 5¶
- ContiguousSelection = 4¶
- CurrentChanged = 1¶
- class CursorAction¶
Bases:
int
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode¶
Bases:
int
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition¶
Bases:
int
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger¶
Bases:
int
- class EditTriggers¶
- class EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) None
- class EditTriggers(QAbstractItemView.EditTriggers) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- 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
- 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
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- SELECTION_ROLE = 288¶
- class ScrollHint¶
Bases:
int
- class ScrollMode¶
Bases:
int
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior¶
Bases:
int
- class SelectionMode¶
Bases:
int
- class Shadow¶
Bases:
int
- Shadow_Mask = 240¶
- class Shape¶
Bases:
int
- Shape_Mask = 15¶
- SingleSelection = 1¶
- class SizeAdjustPolicy¶
Bases:
int
- class State¶
Bases:
int
- class StyleMask¶
Bases:
int
- 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 ¶
- AlignmentMetricsView.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearCache()¶
- 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 ¶
- AlignmentMetricsView.columnCountChanged(self, int, int)
- columnMoved(self)¶
- AlignmentMetricsView.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 ¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- cornerWidget(self) QWidget ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- AlignmentMetricsView.currentChanged(self, QModelIndex, QModelIndex)
- currentIndex(self) QModelIndex ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- AlignmentMetricsView.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(QMetaObject.Connection) bool ¶
- disconnect(self) None
- 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(painter, option, index)¶
This view fetches data and paints entire rows at once instead of fetching data for and painting each cell separately. This gives us a dramatic improvement in scrolling frame rate.
See Qt documentation for additional method documentation.
- 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) PyQt5.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(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- 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]) None
- 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(index)¶
See
AbstractAlignmentView.indexRowSizeHint
documentation for method documentation.
- 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 ¶
- AlignmentMetricsView.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 ¶
- isGroupIndicatorIndex(index)¶
Get whether or not the given index corresponds to the cell used for the group expansion indicator
- 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(event)¶
Manually handle mouse press events because the internal code that expands and collapses groups was not correctly detecting the click on Windows. :param event: the mouse event that occured :type event: QtGui.QMouseEvent
- mouseReleaseEvent(event)¶
Ignore event if release is over group expansion arrow so it doesnt negate the effect of mousePressEvent. Typically, whether expansion happens on mouse press or release is platform dependent, so by doing this we are normalizing it to only happen on mouse press.
- move(self, QPoint)¶
- AlignmentMetricsView.move(self, int, int) -> None
- 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(event)¶
We override this method to speed up painting. We calculate what columns need to be painted and various coordinates, which get used in
drawRow
below.See Qt documentation for additional method documentation.
- 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.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- AlignmentMetricsView.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetIndentation(self)¶
- resetVerticalScrollMode(self)¶
- resize(self, QSize)¶
- AlignmentMetricsView.resize(self, int, int) -> None
- resizeColumnToContents(self, int)¶
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- rootIndex(self) QModelIndex ¶
- rootIsDecorated(self) bool ¶
- rowHeight(self, QModelIndex) int ¶
- AlignmentMetricsView.rowsAboutToBeRemoved(self, QModelIndex, int, int)
- AlignmentMetricsView.rowsInserted(self, QModelIndex, int, int)
- AlignmentMetricsView.rowsRemoved(self, QModelIndex, int, int)
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- AlignmentMetricsView.scroll(self, int, int)
- AlignmentMetricsView.scroll(self, int, int, QRect) -> None
- scrollBarWidgets(self, Union[Qt.Alignment, Qt.AlignmentFlag]) List[QWidget] ¶
- AlignmentMetricsView.scrollContentsBy(self, int, int)
- AlignmentMetricsView.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 ¶
- AlignmentMetricsView.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)¶
- AlignmentMetricsView.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- setColumnHidden(self, int, bool)¶
- AlignmentMetricsView.setColumnWidth(self, int, int)
- AlignmentMetricsView.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- 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)¶
- AlignmentMetricsView.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setFrameRect(self, QRect)¶
- setFrameShadow(self, QFrame.Shadow)¶
- setFrameShape(self, QFrame.Shape)¶
- setFrameStyle(self, int)¶
- setGeometry(self, QRect)¶
- AlignmentMetricsView.setGeometry(self, int, int, int, int) -> None
- 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)¶
- setLightMode(enabled)¶
Sets light mode on the delegate
- setLineWidth(self, int)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- AlignmentMetricsView.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMidLineWidth(self, int)¶
- setMinimumHeight(self, int)¶
- AlignmentMetricsView.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- 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)¶
- AlignmentMetricsView.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setSortingEnabled(self, bool)¶
- setState(self, QAbstractItemView.State)¶
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- AlignmentMetricsView.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)¶
- AlignmentMetricsView.setViewportMargins(self, int, int, int, int)
- setViewportMargins(self, QMargins) None ¶
- 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(row)¶
See
AbstractAlignmentView.sizeHintForRow
documentation for method documentation.
- 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) None
- 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) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.application.msv.gui.view.AlignmentInfoView(alignment_view, parent=None)[source]¶
Bases:
schrodinger.application.msv.gui.view.BaseFixedColumnsView
View for the fixed columns to the left of the alignment that includes the structure title.
This view allows the user to drag-and-drop selected rows to rearrange the order of sequences in the alignment. However, the standard QTreeView drag-and-drop implementation isn’t configurable enough for our needs, so this class reimplements drag-and-drop. See the note in the
_canDrop
docstring for additional information.- Variables
ADJUST_TIMER_SIGNALS (list(str)) – list of model signals to be connected to start the column width adjustment timer.
DRAG_IMG_SCALE (float) – The scale for the drag-and-drop image. A value of 1 means that the dragged rows will be drawn the same size that they appear in the table.
DRAG_IMG_OPACITY (float) – The opacity for the drag-and-drop image.
setAsReferenceSeq – Signal emitted to indicate that the selected sequence should be set as the reference sequence
renameSeqClicked – Signal emitted to indicate that the selected sequence should be renamed
findHomologsClicked – Signal emitted to indicate that the selected sequence should be used for a BLAST query
findInListRequested – Signal to request find sequence in list
mvSeqsClicked – Signal emitted to indicate that the selected sequences should be moved. Emits a list of the selected
sequence.Sequence
objects and theviewconstants.Direction
. We useobject
as the param type because of a known issue withenum_speedup
.rmSeqsClicked – Signal emitted to indicate that the selected sequence(s) should be deleted
clearAnnotationRequested – Signal emitted to turn off the selected annotations
deleteFromAllRequested – Signal emitted to delete the selected non-toggleable annotations (e.g. pfam, predictions)
clearConstraintsRequested – Signal emitted to turn off pairwise constraints
selectRowResidues – Signal emitted to indicate that all residues of all selected sequences should be selected in the alignment.
sortRequested – Signal emitted to sort the sequences in ascending or descending order by a given metric. Emits an object as the metric to sort by ‘viewconstants.SortTypes’ Emits a boolean for whether to sort in reverse or not ‘bool’
getPdbClicked – Signal emitted to indicate that the GetPDB dialog should open
deselectResiduesClicked – Signal emitted to indicate that the selection should be cleared
- ADJUST_TIMER_SIGNALS = ['modelReset', 'rowsInserted', 'rowsRemoved', 'layoutChanged', 'textSizeChanged', 'rowHeightChanged']¶
- SELECTION_ROLE = 288¶
- DRAG_IMG_SCALE = 0.75¶
- DRAG_IMG_OPACITY = 0.5¶
- clearAnnotationRequested¶
- clearConstraintsRequested¶
- deleteFromAllRequested¶
- deselectResiduesClicked¶
- duplicateAsRefSeqRequested¶
- duplicateAtBottomRequested¶
- duplicateAtTopRequested¶
- duplicateInPlaceRequested¶
- duplicateIntoNewTabRequested¶
- findHomologsClicked¶
- findInListRequested¶
- mvSeqsClicked¶
- renameSeqClicked¶
- renameAlnSetClicked¶
- selectAlnSetClicked¶
- deselectAlnSetClicked¶
- dissolveAlnSetClicked¶
- gatherAlnSetsClicked¶
- rmSeqsClicked¶
- exportSequencesRequested¶
- hideSeqsRequested¶
- selectRowResidues¶
- setAsReferenceSeq¶
- sortRequested¶
- getPdbStClicked¶
- unlinkFromEntryRequested¶
- linkToEntryRequested¶
- alnSetCreateRequested¶
- alnSetAddRequested¶
- alnSetRemoveRequested¶
- translateDnaRnaRequested¶
- __init__(alignment_view, parent=None)[source]¶
- Parameters
alignment_view (
ProteinAlignmentView
) – The main alignment view
- setModel(model)[source]¶
Connects signals from model with the view.
See Qt documentation for argument documentation
- selectionCommand(index, event=None)[source]¶
See Qt documentation for method documentation. We modify standard behavior here in two cases:
Prevent selection changes on right mouse button events on already selected rows since they show the context menu.
If the user clicks on an already selected row, we don’t know if they want to start a drag-and-drop operation or select-only the clicked row. As such, we return NoUpdate. QAbstractItemModel handles NoUpdate on mouse press as a special case and calls this method again to potentially change selection on mouse release. When that happens, we select-only the row iff drag-and-drop wasn’t started.
- mousePressEvent(event)[source]¶
See Qt documentation for method documentation. We modify standard behavior here in two cases:
On right-clicks, we show the appropriate context menu.
On left-clicks, we check to see if drag-and-drop is possible and, if so, update self._drag_allowed and self._mouse_press_pos.
- mouseMoveEvent(event)[source]¶
See Qt documentation for method documentation. Since our selection model doesn’t store the selection (see
AbstractSelectionProxyModel
),QAbstractItemModel::mouseMoveEvent
always thinks that there’s no selection and will never start drag-and-drop. To get around this, we manually set the state toDraggingState
when appropriate. (Note that DraggingState doesn’t actually start a drag-and-drop operation. Instead, drag-and-drop starts when:- state is already set to `DraggingState` - the mouse has moved at least `QApplication::startDragDistance()` pixels
- mouseReleaseEvent(event)[source]¶
Ignore event if release is over group expansion arrow so it doesnt negate the effect of mousePressEvent. Typically, whether expansion happens on mouse press or release is platform dependent, so by doing this we are normalizing it to only happen on mouse press.
- resizeEvent(event)[source]¶
Clear the text cache when the view is resized (will re-calculate eliding).
- AboveItem = 1¶
- AdjustIgnored = 0¶
- AdjustToContents = 2¶
- AdjustToContentsOnFirstShow = 1¶
- AllEditTriggers = 31¶
- AnimatingState = 6¶
- AnyKeyPressed = 16¶
- BelowItem = 2¶
- Box = 1¶
- CACHE_SIGNALS = ['rowsInserted', 'rowsRemoved', 'rowsMoved', 'columnsInserted', 'columnsRemoved', 'columnsMoved', 'modelReset', 'layoutChanged', 'dataChanged', 'textSizeChanged', 'rowHeightChanged']¶
- CollapsingState = 5¶
- ContiguousSelection = 4¶
- CurrentChanged = 1¶
- class CursorAction¶
Bases:
int
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode¶
Bases:
int
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition¶
Bases:
int
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger¶
Bases:
int
- class EditTriggers¶
- class EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) None
- class EditTriggers(QAbstractItemView.EditTriggers) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- 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
- 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
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- class ScrollHint¶
Bases:
int
- class ScrollMode¶
Bases:
int
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior¶
Bases:
int
- class SelectionMode¶
Bases:
int
- class Shadow¶
Bases:
int
- Shadow_Mask = 240¶
- class Shape¶
Bases:
int
- Shape_Mask = 15¶
- SingleSelection = 1¶
- class SizeAdjustPolicy¶
Bases:
int
- class State¶
Bases:
int
- class StyleMask¶
Bases:
int
- 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 ¶
- AlignmentInfoView.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearCache()¶
- 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 ¶
- AlignmentInfoView.columnCountChanged(self, int, int)
- columnMoved(self)¶
- AlignmentInfoView.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 ¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- cornerWidget(self) QWidget ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- AlignmentInfoView.currentChanged(self, QModelIndex, QModelIndex)
- currentIndex(self) QModelIndex ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- AlignmentInfoView.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(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- doubleClicked¶
doubleClicked(self, QModelIndex) [signal]
- dragDropMode(self) QAbstractItemView.DragDropMode ¶
- dragDropOverwriteMode(self) bool ¶
- dragEnabled(self) bool ¶
- drawBranches(self, QPainter, QRect, QModelIndex)¶
- drawFrame(self, QPainter)¶
- drawRow(painter, option, index)¶
This view fetches data and paints entire rows at once instead of fetching data for and painting each cell separately. This gives us a dramatic improvement in scrolling frame rate.
See Qt documentation for additional method documentation.
- drawTree(self, QPainter, QRegion)¶
- 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) PyQt5.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(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- 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]) None
- 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(index)¶
See
AbstractAlignmentView.indexRowSizeHint
documentation for method documentation.
- 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 ¶
- AlignmentInfoView.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 ¶
- isGroupIndicatorIndex(index)¶
Get whether or not the given index corresponds to the cell used for the group expansion indicator
- 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 ¶
- 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 ¶
- mouseGrabber() QWidget ¶
- move(self, QPoint)¶
- AlignmentInfoView.move(self, int, int) -> None
- 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(event)¶
We override this method to speed up painting. We calculate what columns need to be painted and various coordinates, which get used in
drawRow
below.See Qt documentation for additional method documentation.
- 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.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- AlignmentInfoView.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetIndentation(self)¶
- resetVerticalScrollMode(self)¶
- resize(self, QSize)¶
- AlignmentInfoView.resize(self, int, int) -> None
- resizeColumnToContents(self, int)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- rootIndex(self) QModelIndex ¶
- rootIsDecorated(self) bool ¶
- rowHeight(self, QModelIndex) int ¶
- AlignmentInfoView.rowsAboutToBeRemoved(self, QModelIndex, int, int)
- AlignmentInfoView.rowsInserted(self, QModelIndex, int, int)
- AlignmentInfoView.rowsRemoved(self, QModelIndex, int, int)
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- AlignmentInfoView.scroll(self, int, int)
- AlignmentInfoView.scroll(self, int, int, QRect) -> None
- scrollBarWidgets(self, Union[Qt.Alignment, Qt.AlignmentFlag]) List[QWidget] ¶
- AlignmentInfoView.scrollContentsBy(self, int, int)
- AlignmentInfoView.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 ¶
- AlignmentInfoView.selectionChanged(self, QItemSelection, QItemSelection)
- 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)¶
- AlignmentInfoView.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- setColumnHidden(self, int, bool)¶
- AlignmentInfoView.setColumnWidth(self, int, int)
- AlignmentInfoView.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- 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)¶
- AlignmentInfoView.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setFrameRect(self, QRect)¶
- setFrameShadow(self, QFrame.Shadow)¶
- setFrameShape(self, QFrame.Shape)¶
- setFrameStyle(self, int)¶
- setGeometry(self, QRect)¶
- AlignmentInfoView.setGeometry(self, int, int, int, int) -> None
- 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)¶
- setLightMode(enabled)¶
Sets light mode on the delegate
- setLineWidth(self, int)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- AlignmentInfoView.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMidLineWidth(self, int)¶
- setMinimumHeight(self, int)¶
- AlignmentInfoView.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- 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)¶
- AlignmentInfoView.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setSortingEnabled(self, bool)¶
- setState(self, QAbstractItemView.State)¶
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- AlignmentInfoView.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)¶
- AlignmentInfoView.setViewportMargins(self, int, int, int, int)
- setViewportMargins(self, QMargins) None ¶
- 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(row)¶
See
AbstractAlignmentView.sizeHintForRow
documentation for method documentation.
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- sortByColumn(self, int, Qt.SortOrder)¶
- stackUnder(self, QWidget)¶
- 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) None
- 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) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- exception schrodinger.application.msv.gui.view.NoDragRowsError[source]¶
Bases:
Exception
An exception raised when the user tries to drag-and-drop but there are no selected rows. This should never happen, but it does. See
AlignmentInfoView.startDrag
.- __init__(*args, **kwargs)¶
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- class schrodinger.application.msv.gui.view.EditorDelegate(parent)[source]¶
Bases:
PyQt5.QtWidgets.QStyledItemDelegate
A delegate for editing residues. This delegate is not involved in painting, as all painting is handled by the
row_delegates
module.- Variables
GAP (str) – The gap character to pass to the model.
INSERTION_EDITOR_WIDTH (int or float) – How wide (in number of cells) we should make the insertion editor.
KEY_TO_ADJACENT (dict(Qt.Key, Adjacent)) – A mapping of Qt key constants to
Adjacent
constants.moveChangeEditorRequested (QtCore.pyqtSignal) – A signal emitted when the user has requested that the change residue editor be moved to a new cell. Emitted with an
Adjacent
value corresponding to the direction to move the editor.
- GAP = '~'¶
- INSERTION_EDITOR_WIDTH = 5¶
- KEY_TO_ADJACENT = {16777234: Adjacent.Left, 16777235: Adjacent.Up, 16777236: Adjacent.Right, 16777237: Adjacent.Down}¶
- moveChangeEditorRequested¶
- __init__(parent)[source]¶
- Parameters
parent (AbstractAlignmentView) – Parent view. Must be
AbstractAlignmentView
because setModelData calls parent methods.
- setEditorType(mode, num_replacement_res=None)[source]¶
Specify what type of editor should be created the next time we edit a cell.
- Parameters
mode (_EditorType) – What type of editor to create.
num_replacement_res (int or None) – If
mode
is_EditorType.Replacement
, how many cells wide the editor should be. Otherwise, should beNone
.
- EditNextItem = 1¶
- EditPreviousItem = 2¶
- class EndEditHint¶
Bases:
int
- 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]
- connectNotify(self, QMetaMethod)¶
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- destroyEditor(self, QWidget, QModelIndex)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- 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)[source]¶
Handle up, down, left, and right keypresses in the editor. See Qt documentation for additional method documentation.
Note that QAbstractItemView automatically installs the delegate as an event filter for the editor, which will cause this function to be called when required.
- 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 ¶
- 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 ¶