@Properties(inherit=Qt5Widgets.class) public class QMessageBox extends QDialog
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
Abort
enum QMessageBox::StandardButton
|
static int |
AcceptRole
enum QMessageBox::ButtonRole
|
static int |
ActionRole
enum QMessageBox::ButtonRole
|
static int |
Apply
enum QMessageBox::StandardButton
|
static int |
ApplyRole
enum QMessageBox::ButtonRole
|
static int |
ButtonMask
enum QMessageBox::StandardButton
|
static int |
Cancel
enum QMessageBox::StandardButton
|
static int |
Close
enum QMessageBox::StandardButton
|
static int |
Critical
enum QMessageBox::Icon
|
static int |
Default
enum QMessageBox::StandardButton
|
static int |
DestructiveRole
enum QMessageBox::ButtonRole
|
static int |
Discard
enum QMessageBox::StandardButton
|
static int |
Escape
enum QMessageBox::StandardButton
|
static int |
FirstButton
enum QMessageBox::StandardButton
|
static int |
FlagMask
enum QMessageBox::StandardButton
|
static int |
Help
enum QMessageBox::StandardButton
|
static int |
HelpRole
enum QMessageBox::ButtonRole
|
static int |
Ignore
enum QMessageBox::StandardButton
|
static int |
Information
enum QMessageBox::Icon
|
static int |
InvalidRole
enum QMessageBox::ButtonRole
|
static int |
LastButton
enum QMessageBox::StandardButton
|
static int |
No
enum QMessageBox::StandardButton
|
static int |
NoAll
enum QMessageBox::StandardButton
|
static int |
NoButton
enum QMessageBox::StandardButton
|
static int |
NoIcon
enum QMessageBox::Icon
|
static int |
NoRole
enum QMessageBox::ButtonRole
|
static int |
NoToAll
enum QMessageBox::StandardButton
|
static int |
NRoles
enum QMessageBox::ButtonRole
|
static int |
Ok
enum QMessageBox::StandardButton
|
static int |
Open
enum QMessageBox::StandardButton
|
static int |
Question
enum QMessageBox::Icon
|
static int |
RejectRole
enum QMessageBox::ButtonRole
|
static int |
Reset
enum QMessageBox::StandardButton
|
static int |
ResetRole
enum QMessageBox::ButtonRole
|
static int |
RestoreDefaults
enum QMessageBox::StandardButton
|
static int |
Retry
enum QMessageBox::StandardButton
|
static int |
Save
enum QMessageBox::StandardButton
|
static int |
SaveAll
enum QMessageBox::StandardButton
|
static int |
Warning
enum QMessageBox::Icon
|
static int |
Yes
enum QMessageBox::StandardButton
|
static int |
YesAll
enum QMessageBox::StandardButton
|
static int |
YesRole
enum QMessageBox::ButtonRole
|
static int |
YesToAll
enum QMessageBox::StandardButton
|
DrawChildren, DrawWindowBackground, IgnoreMask
Constructor and Description |
---|
QMessageBox() |
QMessageBox(int icon,
QString title,
QString text) |
QMessageBox(int icon,
QString title,
QString text,
int buttons,
QWidget parent,
int flags) |
QMessageBox(long size)
Native array allocator.
|
QMessageBox(Pointer p)
Pointer cast constructor.
|
QMessageBox(QString title,
QString text,
int icon,
int button0,
int button1,
int button2) |
QMessageBox(QString title,
QString text,
int icon,
int button0,
int button1,
int button2,
QWidget parent,
int f) |
QMessageBox(QWidget parent) |
Modifier and Type | Method and Description |
---|---|
static void |
about(QWidget parent,
QString title,
QString text) |
static void |
aboutQt(QWidget parent) |
static void |
aboutQt(QWidget parent,
QString title) |
QPushButton |
addButton(int button) |
void |
addButton(QAbstractButton button,
int role) |
QPushButton |
addButton(QString text,
int role) |
QAbstractButton |
button(int which) |
int |
buttonRole(QAbstractButton button) |
QString |
buttonText(int button) |
QCheckBox |
checkBox() |
QAbstractButton |
clickedButton() |
static int |
critical(QWidget parent,
QString title,
QString text) |
static int |
critical(QWidget parent,
QString title,
QString text,
int buttons,
int defaultButton) |
static int |
critical(QWidget parent,
QString title,
QString text,
int button0,
int button1,
int button2) |
static int |
critical(QWidget parent,
QString title,
QString text,
QString button0Text) |
static int |
critical(QWidget parent,
QString title,
QString text,
QString button0Text,
QString button1Text,
QString button2Text,
int defaultButtonNumber,
int escapeButtonNumber) |
QPushButton |
defaultButton() |
QString |
detailedText() |
QAbstractButton |
escapeButton() |
int |
exec() |
int |
icon() |
static int |
information(QWidget parent,
QString title,
QString text) |
static int |
information(QWidget parent,
QString title,
QString text,
int button0) |
static int |
information(QWidget parent,
QString title,
QString text,
int buttons,
int defaultButton) |
static int |
information(QWidget parent,
QString title,
QString text,
int button0,
int button1,
int button2) |
static int |
information(QWidget parent,
QString title,
QString text,
QString button0Text) |
static int |
information(QWidget parent,
QString title,
QString text,
QString button0Text,
QString button1Text,
QString button2Text,
int defaultButtonNumber,
int escapeButtonNumber) |
QString |
informativeText() |
void |
open(QObject receiver,
BytePointer member) |
void |
open(QObject receiver,
String member) |
QMessageBox |
position(long position) |
static int |
question(QWidget parent,
QString title,
QString text) |
static int |
question(QWidget parent,
QString title,
QString text,
int button0) |
static int |
question(QWidget parent,
QString title,
QString text,
int buttons,
int defaultButton) |
static int |
question(QWidget parent,
QString title,
QString text,
int button0,
int button1,
int button2) |
static int |
question(QWidget parent,
QString title,
QString text,
QString button0Text) |
static int |
question(QWidget parent,
QString title,
QString text,
QString button0Text,
QString button1Text,
QString button2Text,
int defaultButtonNumber,
int escapeButtonNumber) |
void |
removeButton(QAbstractButton button) |
void |
setButtonText(int button,
QString text) |
void |
setCheckBox(QCheckBox cb) |
void |
setDefaultButton(int button) |
void |
setDefaultButton(QPushButton button) |
void |
setDetailedText(QString text) |
void |
setEscapeButton(int button) |
void |
setEscapeButton(QAbstractButton button) |
void |
setIcon(int arg0) |
void |
setInformativeText(QString text) |
void |
setStandardButtons(int buttons) |
void |
setText(QString text) |
void |
setTextFormat(int format) |
void |
setTextInteractionFlags(int flags) |
void |
setWindowModality(int windowModality) |
void |
setWindowTitle(QString title) |
int |
standardButton(QAbstractButton button) |
int |
standardButtons() |
QString |
text() |
int |
textFormat() |
int |
textInteractionFlags() |
static int |
warning(QWidget parent,
QString title,
QString text) |
static int |
warning(QWidget parent,
QString title,
QString text,
int buttons,
int defaultButton) |
static int |
warning(QWidget parent,
QString title,
QString text,
int button0,
int button1,
int button2) |
static int |
warning(QWidget parent,
QString title,
QString text,
QString button0Text) |
static int |
warning(QWidget parent,
QString title,
QString text,
QString button0Text,
QString button1Text,
QString button2Text,
int defaultButtonNumber,
int escapeButtonNumber) |
accept, done, isSizeGripEnabled, minimumSizeHint, open, reject, result, setModal, setResult, setSizeGripEnabled, setVisible, sizeHint
_close, acceptDrops, accessibleDescription, accessibleName, activateWindow, addAction, adjustSize, asQPaintDevice, asQPaintDevice, autoFillBackground, baseSize, childAt, clearFocus, clearMask, closeEvent, contextMenuPolicy, createWinId, devType, effectiveWinId, ensurePolished, find, focusPolicy, focusProxy, focusWidget, font, frameSize, getContentsMargins, getContentsMargins, getContentsMargins, grabGesture, grabKeyboard, grabMouse, hasFocus, hasMouseTracking, hasTabletTracking, height, hide, insertAction, internalWinId, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, layout, layoutDirection, lower, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseGrabber, move, nativeParentWidget, nextInFocusChain, overrideWindowFlags, parentWidget, previousInFocusChain, raise, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, repaint, repaint, resize, resize, restoreGeometry, saveGeometry, scroll, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAttribute, setAttribute, setAutoFillBackground, setBaseSize, setBaseSize, setContentsMargins, setContextMenuPolicy, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedSize, setFixedWidth, setFocus, setFocus, setFocusPolicy, setFocusProxy, setFont, setGeometry, setHidden, setLayout, setLayoutDirection, setMaximumHeight, setMaximumSize, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumSize, setMinimumWidth, setMouseTracking, setParent, setParent, setShortcutAutoRepeat, setShortcutAutoRepeat, setShortcutEnabled, setShortcutEnabled, setSizeIncrement, setSizeIncrement, setSizePolicy, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabletTracking, setTabOrder, setToolTip, setToolTipDuration, setUpdatesEnabled, setWhatsThis, setWindowFilePath, setWindowFlag, setWindowFlag, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModified, setWindowOpacity, setWindowRole, show, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, testAttribute, toolTip, toolTipDuration, topLevelWidget, underMouse, ungrabGesture, unsetCursor, unsetLayoutDirection, unsetLocale, update, update, updateGeometry, updatesEnabled, whatsThis, width, window, windowFilePath, windowFlags, windowIcon, windowIconText, windowModality, windowOpacity, windowRole, windowTitle, windowType, winId, x, y
blockSignals, deleteLater, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, dumpObjectInfo, dumpObjectTree, event, eventFilter, inherits, inherits, installEventFilter, isWidgetType, isWindowType, killTimer, objectName, parent, registerUserData, removeEventFilter, setObjectName, setParent, setProperty, setProperty, signalsBlocked, startTimer, startTimer, startTimer, startTimer, tr, tr, tr, tr
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final int NoIcon
public static final int Information
public static final int Warning
public static final int Critical
public static final int Question
public static final int InvalidRole
public static final int AcceptRole
public static final int RejectRole
public static final int DestructiveRole
public static final int ActionRole
public static final int HelpRole
public static final int YesRole
public static final int NoRole
public static final int ResetRole
public static final int ApplyRole
public static final int NRoles
public static final int NoButton
public static final int Ok
public static final int Save
public static final int SaveAll
public static final int Open
public static final int Yes
public static final int YesToAll
public static final int No
public static final int NoToAll
public static final int Abort
public static final int Retry
public static final int Ignore
public static final int Close
public static final int Cancel
public static final int Discard
public static final int Help
public static final int Apply
public static final int Reset
public static final int RestoreDefaults
public static final int FirstButton
public static final int LastButton
public static final int YesAll
public static final int NoAll
public static final int Default
public static final int Escape
public static final int FlagMask
public static final int ButtonMask
public QMessageBox(Pointer p)
Pointer.Pointer(Pointer)
.public QMessageBox(long size)
Pointer.position(long)
.public QMessageBox(QWidget parent)
public QMessageBox()
public QMessageBox(@Cast(value="QMessageBox::Icon") int icon, @Const @ByRef QString title, @Const @ByRef QString text, @ByVal(nullValue="QMessageBox::StandardButtons(QMessageBox::NoButton)") @Cast(value="QMessageBox::StandardButtons") int buttons, QWidget parent, @ByVal(nullValue="Qt::WindowFlags(Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint)") @Cast(value="Qt::WindowFlags") int flags)
public QMessageBox(@Cast(value="QMessageBox::Icon") int icon, @Const @ByRef QString title, @Const @ByRef QString text)
public QMessageBox(@Const @ByRef QString title, @Const @ByRef QString text, @Cast(value="QMessageBox::Icon") int icon, int button0, int button1, int button2, QWidget parent, @ByVal(nullValue="Qt::WindowFlags(Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint)") @Cast(value="Qt::WindowFlags") int f)
public QMessageBox position(long position)
public void addButton(QAbstractButton button, @Cast(value="QMessageBox::ButtonRole") int role)
public QPushButton addButton(@Const @ByRef QString text, @Cast(value="QMessageBox::ButtonRole") int role)
public QPushButton addButton(@Cast(value="QMessageBox::StandardButton") int button)
public void removeButton(QAbstractButton button)
public void open(QObject receiver, @Cast(value="const char*") BytePointer member)
@Cast(value="QMessageBox::ButtonRole") public int buttonRole(QAbstractButton button)
public void setStandardButtons(@ByVal @Cast(value="QMessageBox::StandardButtons") int buttons)
@Cast(value="QMessageBox::StandardButton") public int standardButton(QAbstractButton button)
public QAbstractButton button(@Cast(value="QMessageBox::StandardButton") int which)
public QPushButton defaultButton()
public void setDefaultButton(QPushButton button)
public void setDefaultButton(@Cast(value="QMessageBox::StandardButton") int button)
public QAbstractButton escapeButton()
public void setEscapeButton(QAbstractButton button)
public QAbstractButton clickedButton()
public void setTextInteractionFlags(@ByVal @Cast(value="Qt::TextInteractionFlags") int flags)
@ByVal @Cast(value="Qt::TextInteractionFlags") public int textInteractionFlags()
public void setCheckBox(QCheckBox cb)
public QCheckBox checkBox()
@Cast(value="QMessageBox::StandardButton") public static int information(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @ByVal(nullValue="QMessageBox::StandardButtons(QMessageBox::Ok)") @Cast(value="QMessageBox::StandardButtons") int buttons, @Cast(value="QMessageBox::StandardButton") int defaultButton)
@Cast(value="QMessageBox::StandardButton") public static int information(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text)
@Cast(value="QMessageBox::StandardButton") public static int question(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @ByVal(nullValue="QMessageBox::StandardButtons(QMessageBox::Yes | QMessageBox::No)") @Cast(value="QMessageBox::StandardButtons") int buttons, @Cast(value="QMessageBox::StandardButton") int defaultButton)
@Cast(value="QMessageBox::StandardButton") public static int question(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text)
@Cast(value="QMessageBox::StandardButton") public static int warning(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @ByVal(nullValue="QMessageBox::StandardButtons(QMessageBox::Ok)") @Cast(value="QMessageBox::StandardButtons") int buttons, @Cast(value="QMessageBox::StandardButton") int defaultButton)
@Cast(value="QMessageBox::StandardButton") public static int warning(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text)
@Cast(value="QMessageBox::StandardButton") public static int critical(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @ByVal(nullValue="QMessageBox::StandardButtons(QMessageBox::Ok)") @Cast(value="QMessageBox::StandardButtons") int buttons, @Cast(value="QMessageBox::StandardButton") int defaultButton)
@Cast(value="QMessageBox::StandardButton") public static int critical(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text)
public static void about(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text)
public static void aboutQt(QWidget parent, @Const @ByRef(nullValue="QString()") QString title)
public static void aboutQt(QWidget parent)
public static int information(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, int button0, int button1, int button2)
public static int information(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, int button0)
public static int information(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @Const @ByRef QString button0Text, @Const @ByRef(nullValue="QString()") QString button1Text, @Const @ByRef(nullValue="QString()") QString button2Text, int defaultButtonNumber, int escapeButtonNumber)
public static int information(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @Const @ByRef QString button0Text)
public static int question(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, int button0, int button1, int button2)
public static int question(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, int button0)
public static int question(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @Const @ByRef QString button0Text, @Const @ByRef(nullValue="QString()") QString button1Text, @Const @ByRef(nullValue="QString()") QString button2Text, int defaultButtonNumber, int escapeButtonNumber)
public static int question(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @Const @ByRef QString button0Text)
public static int warning(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, int button0, int button1, int button2)
public static int warning(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @Const @ByRef QString button0Text, @Const @ByRef(nullValue="QString()") QString button1Text, @Const @ByRef(nullValue="QString()") QString button2Text, int defaultButtonNumber, int escapeButtonNumber)
public static int warning(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @Const @ByRef QString button0Text)
public static int critical(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, int button0, int button1, int button2)
public static int critical(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @Const @ByRef QString button0Text, @Const @ByRef(nullValue="QString()") QString button1Text, @Const @ByRef(nullValue="QString()") QString button2Text, int defaultButtonNumber, int escapeButtonNumber)
public static int critical(QWidget parent, @Const @ByRef QString title, @Const @ByRef QString text, @Const @ByRef QString button0Text)
public void setWindowTitle(@Const @ByRef QString title)
setWindowTitle
in class QWidget
public void setWindowModality(@Cast(value="Qt::WindowModality") int windowModality)
setWindowModality
in class QWidget
Copyright © 2020. All rights reserved.