Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.qt.widgets.QMessageBox Maven / Gradle / Ivy
Go to download
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.widgets;
import io.qt.*;
/**
* Modal dialog for informing the user or for asking the user a question and receiving an answer
* Java wrapper for Qt class QMessageBox
*/
public class QMessageBox extends io.qt.widgets.QDialog
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QMessageBox.class);
/**
* Java wrapper for Qt enum QMessageBox::ButtonRole
*/
public enum ButtonRole implements QtEnumerator {
/**
* Representing QMessageBox:: InvalidRole
*/
InvalidRole(-1),
/**
* Representing QMessageBox:: AcceptRole
*/
AcceptRole(0),
/**
* Representing QMessageBox:: RejectRole
*/
RejectRole(1),
/**
* Representing QMessageBox:: DestructiveRole
*/
DestructiveRole(2),
/**
* Representing QMessageBox:: ActionRole
*/
ActionRole(3),
/**
* Representing QMessageBox:: HelpRole
*/
HelpRole(4),
/**
* Representing QMessageBox:: YesRole
*/
YesRole(5),
/**
* Representing QMessageBox:: NoRole
*/
NoRole(6),
/**
* Representing QMessageBox:: ResetRole
*/
ResetRole(7),
/**
* Representing QMessageBox:: ApplyRole
*/
ApplyRole(8),
/**
* Representing QMessageBox:: NRoles
*/
NRoles(9);
static {
QtJambi_LibraryUtilities.initialize();
}
private ButtonRole(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull ButtonRole resolve(int value) {
switch (value) {
case -1: return InvalidRole;
case 0: return AcceptRole;
case 1: return RejectRole;
case 2: return DestructiveRole;
case 3: return ActionRole;
case 4: return HelpRole;
case 5: return YesRole;
case 6: return NoRole;
case 7: return ResetRole;
case 8: return ApplyRole;
case 9: return NRoles;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QMessageBox::Icon
*/
public enum Icon implements QtEnumerator {
/**
* Representing QMessageBox:: NoIcon
*/
NoIcon(0),
/**
* Representing QMessageBox:: Information
*/
Information(1),
/**
* Representing QMessageBox:: Warning
*/
Warning(2),
/**
* Representing QMessageBox:: Critical
*/
Critical(3),
/**
* Representing QMessageBox:: Question
*/
Question(4);
static {
QtJambi_LibraryUtilities.initialize();
}
private Icon(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Icon resolve(int value) {
switch (value) {
case 0: return NoIcon;
case 1: return Information;
case 2: return Warning;
case 3: return Critical;
case 4: return Question;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QMessageBox::Option
*
* @see Options
*/
public enum Option implements QtFlagEnumerator {
/**
* Representing QMessageBox:: Option:: DontUseNativeDialog
*/
DontUseNativeDialog(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private Option(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull Options asFlags() {
return new Options(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull Options combined(@NonNull Option e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull Options cleared(@NonNull Option e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link Options} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull Options flags(@Nullable Option @NonNull... values) {
return new Options(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull Option resolve(int value) {
switch (value) {
case 1: return DontUseNativeDialog;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link Option}
*/
public static final class Options extends QFlags implements Comparable {
private static final long serialVersionUID = 0x4a6bb5914e7eca36L;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new Options where the flags in args
are set.
* @param args enum entries
*/
public Options(@Nullable Option @NonNull... args){
super(args);
}
/**
* Creates a new Options with given value
.
* @param value
*/
public Options(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new Options
*/
@Override
public final @NonNull Options combined(@StrictNonNull Option e){
return new Options(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull Options setFlag(@Nullable Option e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final @NonNull Options setFlag(@Nullable Option e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this Options.
* @return array of enum entries
*/
@Override
public final @NonNull Option @NonNull[] flags(){
return super.flags(Option.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull Options clone(){
return new Options(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull Options other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QMessageBox::StandardButton
*
* @see StandardButtons
*/
@QtRejectedEntries({"FirstButton", "LastButton", "YesAll", "NoAll"})
public enum StandardButton implements QtFlagEnumerator {
/**
* Representing QMessageBox:: NoButton
*/
NoButton(0),
/**
* Representing QMessageBox:: Ok
*/
Ok(1024),
/**
* Representing QMessageBox:: Save
*/
Save(2048),
/**
* Representing QMessageBox:: SaveAll
*/
SaveAll(4096),
/**
* Representing QMessageBox:: Open
*/
Open(8192),
/**
* Representing QMessageBox:: Yes
*/
Yes(16384),
/**
* Representing QMessageBox:: YesToAll
*/
YesToAll(32768),
/**
* Representing QMessageBox:: No
*/
No(65536),
/**
* Representing QMessageBox:: NoToAll
*/
NoToAll(131072),
/**
* Representing QMessageBox:: Abort
*/
Abort(262144),
/**
* Representing QMessageBox:: Retry
*/
Retry(524288),
/**
* Representing QMessageBox:: Ignore
*/
Ignore(1048576),
/**
* Representing QMessageBox:: Close
*/
Close(2097152),
/**
* Representing QMessageBox:: Cancel
*/
Cancel(4194304),
/**
* Representing QMessageBox:: Discard
*/
Discard(8388608),
/**
* Representing QMessageBox:: Help
*/
Help(16777216),
/**
* Representing QMessageBox:: Apply
*/
Apply(33554432),
/**
* Representing QMessageBox:: Reset
*/
Reset(67108864),
/**
* Representing QMessageBox:: RestoreDefaults
*/
RestoreDefaults(134217728),
/**
* Representing QMessageBox:: FirstButton
*/
FirstButton(1024),
/**
* Representing QMessageBox:: LastButton
*/
LastButton(134217728),
/**
* Representing QMessageBox:: YesAll
*/
YesAll(32768),
/**
* Representing QMessageBox:: NoAll
*/
NoAll(131072),
/**
* Representing QMessageBox:: Default
*/
Default(256),
/**
* Representing QMessageBox:: Escape
*/
Escape(512),
/**
* Representing QMessageBox:: FlagMask
*/
FlagMask(768),
/**
* Representing QMessageBox:: ButtonMask
*/
ButtonMask(-769);
static {
QtJambi_LibraryUtilities.initialize();
}
private StandardButton(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull StandardButtons asFlags() {
return new StandardButtons(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull StandardButtons combined(@NonNull StandardButton e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull StandardButtons cleared(@NonNull StandardButton e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link StandardButtons} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull StandardButtons flags(@Nullable StandardButton @NonNull... values) {
return new StandardButtons(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull StandardButton resolve(int value) {
switch (value) {
case 0: return NoButton;
case 1024: return Ok;
case 2048: return Save;
case 4096: return SaveAll;
case 8192: return Open;
case 16384: return Yes;
case 32768: return YesToAll;
case 65536: return No;
case 131072: return NoToAll;
case 262144: return Abort;
case 524288: return Retry;
case 1048576: return Ignore;
case 2097152: return Close;
case 4194304: return Cancel;
case 8388608: return Discard;
case 16777216: return Help;
case 33554432: return Apply;
case 67108864: return Reset;
case 134217728: return RestoreDefaults;
case 256: return Default;
case 512: return Escape;
case 768: return FlagMask;
case -769: return ButtonMask;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link StandardButton}
*/
public static final class StandardButtons extends QFlags implements Comparable {
private static final long serialVersionUID = 0xbc3dfa9cca5951bdL;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new StandardButtons where the flags in args
are set.
* @param args enum entries
*/
public StandardButtons(@Nullable StandardButton @NonNull... args){
super(args);
}
/**
* Creates a new StandardButtons with given value
.
* @param value
*/
public StandardButtons(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new StandardButtons
*/
@Override
public final @NonNull StandardButtons combined(@StrictNonNull StandardButton e){
return new StandardButtons(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull StandardButtons setFlag(@Nullable StandardButton e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final @NonNull StandardButtons setFlag(@Nullable StandardButton e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this StandardButtons.
* @return array of enum entries
*/
@Override
public final @NonNull StandardButton @NonNull[] flags(){
return super.flags(StandardButton.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull StandardButtons clone(){
return new StandardButtons(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull StandardButtons other){
return Integer.compare(value(), other.value());
}
}
/**
* See QMessageBox:: buttonClicked(QAbstractButton*)
*/
public final @NonNull Signal1 buttonClicked = new Signal1<>();
/**
* See QMessageBox:: QMessageBox(QMessageBox::Icon, QString, QString, QMessageBox::StandardButtons, QWidget*, Qt::WindowFlags)
*/
public QMessageBox(io.qt.widgets.QMessageBox.@NonNull Icon icon, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons, io.qt.widgets.@Nullable QWidget parent, io.qt.core.Qt.@NonNull WindowFlags flags){
super((QPrivateConstructor)null);
initialize_native(this, icon, title, text, buttons, parent, flags);
}
private native static void initialize_native(QMessageBox instance, io.qt.widgets.QMessageBox.Icon icon, java.lang.String title, java.lang.String text, io.qt.widgets.QMessageBox.StandardButtons buttons, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags flags);
/**
* See QMessageBox:: QMessageBox(QWidget*)
*/
public QMessageBox(io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QMessageBox instance, io.qt.widgets.QWidget parent);
/**
* See QMessageBox:: addButton(QAbstractButton*, QMessageBox::ButtonRole)
*/
@QtUninvokable
public final void addButton(io.qt.widgets.@Nullable QAbstractButton button, io.qt.widgets.QMessageBox.@NonNull ButtonRole role){
addButton_native_QAbstractButton_ptr_QMessageBox_ButtonRole(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(button), role.value());
}
@QtUninvokable
private native void addButton_native_QAbstractButton_ptr_QMessageBox_ButtonRole(long __this__nativeId, long button, int role);
/**
* See QMessageBox:: addButton(QMessageBox::StandardButton)
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QPushButton addButton(io.qt.widgets.QMessageBox.@NonNull StandardButton button){
return addButton_native_QMessageBox_StandardButton(QtJambi_LibraryUtilities.internal.nativeId(this), button.value());
}
@QtUninvokable
private native io.qt.widgets.QPushButton addButton_native_QMessageBox_StandardButton(long __this__nativeId, int button);
/**
* See QMessageBox:: addButton(QString, QMessageBox::ButtonRole)
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QPushButton addButton(java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull ButtonRole role){
return addButton_native_cref_QString_QMessageBox_ButtonRole(QtJambi_LibraryUtilities.internal.nativeId(this), text, role.value());
}
@QtUninvokable
private native io.qt.widgets.QPushButton addButton_native_cref_QString_QMessageBox_ButtonRole(long __this__nativeId, java.lang.String text, int role);
/**
* See QMessageBox:: button(QMessageBox::StandardButton)const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QAbstractButton button(io.qt.widgets.QMessageBox.@NonNull StandardButton which){
return button_native_QMessageBox_StandardButton_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), which.value());
}
@QtUninvokable
private native io.qt.widgets.QAbstractButton button_native_QMessageBox_StandardButton_constfct(long __this__nativeId, int which);
/**
* See QMessageBox:: buttonRole(QAbstractButton*)const
*/
@QtUninvokable
public final io.qt.widgets.QMessageBox.@NonNull ButtonRole buttonRole(io.qt.widgets.@Nullable QAbstractButton button){
return io.qt.widgets.QMessageBox.ButtonRole.resolve(buttonRole_native_QAbstractButton_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(button)));
}
@QtUninvokable
private native int buttonRole_native_QAbstractButton_ptr_constfct(long __this__nativeId, long button);
/**
* See QMessageBox:: buttons()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList buttons(){
return buttons_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList buttons_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: checkBox()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QCheckBox checkBox(){
return checkBox_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QCheckBox checkBox_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: clickedButton()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QAbstractButton clickedButton(){
return clickedButton_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QAbstractButton clickedButton_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: defaultButton()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QPushButton defaultButton(){
return defaultButton_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QPushButton defaultButton_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: detailedText()const
*/
@QtPropertyReader(name="detailedText")
@QtUninvokable
public final java.lang.@NonNull String detailedText(){
return detailedText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String detailedText_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: escapeButton()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QAbstractButton escapeButton(){
return escapeButton_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QAbstractButton escapeButton_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: icon()const
*/
@QtPropertyReader(name="icon")
@QtUninvokable
public final io.qt.widgets.QMessageBox.@NonNull Icon icon(){
return io.qt.widgets.QMessageBox.Icon.resolve(icon_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int icon_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: iconPixmap()const
*/
@QtPropertyReader(name="iconPixmap")
@QtUninvokable
public final io.qt.gui.@NonNull QPixmap iconPixmap(){
return iconPixmap_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QPixmap iconPixmap_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: informativeText()const
*/
@QtPropertyReader(name="informativeText")
@QtUninvokable
public final java.lang.@NonNull String informativeText(){
return informativeText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String informativeText_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: options()const
*/
@QtPropertyReader(name="options")
@QtUninvokable
public final io.qt.widgets.QMessageBox.@NonNull Options options(){
return new io.qt.widgets.QMessageBox.Options(options_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int options_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: removeButton(QAbstractButton*)
*/
@QtUninvokable
public final void removeButton(io.qt.widgets.@Nullable QAbstractButton button){
removeButton_native_QAbstractButton_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(button));
}
@QtUninvokable
private native void removeButton_native_QAbstractButton_ptr(long __this__nativeId, long button);
/**
* See QMessageBox:: setCheckBox(QCheckBox*)
*/
@QtUninvokable
public final void setCheckBox(io.qt.widgets.@Nullable QCheckBox cb){
setCheckBox_native_QCheckBox_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(cb));
QtJambi_LibraryUtilities.internal.setCppOwnership(cb);
}
@QtUninvokable
private native void setCheckBox_native_QCheckBox_ptr(long __this__nativeId, long cb);
/**
* See QMessageBox:: setDefaultButton(QMessageBox::StandardButton)
*/
@QtUninvokable
public final void setDefaultButton(io.qt.widgets.QMessageBox.@NonNull StandardButton button){
setDefaultButton_native_QMessageBox_StandardButton(QtJambi_LibraryUtilities.internal.nativeId(this), button.value());
}
@QtUninvokable
private native void setDefaultButton_native_QMessageBox_StandardButton(long __this__nativeId, int button);
/**
* See QMessageBox:: setDefaultButton(QPushButton*)
*/
@QtUninvokable
public final void setDefaultButton(io.qt.widgets.@Nullable QPushButton button){
setDefaultButton_native_QPushButton_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(button));
}
@QtUninvokable
private native void setDefaultButton_native_QPushButton_ptr(long __this__nativeId, long button);
/**
* See QMessageBox:: setDetailedText(QString)
*/
@QtPropertyWriter(name="detailedText")
@QtUninvokable
public final void setDetailedText(java.lang.@NonNull String text){
setDetailedText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@QtUninvokable
private native void setDetailedText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* See QMessageBox:: setEscapeButton(QAbstractButton*)
*/
@QtUninvokable
public final void setEscapeButton(io.qt.widgets.@Nullable QAbstractButton button){
setEscapeButton_native_QAbstractButton_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(button));
}
@QtUninvokable
private native void setEscapeButton_native_QAbstractButton_ptr(long __this__nativeId, long button);
/**
* See QMessageBox:: setEscapeButton(QMessageBox::StandardButton)
*/
@QtUninvokable
public final void setEscapeButton(io.qt.widgets.QMessageBox.@NonNull StandardButton button){
setEscapeButton_native_QMessageBox_StandardButton(QtJambi_LibraryUtilities.internal.nativeId(this), button.value());
}
@QtUninvokable
private native void setEscapeButton_native_QMessageBox_StandardButton(long __this__nativeId, int button);
/**
* See QMessageBox:: setIcon(QMessageBox::Icon)
*/
@QtPropertyWriter(name="icon")
@QtUninvokable
public final void setIcon(io.qt.widgets.QMessageBox.@NonNull Icon arg__1){
setIcon_native_QMessageBox_Icon(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@QtUninvokable
private native void setIcon_native_QMessageBox_Icon(long __this__nativeId, int arg__1);
/**
* See QMessageBox:: setIconPixmap(QPixmap)
*/
@QtPropertyWriter(name="iconPixmap")
@QtUninvokable
public final void setIconPixmap(io.qt.gui.@NonNull QPixmap pixmap){
setIconPixmap_native_cref_QPixmap(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pixmap));
}
@QtUninvokable
private native void setIconPixmap_native_cref_QPixmap(long __this__nativeId, long pixmap);
/**
* See QMessageBox:: setInformativeText(QString)
*/
@QtPropertyWriter(name="informativeText")
@QtUninvokable
public final void setInformativeText(java.lang.@NonNull String text){
setInformativeText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@QtUninvokable
private native void setInformativeText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* See QMessageBox:: setOption(QMessageBox::Option, bool)
*/
@QtUninvokable
public final void setOption(io.qt.widgets.QMessageBox.@NonNull Option option, boolean on){
setOption_native_QMessageBox_Option_bool(QtJambi_LibraryUtilities.internal.nativeId(this), option.value(), on);
}
@QtUninvokable
private native void setOption_native_QMessageBox_Option_bool(long __this__nativeId, int option, boolean on);
/**
* See QMessageBox:: setOptions(QMessageBox::Options)
*/
@QtPropertyWriter(name="options")
@QtUninvokable
public final void setOptions(io.qt.widgets.QMessageBox.@NonNull Options options){
setOptions_native_QMessageBox_Options(QtJambi_LibraryUtilities.internal.nativeId(this), options.value());
}
@QtUninvokable
private native void setOptions_native_QMessageBox_Options(long __this__nativeId, int options);
/**
* See QMessageBox:: setStandardButtons(QMessageBox::StandardButtons)
*/
@QtPropertyWriter(name="standardButtons")
@QtUninvokable
public final void setStandardButtons(io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons){
setStandardButtons_native_QMessageBox_StandardButtons(QtJambi_LibraryUtilities.internal.nativeId(this), buttons.value());
}
@QtUninvokable
private native void setStandardButtons_native_QMessageBox_StandardButtons(long __this__nativeId, int buttons);
/**
* See QMessageBox:: setText(QString)
*/
@QtPropertyWriter(name="text")
@QtUninvokable
public final void setText(java.lang.@NonNull String text){
setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
@QtUninvokable
private native void setText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* See QMessageBox:: setTextFormat(Qt::TextFormat)
*/
@QtPropertyWriter(name="textFormat")
@QtUninvokable
public final void setTextFormat(io.qt.core.Qt.@NonNull TextFormat format){
setTextFormat_native_Qt_TextFormat(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@QtUninvokable
private native void setTextFormat_native_Qt_TextFormat(long __this__nativeId, int format);
/**
* See QMessageBox:: setTextInteractionFlags(Qt::TextInteractionFlags)
*/
@QtPropertyWriter(name="textInteractionFlags")
@QtUninvokable
public final void setTextInteractionFlags(io.qt.core.Qt.@NonNull TextInteractionFlags flags){
setTextInteractionFlags_native_Qt_TextInteractionFlags(QtJambi_LibraryUtilities.internal.nativeId(this), flags.value());
}
@QtUninvokable
private native void setTextInteractionFlags_native_Qt_TextInteractionFlags(long __this__nativeId, int flags);
/**
* See QMessageBox:: standardButton(QAbstractButton*)const
*/
@QtUninvokable
public final io.qt.widgets.QMessageBox.@NonNull StandardButton standardButton(io.qt.widgets.@Nullable QAbstractButton button){
return io.qt.widgets.QMessageBox.StandardButton.resolve(standardButton_native_QAbstractButton_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(button)));
}
@QtUninvokable
private native int standardButton_native_QAbstractButton_ptr_constfct(long __this__nativeId, long button);
/**
* See QMessageBox:: standardButtons()const
*/
@QtPropertyReader(name="standardButtons")
@QtUninvokable
public final io.qt.widgets.QMessageBox.@NonNull StandardButtons standardButtons(){
return new io.qt.widgets.QMessageBox.StandardButtons(standardButtons_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int standardButtons_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: testOption(QMessageBox::Option)const
*/
@QtUninvokable
public final boolean testOption(io.qt.widgets.QMessageBox.@NonNull Option option){
return testOption_native_QMessageBox_Option_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option.value());
}
@QtUninvokable
private native boolean testOption_native_QMessageBox_Option_constfct(long __this__nativeId, int option);
/**
* See QMessageBox:: text()const
*/
@QtPropertyReader(name="text")
@QtUninvokable
public final java.lang.@NonNull String text(){
return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String text_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: textFormat()const
*/
@QtPropertyReader(name="textFormat")
@QtUninvokable
public final io.qt.core.Qt.@NonNull TextFormat textFormat(){
return io.qt.core.Qt.TextFormat.resolve(textFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int textFormat_native_constfct(long __this__nativeId);
/**
* See QMessageBox:: textInteractionFlags()const
*/
@QtPropertyReader(name="textInteractionFlags")
@QtUninvokable
public final io.qt.core.Qt.@NonNull TextInteractionFlags textInteractionFlags(){
return new io.qt.core.Qt.TextInteractionFlags(textInteractionFlags_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int textInteractionFlags_native_constfct(long __this__nativeId);
/**
* See QWidget:: changeEvent(QEvent*)
*/
@QtUninvokable
@Override
protected void changeEvent(io.qt.core.@Nullable QEvent event){
changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void changeEvent_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget:: closeEvent(QCloseEvent*)
*/
@QtUninvokable
@Override
protected void closeEvent(io.qt.gui.@Nullable QCloseEvent event){
closeEvent_native_QCloseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void closeEvent_native_QCloseEvent_ptr(long __this__nativeId, long event);
/**
* See QObject:: event(QEvent*)
*/
@QtUninvokable
@Override
public boolean event(io.qt.core.@Nullable QEvent e){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget:: keyPressEvent(QKeyEvent*)
*/
@QtUninvokable
@Override
protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent event){
keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget:: resizeEvent(QResizeEvent*)
*/
@QtUninvokable
@Override
protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent event){
resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget:: showEvent(QShowEvent*)
*/
@QtUninvokable
@Override
protected void showEvent(io.qt.gui.@Nullable QShowEvent event){
showEvent_native_QShowEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void showEvent_native_QShowEvent_ptr(long __this__nativeId, long event);
/**
* See QMessageBox:: about(QWidget*, QString, QString)
*/
public static void about(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text){
about_native_QWidget_ptr_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, text);
}
private native static void about_native_QWidget_ptr_cref_QString_cref_QString(long parent, java.lang.String title, java.lang.String text);
/**
* See QMessageBox:: aboutQt(QWidget*, QString)
*/
public static void aboutQt(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title){
aboutQt_native_QWidget_ptr_cref_QString(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title);
}
private native static void aboutQt_native_QWidget_ptr_cref_QString(long parent, java.lang.String title);
/**
* See QMessageBox:: critical(QWidget*, QString, QString, QMessageBox::StandardButton, QMessageBox::StandardButton)
*/
public static int critical(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButton button0, io.qt.widgets.QMessageBox.@NonNull StandardButton button1){
return critical_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButton_QMessageBox_StandardButton(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, text, button0.value(), button1.value());
}
private native static int critical_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButton_QMessageBox_StandardButton(long parent, java.lang.String title, java.lang.String text, int button0, int button1);
/**
* See QMessageBox:: critical(QWidget*, QString, QString, QMessageBox::StandardButtons, QMessageBox::StandardButton)
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton critical(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons, io.qt.widgets.QMessageBox.@NonNull StandardButton defaultButton){
return io.qt.widgets.QMessageBox.StandardButton.resolve(critical_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButtons_QMessageBox_StandardButton(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, text, buttons.value(), defaultButton.value()));
}
private native static int critical_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButtons_QMessageBox_StandardButton(long parent, java.lang.String title, java.lang.String text, int buttons, int defaultButton);
/**
* See QMessageBox:: information(QWidget*, QString, QString, QMessageBox::StandardButton, QMessageBox::StandardButton)
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton information(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButton button0, io.qt.widgets.QMessageBox.@NonNull StandardButton button1){
return io.qt.widgets.QMessageBox.StandardButton.resolve(information_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButton_QMessageBox_StandardButton(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, text, button0.value(), button1.value()));
}
private native static int information_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButton_QMessageBox_StandardButton(long parent, java.lang.String title, java.lang.String text, int button0, int button1);
/**
* See QMessageBox:: information(QWidget*, QString, QString, QMessageBox::StandardButtons, QMessageBox::StandardButton)
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton information(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons, io.qt.widgets.QMessageBox.@NonNull StandardButton defaultButton){
return io.qt.widgets.QMessageBox.StandardButton.resolve(information_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButtons_QMessageBox_StandardButton(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, text, buttons.value(), defaultButton.value()));
}
private native static int information_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButtons_QMessageBox_StandardButton(long parent, java.lang.String title, java.lang.String text, int buttons, int defaultButton);
/**
* See QMessageBox:: question(QWidget*, QString, QString, QMessageBox::StandardButton, QMessageBox::StandardButton)
*/
public static int question(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButton button0, io.qt.widgets.QMessageBox.@NonNull StandardButton button1){
return question_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButton_QMessageBox_StandardButton(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, text, button0.value(), button1.value());
}
private native static int question_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButton_QMessageBox_StandardButton(long parent, java.lang.String title, java.lang.String text, int button0, int button1);
/**
* See QMessageBox:: question(QWidget*, QString, QString, QMessageBox::StandardButtons, QMessageBox::StandardButton)
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton question(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons, io.qt.widgets.QMessageBox.@NonNull StandardButton defaultButton){
return io.qt.widgets.QMessageBox.StandardButton.resolve(question_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButtons_QMessageBox_StandardButton(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, text, buttons.value(), defaultButton.value()));
}
private native static int question_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButtons_QMessageBox_StandardButton(long parent, java.lang.String title, java.lang.String text, int buttons, int defaultButton);
/**
* See QMessageBox:: warning(QWidget*, QString, QString, QMessageBox::StandardButton, QMessageBox::StandardButton)
*/
public static int warning(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButton button0, io.qt.widgets.QMessageBox.@NonNull StandardButton button1){
return warning_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButton_QMessageBox_StandardButton(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, text, button0.value(), button1.value());
}
private native static int warning_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButton_QMessageBox_StandardButton(long parent, java.lang.String title, java.lang.String text, int button0, int button1);
/**
* See QMessageBox:: warning(QWidget*, QString, QString, QMessageBox::StandardButtons, QMessageBox::StandardButton)
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton warning(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons, io.qt.widgets.QMessageBox.@NonNull StandardButton defaultButton){
return io.qt.widgets.QMessageBox.StandardButton.resolve(warning_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButtons_QMessageBox_StandardButton(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, text, buttons.value(), defaultButton.value()));
}
private native static int warning_native_QWidget_ptr_cref_QString_cref_QString_QMessageBox_StandardButtons_QMessageBox_StandardButton(long parent, java.lang.String title, java.lang.String text, int buttons, int defaultButton);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QMessageBox(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QMessageBox(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QMessageBox instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QMessageBox(io.qt.widgets.QMessageBox.Icon, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with flags = new io.qt.core.Qt.WindowFlags(259)
.
*/
public QMessageBox(io.qt.widgets.QMessageBox.@NonNull Icon icon, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons, io.qt.widgets.@Nullable QWidget parent) {
this(icon, title, text, buttons, parent, new io.qt.core.Qt.WindowFlags(259));
}
/**
* Overloaded constructor for {@link #QMessageBox(io.qt.widgets.QMessageBox.Icon, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with:
* parent = null
* flags = new io.qt.core.Qt.WindowFlags(259)
*
*/
public QMessageBox(io.qt.widgets.QMessageBox.@NonNull Icon icon, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons) {
this(icon, title, text, buttons, (io.qt.widgets.QWidget)null, new io.qt.core.Qt.WindowFlags(259));
}
/**
* Overloaded constructor for {@link #QMessageBox(io.qt.widgets.QMessageBox.Icon, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with:
* buttons = new io.qt.widgets.QMessageBox.StandardButtons(0)
* parent = null
* flags = new io.qt.core.Qt.WindowFlags(259)
*
*/
public QMessageBox(io.qt.widgets.QMessageBox.@NonNull Icon icon, java.lang.@NonNull String title, java.lang.@NonNull String text) {
this(icon, title, text, new io.qt.widgets.QMessageBox.StandardButtons(0), (io.qt.widgets.QWidget)null, new io.qt.core.Qt.WindowFlags(259));
}
/**
* Overloaded constructor for {@link #QMessageBox(io.qt.widgets.QMessageBox.Icon, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}.
*/
public QMessageBox(io.qt.widgets.QMessageBox.@NonNull Icon icon, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons, io.qt.widgets.@Nullable QWidget parent, io.qt.core.Qt.@NonNull WindowType @NonNull... flags) {
this(icon, title, text, buttons, parent, new io.qt.core.Qt.WindowFlags(flags));
}
/**
* Overloaded constructor for {@link #QMessageBox(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QMessageBox() {
this((io.qt.widgets.QWidget)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #detailedText()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getDetailedText() {
return detailedText();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #icon()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QMessageBox.@NonNull Icon getIcon() {
return icon();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #iconPixmap()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QPixmap getIconPixmap() {
return iconPixmap();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #informativeText()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getInformativeText() {
return informativeText();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #options()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QMessageBox.@NonNull Options getOptions() {
return options();
}
/**
* Overloaded function for {@link #setOption(io.qt.widgets.QMessageBox.Option, boolean)}
* with on = true
.
*/
@QtUninvokable
public final void setOption(io.qt.widgets.QMessageBox.@NonNull Option option) {
setOption(option, (boolean)true);
}
/**
* Overloaded function for {@link #setOptions(io.qt.widgets.QMessageBox.Options)}.
*/
@QtUninvokable
public final void setOptions(io.qt.widgets.QMessageBox.@NonNull Option @NonNull... options) {
setOptions(new io.qt.widgets.QMessageBox.Options(options));
}
/**
* Overloaded function for {@link #setStandardButtons(io.qt.widgets.QMessageBox.StandardButtons)}.
*/
@QtUninvokable
public final void setStandardButtons(io.qt.widgets.QMessageBox.@NonNull StandardButton @NonNull... buttons) {
setStandardButtons(new io.qt.widgets.QMessageBox.StandardButtons(buttons));
}
/**
* Overloaded function for {@link #setTextInteractionFlags(io.qt.core.Qt.TextInteractionFlags)}.
*/
@QtUninvokable
public final void setTextInteractionFlags(io.qt.core.Qt.@NonNull TextInteractionFlag @NonNull... flags) {
setTextInteractionFlags(new io.qt.core.Qt.TextInteractionFlags(flags));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #standardButtons()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QMessageBox.@NonNull StandardButtons getStandardButtons() {
return standardButtons();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #text()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getText() {
return text();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #textFormat()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.Qt.@NonNull TextFormat getTextFormat() {
return textFormat();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #textInteractionFlags()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.Qt.@NonNull TextInteractionFlags getTextInteractionFlags() {
return textInteractionFlags();
}
/**
* Overloaded function for {@link #aboutQt(io.qt.widgets.QWidget, java.lang.String)}
* with title = (String)null
.
*/
public static void aboutQt(io.qt.widgets.@Nullable QWidget parent) {
aboutQt(parent, (String)null);
}
/**
* Overloaded function for {@link #critical(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QMessageBox.StandardButton)}
* with defaultButton = io.qt.widgets.QMessageBox.StandardButton.NoButton
.
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton critical(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons) {
return critical(parent, title, text, buttons, io.qt.widgets.QMessageBox.StandardButton.NoButton);
}
/**
* Overloaded function for {@link #critical(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QMessageBox.StandardButton)}
* with:
* buttons = new io.qt.widgets.QMessageBox.StandardButtons(1024)
* defaultButton = io.qt.widgets.QMessageBox.StandardButton.NoButton
*
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton critical(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text) {
return critical(parent, title, text, new io.qt.widgets.QMessageBox.StandardButtons(1024), io.qt.widgets.QMessageBox.StandardButton.NoButton);
}
/**
* Overloaded function for {@link #information(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButton, io.qt.widgets.QMessageBox.StandardButton)}
* with button1 = io.qt.widgets.QMessageBox.StandardButton.NoButton
.
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton information(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButton button0) {
return information(parent, title, text, button0, io.qt.widgets.QMessageBox.StandardButton.NoButton);
}
/**
* Overloaded function for {@link #information(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QMessageBox.StandardButton)}
* with defaultButton = io.qt.widgets.QMessageBox.StandardButton.NoButton
.
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton information(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons) {
return information(parent, title, text, buttons, io.qt.widgets.QMessageBox.StandardButton.NoButton);
}
/**
* Overloaded function for {@link #information(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QMessageBox.StandardButton)}
* with:
* buttons = new io.qt.widgets.QMessageBox.StandardButtons(1024)
* defaultButton = io.qt.widgets.QMessageBox.StandardButton.NoButton
*
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton information(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text) {
return information(parent, title, text, new io.qt.widgets.QMessageBox.StandardButtons(1024), io.qt.widgets.QMessageBox.StandardButton.NoButton);
}
/**
* Overloaded function for {@link #question(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QMessageBox.StandardButton)}
* with defaultButton = io.qt.widgets.QMessageBox.StandardButton.NoButton
.
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton question(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons) {
return question(parent, title, text, buttons, io.qt.widgets.QMessageBox.StandardButton.NoButton);
}
/**
* Overloaded function for {@link #question(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QMessageBox.StandardButton)}
* with:
* buttons = new io.qt.widgets.QMessageBox.StandardButtons(81920)
* defaultButton = io.qt.widgets.QMessageBox.StandardButton.NoButton
*
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton question(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text) {
return question(parent, title, text, new io.qt.widgets.QMessageBox.StandardButtons(81920), io.qt.widgets.QMessageBox.StandardButton.NoButton);
}
/**
* Overloaded function for {@link #warning(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QMessageBox.StandardButton)}
* with defaultButton = io.qt.widgets.QMessageBox.StandardButton.NoButton
.
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton warning(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text, io.qt.widgets.QMessageBox.@NonNull StandardButtons buttons) {
return warning(parent, title, text, buttons, io.qt.widgets.QMessageBox.StandardButton.NoButton);
}
/**
* Overloaded function for {@link #warning(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QMessageBox.StandardButtons, io.qt.widgets.QMessageBox.StandardButton)}
* with:
* buttons = new io.qt.widgets.QMessageBox.StandardButtons(1024)
* defaultButton = io.qt.widgets.QMessageBox.StandardButton.NoButton
*
*/
public static io.qt.widgets.QMessageBox.@NonNull StandardButton warning(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String text) {
return warning(parent, title, text, new io.qt.widgets.QMessageBox.StandardButtons(1024), io.qt.widgets.QMessageBox.StandardButton.NoButton);
}
}