schrodinger.application.bioluminate.bwidgets module¶
Collection of widgets common to multiple BioLuminate panels.
Copyright (c) Schrodinger, LLC. All rights reserved
- class schrodinger.application.bioluminate.bwidgets.ImportWidget(parent)¶
Bases:
PyQt6.QtWidgets.QWidget- __init__(parent)¶
Construct widget.
- parent(self) QObject¶
- asGrid()¶
- createImportWidget(button_title, action_params=None, objname=None, action_order=None, icon=':/schrodinger/application/bioluminate/actions/icons_dir/msv_open_file')¶
Returns a list of widgets that comprise an
ImportWidget.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- acceptDrops(self) bool¶
- accessibleDescription(self) str¶
- accessibleName(self) str¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction]¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool¶
- backgroundRole(self) QPalette.ColorRole¶
- baseSize(self) QSize¶
- blockSignals(self, b: bool) bool¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject]¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins¶
- contentsRect(self) QRect¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget¶
- cursor(self) QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- depth(self) int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int¶
- devicePixelRatio(self) float¶
- devicePixelRatioF(self) float¶
- devicePixelRatioFScale() float¶
- disconnect(a0: QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray]¶
- effectiveWinId(self) PyQt6.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool¶
- eventFilter(self, a0: QObject, a1: QEvent) bool¶
- find(a0: PyQt6.sip.voidptr) QWidget¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool¶
- focusNextPrevChild(self, next: bool) bool¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy¶
- focusPreviousChild(self) bool¶
- focusProxy(self) QWidget¶
- focusWidget(self) QWidget¶
- font(self) QFont¶
- fontInfo(self) QFontInfo¶
- fontMetrics(self) QFontMetrics¶
- foregroundRole(self) QPalette.ColorRole¶
- frameGeometry(self) QRect¶
- frameSize(self) QSize¶
- geometry(self) QRect¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int¶
- graphicsEffect(self) QGraphicsEffect¶
- graphicsProxyWidget(self) QGraphicsProxyWidget¶
- hasFocus(self) bool¶
- hasHeightForWidth(self) bool¶
- hasMouseTracking(self) bool¶
- hasTabletTracking(self) bool¶
- height(self) int¶
- heightForWidth(self, a0: int) int¶
- heightMM(self) int¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- inherits(self, classname: str) bool¶
- initPainter(self, painter: QPainter)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool¶
- isAncestorOf(self, child: QWidget) bool¶
- isEnabled(self) bool¶
- isEnabledTo(self, a0: QWidget) bool¶
- isFullScreen(self) bool¶
- isHidden(self) bool¶
- isLeftToRight(self) bool¶
- isMaximized(self) bool¶
- isMinimized(self) bool¶
- isModal(self) bool¶
- isRightToLeft(self) bool¶
- isSignalConnected(self, signal: QMetaMethod) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, a0: QWidget) bool¶
- isWidgetType(self) bool¶
- isWindow(self) bool¶
- isWindowModified(self) bool¶
- isWindowType(self) bool¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget¶
- killTimer(self, id: int)¶
- layout(self) QLayout¶
- layoutDirection(self) Qt.LayoutDirection¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale¶
- logicalDpiX(self) int¶
- logicalDpiY(self) int¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion¶
- maximumHeight(self) int¶
- maximumSize(self) QSize¶
- maximumWidth(self) int¶
- metaObject(self) QMetaObject¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int¶
- minimumHeight(self) int¶
- minimumSize(self) QSize¶
- minimumSizeHint(self) QSize¶
- minimumWidth(self) int¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool¶
- palette(self) QPalette¶
- parentWidget(self) QWidget¶
- physicalDpiX(self) int¶
- physicalDpiY(self) int¶
- pos(self) QPoint¶
- previousInFocusChain(self) QWidget¶
- property(self, name: str) Any¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int¶
- rect(self) QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool¶
- size(self) QSize¶
- sizeHint(self) QSize¶
- sizeIncrement(self) QSize¶
- sizePolicy(self) QSizePolicy¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str¶
- style(self) QStyle¶
- styleSheet(self) str¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool¶
- thread(self) QThread¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str¶
- toolTipDuration(self) int¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str¶
- underMouse(self) bool¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶
- class schrodinger.application.bioluminate.bwidgets.SequenceFileDialog(parent=None, add_options=True, **kwargs)¶
Bases:
schrodinger.ui.qt.filedialog.FileDialogCustom class to handle opening files related to sequences.
- CAPTION = 'Import Sequences'¶
- DEFAULT_FILTERS = 'FASTA (*.fasta *.fst *.fas *.seq);;Maestro (*.mae *.maegz *.mae.gz );;PDB (*.pdb *.ent);;SWISSPROT (*.sw *.sp *.swiss *.swissprot);;GCG (*.gcg *.msf);;EMBL (*.embl *.emb);;PIR (*.pir);;All Files (*.*)'¶
The default MSV filters.
- REFERENCE_FILTERS = 'Common (*.fasta *.fst *.fas *.seq *.mae *.maegz *.mae.gz *.pdb *.ent *.txt);;FASTA (*.fasta *.fst *.fas *.seq);;PDB (*.pdb *.ent);;Maestro (*.mae *.maegz *.mae.gz );;All Files (*.*)'¶
Filters for reference sequences in homology model building.
- STRUCTURE_FILTERS = 'Structure files (*.mae *.maegz *.mae.gz *.pdb *.ent);;Maestro (*.mae *.maegz *.mae.gz );;PDB (*.pdb *.ent)'¶
Filters that have structures associated with them.
- __init__(parent=None, add_options=True, **kwargs)¶
- Parameters
parent (qwidget) – the widget over which this dialog should be shown. If not given, the Dialog will be placed by PyQt.
caption (str) – the name that appears in the titlebar of this dialog. If not given the title will be the default PyQt caption.
directory (str) – the initial directory displayed in this dialog, default is the current directory.
filter (str) – the list of filters that can be applied to this directory the format is
"Filetype1 (*.ex1);;Filetype2 (*.ex2 *.ex3)". Default is all files.custom_sidebar (bool) – True if the Schrodinger sidebar should be used, False if the default PyQt sidebar should be used.
sidebar_links (dict) – Use to create extra links in the left-hand sidebar of the dialog. the keys of the dictionary are a unique identifier for each link (note that ‘home’ and ‘working’ are already used), and the values are tuples of the form (path, name) where path and name are str, path indicates the path the sidebar link points to, and name is the name displayed for the link.
- addOptions()¶
Adds three widgets on the bottom of the dialog window that allow users to optionally:
Align to query sequence
Replace matching sequences
Incorporate PDB files into Maestro
- getOpenFileName(multiple=False)¶
Convenience function that returns a single filename as selected by the user
The base class
base_file_dialogdocuments the keyword arguments for this class.- Return type
str or None
- Returns
full pathname of the file selected by the user, or None if Cancel was pressed
- static get_open_file_names(parent=None, add_options=True, multiple=True, **kwargs)¶
- static get_open_file_name(parent=None, add_options=True, **kwargs)¶
- Accept = 3¶
- AcceptOpen = 0¶
- AcceptSave = 1¶
- Accepted = 1¶
- AnyFile = 0¶
- Detail = 0¶
- class DialogLabel(value)¶
Bases:
enum.EnumAn enumeration.
- LookIn = 0¶
- FileName = 1¶
- FileType = 2¶
- Accept = 3¶
- Reject = 4¶
- Directory = 2¶
- DontConfirmOverwrite = 4¶
- DontResolveSymlinks = 2¶
- DontUseCustomDirectoryIcons = 64¶
- DontUseNativeDialog = 8¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- ExistingFile = 1¶
- ExistingFiles = 3¶
- class FileMode(value)¶
Bases:
enum.EnumAn enumeration.
- AnyFile = 0¶
- ExistingFile = 1¶
- Directory = 2¶
- ExistingFiles = 3¶
- FileName = 1¶
- FileType = 2¶
- HideNameFilterDetails = 32¶
- IgnoreMask = 4¶
- List = 1¶
- LookIn = 0¶
- class Option(value)¶
Bases:
enum.FlagAn enumeration.
- ShowDirsOnly = 1¶
- DontResolveSymlinks = 2¶
- DontConfirmOverwrite = 4¶
- DontUseNativeDialog = 8¶
- ReadOnly = 16¶
- HideNameFilterDetails = 32¶
- DontUseCustomDirectoryIcons = 64¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- ReadOnly = 16¶
- Reject = 4¶
- Rejected = 0¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- ShowDirsOnly = 1¶
- accept(self)¶
- acceptDrops(self) bool¶
- acceptMode(self) QFileDialog.AcceptMode¶
- accepted¶
accepted(self) [signal]
- accessibleDescription(self) str¶
- accessibleName(self) str¶
- actionEvent(self, a0: QActionEvent)¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool¶
- backgroundRole(self) QPalette.ColorRole¶
- baseSize(self) QSize¶
- blockSignals(self, b: bool) bool¶
- changeEvent(self, e: QEvent)¶
- childAt(self, p: QPoint) QWidget¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins¶
- contentsRect(self) QRect¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget¶
- currentChanged¶
currentChanged(self, path: str) [signal]
- currentUrlChanged¶
currentUrlChanged(self, url: QUrl) [signal]
- cursor(self) QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- defaultSuffix(self) str¶
- deleteLater(self)¶
- depth(self) int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int¶
- devicePixelRatio(self) float¶
- devicePixelRatioF(self) float¶
- devicePixelRatioFScale() float¶
- directory(self) QDir¶
- directoryEntered¶
directoryEntered(self, directory: str) [signal]
- directoryUrl(self) QUrl¶
- directoryUrlEntered¶
directoryUrlEntered(self, directory: QUrl) [signal]
- disconnect(a0: QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- done(self, result: int)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- effectiveWinId(self) PyQt6.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool¶
- eventFilter(self, a0: QObject, a1: QEvent) bool¶
- exec(self) int¶
- fileMode(self) QFileDialog.FileMode¶
- fileSelected¶
fileSelected(self, file: str) [signal]
- filesSelected¶
filesSelected(self, files: Iterable[str]) [signal]
- filter(self) QDir.Filter¶
- filterSelected¶
filterSelected(self, filter: str) [signal]
- find(a0: PyQt6.sip.voidptr) QWidget¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- finished¶
finished(self, result: int) [signal]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool¶
- focusNextPrevChild(self, next: bool) bool¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy¶
- focusPreviousChild(self) bool¶
- focusProxy(self) QWidget¶
- focusWidget(self) QWidget¶
- font(self) QFont¶
- fontInfo(self) QFontInfo¶
- fontMetrics(self) QFontMetrics¶
- foregroundRole(self) QPalette.ColorRole¶
- frameGeometry(self) QRect¶
- frameSize(self) QSize¶
- geometry(self) QRect¶
- static getExistingDirectory(parent='', caption='Choose Directory', dir=None, accept_label='Choose', file_mode=FileMode.Directory, *, show_dirs_only=True, **kwargs)¶
Convenience function that returns a directory name as selected by the user
The base class
base_file_dialogdocuments the keyword arguments for this class.- Parameters
file_mode (QFileDialog.FileMode) – What the user can select. See the PyQt documentation for QFileDialog.FileMode (currently AnyFile, ExistingFile, Directory and ExistingFiles are the options).
show_dirs_only (bool) – Whether we should show only directories in the file dialog. If False, both files and directories will be shown.
- Return type
str or None
- Returns
full pathname of the file selected by the user, or None if Cancel was pressed
- getExistingDirectoryUrl(parent: typing.Optional[QWidget] = None, caption: str = '', directory: QUrl = QUrl(), options: QFileDialog.Option = QFileDialog.ShowDirsOnly, supportedSchemes: Iterable[str] = []) QUrl¶
- static getOpenFileNames(parent='', caption='Open Files', dir=None, filter='All Files (*)', accept_label='Open', file_mode=FileMode.ExistingFiles, **kwargs)¶
Convenience function that returns a list of filenames as selected by the user
The base class
base_file_dialogdocuments the keyword arguments for this class.- Return type
list of str or None
- Returns
list of full file pathnames selected by the user, or None if Cancel was pressed.
- getOpenFileUrl(parent: typing.Optional[QWidget] = None, caption: str = '', directory: QUrl = QUrl(), filter: str = '', initialFilter: str = '', options: QFileDialog.Option = QFileDialog.Options(), supportedSchemes: Iterable[str] = []) Tuple[QUrl, str]¶
- getOpenFileUrls(parent: typing.Optional[QWidget] = None, caption: str = '', directory: QUrl = QUrl(), filter: str = '', initialFilter: str = '', options: QFileDialog.Option = QFileDialog.Options(), supportedSchemes: Iterable[str] = []) Tuple[List[QUrl], str]¶
- static getSaveFileName(parent='', caption='Save File', dir=None, filter='All Files (*)', accept_label='Save', accept_mode=AcceptMode.AcceptSave, file_mode=FileMode.AnyFile, **kwargs)¶
Convenience function that returns a filename as selected by the user
The base class
base_file_dialogdocuments the keyword arguments for this class.- Return type
str or None
- Returns
full pathname of the file selected by the user, or None if Cancel was pressed
- getSaveFileUrl(parent: typing.Optional[QWidget] = None, caption: str = '', directory: QUrl = QUrl(), filter: str = '', initialFilter: str = '', options: QFileDialog.Option = QFileDialog.Options(), supportedSchemes: Iterable[str] = []) Tuple[QUrl, str]¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int¶
- graphicsEffect(self) QGraphicsEffect¶
- graphicsProxyWidget(self) QGraphicsProxyWidget¶
- hasFocus(self) bool¶
- hasHeightForWidth(self) bool¶
- hasMouseTracking(self) bool¶
- hasTabletTracking(self) bool¶
- height(self) int¶
- heightForWidth(self, a0: int) int¶
- heightMM(self) int¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- iconProvider(self) QAbstractFileIconProvider¶
- inherits(self, classname: str) bool¶
- initPainter(self, painter: QPainter)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool¶
- isAncestorOf(self, child: QWidget) bool¶
- isEnabled(self) bool¶
- isEnabledTo(self, a0: QWidget) bool¶
- isFullScreen(self) bool¶
- isHidden(self) bool¶
- isLeftToRight(self) bool¶
- isMaximized(self) bool¶
- isMinimized(self) bool¶
- isModal(self) bool¶
- isRightToLeft(self) bool¶
- isSignalConnected(self, signal: QMetaMethod) bool¶
- isSizeGripEnabled(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, a0: QWidget) bool¶
- isWidgetType(self) bool¶
- isWindow(self) bool¶
- isWindowModified(self) bool¶
- isWindowType(self) bool¶
- itemDelegate(self) QAbstractItemDelegate¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget¶
- killTimer(self, id: int)¶
- labelText(self, label: QFileDialog.DialogLabel) str¶
- layout(self) QLayout¶
- layoutDirection(self) Qt.LayoutDirection¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale¶
- logicalDpiX(self) int¶
- logicalDpiY(self) int¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion¶
- maximumHeight(self) int¶
- maximumSize(self) QSize¶
- maximumWidth(self) int¶
- metaObject(self) QMetaObject¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int¶
- minimumHeight(self) int¶
- minimumSize(self) QSize¶
- minimumSizeHint(self) QSize¶
- minimumWidth(self) int¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- open(self)¶
- open(self, slot: PYQT_SLOT) None
- options(self) QFileDialog.Option¶
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool¶
- palette(self) QPalette¶
- parent(self) QObject¶
- parentWidget(self) QWidget¶
- physicalDpiX(self) int¶
- physicalDpiY(self) int¶
- pos(self) QPoint¶
- previousInFocusChain(self) QWidget¶
- property(self, name: str) Any¶
- proxyModel(self) QAbstractProxyModel¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int¶
- rect(self) QRect¶
- reject(self)¶
- rejected¶
rejected(self) [signal]
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool¶
- restoreState(self, state: QByteArray) bool¶
- result(self) int¶
- saveFileContent(fileContent: QByteArray, fileNameHint: str = '')¶
- saveGeometry(self) QByteArray¶
- saveState(self) QByteArray¶
- screen(self) QScreen¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- selectFile(self, filename: str)¶
- selectMimeTypeFilter(self, filter: str)¶
- selectNameFilter(self, filter: str)¶
- selectUrl(self, url: QUrl)¶
- selectedMimeTypeFilter(self) str¶
- selectedNameFilter(self) str¶
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setAcceptDrops(self, on: bool)¶
- setAcceptMode(self, mode: QFileDialog.AcceptMode)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDefaultSuffix(self, suffix: str)¶
- setDirectory(self, directory: str)¶
- setDirectory(self, adirectory: QDir) None
- setDirectoryUrl(self, directory: QUrl)¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFileMode(self, mode: QFileDialog.FileMode)¶
- setFilter(self, filters: QDir.Filter)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setHistory(self, paths: Iterable[str])¶
- setIconProvider(self, provider: QAbstractFileIconProvider)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setItemDelegate(self, delegate: QAbstractItemDelegate)¶
- setLabelText(self, label: QFileDialog.DialogLabel, text: str)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMimeTypeFilters(self, filters: Iterable[str])¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModal(self, modal: bool)¶
- setMouseTracking(self, enable: bool)¶
- setNameFilter(self, filter: str)¶
- setNameFilters(self, filters: Iterable[str])¶
- setObjectName(self, name: str)¶
- setOption(self, option: QFileDialog.Option, on: bool = True)¶
- setOptions(self, options: QFileDialog.Option)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool¶
- setProxyModel(self, model: QAbstractProxyModel)¶
- setResult(self, r: int)¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSidebarUrls(self, urls: Iterable[QUrl])¶
- setSizeGripEnabled(self, a0: bool)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setSupportedSchemes(self, schemes: Iterable[str])¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setViewMode(self, mode: QFileDialog.ViewMode)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool¶
- size(self) QSize¶
- sizeHint(self) QSize¶
- sizeIncrement(self) QSize¶
- sizePolicy(self) QSizePolicy¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str¶
- style(self) QStyle¶
- styleSheet(self) str¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool¶
- testOption(self, option: QFileDialog.Option) bool¶
- thread(self) QThread¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str¶
- toolTipDuration(self) int¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str¶
- underMouse(self) bool¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- urlSelected¶
urlSelected(self, url: QUrl) [signal]
- urlsSelected¶
urlsSelected(self, urls: Iterable[QUrl]) [signal]
- viewMode(self) QFileDialog.ViewMode¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶
- class schrodinger.application.bioluminate.bwidgets.NumericLineEdit(parent=None, width=50, validate_type='float', minimum=None, maximum=None)¶
Bases:
PyQt6.QtWidgets.QLineEditA
QtWidgets.QLineEditwith a builtin validator for floats or integers.- __init__(parent=None, width=50, validate_type='float', minimum=None, maximum=None)¶
- validate()¶
Checks to see if the lineedit has acceptable input and changes the widget to indicate invalid input. Even with a validator set users can input invalid args so this helps out.
- class ActionPosition(value)¶
Bases:
enum.EnumAn enumeration.
- LeadingPosition = 0¶
- TrailingPosition = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class EchoMode(value)¶
Bases:
enum.EnumAn enumeration.
- Normal = 0¶
- NoEcho = 1¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- IgnoreMask = 4¶
- LeadingPosition = 0¶
- NoEcho = 1¶
- Normal = 0¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- Password = 2¶
- PasswordEchoOnEdit = 3¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- TrailingPosition = 1¶
- acceptDrops(self) bool¶
- accessibleDescription(self) str¶
- accessibleName(self) str¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction]¶
- activateWindow(self)¶
- addAction(self, a0: QAction)¶
- addAction(self, action: QAction, position: QLineEdit.ActionPosition) None
- addAction(self, icon: QIcon, position: QLineEdit.ActionPosition) QAction
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- alignment(self) Qt.AlignmentFlag¶
- autoFillBackground(self) bool¶
- backgroundRole(self) QPalette.ColorRole¶
- backspace(self)¶
- baseSize(self) QSize¶
- blockSignals(self, b: bool) bool¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject]¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clear(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int¶
- completer(self) QCompleter¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins¶
- contentsRect(self) QRect¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy¶
- copy(self)¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createStandardContextMenu(self) QMenu¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget¶
- cursor(self) QCursor¶
- cursorBackward(self, mark: bool, steps: int = 1)¶
- cursorForward(self, mark: bool, steps: int = 1)¶
- cursorMoveStyle(self) Qt.CursorMoveStyle¶
- cursorPosition(self) int¶
- cursorPositionAt(self, pos: QPoint) int¶
- cursorPositionChanged¶
cursorPositionChanged(self, a0: int, a1: int) [signal]
- cursorRect(self) QRect¶
- cursorWordBackward(self, mark: bool)¶
- cursorWordForward(self, mark: bool)¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- cut(self)¶
- del_(self)¶
- deleteLater(self)¶
- depth(self) int¶
- deselect(self)¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int¶
- devicePixelRatio(self) float¶
- devicePixelRatioF(self) float¶
- devicePixelRatioFScale() float¶
- disconnect(a0: QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- displayText(self) str¶
- dragEnabled(self) bool¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, e: QDragLeaveEvent)¶
- dragMoveEvent(self, e: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray]¶
- echoMode(self) QLineEdit.EchoMode¶
- editingFinished¶
editingFinished(self) [signal]
- effectiveWinId(self) PyQt6.sip.voidptr¶
- end(self, mark: bool)¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool¶
- eventFilter(self, a0: QObject, a1: QEvent) bool¶
- find(a0: PyQt6.sip.voidptr) QWidget¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool¶
- focusNextPrevChild(self, next: bool) bool¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy¶
- focusPreviousChild(self) bool¶
- focusProxy(self) QWidget¶
- focusWidget(self) QWidget¶
- font(self) QFont¶
- fontInfo(self) QFontInfo¶
- fontMetrics(self) QFontMetrics¶
- foregroundRole(self) QPalette.ColorRole¶
- frameGeometry(self) QRect¶
- frameSize(self) QSize¶
- geometry(self) QRect¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int¶
- graphicsEffect(self) QGraphicsEffect¶
- graphicsProxyWidget(self) QGraphicsProxyWidget¶
- hasAcceptableInput(self) bool¶
- hasFocus(self) bool¶
- hasFrame(self) bool¶
- hasHeightForWidth(self) bool¶
- hasMouseTracking(self) bool¶
- hasSelectedText(self) bool¶
- hasTabletTracking(self) bool¶
- height(self) int¶
- heightForWidth(self, a0: int) int¶
- heightMM(self) int¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- home(self, mark: bool)¶
- inherits(self, classname: str) bool¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionFrame)¶
- inputMask(self) str¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any¶
- inputMethodQuery(self, property: Qt.InputMethodQuery, argument: Any) Any
- inputRejected¶
inputRejected(self) [signal]
- insert(self, a0: str)¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool¶
- isAncestorOf(self, child: QWidget) bool¶
- isClearButtonEnabled(self) bool¶
- isEnabled(self) bool¶
- isEnabledTo(self, a0: QWidget) bool¶
- isFullScreen(self) bool¶
- isHidden(self) bool¶
- isLeftToRight(self) bool¶
- isMaximized(self) bool¶
- isMinimized(self) bool¶
- isModal(self) bool¶
- isModified(self) bool¶
- isReadOnly(self) bool¶
- isRedoAvailable(self) bool¶
- isRightToLeft(self) bool¶
- isSignalConnected(self, signal: QMetaMethod) bool¶
- isUndoAvailable(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, a0: QWidget) bool¶
- isWidgetType(self) bool¶
- isWindow(self) bool¶
- isWindowModified(self) bool¶
- isWindowType(self) bool¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget¶
- killTimer(self, id: int)¶
- layout(self) QLayout¶
- layoutDirection(self) Qt.LayoutDirection¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale¶
- logicalDpiX(self) int¶
- logicalDpiY(self) int¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion¶
- maxLength(self) int¶
- maximumHeight(self) int¶
- maximumSize(self) QSize¶
- maximumWidth(self) int¶
- metaObject(self) QMetaObject¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int¶
- minimumHeight(self) int¶
- minimumSize(self) QSize¶
- minimumSizeHint(self) QSize¶
- minimumWidth(self) int¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool¶
- palette(self) QPalette¶
- parent(self) QObject¶
- parentWidget(self) QWidget¶
- paste(self)¶
- physicalDpiX(self) int¶
- physicalDpiY(self) int¶
- placeholderText(self) str¶
- pos(self) QPoint¶
- previousInFocusChain(self) QWidget¶
- property(self, name: str) Any¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int¶
- rect(self) QRect¶
- redo(self)¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool¶
- returnPressed¶
returnPressed(self) [signal]
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- selectAll(self)¶
- selectedText(self) str¶
- selectionChanged¶
selectionChanged(self) [signal]
- selectionEnd(self) int¶
- selectionLength(self) int¶
- selectionStart(self) int¶
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAlignment(self, flag: Qt.AlignmentFlag)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setClearButtonEnabled(self, enable: bool)¶
- setCompleter(self, completer: QCompleter)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setCursorMoveStyle(self, style: Qt.CursorMoveStyle)¶
- setCursorPosition(self, a0: int)¶
- setDisabled(self, a0: bool)¶
- setDragEnabled(self, b: bool)¶
- setEchoMode(self, a0: QLineEdit.EchoMode)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setFrame(self, a0: bool)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMask(self, inputMask: str)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaxLength(self, a0: int)¶
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setModified(self, a0: bool)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setPlaceholderText(self, a0: str)¶
- setProperty(self, name: str, value: Any) bool¶
- setReadOnly(self, a0: bool)¶
- setScreen(self, a0: QScreen)¶
- setSelection(self, a0: int, a1: int)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setText(self, a0: str)¶
- setTextMargins(self, left: int, top: int, right: int, bottom: int)¶
- setTextMargins(self, margins: QMargins) None
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setValidator(self, a0: QValidator)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool¶
- size(self) QSize¶
- sizeHint(self) QSize¶
- sizeIncrement(self) QSize¶
- sizePolicy(self) QSizePolicy¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str¶
- style(self) QStyle¶
- styleSheet(self) str¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool¶
- text(self) str¶
- textChanged¶
textChanged(self, a0: str) [signal]
- textEdited¶
textEdited(self, a0: str) [signal]
- textMargins(self) QMargins¶
- thread(self) QThread¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str¶
- toolTipDuration(self) int¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str¶
- underMouse(self) bool¶
- undo(self)¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- validator(self) QValidator¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶
- class schrodinger.application.bioluminate.bwidgets.RowActionItem(row)¶
Bases:
PyQt6.QtWidgets.QWidgetCustom widget to be used in a table cell. It will create a widget that contains multiple small push buttons with icons. This will end up looking like just a small icon in the cell. Multipe actions can be added to a single cell
- __init__(row)¶
- Parameters
row (mixed) – The row associated with the cell. This can be anything (i.e. integer index, row object, etc.) and is used to track the row.
- addActionItem(icon, tooltip, callback)¶
Add an action to the cell widget.
- Parameters
icon (QtGui.QIcon) – the icon for the action
callback (callable) – The callback for the action
- paintEvent(*args, **kwargs)¶
Override the paintEvent to create the layout for the cell.
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- acceptDrops(self) bool¶
- accessibleDescription(self) str¶
- accessibleName(self) str¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction]¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool¶
- backgroundRole(self) QPalette.ColorRole¶
- baseSize(self) QSize¶
- blockSignals(self, b: bool) bool¶
- changeEvent(self, a0: QEvent)¶
- childAt(self, p: QPoint) QWidget¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject]¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins¶
- contentsRect(self) QRect¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget¶
- cursor(self) QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- depth(self) int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int¶
- devicePixelRatio(self) float¶
- devicePixelRatioF(self) float¶
- devicePixelRatioFScale() float¶
- disconnect(a0: QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray]¶
- effectiveWinId(self) PyQt6.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, a0: QEvent) bool¶
- eventFilter(self, a0: QObject, a1: QEvent) bool¶
- find(a0: PyQt6.sip.voidptr) QWidget¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool¶
- focusNextPrevChild(self, next: bool) bool¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy¶
- focusPreviousChild(self) bool¶
- focusProxy(self) QWidget¶
- focusWidget(self) QWidget¶
- font(self) QFont¶
- fontInfo(self) QFontInfo¶
- fontMetrics(self) QFontMetrics¶
- foregroundRole(self) QPalette.ColorRole¶
- frameGeometry(self) QRect¶
- frameSize(self) QSize¶
- geometry(self) QRect¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int¶
- graphicsEffect(self) QGraphicsEffect¶
- graphicsProxyWidget(self) QGraphicsProxyWidget¶
- hasFocus(self) bool¶
- hasHeightForWidth(self) bool¶
- hasMouseTracking(self) bool¶
- hasTabletTracking(self) bool¶
- height(self) int¶
- heightForWidth(self, a0: int) int¶
- heightMM(self) int¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- inherits(self, classname: str) bool¶
- initPainter(self, painter: QPainter)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool¶
- isAncestorOf(self, child: QWidget) bool¶
- isEnabled(self) bool¶
- isEnabledTo(self, a0: QWidget) bool¶
- isFullScreen(self) bool¶
- isHidden(self) bool¶
- isLeftToRight(self) bool¶
- isMaximized(self) bool¶
- isMinimized(self) bool¶
- isModal(self) bool¶
- isRightToLeft(self) bool¶
- isSignalConnected(self, signal: QMetaMethod) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, a0: QWidget) bool¶
- isWidgetType(self) bool¶
- isWindow(self) bool¶
- isWindowModified(self) bool¶
- isWindowType(self) bool¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, a0: QKeyEvent)¶
- keyboardGrabber() QWidget¶
- killTimer(self, id: int)¶
- layout(self) QLayout¶
- layoutDirection(self) Qt.LayoutDirection¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale¶
- logicalDpiX(self) int¶
- logicalDpiY(self) int¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion¶
- maximumHeight(self) int¶
- maximumSize(self) QSize¶
- maximumWidth(self) int¶
- metaObject(self) QMetaObject¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int¶
- minimumHeight(self) int¶
- minimumSize(self) QSize¶
- minimumSizeHint(self) QSize¶
- minimumWidth(self) int¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, a0: QMouseEvent)¶
- mouseReleaseEvent(self, a0: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine¶
- paintingActive(self) bool¶
- palette(self) QPalette¶
- parent(self) QObject¶
- parentWidget(self) QWidget¶
- physicalDpiX(self) int¶
- physicalDpiY(self) int¶
- pos(self) QPoint¶
- previousInFocusChain(self) QWidget¶
- property(self, name: str) Any¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int¶
- rect(self) QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, enabled: bool)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool¶
- setScreen(self, a0: QScreen)¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool¶
- size(self) QSize¶
- sizeHint(self) QSize¶
- sizeIncrement(self) QSize¶
- sizePolicy(self) QSizePolicy¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str¶
- style(self) QStyle¶
- styleSheet(self) str¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool¶
- thread(self) QThread¶
- timerEvent(self, a0: QTimerEvent)¶
- toolTip(self) str¶
- toolTipDuration(self) int¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str¶
- underMouse(self) bool¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶
- class schrodinger.application.bioluminate.bwidgets.QuickHelpButton(message_title, message_text)¶
Bases:
PyQt6.QtWidgets.QPushButtonA help button that has a blue gradient
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- acceptDrops(self) bool¶
- accessibleDescription(self) str¶
- accessibleName(self) str¶
- actionEvent(self, a0: QActionEvent)¶
- actions(self) List[QAction]¶
- activateWindow(self)¶
- addAction(self, action: QAction)¶
- addActions(self, actions: Iterable[QAction])¶
- adjustSize(self)¶
- animateClick(self)¶
- autoDefault(self) bool¶
- autoExclusive(self) bool¶
- autoFillBackground(self) bool¶
- autoRepeat(self) bool¶
- autoRepeatDelay(self) int¶
- autoRepeatInterval(self) int¶
- backgroundRole(self) QPalette.ColorRole¶
- baseSize(self) QSize¶
- blockSignals(self, b: bool) bool¶
- changeEvent(self, e: QEvent)¶
- checkStateSet(self)¶
- childAt(self, p: QPoint) QWidget¶
- childAt(self, ax: int, ay: int) QWidget
- childEvent(self, a0: QChildEvent)¶
- children(self) List[QObject]¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- click(self)¶
- clicked¶
clicked(self, checked: bool = False) [signal]
- close(self) bool¶
- closeEvent(self, a0: QCloseEvent)¶
- colorCount(self) int¶
- connectNotify(self, signal: QMetaMethod)¶
- contentsMargins(self) QMargins¶
- contentsRect(self) QRect¶
- contextMenuEvent(self, a0: QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(window: QWindow, parent: typing.Optional[QWidget] = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget¶
- cursor(self) QCursor¶
- customContextMenuRequested¶
customContextMenuRequested(self, pos: QPoint) [signal]
- customEvent(self, a0: QEvent)¶
- deleteLater(self)¶
- depth(self) int¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: typing.Optional[QObject] = None) [signal]
- devType(self) int¶
- devicePixelRatio(self) float¶
- devicePixelRatioF(self) float¶
- devicePixelRatioFScale() float¶
- disconnect(a0: QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent)¶
- dragMoveEvent(self, a0: QDragMoveEvent)¶
- dropEvent(self, a0: QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray]¶
- effectiveWinId(self) PyQt6.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, event: QEnterEvent)¶
- event(self, e: QEvent) bool¶
- eventFilter(self, a0: QObject, a1: QEvent) bool¶
- find(a0: PyQt6.sip.voidptr) QWidget¶
- findChild(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type: type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, types: Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type: type, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, types: Tuple, re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, a0: QFocusEvent)¶
- focusNextChild(self) bool¶
- focusNextPrevChild(self, next: bool) bool¶
- focusOutEvent(self, a0: QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy¶
- focusPreviousChild(self) bool¶
- focusProxy(self) QWidget¶
- focusWidget(self) QWidget¶
- font(self) QFont¶
- fontInfo(self) QFontInfo¶
- fontMetrics(self) QFontMetrics¶
- foregroundRole(self) QPalette.ColorRole¶
- frameGeometry(self) QRect¶
- frameSize(self) QSize¶
- geometry(self) QRect¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, type: Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, a0: Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int¶
- graphicsEffect(self) QGraphicsEffect¶
- graphicsProxyWidget(self) QGraphicsProxyWidget¶
- group(self) QButtonGroup¶
- hasFocus(self) bool¶
- hasHeightForWidth(self) bool¶
- hasMouseTracking(self) bool¶
- hasTabletTracking(self) bool¶
- height(self) int¶
- heightForWidth(self, a0: int) int¶
- heightMM(self) int¶
- hide(self)¶
- hideEvent(self, a0: QHideEvent)¶
- hitButton(self, pos: QPoint) bool¶
- icon(self) QIcon¶
- iconSize(self) QSize¶
- inherits(self, classname: str) bool¶
- initPainter(self, painter: QPainter)¶
- initStyleOption(self, option: QStyleOptionButton)¶
- inputMethodEvent(self, a0: QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any¶
- insertAction(self, before: QAction, action: QAction)¶
- insertActions(self, before: QAction, actions: Iterable[QAction])¶
- installEventFilter(self, a0: QObject)¶
- isActiveWindow(self) bool¶
- isAncestorOf(self, child: QWidget) bool¶
- isCheckable(self) bool¶
- isChecked(self) bool¶
- isDefault(self) bool¶
- isDown(self) bool¶
- isEnabled(self) bool¶
- isEnabledTo(self, a0: QWidget) bool¶
- isFlat(self) bool¶
- isFullScreen(self) bool¶
- isHidden(self) bool¶
- isLeftToRight(self) bool¶
- isMaximized(self) bool¶
- isMinimized(self) bool¶
- isModal(self) bool¶
- isRightToLeft(self) bool¶
- isSignalConnected(self, signal: QMetaMethod) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, a0: QWidget) bool¶
- isWidgetType(self) bool¶
- isWindow(self) bool¶
- isWindowModified(self) bool¶
- isWindowType(self) bool¶
- keyPressEvent(self, a0: QKeyEvent)¶
- keyReleaseEvent(self, e: QKeyEvent)¶
- keyboardGrabber() QWidget¶
- killTimer(self, id: int)¶
- layout(self) QLayout¶
- layoutDirection(self) Qt.LayoutDirection¶
- leaveEvent(self, a0: QEvent)¶
- locale(self) QLocale¶
- logicalDpiX(self) int¶
- logicalDpiY(self) int¶
- lower(self)¶
- mapFrom(self, a0: QWidget, a1: QPoint) QPoint¶
- mapFrom(self, a0: QWidget, a1: QPointF) QPointF
- mapFromGlobal(self, a0: QPoint) QPoint¶
- mapFromGlobal(self, a0: QPointF) QPointF
- mapFromParent(self, a0: QPoint) QPoint¶
- mapFromParent(self, a0: QPointF) QPointF
- mapTo(self, a0: QWidget, a1: QPoint) QPoint¶
- mapTo(self, a0: QWidget, a1: QPointF) QPointF
- mapToGlobal(self, a0: QPoint) QPoint¶
- mapToGlobal(self, a0: QPointF) QPointF
- mapToParent(self, a0: QPoint) QPoint¶
- mapToParent(self, a0: QPointF) QPointF
- mask(self) QRegion¶
- maximumHeight(self) int¶
- maximumSize(self) QSize¶
- maximumWidth(self) int¶
- metaObject(self) QMetaObject¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int¶
- minimumHeight(self) int¶
- minimumSize(self) QSize¶
- minimumSizeHint(self) QSize¶
- minimumWidth(self) int¶
- mouseDoubleClickEvent(self, a0: QMouseEvent)¶
- mouseGrabber() QWidget¶
- mouseMoveEvent(self, a0: QMouseEvent)¶
- mousePressEvent(self, e: QMouseEvent)¶
- mouseReleaseEvent(self, e: QMouseEvent)¶
- move(self, a0: QPoint)¶
- move(self, ax: int, ay: int) None
- moveEvent(self, a0: QMoveEvent)¶
- moveToThread(self, thread: QThread)¶
- nativeEvent(self, eventType: QByteArray, message: PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextCheckState(self)¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, objectName: str) [signal]
- overrideWindowFlags(self, type: Qt.WindowType)¶
- overrideWindowState(self, state: Qt.WindowState)¶
- paintEngine(self) QPaintEngine¶
- paintEvent(self, a0: QPaintEvent)¶
- paintingActive(self) bool¶
- palette(self) QPalette¶
- parent(self) QObject¶
- parentWidget(self) QWidget¶
- physicalDpiX(self) int¶
- physicalDpiY(self) int¶
- pos(self) QPoint¶
- pressed¶
pressed(self) [signal]
- previousInFocusChain(self) QWidget¶
- property(self, name: str) Any¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, signal: PYQT_SIGNAL) int¶
- rect(self) QRect¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, id: int)¶
- released¶
released(self) [signal]
- removeAction(self, action: QAction)¶
- removeEventFilter(self, a0: QObject)¶
- render(self, target: QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, painter: QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resize(self, a0: QSize)¶
- resize(self, w: int, h: int) None
- resizeEvent(self, a0: QResizeEvent)¶
- restoreGeometry(self, geometry: QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- scroll(self, dx: int, dy: int)¶
- scroll(self, dx: int, dy: int, a2: QRect) None
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setAcceptDrops(self, on: bool)¶
- setAccessibleDescription(self, description: str)¶
- setAccessibleName(self, name: str)¶
- setAttribute(self, attribute: Qt.WidgetAttribute, on: bool = True)¶
- setAutoDefault(self, a0: bool)¶
- setAutoExclusive(self, a0: bool)¶
- setAutoFillBackground(self, enabled: bool)¶
- setAutoRepeat(self, a0: bool)¶
- setAutoRepeatDelay(self, a0: int)¶
- setAutoRepeatInterval(self, a0: int)¶
- setBackgroundRole(self, a0: QPalette.ColorRole)¶
- setBaseSize(self, basew: int, baseh: int)¶
- setBaseSize(self, s: QSize) None
- setCheckable(self, a0: bool)¶
- setChecked(self, a0: bool)¶
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)¶
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)¶
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])¶
- setDefault(self, a0: bool)¶
- setDisabled(self, a0: bool)¶
- setDown(self, a0: bool)¶
- setEnabled(self, a0: bool)¶
- setFixedHeight(self, h: int)¶
- setFixedSize(self, a0: QSize)¶
- setFixedSize(self, w: int, h: int) None
- setFixedWidth(self, w: int)¶
- setFlat(self, a0: bool)¶
- setFocus(self)¶
- setFocus(self, reason: Qt.FocusReason) None
- setFocusPolicy(self, policy: Qt.FocusPolicy)¶
- setFocusProxy(self, a0: QWidget)¶
- setFont(self, a0: QFont)¶
- setForegroundRole(self, a0: QPalette.ColorRole)¶
- setGeometry(self, a0: QRect)¶
- setGeometry(self, ax: int, ay: int, aw: int, ah: int) None
- setGraphicsEffect(self, effect: QGraphicsEffect)¶
- setHidden(self, hidden: bool)¶
- setIcon(self, icon: QIcon)¶
- setIconSize(self, size: QSize)¶
- setInputMethodHints(self, hints: Qt.InputMethodHint)¶
- setLayout(self, a0: QLayout)¶
- setLayoutDirection(self, direction: Qt.LayoutDirection)¶
- setLocale(self, locale: QLocale)¶
- setMask(self, a0: QBitmap)¶
- setMask(self, a0: QRegion) None
- setMaximumHeight(self, maxh: int)¶
- setMaximumSize(self, maxw: int, maxh: int)¶
- setMaximumSize(self, s: QSize) None
- setMaximumWidth(self, maxw: int)¶
- setMenu(self, menu: QMenu)¶
- setMinimumHeight(self, minh: int)¶
- setMinimumSize(self, minw: int, minh: int)¶
- setMinimumSize(self, s: QSize) None
- setMinimumWidth(self, minw: int)¶
- setMouseTracking(self, enable: bool)¶
- setObjectName(self, name: str)¶
- setPalette(self, a0: QPalette)¶
- setParent(self, parent: QWidget)¶
- setParent(self, parent: QWidget, f: Qt.WindowType) None
- setProperty(self, name: str, value: Any) bool¶
- setScreen(self, a0: QScreen)¶
- setShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, str, int])¶
- setShortcutAutoRepeat(self, id: int, enabled: bool = True)¶
- setShortcutEnabled(self, id: int, enabled: bool = True)¶
- setSizeIncrement(self, w: int, h: int)¶
- setSizeIncrement(self, s: QSize) None
- setSizePolicy(self, a0: QSizePolicy)¶
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStatusTip(self, a0: str)¶
- setStyle(self, a0: QStyle)¶
- setStyleSheet(self, styleSheet: str)¶
- setTabOrder(a0: QWidget, a1: QWidget)¶
- setTabletTracking(self, enable: bool)¶
- setText(self, text: str)¶
- setToolTip(self, a0: str)¶
- setToolTipDuration(self, msec: int)¶
- setUpdatesEnabled(self, enable: bool)¶
- setVisible(self, visible: bool)¶
- setWhatsThis(self, a0: str)¶
- setWindowFilePath(self, filePath: str)¶
- setWindowFlag(self, a0: Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, type: Qt.WindowType)¶
- setWindowIcon(self, icon: QIcon)¶
- setWindowIconText(self, a0: str)¶
- setWindowModality(self, windowModality: Qt.WindowModality)¶
- setWindowModified(self, a0: bool)¶
- setWindowOpacity(self, level: float)¶
- setWindowRole(self, a0: str)¶
- setWindowState(self, state: Qt.WindowState)¶
- setWindowTitle(self, a0: str)¶
- shortcut(self) QKeySequence¶
- show(self)¶
- showEvent(self, a0: QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMenu(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool¶
- size(self) QSize¶
- sizeHint(self) QSize¶
- sizeIncrement(self) QSize¶
- sizePolicy(self) QSizePolicy¶
- stackUnder(self, a0: QWidget)¶
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- statusTip(self) str¶
- style(self) QStyle¶
- styleSheet(self) str¶
- tabletEvent(self, a0: QTabletEvent)¶
- testAttribute(self, attribute: Qt.WidgetAttribute) bool¶
- text(self) str¶
- thread(self) QThread¶
- timerEvent(self, e: QTimerEvent)¶
- toggle(self)¶
- toggled¶
toggled(self, checked: bool) [signal]
- toolTip(self) str¶
- toolTipDuration(self) int¶
- tr(sourceText: str, disambiguation: typing.Optional[str] = None, n: int = - 1) str¶
- underMouse(self) bool¶
- ungrabGesture(self, type: Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, a0: QWheelEvent)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, icon: QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, iconText: str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, title: str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶
- __init__(message_title, message_text)¶