QMessageBoxAsync

class lsst.ts.m2gui.QMessageBoxAsync

Bases: QMessageBox

QT message box in the asynchronous version.

Attributes Summary

Abort

AcceptRole

Accepted

ActionRole

Apply

ApplyRole

ButtonMask

Cancel

Close

Critical

Default

DestructiveRole

Discard

DrawChildren

DrawWindowBackground

Escape

FirstButton

FlagMask

Help

HelpRole

Ignore

IgnoreMask

Information

InvalidRole

LastButton

NRoles

No

NoAll

NoButton

NoIcon

NoRole

NoToAll

Ok

Open

PdmDepth

PdmDevicePixelRatio

PdmDevicePixelRatioScaled

PdmDpiX

PdmDpiY

PdmHeight

PdmHeightMM

PdmNumColors

PdmPhysicalDpiX

PdmPhysicalDpiY

PdmWidth

PdmWidthMM

Question

RejectRole

Rejected

Reset

ResetRole

RestoreDefaults

Retry

Save

SaveAll

Warning

Yes

YesAll

YesRole

YesToAll

accepted

buttonClicked

customContextMenuRequested

destroyed

finished

objectNameChanged

painters

rejected

staticMetaObject

windowIconChanged

windowIconTextChanged

windowTitleChanged

Methods Summary

about(parent, title, text)

aboutQt(parent[, title])

accept(self)

acceptDrops(self)

accessibleDescription(self)

accessibleName(self)

actionEvent(self, event)

actions(self)

activateWindow(self)

addAction(self, action)

addActions(self, actions)

addButton(-> PySide2.QtWidgets.QPushButton)

adjustPosition(self, arg__1)

adjustSize(self)

autoFillBackground(self)

backgroundRole(self)

backingStore(self)

baseSize(self)

blockSignals(self, b)

button(self, which)

buttonRole(self, button)

buttonText(self, button)

buttons(self)

changeEvent(self, event)

checkBox(self)

childAt(-> PySide2.QtWidgets.QWidget)

childEvent(self, event)

children(self)

childrenRect(self)

childrenRegion(self)

clearFocus(self)

clearMask(self)

clickedButton(self)

close(self)

closeEvent(self, event)

colorCount(self)

connect(...)

connectNotify(self, signal)

contentsMargins(self)

contentsRect(self)

contextMenuEvent(self, arg__1)

contextMenuPolicy(self)

create(self[, arg__1, initializeWindow, ...])

createWinId(self)

createWindowContainer(window[, parent, flags])

critical(-> int)

cursor(self)

customEvent(self, event)

defaultButton(self)

deleteLater(self)

depth(self)

destroy(self[, destroyWindow, destroySubWindows])

detailedText(self)

devType(self)

devicePixelRatio(self)

devicePixelRatioF(self)

devicePixelRatioFScale()

disconnect(...)

disconnectNotify(self, signal)

done(self, arg__1)

dragEnterEvent(self, event)

dragLeaveEvent(self, event)

dragMoveEvent(self, event)

dropEvent(self, event)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

effectiveWinId(self)

emit(self, arg__1, *args)

ensurePolished(self)

enterEvent(self, event)

escapeButton(self)

event(self, e)

eventFilter(self, arg__1, arg__2)

exec_(self)

extension(self)

find(arg__1)

findChild(self, arg__1[, arg__2])

findChildren(-> typing.Iterable)

focusInEvent(self, event)

focusNextChild(self)

focusNextPrevChild(self, next)

focusOutEvent(self, event)

focusPolicy(self)

focusPreviousChild(self)

focusProxy(self)

focusWidget(self)

font(self)

fontInfo(self)

fontMetrics(self)

foregroundRole(self)

frameGeometry(self)

frameSize(self)

geometry(self)

getContentsMargins(self, left, top, right, ...)

grab(self[, rectangle])

grabGesture(self, type[, flags])

grabKeyboard(self)

grabMouse(grabMouse)

grabShortcut(self, key[, context])

graphicsEffect(self)

graphicsProxyWidget(self)

hasFocus(self)

hasHeightForWidth(self)

hasMouseTracking(self)

hasTabletTracking(self)

height(self)

heightForWidth(self, arg__1)

heightMM(self)

hide(self)

hideEvent(self, event)

icon(self)

iconPixmap(self)

information(...)

informativeText(self)

inherits(self, classname)

initPainter(self, painter)

inputMethodEvent(self, event)

inputMethodHints(self)

inputMethodQuery(self, arg__1)

insertAction(self, before, action)

insertActions(self, before, actions)

installEventFilter(self, filterObj)

internalWinId(self)

isActiveWindow(self)

isAncestorOf(self, child)

isEnabled(self)

isEnabledTo(self, arg__1)

isEnabledToTLW(self)

isFullScreen(self)

isHidden(self)

isLeftToRight(self)

isMaximized(self)

isMinimized(self)

isModal(self)

isRightToLeft(self)

isSignalConnected(self, signal)

isSizeGripEnabled(self)

isTopLevel(self)

isVisible(self)

isVisibleTo(self, arg__1)

isWidgetType(self)

isWindow(self)

isWindowModified(self)

isWindowType(self)

keyPressEvent(self, event)

keyReleaseEvent(self, event)

keyboardGrabber()

killTimer(self, id)

layout(self)

layoutDirection(self)

leaveEvent(self, event)

locale(self)

logicalDpiX(self)

logicalDpiY(self)

lower(self)

mapFrom(self, arg__1, arg__2)

mapFromGlobal(self, arg__1)

mapFromParent(self, arg__1)

mapTo(self, arg__1, arg__2)

mapToGlobal(self, arg__1)

mapToParent(self, arg__1)

mask(self)

maximumHeight(self)

maximumSize(self)

maximumWidth(self)

metaObject(self)

metric(self, arg__1)

minimumHeight(self)

minimumSize(self)

minimumSizeHint(self)

minimumWidth(self)

mouseDoubleClickEvent(self, event)

mouseGrabber()

mouseMoveEvent(self, event)

mousePressEvent(self, event)

mouseReleaseEvent(self, event)

move(move)

moveEvent(self, event)

moveToThread(self, thread)

nativeEvent(self, eventType, message, result)

nativeParentWidget(self)

nextInFocusChain(self)

normalGeometry(self)

objectName(self)

open(open)

orientation(self)

overrideWindowFlags(self, type)

overrideWindowState(self, state)

paintEngine(self)

paintEvent(self, event)

paintingActive(self)

palette(self)

parent(self)

parentWidget(self)

physicalDpiX(self)

physicalDpiY(self)

pos(self)

previousInFocusChain(self)

property(self, name)

question(-> int ), defaultButton)

raise_(self)

receivers(self, signal)

rect(self)

redirected(self, offset)

registerUserData()

reject(self)

releaseKeyboard(self)

releaseMouse(self)

releaseShortcut(self, id)

removeAction(self, action)

removeButton(self, button)

removeEventFilter(self, obj)

render(, renderFlags, sourceRegion, ...)

repaint(...)

resize(resize)

resizeEvent(self, event)

restoreGeometry(self, geometry)

result(self)

saveGeometry(self)

scroll(scroll)

sender(self)

senderSignalIndex(self)

setAcceptDrops(self, on)

setAccessibleDescription(self, description)

setAccessibleName(self, name)

setAttribute(self, arg__1[, on])

setAutoFillBackground(self, enabled)

setBackgroundRole(self, arg__1)

setBaseSize(setBaseSize)

setButtonText(self, button, text)

setCheckBox(self, cb)

setContentsMargins(setContentsMargins)

setContextMenuPolicy(self, policy)

setCursor(self, arg__1)

setDefaultButton(setDefaultButton)

setDetailedText(self, text)

setDisabled(self, arg__1)

setEnabled(self, arg__1)

setEscapeButton(setEscapeButton)

setExtension(self, extension)

setFixedHeight(self, h)

setFixedSize(setFixedSize)

setFixedWidth(self, w)

setFocus(setFocus)

setFocusPolicy(self, policy)

setFocusProxy(self, arg__1)

setFont(self, arg__1)

setForegroundRole(self, arg__1)

setGeometry(setGeometry)

setGraphicsEffect(self, effect)

setHidden(self, hidden)

setIcon(self, arg__1)

setIconPixmap(self, pixmap)

setInformativeText(self, text)

setInputMethodHints(self, hints)

setLayout(self, arg__1)

setLayoutDirection(self, direction)

setLocale(self, locale)

setMask(setMask)

setMaximumHeight(self, maxh)

setMaximumSize(setMaximumSize)

setMaximumWidth(self, maxw)

setMinimumHeight(self, minh)

setMinimumSize(setMinimumSize)

setMinimumWidth(self, minw)

setModal(self, modal)

setMouseTracking(self, enable)

setObjectName(self, name)

setOrientation(self, orientation)

setPalette(self, arg__1)

setParent(setParent)

setProperty(self, name, value)

setResult(self, r)

setShortcutAutoRepeat(self, id[, enable])

setShortcutEnabled(self, id[, enable])

setSizeGripEnabled(self, arg__1)

setSizeIncrement(setSizeIncrement)

setSizePolicy(setSizePolicy)

setStandardButtons(self, buttons)

setStatusTip(self, arg__1)

setStyle(self, arg__1)

setStyleSheet(self, styleSheet)

setTabOrder(arg__1, arg__2)

setTabletTracking(self, enable)

setText(self, text)

setTextFormat(self, format)

setTextInteractionFlags(self, flags)

setToolTip(self, arg__1)

setToolTipDuration(self, msec)

setUpdatesEnabled(self, enable)

setVisible(self, visible)

setWhatsThis(self, arg__1)

setWindowFilePath(self, filePath)

setWindowFlag(self, arg__1[, on])

setWindowFlags(self, type)

setWindowIcon(self, icon)

setWindowIconText(self, arg__1)

setWindowModality(self, windowModality)

setWindowModified(self, arg__1)

setWindowOpacity(self, level)

setWindowRole(self, arg__1)

setWindowState(self, state)

setWindowTitle(self, title)

sharedPainter(self)

show()

This is an overridden function.

showEvent(self, event)

showExtension(self, arg__1)

showFullScreen(self)

showMaximized(self)

showMinimized(self)

showNormal(self)

signalsBlocked(self)

size(self)

sizeHint(self)

sizeIncrement(self)

sizePolicy(self)

stackUnder(self, arg__1)

standardButton(self, button)

standardButtons(self)

standardIcon(icon)

startTimer(self, interval[, timerType])

statusTip(self)

style(self)

styleSheet(self)

tabletEvent(self, event)

testAttribute(self, arg__1)

text(self)

textFormat(self)

textInteractionFlags(self)

thread(self)

timerEvent(self, event)

toolTip(self)

toolTipDuration(self)

topLevelWidget(self)

tr(self, arg__1[, arg__2, arg__3])

underMouse(self)

ungrabGesture(self, type)

unsetCursor(self)

unsetLayoutDirection(self)

unsetLocale(self)

update(update update update  -> None  -> None)

updateGeometry(self)

updateMicroFocus(self)

updatesEnabled(self)

visibleRegion(self)

warning(-> int)

whatsThis(self)

wheelEvent(self, event)

width(self)

widthMM(self)

winId(self)

window(self)

windowFilePath(self)

windowFlags(self)

windowHandle(self)

windowIcon(self)

windowIconText(self)

windowModality(self)

windowOpacity(self)

windowRole(self)

windowState(self)

windowTitle(self)

windowType(self)

x(self)

y(self)

Attributes Documentation

Abort = PySide2.QtWidgets.QMessageBox.StandardButton.Abort
AcceptRole = PySide2.QtWidgets.QMessageBox.ButtonRole.AcceptRole
Accepted = PySide2.QtWidgets.QDialog.DialogCode.Accepted
ActionRole = PySide2.QtWidgets.QMessageBox.ButtonRole.ActionRole
Apply = PySide2.QtWidgets.QMessageBox.StandardButton.Apply
ApplyRole = PySide2.QtWidgets.QMessageBox.ButtonRole.ApplyRole
ButtonMask = PySide2.QtWidgets.QMessageBox.StandardButton.ButtonMask
Cancel = PySide2.QtWidgets.QMessageBox.StandardButton.Cancel
Close = PySide2.QtWidgets.QMessageBox.StandardButton.Close
Critical = PySide2.QtWidgets.QMessageBox.Icon.Critical
Default = PySide2.QtWidgets.QMessageBox.StandardButton.Default
DestructiveRole = PySide2.QtWidgets.QMessageBox.ButtonRole.DestructiveRole
Discard = PySide2.QtWidgets.QMessageBox.StandardButton.Discard
DrawChildren = PySide2.QtWidgets.QWidget.RenderFlag.DrawChildren
DrawWindowBackground = PySide2.QtWidgets.QWidget.RenderFlag.DrawWindowBackground
Escape = PySide2.QtWidgets.QMessageBox.StandardButton.Escape
FirstButton = PySide2.QtWidgets.QMessageBox.StandardButton.FirstButton
FlagMask = PySide2.QtWidgets.QMessageBox.StandardButton.FlagMask
Help = PySide2.QtWidgets.QMessageBox.StandardButton.Help
HelpRole = PySide2.QtWidgets.QMessageBox.ButtonRole.HelpRole
Ignore = PySide2.QtWidgets.QMessageBox.StandardButton.Ignore
IgnoreMask = PySide2.QtWidgets.QWidget.RenderFlag.IgnoreMask
Information = PySide2.QtWidgets.QMessageBox.Icon.Information
InvalidRole = PySide2.QtWidgets.QMessageBox.ButtonRole.InvalidRole
LastButton = PySide2.QtWidgets.QMessageBox.StandardButton.LastButton
NRoles = PySide2.QtWidgets.QMessageBox.ButtonRole.NRoles
No = PySide2.QtWidgets.QMessageBox.StandardButton.No
NoAll = PySide2.QtWidgets.QMessageBox.StandardButton.NoAll
NoButton = PySide2.QtWidgets.QMessageBox.StandardButton.NoButton
NoIcon = PySide2.QtWidgets.QMessageBox.Icon.NoIcon
NoRole = PySide2.QtWidgets.QMessageBox.ButtonRole.NoRole
NoToAll = PySide2.QtWidgets.QMessageBox.StandardButton.NoToAll
Ok = PySide2.QtWidgets.QMessageBox.StandardButton.Ok
Open = PySide2.QtWidgets.QMessageBox.StandardButton.Open
PdmDepth = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth
PdmDevicePixelRatio = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio
PdmDevicePixelRatioScaled = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled
PdmDpiX = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX
PdmDpiY = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY
PdmHeight = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight
PdmHeightMM = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM
PdmNumColors = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors
PdmPhysicalDpiX = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX
PdmPhysicalDpiY = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY
PdmWidth = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth
PdmWidthMM = PySide2.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM
Question = PySide2.QtWidgets.QMessageBox.Icon.Question
RejectRole = PySide2.QtWidgets.QMessageBox.ButtonRole.RejectRole
Rejected = PySide2.QtWidgets.QDialog.DialogCode.Rejected
Reset = PySide2.QtWidgets.QMessageBox.StandardButton.Reset
ResetRole = PySide2.QtWidgets.QMessageBox.ButtonRole.ResetRole
RestoreDefaults = PySide2.QtWidgets.QMessageBox.StandardButton.RestoreDefaults
Retry = PySide2.QtWidgets.QMessageBox.StandardButton.Retry
Save = PySide2.QtWidgets.QMessageBox.StandardButton.Save
SaveAll = PySide2.QtWidgets.QMessageBox.StandardButton.SaveAll
Warning = PySide2.QtWidgets.QMessageBox.Icon.Warning
Yes = PySide2.QtWidgets.QMessageBox.StandardButton.Yes
YesAll = PySide2.QtWidgets.QMessageBox.StandardButton.YesAll
YesRole = PySide2.QtWidgets.QMessageBox.ButtonRole.YesRole
YesToAll = PySide2.QtWidgets.QMessageBox.StandardButton.YesToAll
accepted = <PySide2.QtCore.Signal object>
buttonClicked = <PySide2.QtCore.Signal object>
customContextMenuRequested = <PySide2.QtCore.Signal object>
destroyed = <PySide2.QtCore.Signal object>
finished = <PySide2.QtCore.Signal object>
objectNameChanged = <PySide2.QtCore.Signal object>
painters
rejected = <PySide2.QtCore.Signal object>
staticMetaObject = <PySide2.QtCore.QMetaObject object>
windowIconChanged = <PySide2.QtCore.Signal object>
windowIconTextChanged = <PySide2.QtCore.Signal object>
windowTitleChanged = <PySide2.QtCore.Signal object>

Methods Documentation

static about(parent: PySide2.QtWidgets.QWidget, title: str, text: str)
static aboutQt(parent: PySide2.QtWidgets.QWidget, title: str = '')
accept(self)
acceptDrops(self) bool
accessibleDescription(self) str
accessibleName(self) str
actionEvent(self, event: PySide2.QtGui.QActionEvent)
actions(self) List[PySide2.QtWidgets.QAction]
activateWindow(self)
addAction(self, action: PySide2.QtWidgets.QAction)
addActions(self, actions: List[PySide2.QtWidgets.QAction])
addButton(self, button: PySide2.QtWidgets.QAbstractButton, role: PySide2.QtWidgets.QMessageBox.ButtonRole)
addButton(self, button: PySide2.QtWidgets.QMessageBox.StandardButton) PySide2.QtWidgets.QPushButton
addButton(self, text: str, role: PySide2.QtWidgets.QMessageBox.ButtonRole) PySide2.QtWidgets.QPushButton
adjustPosition(self, arg__1: PySide2.QtWidgets.QWidget)
adjustSize(self)
autoFillBackground(self) bool
backgroundRole(self) PySide2.QtGui.QPalette.ColorRole
backingStore(self) PySide2.QtGui.QBackingStore
baseSize(self) PySide2.QtCore.QSize
blockSignals(self, b: bool) bool
button(self, which: PySide2.QtWidgets.QMessageBox.StandardButton) PySide2.QtWidgets.QAbstractButton
buttonRole(self, button: PySide2.QtWidgets.QAbstractButton) PySide2.QtWidgets.QMessageBox.ButtonRole
buttonText(self, button: int) str
buttons(self) List[PySide2.QtWidgets.QAbstractButton]
changeEvent(self, event: PySide2.QtCore.QEvent)
checkBox(self) PySide2.QtWidgets.QCheckBox
childAt(self, p: PySide2.QtCore.QPoint) PySide2.QtWidgets.QWidget
childAt(self, x: int, y: int) PySide2.QtWidgets.QWidget
childEvent(self, event: PySide2.QtCore.QChildEvent)
children(self) List[PySide2.QtCore.QObject]
childrenRect(self) PySide2.QtCore.QRect
childrenRegion(self) PySide2.QtGui.QRegion
clearFocus(self)
clearMask(self)
clickedButton(self) PySide2.QtWidgets.QAbstractButton
close(self) bool
closeEvent(self, event: PySide2.QtGui.QCloseEvent)
colorCount(self) int
static connect(arg__1: PySide2.QtCore.QObject, arg__2: str, arg__3: Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) bool
static connect(arg__1: str, arg__2: Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) bool
static connect(arg__1: str, arg__2: PySide2.QtCore.QObject, arg__3: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) bool
static connect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, method: PySide2.QtCore.QMetaMethod, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) PySide2.QtCore.QMetaObject.Connection
static connect(sender: PySide2.QtCore.QObject, signal: str, member: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) PySide2.QtCore.QMetaObject.Connection
static connect(sender: PySide2.QtCore.QObject, signal: str, receiver: PySide2.QtCore.QObject, member: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) PySide2.QtCore.QMetaObject.Connection
connectNotify(self, signal: PySide2.QtCore.QMetaMethod)
contentsMargins(self) PySide2.QtCore.QMargins
contentsRect(self) PySide2.QtCore.QRect
contextMenuEvent(self, arg__1: PySide2.QtGui.QContextMenuEvent)
contextMenuPolicy(self) PySide2.QtCore.Qt.ContextMenuPolicy
create(self, arg__1: int = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
createWinId(self)
static createWindowContainer(window: PySide2.QtGui.QWindow, parent: Optional[PySide2.QtWidgets.QWidget] = None, flags: PySide2.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) PySide2.QtWidgets.QWidget
static critical(parent: PySide2.QtWidgets.QWidget, title: str, text: str, button0: PySide2.QtWidgets.QMessageBox.StandardButton, button1: PySide2.QtWidgets.QMessageBox.StandardButton) int
static critical(parent: PySide2.QtWidgets.QWidget, title: str, text: str, buttons: PySide2.QtWidgets.QMessageBox.StandardButtons = PySide2.QtWidgets.QMessageBox.StandardButton.Ok, defaultButton: PySide2.QtWidgets.QMessageBox.StandardButton = PySide2.QtWidgets.QMessageBox.StandardButton.NoButton) PySide2.QtWidgets.QMessageBox.StandardButton
cursor(self) PySide2.QtGui.QCursor
customEvent(self, event: PySide2.QtCore.QEvent)
defaultButton(self) PySide2.QtWidgets.QPushButton
deleteLater(self)
depth(self) int
destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)
detailedText(self) str
devType(self) int
devicePixelRatio(self) int
devicePixelRatioF(self) float
static devicePixelRatioFScale() float
static disconnect(arg__1: PySide2.QtCore.QMetaObject.Connection) bool
static disconnect(arg__1: PySide2.QtCore.QObject, arg__2: str, arg__3: Callable) bool
static disconnect(arg__1: str, arg__2: Callable) bool
static disconnect(receiver: PySide2.QtCore.QObject, member: Optional[str] = None) bool
static disconnect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, member: PySide2.QtCore.QMetaMethod) bool
static disconnect(sender: PySide2.QtCore.QObject, signal: str, receiver: PySide2.QtCore.QObject, member: str) bool
static disconnect(signal: str, receiver: PySide2.QtCore.QObject, member: str) bool
disconnectNotify(self, signal: PySide2.QtCore.QMetaMethod)
done(self, arg__1: int)
dragEnterEvent(self, event: PySide2.QtGui.QDragEnterEvent)
dragLeaveEvent(self, event: PySide2.QtGui.QDragLeaveEvent)
dragMoveEvent(self, event: PySide2.QtGui.QDragMoveEvent)
dropEvent(self, event: PySide2.QtGui.QDropEvent)
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[PySide2.QtCore.QByteArray]
effectiveWinId(self) int
emit(self, arg__1: str, *args: None) bool
ensurePolished(self)
enterEvent(self, event: PySide2.QtCore.QEvent)
escapeButton(self) PySide2.QtWidgets.QAbstractButton
event(self, e: PySide2.QtCore.QEvent) bool
eventFilter(self, arg__1: PySide2.QtCore.QObject, arg__2: PySide2.QtCore.QEvent) bool
exec_(self) int
extension(self) PySide2.QtWidgets.QWidget
static find(arg__1: int) PySide2.QtWidgets.QWidget
findChild(self, arg__1: type, arg__2: str = '') object
findChildren(self, arg__1: type, arg__2: PySide2.QtCore.QRegExp) Iterable
findChildren(self, arg__1: type, arg__2: str = '') Iterable
focusInEvent(self, event: PySide2.QtGui.QFocusEvent)
focusNextChild(self) bool
focusNextPrevChild(self, next: bool) bool
focusOutEvent(self, event: PySide2.QtGui.QFocusEvent)
focusPolicy(self) PySide2.QtCore.Qt.FocusPolicy
focusPreviousChild(self) bool
focusProxy(self) PySide2.QtWidgets.QWidget
focusWidget(self) PySide2.QtWidgets.QWidget
font(self) PySide2.QtGui.QFont
fontInfo(self) PySide2.QtGui.QFontInfo
fontMetrics(self) PySide2.QtGui.QFontMetrics
foregroundRole(self) PySide2.QtGui.QPalette.ColorRole
frameGeometry(self) PySide2.QtCore.QRect
frameSize(self) PySide2.QtCore.QSize
geometry(self) PySide2.QtCore.QRect
getContentsMargins(self, left: int, top: int, right: int, bottom: int)
grab(self, rectangle: PySide2.QtCore.QRect = PySide2.QtCore.QRect(0, 0, -1, -1)) PySide2.QtGui.QPixmap
grabGesture(self, type: PySide2.QtCore.Qt.GestureType, flags: PySide2.QtCore.Qt.GestureFlags = Default(Qt.GestureFlags))
grabKeyboard(self)
grabMouse(self) grabMouse(self, arg__1: PySide2.QtGui.QCursor)
grabMouse(self, arg__1: PySide2.QtGui.QCursor) None
grabShortcut(self, key: PySide2.QtGui.QKeySequence, context: PySide2.QtCore.Qt.ShortcutContext = PySide2.QtCore.Qt.ShortcutContext.WindowShortcut) int
graphicsEffect(self) PySide2.QtWidgets.QGraphicsEffect
graphicsProxyWidget(self) PySide2.QtWidgets.QGraphicsProxyWidget
hasFocus(self) bool
hasHeightForWidth(self) bool
hasMouseTracking(self) bool
hasTabletTracking(self) bool
height(self) int
heightForWidth(self, arg__1: int) int
heightMM(self) int
hide(self)
hideEvent(self, event: PySide2.QtGui.QHideEvent)
icon(self) PySide2.QtWidgets.QMessageBox.Icon
iconPixmap(self) PySide2.QtGui.QPixmap
static information(parent: PySide2.QtWidgets.QWidget, title: str, text: str, button0: PySide2.QtWidgets.QMessageBox.StandardButton, button1: PySide2.QtWidgets.QMessageBox.StandardButton = PySide2.QtWidgets.QMessageBox.StandardButton.NoButton) PySide2.QtWidgets.QMessageBox.StandardButton
static information(parent: PySide2.QtWidgets.QWidget, title: str, text: str, buttons: PySide2.QtWidgets.QMessageBox.StandardButtons = PySide2.QtWidgets.QMessageBox.StandardButton.Ok, defaultButton: PySide2.QtWidgets.QMessageBox.StandardButton = PySide2.QtWidgets.QMessageBox.StandardButton.NoButton) PySide2.QtWidgets.QMessageBox.StandardButton
informativeText(self) str
inherits(self, classname: str) bool
initPainter(self, painter: PySide2.QtGui.QPainter)
inputMethodEvent(self, event: PySide2.QtGui.QInputMethodEvent)
inputMethodHints(self) PySide2.QtCore.Qt.InputMethodHints
inputMethodQuery(self, arg__1: PySide2.QtCore.Qt.InputMethodQuery) Any
insertAction(self, before: PySide2.QtWidgets.QAction, action: PySide2.QtWidgets.QAction)
insertActions(self, before: PySide2.QtWidgets.QAction, actions: List[PySide2.QtWidgets.QAction])
installEventFilter(self, filterObj: PySide2.QtCore.QObject)
internalWinId(self) int
isActiveWindow(self) bool
isAncestorOf(self, child: PySide2.QtWidgets.QWidget) bool
isEnabled(self) bool
isEnabledTo(self, arg__1: PySide2.QtWidgets.QWidget) bool
isEnabledToTLW(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: PySide2.QtCore.QMetaMethod) bool
isSizeGripEnabled(self) bool
isTopLevel(self) bool
isVisible(self) bool
isVisibleTo(self, arg__1: PySide2.QtWidgets.QWidget) bool
isWidgetType(self) bool
isWindow(self) bool
isWindowModified(self) bool
isWindowType(self) bool
keyPressEvent(self, event: PySide2.QtGui.QKeyEvent)
keyReleaseEvent(self, event: PySide2.QtGui.QKeyEvent)
static keyboardGrabber() PySide2.QtWidgets.QWidget
killTimer(self, id: int)
layout(self) PySide2.QtWidgets.QLayout
layoutDirection(self) PySide2.QtCore.Qt.LayoutDirection
leaveEvent(self, event: PySide2.QtCore.QEvent)
locale(self) PySide2.QtCore.QLocale
logicalDpiX(self) int
logicalDpiY(self) int
lower(self)
mapFrom(self, arg__1: PySide2.QtWidgets.QWidget, arg__2: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mapFromGlobal(self, arg__1: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mapFromParent(self, arg__1: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mapTo(self, arg__1: PySide2.QtWidgets.QWidget, arg__2: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mapToGlobal(self, arg__1: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mapToParent(self, arg__1: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mask(self) PySide2.QtGui.QRegion
maximumHeight(self) int
maximumSize(self) PySide2.QtCore.QSize
maximumWidth(self) int
metaObject(self) PySide2.QtCore.QMetaObject
metric(self, arg__1: PySide2.QtGui.QPaintDevice.PaintDeviceMetric) int
minimumHeight(self) int
minimumSize(self) PySide2.QtCore.QSize
minimumSizeHint(self) PySide2.QtCore.QSize
minimumWidth(self) int
mouseDoubleClickEvent(self, event: PySide2.QtGui.QMouseEvent)
static mouseGrabber() PySide2.QtWidgets.QWidget
mouseMoveEvent(self, event: PySide2.QtGui.QMouseEvent)
mousePressEvent(self, event: PySide2.QtGui.QMouseEvent)
mouseReleaseEvent(self, event: PySide2.QtGui.QMouseEvent)
move(self, arg__1: PySide2.QtCore.QPoint) move(self, x: int, y: int)
move(self, x: int, y: int) None
moveEvent(self, event: PySide2.QtGui.QMoveEvent)
moveToThread(self, thread: PySide2.QtCore.QThread)
nativeEvent(self, eventType: PySide2.QtCore.QByteArray, message: int, result: int) bool
nativeParentWidget(self) PySide2.QtWidgets.QWidget
nextInFocusChain(self) PySide2.QtWidgets.QWidget
normalGeometry(self) PySide2.QtCore.QRect
objectName(self) str
open(self) open(self, receiver: PySide2.QtCore.QObject, member: str)
open(self, receiver: PySide2.QtCore.QObject, member: str) None
orientation(self) PySide2.QtCore.Qt.Orientation
overrideWindowFlags(self, type: PySide2.QtCore.Qt.WindowFlags)
overrideWindowState(self, state: PySide2.QtCore.Qt.WindowStates)
paintEngine(self) PySide2.QtGui.QPaintEngine
paintEvent(self, event: PySide2.QtGui.QPaintEvent)
paintingActive(self) bool
palette(self) PySide2.QtGui.QPalette
parent(self) PySide2.QtCore.QObject
parentWidget(self) PySide2.QtWidgets.QWidget
physicalDpiX(self) int
physicalDpiY(self) int
pos(self) PySide2.QtCore.QPoint
previousInFocusChain(self) PySide2.QtWidgets.QWidget
property(self, name: str) Any
static question(parent: PySide2.QtWidgets.QWidget, title: str, text: str, button0: PySide2.QtWidgets.QMessageBox.StandardButton, button1: PySide2.QtWidgets.QMessageBox.StandardButton) int
static question(parent: PySide2.QtWidgets.QWidget, title: str, text: str, buttons: PySide2.QtWidgets.QMessageBox.StandardButtons = Instance(QMessageBox.StandardButtons(QMessageBox.Yes | QMessageBox.No)), defaultButton: PySide2.QtWidgets.QMessageBox.StandardButton = PySide2.QtWidgets.QMessageBox.StandardButton.NoButton) PySide2.QtWidgets.QMessageBox.StandardButton
raise_(self)
receivers(self, signal: str) int
rect(self) PySide2.QtCore.QRect
redirected(self, offset: PySide2.QtCore.QPoint) PySide2.QtGui.QPaintDevice
static registerUserData() int
reject(self)
releaseKeyboard(self)
releaseMouse(self)
releaseShortcut(self, id: int)
removeAction(self, action: PySide2.QtWidgets.QAction)
removeButton(self, button: PySide2.QtWidgets.QAbstractButton)
removeEventFilter(self, obj: PySide2.QtCore.QObject)
render(self, painter: PySide2.QtGui.QPainter, targetOffset: PySide2.QtCore.QPoint, sourceRegion: PySide2.QtGui.QRegion = Default(QRegion), renderFlags: PySide2.QtWidgets.QWidget.RenderFlags = Instance(QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))) render(self, target: PySide2.QtGui.QPaintDevice, targetOffset: PySide2.QtCore.QPoint = Default(QPoint), sourceRegion: PySide2.QtGui.QRegion = Default(QRegion), renderFlags: PySide2.QtWidgets.QWidget.RenderFlags = Instance(QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)))
render(self, target: PySide2.QtGui.QPaintDevice, targetOffset: PySide2.QtCore.QPoint = Default(QPoint), sourceRegion: PySide2.QtGui.QRegion = Default(QRegion), renderFlags: PySide2.QtWidgets.QWidget.RenderFlags = Instance(QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))) None
repaint(self) repaint(self, arg__1: PySide2.QtCore.QRect) repaint(self, arg__1: PySide2.QtGui.QRegion) repaint(self, x: int, y: int, w: int, h: int)
repaint(self, arg__1: PySide2.QtCore.QRect) None
repaint(self, arg__1: PySide2.QtGui.QRegion) None
repaint(self, x: int, y: int, w: int, h: int) None
resize(self, arg__1: PySide2.QtCore.QSize) resize(self, w: int, h: int)
resize(self, w: int, h: int) None
resizeEvent(self, event: PySide2.QtGui.QResizeEvent)
restoreGeometry(self, geometry: PySide2.QtCore.QByteArray) bool
result(self) int
saveGeometry(self) PySide2.QtCore.QByteArray
scroll(self, dx: int, dy: int) scroll(self, dx: int, dy: int, arg__3: PySide2.QtCore.QRect)
scroll(self, dx: int, dy: int, arg__3: PySide2.QtCore.QRect) None
sender(self) PySide2.QtCore.QObject
senderSignalIndex(self) int
setAcceptDrops(self, on: bool)
setAccessibleDescription(self, description: str)
setAccessibleName(self, name: str)
setAttribute(self, arg__1: PySide2.QtCore.Qt.WidgetAttribute, on: bool = True)
setAutoFillBackground(self, enabled: bool)
setBackgroundRole(self, arg__1: PySide2.QtGui.QPalette.ColorRole)
setBaseSize(self, arg__1: PySide2.QtCore.QSize) setBaseSize(self, basew: int, baseh: int)
setBaseSize(self, basew: int, baseh: int) None
setButtonText(self, button: int, text: str)
setCheckBox(self, cb: PySide2.QtWidgets.QCheckBox)
setContentsMargins(self, left: int, top: int, right: int, bottom: int) setContentsMargins(self, margins: PySide2.QtCore.QMargins)
setContentsMargins(self, margins: PySide2.QtCore.QMargins) None
setContextMenuPolicy(self, policy: PySide2.QtCore.Qt.ContextMenuPolicy)
setCursor(self, arg__1: PySide2.QtGui.QCursor)
setDefaultButton(self, button: PySide2.QtWidgets.QMessageBox.StandardButton) setDefaultButton(self, button: PySide2.QtWidgets.QPushButton)
setDefaultButton(self, button: PySide2.QtWidgets.QPushButton) None
setDetailedText(self, text: str)
setDisabled(self, arg__1: bool)
setEnabled(self, arg__1: bool)
setEscapeButton(self, button: PySide2.QtWidgets.QAbstractButton) setEscapeButton(self, button: PySide2.QtWidgets.QMessageBox.StandardButton)
setEscapeButton(self, button: PySide2.QtWidgets.QMessageBox.StandardButton) None
setExtension(self, extension: PySide2.QtWidgets.QWidget)
setFixedHeight(self, h: int)
setFixedSize(self, arg__1: PySide2.QtCore.QSize) setFixedSize(self, w: int, h: int)
setFixedSize(self, w: int, h: int) None
setFixedWidth(self, w: int)
setFocus(self) setFocus(self, reason: PySide2.QtCore.Qt.FocusReason)
setFocus(self, reason: PySide2.QtCore.Qt.FocusReason) None
setFocusPolicy(self, policy: PySide2.QtCore.Qt.FocusPolicy)
setFocusProxy(self, arg__1: PySide2.QtWidgets.QWidget)
setFont(self, arg__1: PySide2.QtGui.QFont)
setForegroundRole(self, arg__1: PySide2.QtGui.QPalette.ColorRole)
setGeometry(self, arg__1: PySide2.QtCore.QRect) setGeometry(self, x: int, y: int, w: int, h: int)
setGeometry(self, x: int, y: int, w: int, h: int) None
setGraphicsEffect(self, effect: PySide2.QtWidgets.QGraphicsEffect)
setHidden(self, hidden: bool)
setIcon(self, arg__1: PySide2.QtWidgets.QMessageBox.Icon)
setIconPixmap(self, pixmap: PySide2.QtGui.QPixmap)
setInformativeText(self, text: str)
setInputMethodHints(self, hints: PySide2.QtCore.Qt.InputMethodHints)
setLayout(self, arg__1: PySide2.QtWidgets.QLayout)
setLayoutDirection(self, direction: PySide2.QtCore.Qt.LayoutDirection)
setLocale(self, locale: PySide2.QtCore.QLocale)
setMask(self, arg__1: PySide2.QtGui.QBitmap) setMask(self, arg__1: PySide2.QtGui.QRegion)
setMask(self, arg__1: PySide2.QtGui.QRegion) None
setMaximumHeight(self, maxh: int)
setMaximumSize(self, arg__1: PySide2.QtCore.QSize) setMaximumSize(self, maxw: int, maxh: int)
setMaximumSize(self, maxw: int, maxh: int) None
setMaximumWidth(self, maxw: int)
setMinimumHeight(self, minh: int)
setMinimumSize(self, arg__1: PySide2.QtCore.QSize) setMinimumSize(self, minw: int, minh: int)
setMinimumSize(self, minw: int, minh: int) None
setMinimumWidth(self, minw: int)
setModal(self, modal: bool)
setMouseTracking(self, enable: bool)
setObjectName(self, name: str)
setOrientation(self, orientation: PySide2.QtCore.Qt.Orientation)
setPalette(self, arg__1: PySide2.QtGui.QPalette)
setParent(self, parent: PySide2.QtWidgets.QWidget) setParent(self, parent: PySide2.QtWidgets.QWidget, f: PySide2.QtCore.Qt.WindowFlags)
setParent(self, parent: PySide2.QtWidgets.QWidget, f: PySide2.QtCore.Qt.WindowFlags) None
setProperty(self, name: str, value: Any) bool
setResult(self, r: int)
setShortcutAutoRepeat(self, id: int, enable: bool = True)
setShortcutEnabled(self, id: int, enable: bool = True)
setSizeGripEnabled(self, arg__1: bool)
setSizeIncrement(self, arg__1: PySide2.QtCore.QSize) setSizeIncrement(self, w: int, h: int)
setSizeIncrement(self, w: int, h: int) None
setSizePolicy(self, arg__1: PySide2.QtWidgets.QSizePolicy) setSizePolicy(self, horizontal: PySide2.QtWidgets.QSizePolicy.Policy, vertical: PySide2.QtWidgets.QSizePolicy.Policy)
setSizePolicy(self, horizontal: PySide2.QtWidgets.QSizePolicy.Policy, vertical: PySide2.QtWidgets.QSizePolicy.Policy) None
setStandardButtons(self, buttons: PySide2.QtWidgets.QMessageBox.StandardButtons)
setStatusTip(self, arg__1: str)
setStyle(self, arg__1: PySide2.QtWidgets.QStyle)
setStyleSheet(self, styleSheet: str)
static setTabOrder(arg__1: PySide2.QtWidgets.QWidget, arg__2: PySide2.QtWidgets.QWidget)
setTabletTracking(self, enable: bool)
setText(self, text: str)
setTextFormat(self, format: PySide2.QtCore.Qt.TextFormat)
setTextInteractionFlags(self, flags: PySide2.QtCore.Qt.TextInteractionFlags)
setToolTip(self, arg__1: str)
setToolTipDuration(self, msec: int)
setUpdatesEnabled(self, enable: bool)
setVisible(self, visible: bool)
setWhatsThis(self, arg__1: str)
setWindowFilePath(self, filePath: str)
setWindowFlag(self, arg__1: PySide2.QtCore.Qt.WindowType, on: bool = True)
setWindowFlags(self, type: PySide2.QtCore.Qt.WindowFlags)
setWindowIcon(self, icon: PySide2.QtGui.QIcon)
setWindowIconText(self, arg__1: str)
setWindowModality(self, windowModality: PySide2.QtCore.Qt.WindowModality)
setWindowModified(self, arg__1: bool)
setWindowOpacity(self, level: float)
setWindowRole(self, arg__1: str)
setWindowState(self, state: PySide2.QtCore.Qt.WindowStates)
setWindowTitle(self, title: str)
sharedPainter(self) PySide2.QtGui.QPainter
show()

This is an overridden function.

Based on the QT documents, we should avoid the use of exec().

See: 1. https://github.com/CabbageDevelopment/qasync/issues/59 2. https://doc.qt.io/qt-6/qwidget.html#show 3. https://doc.qt.io/qt-6/qmessagebox.html#open 4. https://doc.qt.io/qt-6/qdialog.html#exec

Returns:
futureasyncio.Future

Future instance that represents an eventual result of an asynchronous operation.

showEvent(self, event: PySide2.QtGui.QShowEvent)
showExtension(self, arg__1: bool)
showFullScreen(self)
showMaximized(self)
showMinimized(self)
showNormal(self)
signalsBlocked(self) bool
size(self) PySide2.QtCore.QSize
sizeHint(self) PySide2.QtCore.QSize
sizeIncrement(self) PySide2.QtCore.QSize
sizePolicy(self) PySide2.QtWidgets.QSizePolicy
stackUnder(self, arg__1: PySide2.QtWidgets.QWidget)
standardButton(self, button: PySide2.QtWidgets.QAbstractButton) PySide2.QtWidgets.QMessageBox.StandardButton
standardButtons(self) PySide2.QtWidgets.QMessageBox.StandardButtons
static standardIcon(icon: PySide2.QtWidgets.QMessageBox.Icon) PySide2.QtGui.QPixmap
startTimer(self, interval: int, timerType: PySide2.QtCore.Qt.TimerType = PySide2.QtCore.Qt.TimerType.CoarseTimer) int
statusTip(self) str
style(self) PySide2.QtWidgets.QStyle
styleSheet(self) str
tabletEvent(self, event: PySide2.QtGui.QTabletEvent)
testAttribute(self, arg__1: PySide2.QtCore.Qt.WidgetAttribute) bool
text(self) str
textFormat(self) PySide2.QtCore.Qt.TextFormat
textInteractionFlags(self) PySide2.QtCore.Qt.TextInteractionFlags
thread(self) PySide2.QtCore.QThread
timerEvent(self, event: PySide2.QtCore.QTimerEvent)
toolTip(self) str
toolTipDuration(self) int
topLevelWidget(self) PySide2.QtWidgets.QWidget
tr(self, arg__1: str, arg__2: str = '', arg__3: int = -1) str
underMouse(self) bool
ungrabGesture(self, type: PySide2.QtCore.Qt.GestureType)
unsetCursor(self)
unsetLayoutDirection(self)
unsetLocale(self)
update(self) update(self, arg__1: PySide2.QtCore.QRect) update(self, arg__1: PySide2.QtGui.QRegion) update(self, x: int, y: int, w: int, h: int)
update(self, arg__1: PySide2.QtCore.QRect) None
update(self, arg__1: PySide2.QtGui.QRegion) None
update(self, x: int, y: int, w: int, h: int) None
updateGeometry(self)
updateMicroFocus(self)
updatesEnabled(self) bool
visibleRegion(self) PySide2.QtGui.QRegion
static warning(parent: PySide2.QtWidgets.QWidget, title: str, text: str, button0: PySide2.QtWidgets.QMessageBox.StandardButton, button1: PySide2.QtWidgets.QMessageBox.StandardButton) int
static warning(parent: PySide2.QtWidgets.QWidget, title: str, text: str, buttons: PySide2.QtWidgets.QMessageBox.StandardButtons = PySide2.QtWidgets.QMessageBox.StandardButton.Ok, defaultButton: PySide2.QtWidgets.QMessageBox.StandardButton = PySide2.QtWidgets.QMessageBox.StandardButton.NoButton) PySide2.QtWidgets.QMessageBox.StandardButton
whatsThis(self) str
wheelEvent(self, event: PySide2.QtGui.QWheelEvent)
width(self) int
widthMM(self) int
winId(self) int
window(self) PySide2.QtWidgets.QWidget
windowFilePath(self) str
windowFlags(self) PySide2.QtCore.Qt.WindowFlags
windowHandle(self) PySide2.QtGui.QWindow
windowIcon(self) PySide2.QtGui.QIcon
windowIconText(self) str
windowModality(self) PySide2.QtCore.Qt.WindowModality
windowOpacity(self) float
windowRole(self) str
windowState(self) PySide2.QtCore.Qt.WindowStates
windowTitle(self) str
windowType(self) PySide2.QtCore.Qt.WindowType
x(self) int
y(self) int