All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.widgets.QInputDialog Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.widgets;

import io.qt.*;


/**
 * 

Simple convenience dialog to get a single value from the user

*

Java wrapper for Qt class QInputDialog

*/ public class QInputDialog 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(QInputDialog.class); /** *

Java wrapper for Qt enum QInputDialog::InputDialogOption

* * @see InputDialogOptions */ public enum InputDialogOption implements QtFlagEnumerator { /** *

Representing QInputDialog::NoButtons

*/ NoButtons(1), /** *

Representing QInputDialog::UseListViewForComboBoxItems

*/ UseListViewForComboBoxItems(2), /** *

Representing QInputDialog::UsePlainTextEditForTextInput

*/ UsePlainTextEditForTextInput(4); static { QtJambi_LibraryUtilities.initialize(); } private InputDialogOption(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ @Override public @NonNull InputDialogOptions asFlags() { return new InputDialogOptions(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull InputDialogOptions combined(@NonNull InputDialogOption 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 InputDialogOptions cleared(@NonNull InputDialogOption e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link InputDialogOptions} from the entries. * @param values entries * @return new flag */ public static @NonNull InputDialogOptions flags(@Nullable InputDialogOption @NonNull... values) { return new InputDialogOptions(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull InputDialogOption resolve(int value) { switch (value) { case 1: return NoButtons; case 2: return UseListViewForComboBoxItems; case 4: return UsePlainTextEditForTextInput; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link InputDialogOption} */ public static final class InputDialogOptions extends QFlags implements Comparable { private static final long serialVersionUID = 0xf740a28c5c38c430L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new InputDialogOptions where the flags in args are set. * @param args enum entries */ public InputDialogOptions(@Nullable InputDialogOption @NonNull... args){ super(args); } /** * Creates a new InputDialogOptions with given value. * @param value */ public InputDialogOptions(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new InputDialogOptions */ @Override public final @NonNull InputDialogOptions combined(@StrictNonNull InputDialogOption e){ return new InputDialogOptions(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ @Override public final @NonNull InputDialogOptions setFlag(@Nullable InputDialogOption e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ @Override public final @NonNull InputDialogOptions setFlag(@Nullable InputDialogOption 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 InputDialogOptions. * @return array of enum entries */ @Override public final @NonNull InputDialogOption @NonNull[] flags(){ return super.flags(InputDialogOption.values()); } /** * {@inheritDoc} */ @Override public final @NonNull InputDialogOptions clone(){ return new InputDialogOptions(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull InputDialogOptions other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QInputDialog::InputMode

*/ @QtUnlistedEnum public enum InputMode implements QtEnumerator { /** *

Representing QInputDialog::TextInput

*/ TextInput(0), /** *

Representing QInputDialog::IntInput

*/ IntInput(1), /** *

Representing QInputDialog::DoubleInput

*/ DoubleInput(2); static { QtJambi_LibraryUtilities.initialize(); } private InputMode(int value) { this.value = value; } /** * {@inheritDoc} */ @Override public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull InputMode resolve(int value) { switch (value) { case 0: return TextInput; case 1: return IntInput; case 2: return DoubleInput; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QInputDialog::doubleValueChanged(double)

*/ public final @NonNull Signal1 doubleValueChanged = new Signal1<>(); /** *

See QInputDialog::doubleValueSelected(double)

*/ public final @NonNull Signal1 doubleValueSelected = new Signal1<>(); /** *

See QInputDialog::intValueChanged(int)

*/ public final @NonNull Signal1 intValueChanged = new Signal1<>(); /** *

See QInputDialog::intValueSelected(int)

*/ public final @NonNull Signal1 intValueSelected = new Signal1<>(); /** *

See QInputDialog::textValueChanged(QString)

*/ public final @NonNull Signal1 textValueChanged = new Signal1<>(); /** *

See QInputDialog::textValueSelected(QString)

*/ public final @NonNull Signal1 textValueSelected = new Signal1<>(); /** *

See QInputDialog::QInputDialog(QWidget*,Qt::WindowFlags)

*/ public QInputDialog(io.qt.widgets.@Nullable QWidget parent, io.qt.core.Qt.@NonNull WindowFlags flags){ super((QPrivateConstructor)null); initialize_native(this, parent, flags); } private native static void initialize_native(QInputDialog instance, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags flags); /** *

See QInputDialog::cancelButtonText()const

*/ @QtUninvokable public final java.lang.@NonNull String cancelButtonText(){ return cancelButtonText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String cancelButtonText_native_constfct(long __this__nativeId); /** *

See QInputDialog::comboBoxItems()const

*/ @QtUninvokable public final io.qt.core.@NonNull QStringList comboBoxItems(){ return comboBoxItems_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QStringList comboBoxItems_native_constfct(long __this__nativeId); /** *

See QInputDialog::doubleDecimals()const

*/ @QtUninvokable public final int doubleDecimals(){ return doubleDecimals_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int doubleDecimals_native_constfct(long __this__nativeId); /** *

See QInputDialog::doubleMaximum()const

*/ @QtUninvokable public final double doubleMaximum(){ return doubleMaximum_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double doubleMaximum_native_constfct(long __this__nativeId); /** *

See QInputDialog::doubleMinimum()const

*/ @QtUninvokable public final double doubleMinimum(){ return doubleMinimum_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double doubleMinimum_native_constfct(long __this__nativeId); /** *

See QInputDialog::doubleStep()const

*/ @QtUninvokable public final double doubleStep(){ return doubleStep_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double doubleStep_native_constfct(long __this__nativeId); /** *

See QInputDialog::doubleValue()const

*/ @QtUninvokable public final double doubleValue(){ return doubleValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double doubleValue_native_constfct(long __this__nativeId); /** *

See QInputDialog::inputMode()const

*/ @QtUninvokable public final io.qt.widgets.QInputDialog.@NonNull InputMode inputMode(){ return io.qt.widgets.QInputDialog.InputMode.resolve(inputMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int inputMode_native_constfct(long __this__nativeId); /** *

See QInputDialog::intMaximum()const

*/ @QtUninvokable public final int intMaximum(){ return intMaximum_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int intMaximum_native_constfct(long __this__nativeId); /** *

See QInputDialog::intMinimum()const

*/ @QtUninvokable public final int intMinimum(){ return intMinimum_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int intMinimum_native_constfct(long __this__nativeId); /** *

See QInputDialog::intStep()const

*/ @QtUninvokable public final int intStep(){ return intStep_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int intStep_native_constfct(long __this__nativeId); /** *

See QInputDialog::intValue()const

*/ @QtUninvokable public final int intValue(){ return intValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int intValue_native_constfct(long __this__nativeId); /** *

See QInputDialog::isComboBoxEditable()const

*/ @QtUninvokable public final boolean isComboBoxEditable(){ return isComboBoxEditable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isComboBoxEditable_native_constfct(long __this__nativeId); /** *

See QInputDialog::labelText()const

*/ @QtUninvokable public final java.lang.@NonNull String labelText(){ return labelText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String labelText_native_constfct(long __this__nativeId); /** *

See QInputDialog::okButtonText()const

*/ @QtUninvokable public final java.lang.@NonNull String okButtonText(){ return okButtonText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String okButtonText_native_constfct(long __this__nativeId); /** *

See QInputDialog::open(QObject*,const char*)

*/ @QtUninvokable public final void open(io.qt.core.@Nullable QObject receiver, java.lang.@Nullable String member){ if(!member.startsWith("1") || !member.startsWith("2")) member = '1'+member; open_native_QObject_ptr_const_char_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(receiver), member); } @QtUninvokable private native void open_native_QObject_ptr_const_char_ptr(long __this__nativeId, long receiver, java.lang.String member); /** *

See QInputDialog::options()const

*/ @QtUninvokable public final io.qt.widgets.QInputDialog.@NonNull InputDialogOptions options(){ return new io.qt.widgets.QInputDialog.InputDialogOptions(options_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int options_native_constfct(long __this__nativeId); /** *

See QInputDialog::setCancelButtonText(QString)

*/ @QtUninvokable public final void setCancelButtonText(java.lang.@NonNull String text){ setCancelButtonText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native void setCancelButtonText_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

See QInputDialog::setComboBoxEditable(bool)

*/ @QtUninvokable public final void setComboBoxEditable(boolean editable){ setComboBoxEditable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), editable); } @QtUninvokable private native void setComboBoxEditable_native_bool(long __this__nativeId, boolean editable); /** *

See QInputDialog::setComboBoxItems(QStringList)

*/ @QtUninvokable public final void setComboBoxItems(java.util.@NonNull Collection items){ setComboBoxItems_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), items); } @QtUninvokable private native void setComboBoxItems_native_cref_QStringList(long __this__nativeId, java.util.Collection items); /** *

See QInputDialog::setDoubleDecimals(int)

*/ @QtUninvokable public final void setDoubleDecimals(int decimals){ setDoubleDecimals_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), decimals); } @QtUninvokable private native void setDoubleDecimals_native_int(long __this__nativeId, int decimals); /** *

See QInputDialog::setDoubleMaximum(double)

*/ @QtUninvokable public final void setDoubleMaximum(double max){ setDoubleMaximum_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), max); } @QtUninvokable private native void setDoubleMaximum_native_double(long __this__nativeId, double max); /** *

See QInputDialog::setDoubleMinimum(double)

*/ @QtUninvokable public final void setDoubleMinimum(double min){ setDoubleMinimum_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), min); } @QtUninvokable private native void setDoubleMinimum_native_double(long __this__nativeId, double min); /** *

See QInputDialog::setDoubleRange(double,double)

*/ @QtUninvokable public final void setDoubleRange(double min, double max){ setDoubleRange_native_double_double(QtJambi_LibraryUtilities.internal.nativeId(this), min, max); } @QtUninvokable private native void setDoubleRange_native_double_double(long __this__nativeId, double min, double max); /** *

See QInputDialog::setDoubleStep(double)

*/ @QtUninvokable public final void setDoubleStep(double step){ setDoubleStep_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), step); } @QtUninvokable private native void setDoubleStep_native_double(long __this__nativeId, double step); /** *

See QInputDialog::setDoubleValue(double)

*/ @QtUninvokable public final void setDoubleValue(double value){ setDoubleValue_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), value); } @QtUninvokable private native void setDoubleValue_native_double(long __this__nativeId, double value); /** *

See QInputDialog::setInputMode(QInputDialog::InputMode)

*/ @QtUninvokable public final void setInputMode(io.qt.widgets.QInputDialog.@NonNull InputMode mode){ setInputMode_native_QInputDialog_InputMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setInputMode_native_QInputDialog_InputMode(long __this__nativeId, int mode); /** *

See QInputDialog::setIntMaximum(int)

*/ @QtUninvokable public final void setIntMaximum(int max){ setIntMaximum_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), max); } @QtUninvokable private native void setIntMaximum_native_int(long __this__nativeId, int max); /** *

See QInputDialog::setIntMinimum(int)

*/ @QtUninvokable public final void setIntMinimum(int min){ setIntMinimum_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), min); } @QtUninvokable private native void setIntMinimum_native_int(long __this__nativeId, int min); /** *

See QInputDialog::setIntRange(int,int)

*/ @QtUninvokable public final void setIntRange(int min, int max){ setIntRange_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), min, max); } @QtUninvokable private native void setIntRange_native_int_int(long __this__nativeId, int min, int max); /** *

See QInputDialog::setIntStep(int)

*/ @QtUninvokable public final void setIntStep(int step){ setIntStep_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), step); } @QtUninvokable private native void setIntStep_native_int(long __this__nativeId, int step); /** *

See QInputDialog::setIntValue(int)

*/ @QtUninvokable public final void setIntValue(int value){ setIntValue_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), value); } @QtUninvokable private native void setIntValue_native_int(long __this__nativeId, int value); /** *

See QInputDialog::setLabelText(QString)

*/ @QtUninvokable public final void setLabelText(java.lang.@NonNull String text){ setLabelText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native void setLabelText_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

See QInputDialog::setOkButtonText(QString)

*/ @QtUninvokable public final void setOkButtonText(java.lang.@NonNull String text){ setOkButtonText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native void setOkButtonText_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

See QInputDialog::setOption(QInputDialog::InputDialogOption,bool)

*/ @QtUninvokable public final void setOption(io.qt.widgets.QInputDialog.@NonNull InputDialogOption option, boolean on){ setOption_native_QInputDialog_InputDialogOption_bool(QtJambi_LibraryUtilities.internal.nativeId(this), option.value(), on); } @QtUninvokable private native void setOption_native_QInputDialog_InputDialogOption_bool(long __this__nativeId, int option, boolean on); /** *

See QInputDialog::setOptions(QInputDialog::InputDialogOptions)

*/ @QtUninvokable public final void setOptions(io.qt.widgets.QInputDialog.@NonNull InputDialogOptions options){ setOptions_native_QInputDialog_InputDialogOptions(QtJambi_LibraryUtilities.internal.nativeId(this), options.value()); } @QtUninvokable private native void setOptions_native_QInputDialog_InputDialogOptions(long __this__nativeId, int options); /** *

See QInputDialog::setTextEchoMode(QLineEdit::EchoMode)

*/ @QtUninvokable public final void setTextEchoMode(io.qt.widgets.QLineEdit.@NonNull EchoMode mode){ setTextEchoMode_native_QLineEdit_EchoMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setTextEchoMode_native_QLineEdit_EchoMode(long __this__nativeId, int mode); /** *

See QInputDialog::setTextValue(QString)

*/ @QtUninvokable public final void setTextValue(java.lang.@NonNull String text){ setTextValue_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native void setTextValue_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

See QInputDialog::testOption(QInputDialog::InputDialogOption)const

*/ @QtUninvokable public final boolean testOption(io.qt.widgets.QInputDialog.@NonNull InputDialogOption option){ return testOption_native_QInputDialog_InputDialogOption_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option.value()); } @QtUninvokable private native boolean testOption_native_QInputDialog_InputDialogOption_constfct(long __this__nativeId, int option); /** *

See QInputDialog::textEchoMode()const

*/ @QtUninvokable public final io.qt.widgets.QLineEdit.@NonNull EchoMode textEchoMode(){ return io.qt.widgets.QLineEdit.EchoMode.resolve(textEchoMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int textEchoMode_native_constfct(long __this__nativeId); /** *

See QInputDialog::textValue()const

*/ @QtUninvokable public final java.lang.@NonNull String textValue(){ return textValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String textValue_native_constfct(long __this__nativeId); /** *

See QDialog::done(int)

*/ @QtUninvokable @Override public void done(int result){ done_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), result); } @QtUninvokable private native void done_native_int(long __this__nativeId, int result); /** *

See QWidget::minimumSizeHint()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QSize minimumSizeHint(){ return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId); /** *

See QWidget::setVisible(bool)

*/ @QtUninvokable @Override public void setVisible(boolean visible){ setVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), visible); } @QtUninvokable private native void setVisible_native_bool(long __this__nativeId, boolean visible); /** *

See QWidget::sizeHint()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QSize sizeHint(){ return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId); /** *

See QInputDialog::getDouble(QWidget*,QString,QString,double,double,double,int,bool*,Qt::WindowFlags,double)

*/ public static java.lang.@Nullable Double getDouble(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, double value, double minValue, double maxValue, int decimals, io.qt.core.Qt.@NonNull WindowFlags flags, double step){ return getDouble_native_QWidget_ptr_cref_QString_cref_QString_double_double_double_int_bool_ptr_Qt_WindowFlags_double(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, label, value, minValue, maxValue, decimals, flags.value(), step); } private native static java.lang.@Nullable Double getDouble_native_QWidget_ptr_cref_QString_cref_QString_double_double_double_int_bool_ptr_Qt_WindowFlags_double(long parent, java.lang.String title, java.lang.String label, double value, double minValue, double maxValue, int decimals, int flags, double step); /** *

See QInputDialog::getInt(QWidget*,QString,QString,int,int,int,int,bool*,Qt::WindowFlags)

*/ public static java.lang.@Nullable Integer getInt(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, int value, int minValue, int maxValue, int step, io.qt.core.Qt.@NonNull WindowFlags flags){ return getInt_native_QWidget_ptr_cref_QString_cref_QString_int_int_int_int_bool_ptr_Qt_WindowFlags(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, label, value, minValue, maxValue, step, flags.value()); } private native static java.lang.@Nullable Integer getInt_native_QWidget_ptr_cref_QString_cref_QString_int_int_int_int_bool_ptr_Qt_WindowFlags(long parent, java.lang.String title, java.lang.String label, int value, int minValue, int maxValue, int step, int flags); /** *

See QInputDialog::getItem(QWidget*,QString,QString,QStringList,int,bool,bool*,Qt::WindowFlags,Qt::InputMethodHints)

*/ public static java.lang.@Nullable String getItem(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, java.util.@NonNull Collection items, int current, boolean editable, io.qt.core.Qt.@NonNull WindowFlags flags, io.qt.core.Qt.@NonNull InputMethodHints inputMethodHints){ return getItem_native_QWidget_ptr_cref_QString_cref_QString_cref_QStringList_int_bool_bool_ptr_Qt_WindowFlags_Qt_InputMethodHints(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, label, items, current, editable, flags.value(), inputMethodHints.value()); } private native static java.lang.@Nullable String getItem_native_QWidget_ptr_cref_QString_cref_QString_cref_QStringList_int_bool_bool_ptr_Qt_WindowFlags_Qt_InputMethodHints(long parent, java.lang.String title, java.lang.String label, java.util.Collection items, int current, boolean editable, int flags, int inputMethodHints); /** *

See QInputDialog::getMultiLineText(QWidget*,QString,QString,QString,bool*,Qt::WindowFlags,Qt::InputMethodHints)

*/ public static java.lang.@Nullable String getMultiLineText(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, java.lang.@NonNull String text, io.qt.core.Qt.@NonNull WindowFlags flags, io.qt.core.Qt.@NonNull InputMethodHints inputMethodHints){ return getMultiLineText_native_QWidget_ptr_cref_QString_cref_QString_cref_QString_bool_ptr_Qt_WindowFlags_Qt_InputMethodHints(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, label, text, flags.value(), inputMethodHints.value()); } private native static java.lang.@Nullable String getMultiLineText_native_QWidget_ptr_cref_QString_cref_QString_cref_QString_bool_ptr_Qt_WindowFlags_Qt_InputMethodHints(long parent, java.lang.String title, java.lang.String label, java.lang.String text, int flags, int inputMethodHints); /** *

See QInputDialog::getText(QWidget*,QString,QString,QLineEdit::EchoMode,QString,bool*,Qt::WindowFlags,Qt::InputMethodHints)

*/ public static java.lang.@Nullable String getText(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, io.qt.widgets.QLineEdit.@NonNull EchoMode echo, java.lang.@NonNull String text, io.qt.core.Qt.@NonNull WindowFlags flags, io.qt.core.Qt.@NonNull InputMethodHints inputMethodHints){ return getText_native_QWidget_ptr_cref_QString_cref_QString_QLineEdit_EchoMode_cref_QString_bool_ptr_Qt_WindowFlags_Qt_InputMethodHints(QtJambi_LibraryUtilities.internal.checkedNativeId(parent), title, label, echo.value(), text, flags.value(), inputMethodHints.value()); } private native static java.lang.@Nullable String getText_native_QWidget_ptr_cref_QString_cref_QString_QLineEdit_EchoMode_cref_QString_bool_ptr_Qt_WindowFlags_Qt_InputMethodHints(long parent, java.lang.String title, java.lang.String label, int echo, java.lang.String text, int flags, int inputMethodHints); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QInputDialog(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QInputDialog(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QInputDialog instance, QDeclarativeConstructor constructor); /** *

See QInputDialog::open(QObject *, const char *)

*/ @QtUninvokable public final void open(io.qt.core.QMetaObject.@StrictNonNull Slot0 selectedSlot) { io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromMethod(java.util.Objects.requireNonNull(selectedSlot)); if(metaMethod==null || !metaMethod.isValid()) { throw new IllegalArgumentException("Unable to detect slot for given handle."); } if(metaMethod.parameterCount()>0) { throw new IllegalArgumentException("Connected method must not take any arguments: "+metaMethod.cppMethodSignature()); } io.qt.core.QObject object = QtJambi_LibraryUtilities.internal.lambdaContext(selectedSlot); if(object==null) { throw new IllegalArgumentException("Unable to determine QObject from given slot handle."); } open(object, metaMethod); } /** *

See QInputDialog::open(QObject *, const char *)

*/ @QtUninvokable public final void open(io.qt.core.QMetaObject.@StrictNonNull Slot1 selectedSlot) { io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromMethod(java.util.Objects.requireNonNull(selectedSlot)); if(metaMethod==null || !metaMethod.isValid()) { throw new IllegalArgumentException("Unable to detect slot for given handle."); } if(metaMethod.parameterCount()>0) { throw new IllegalArgumentException("Connected method does not take a single argument: "+metaMethod.cppMethodSignature()); } if(metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.QString.value() && metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.Int.value() && metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.UInt.value() && metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.Double.value()) { throw new IllegalArgumentException("Method does not take a single String, int or double argument: "+metaMethod.cppMethodSignature()); } io.qt.core.QObject object = QtJambi_LibraryUtilities.internal.lambdaContext(selectedSlot); if(object==null) { throw new IllegalArgumentException("Unable to determine QObject from given slot handle."); } open(object, metaMethod); } /** *

See QInputDialog::open(QObject *, const char *)

*/ @QtUninvokable public final void open(io.qt.core.QMetaObject.@StrictNonNull Connectable1 selectedSignal) { io.qt.core.QMetaMethod metaMethod = io.qt.core.QMetaMethod.fromSignal(selectedSignal); if(metaMethod==null || !metaMethod.isValid()) { throw new IllegalArgumentException("Unable to detect signal for given handle."); } if(metaMethod.parameterCount()>0) { throw new IllegalArgumentException("Connected method does not take a single argument: "+metaMethod.cppMethodSignature()); } if(metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.QString.value() && metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.Int.value() && metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.UInt.value() && metaMethod.parameterType(0)!=io.qt.core.QMetaType.Type.Double.value()) { throw new IllegalArgumentException("Method does not take a single String, int or double argument: "+metaMethod.cppMethodSignature()); } if(!(selectedSignal.containingObject() instanceof io.qt.core.QObject)) { throw new IllegalArgumentException("Unable to determine QObject from given signal handle."); } open((io.qt.core.QObject)selectedSignal.containingObject(), metaMethod); } private native void open(io.qt.core.QObject obj, io.qt.core.QMetaMethod metaMethod); /** *

Overloaded constructor for {@link #QInputDialog(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)} * with flags = new io.qt.core.Qt.WindowFlags(0).

*/ public QInputDialog(io.qt.widgets.@Nullable QWidget parent) { this(parent, new io.qt.core.Qt.WindowFlags(0)); } /** *

Overloaded constructor for {@link #QInputDialog(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}

*

with:

    *
  • parent = null
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
*/ public QInputDialog() { this((io.qt.widgets.QWidget)null, new io.qt.core.Qt.WindowFlags(0)); } /** *

Overloaded constructor for {@link #QInputDialog(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}.

*/ public QInputDialog(io.qt.widgets.@Nullable QWidget parent, io.qt.core.Qt.@NonNull WindowType @NonNull... flags) { this(parent, new io.qt.core.Qt.WindowFlags(flags)); } /** *

Overloaded function for {@link #setOption(io.qt.widgets.QInputDialog.InputDialogOption, boolean)} * with on = true.

*/ @QtUninvokable public final void setOption(io.qt.widgets.QInputDialog.@NonNull InputDialogOption option) { setOption(option, (boolean)true); } /** *

Overloaded function for {@link #setOptions(io.qt.widgets.QInputDialog.InputDialogOptions)}.

*/ @QtUninvokable public final void setOptions(io.qt.widgets.QInputDialog.@NonNull InputDialogOption @NonNull... options) { setOptions(new io.qt.widgets.QInputDialog.InputDialogOptions(options)); } /** *

Overloaded function for {@link #getDouble(io.qt.widgets.QWidget, java.lang.String, java.lang.String, double, double, double, int, io.qt.core.Qt.WindowFlags, double)} * with step = 1.

*/ public static java.lang.@Nullable Double getDouble(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, double value, double minValue, double maxValue, int decimals, io.qt.core.Qt.@NonNull WindowFlags flags) { return getDouble(parent, title, label, value, minValue, maxValue, decimals, flags, (double)1); } /** *

Overloaded function for {@link #getDouble(io.qt.widgets.QWidget, java.lang.String, java.lang.String, double, double, double, int, io.qt.core.Qt.WindowFlags, double)}

*

with:

    *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • step = 1
  • *
*/ public static java.lang.@Nullable Double getDouble(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, double value, double minValue, double maxValue, int decimals) { return getDouble(parent, title, label, value, minValue, maxValue, decimals, new io.qt.core.Qt.WindowFlags(0), (double)1); } /** *

Overloaded function for {@link #getDouble(io.qt.widgets.QWidget, java.lang.String, java.lang.String, double, double, double, int, io.qt.core.Qt.WindowFlags, double)}

*

with:

    *
  • decimals = 1
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • step = 1
  • *
*/ public static java.lang.@Nullable Double getDouble(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, double value, double minValue, double maxValue) { return getDouble(parent, title, label, value, minValue, maxValue, (int)1, new io.qt.core.Qt.WindowFlags(0), (double)1); } /** *

Overloaded function for {@link #getDouble(io.qt.widgets.QWidget, java.lang.String, java.lang.String, double, double, double, int, io.qt.core.Qt.WindowFlags, double)}

*

with:

    *
  • maxValue = 2147483647
  • *
  • decimals = 1
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • step = 1
  • *
*/ public static java.lang.@Nullable Double getDouble(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, double value, double minValue) { return getDouble(parent, title, label, value, minValue, (double)2147483647, (int)1, new io.qt.core.Qt.WindowFlags(0), (double)1); } /** *

Overloaded function for {@link #getDouble(io.qt.widgets.QWidget, java.lang.String, java.lang.String, double, double, double, int, io.qt.core.Qt.WindowFlags, double)}

*

with:

    *
  • minValue = -2147483647
  • *
  • maxValue = 2147483647
  • *
  • decimals = 1
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • step = 1
  • *
*/ public static java.lang.@Nullable Double getDouble(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, double value) { return getDouble(parent, title, label, value, (double)-2147483647, (double)2147483647, (int)1, new io.qt.core.Qt.WindowFlags(0), (double)1); } /** *

Overloaded function for {@link #getDouble(io.qt.widgets.QWidget, java.lang.String, java.lang.String, double, double, double, int, io.qt.core.Qt.WindowFlags, double)}

*

with:

    *
  • value = 0
  • *
  • minValue = -2147483647
  • *
  • maxValue = 2147483647
  • *
  • decimals = 1
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • step = 1
  • *
*/ public static java.lang.@Nullable Double getDouble(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label) { return getDouble(parent, title, label, (double)0, (double)-2147483647, (double)2147483647, (int)1, new io.qt.core.Qt.WindowFlags(0), (double)1); } /** *

Overloaded function for {@link #getInt(io.qt.widgets.QWidget, java.lang.String, java.lang.String, int, int, int, int, io.qt.core.Qt.WindowFlags)} * with flags = new io.qt.core.Qt.WindowFlags(0).

*/ public static java.lang.@Nullable Integer getInt(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, int value, int minValue, int maxValue, int step) { return getInt(parent, title, label, value, minValue, maxValue, step, new io.qt.core.Qt.WindowFlags(0)); } /** *

Overloaded function for {@link #getInt(io.qt.widgets.QWidget, java.lang.String, java.lang.String, int, int, int, int, io.qt.core.Qt.WindowFlags)}

*

with:

    *
  • step = 1
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
*/ public static java.lang.@Nullable Integer getInt(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, int value, int minValue, int maxValue) { return getInt(parent, title, label, value, minValue, maxValue, (int)1, new io.qt.core.Qt.WindowFlags(0)); } /** *

Overloaded function for {@link #getInt(io.qt.widgets.QWidget, java.lang.String, java.lang.String, int, int, int, int, io.qt.core.Qt.WindowFlags)}

*

with:

    *
  • maxValue = 2147483647
  • *
  • step = 1
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
*/ public static java.lang.@Nullable Integer getInt(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, int value, int minValue) { return getInt(parent, title, label, value, minValue, (int)2147483647, (int)1, new io.qt.core.Qt.WindowFlags(0)); } /** *

Overloaded function for {@link #getInt(io.qt.widgets.QWidget, java.lang.String, java.lang.String, int, int, int, int, io.qt.core.Qt.WindowFlags)}

*

with:

    *
  • minValue = -2147483647
  • *
  • maxValue = 2147483647
  • *
  • step = 1
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
*/ public static java.lang.@Nullable Integer getInt(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, int value) { return getInt(parent, title, label, value, (int)-2147483647, (int)2147483647, (int)1, new io.qt.core.Qt.WindowFlags(0)); } /** *

Overloaded function for {@link #getInt(io.qt.widgets.QWidget, java.lang.String, java.lang.String, int, int, int, int, io.qt.core.Qt.WindowFlags)}

*

with:

    *
  • value = 0
  • *
  • minValue = -2147483647
  • *
  • maxValue = 2147483647
  • *
  • step = 1
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
*/ public static java.lang.@Nullable Integer getInt(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label) { return getInt(parent, title, label, (int)0, (int)-2147483647, (int)2147483647, (int)1, new io.qt.core.Qt.WindowFlags(0)); } /** *

Overloaded function for {@link #getInt(io.qt.widgets.QWidget, java.lang.String, java.lang.String, int, int, int, int, io.qt.core.Qt.WindowFlags)}.

*/ public static java.lang.@Nullable Integer getInt(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, int value, int minValue, int maxValue, int step, io.qt.core.Qt.@NonNull WindowType @NonNull... flags) { return getInt(parent, title, label, value, minValue, maxValue, step, new io.qt.core.Qt.WindowFlags(flags)); } /** *

Overloaded function for {@link #getItem(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.util.Collection, int, boolean, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)} * with inputMethodHints = new io.qt.core.Qt.InputMethodHints(0).

*/ public static java.lang.@Nullable String getItem(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, java.util.@NonNull Collection items, int current, boolean editable, io.qt.core.Qt.@NonNull WindowFlags flags) { return getItem(parent, title, label, items, current, editable, flags, new io.qt.core.Qt.InputMethodHints(0)); } /** *

Overloaded function for {@link #getItem(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.util.Collection, int, boolean, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)}

*

with:

    *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • inputMethodHints = new io.qt.core.Qt.InputMethodHints(0)
  • *
*/ public static java.lang.@Nullable String getItem(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, java.util.@NonNull Collection items, int current, boolean editable) { return getItem(parent, title, label, items, current, editable, new io.qt.core.Qt.WindowFlags(0), new io.qt.core.Qt.InputMethodHints(0)); } /** *

Overloaded function for {@link #getItem(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.util.Collection, int, boolean, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)}

*

with:

    *
  • editable = true
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • inputMethodHints = new io.qt.core.Qt.InputMethodHints(0)
  • *
*/ public static java.lang.@Nullable String getItem(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, java.util.@NonNull Collection items, int current) { return getItem(parent, title, label, items, current, (boolean)true, new io.qt.core.Qt.WindowFlags(0), new io.qt.core.Qt.InputMethodHints(0)); } /** *

Overloaded function for {@link #getItem(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.util.Collection, int, boolean, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)}

*

with:

    *
  • current = 0
  • *
  • editable = true
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • inputMethodHints = new io.qt.core.Qt.InputMethodHints(0)
  • *
*/ public static java.lang.@Nullable String getItem(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, java.util.@NonNull Collection items) { return getItem(parent, title, label, items, (int)0, (boolean)true, new io.qt.core.Qt.WindowFlags(0), new io.qt.core.Qt.InputMethodHints(0)); } /** *

Overloaded function for {@link #getItem(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.util.Collection, int, boolean, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)}.

*/ public static java.lang.@Nullable String getItem(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, java.util.@NonNull Collection items, int current, boolean editable, io.qt.core.Qt.@NonNull WindowFlags flags, io.qt.core.Qt.@NonNull InputMethodHint @NonNull... inputMethodHints) { return getItem(parent, title, label, items, current, editable, flags, new io.qt.core.Qt.InputMethodHints(inputMethodHints)); } /** *

Overloaded function for {@link #getMultiLineText(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)} * with inputMethodHints = new io.qt.core.Qt.InputMethodHints(0).

*/ public static java.lang.@Nullable String getMultiLineText(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, java.lang.@NonNull String text, io.qt.core.Qt.@NonNull WindowFlags flags) { return getMultiLineText(parent, title, label, text, flags, new io.qt.core.Qt.InputMethodHints(0)); } /** *

Overloaded function for {@link #getMultiLineText(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)}

*

with:

    *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • inputMethodHints = new io.qt.core.Qt.InputMethodHints(0)
  • *
*/ public static java.lang.@Nullable String getMultiLineText(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, java.lang.@NonNull String text) { return getMultiLineText(parent, title, label, text, new io.qt.core.Qt.WindowFlags(0), new io.qt.core.Qt.InputMethodHints(0)); } /** *

Overloaded function for {@link #getMultiLineText(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)}

*

with:

    *
  • text = (String)null
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • inputMethodHints = new io.qt.core.Qt.InputMethodHints(0)
  • *
*/ public static java.lang.@Nullable String getMultiLineText(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label) { return getMultiLineText(parent, title, label, (String)null, new io.qt.core.Qt.WindowFlags(0), new io.qt.core.Qt.InputMethodHints(0)); } /** *

Overloaded function for {@link #getMultiLineText(io.qt.widgets.QWidget, java.lang.String, java.lang.String, java.lang.String, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)}.

*/ public static java.lang.@Nullable String getMultiLineText(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, java.lang.@NonNull String text, io.qt.core.Qt.@NonNull WindowFlags flags, io.qt.core.Qt.@NonNull InputMethodHint @NonNull... inputMethodHints) { return getMultiLineText(parent, title, label, text, flags, new io.qt.core.Qt.InputMethodHints(inputMethodHints)); } /** *

Overloaded function for {@link #getText(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QLineEdit.EchoMode, java.lang.String, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)} * with inputMethodHints = new io.qt.core.Qt.InputMethodHints(0).

*/ public static java.lang.@Nullable String getText(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, io.qt.widgets.QLineEdit.@NonNull EchoMode echo, java.lang.@NonNull String text, io.qt.core.Qt.@NonNull WindowFlags flags) { return getText(parent, title, label, echo, text, flags, new io.qt.core.Qt.InputMethodHints(0)); } /** *

Overloaded function for {@link #getText(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QLineEdit.EchoMode, java.lang.String, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)}

*

with:

    *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • inputMethodHints = new io.qt.core.Qt.InputMethodHints(0)
  • *
*/ public static java.lang.@Nullable String getText(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, io.qt.widgets.QLineEdit.@NonNull EchoMode echo, java.lang.@NonNull String text) { return getText(parent, title, label, echo, text, new io.qt.core.Qt.WindowFlags(0), new io.qt.core.Qt.InputMethodHints(0)); } /** *

Overloaded function for {@link #getText(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QLineEdit.EchoMode, java.lang.String, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)}

*

with:

    *
  • text = (String)null
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • inputMethodHints = new io.qt.core.Qt.InputMethodHints(0)
  • *
*/ public static java.lang.@Nullable String getText(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, io.qt.widgets.QLineEdit.@NonNull EchoMode echo) { return getText(parent, title, label, echo, (String)null, new io.qt.core.Qt.WindowFlags(0), new io.qt.core.Qt.InputMethodHints(0)); } /** *

Overloaded function for {@link #getText(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QLineEdit.EchoMode, java.lang.String, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)}

*

with:

    *
  • echo = io.qt.widgets.QLineEdit.EchoMode.Normal
  • *
  • text = (String)null
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
  • inputMethodHints = new io.qt.core.Qt.InputMethodHints(0)
  • *
*/ public static java.lang.@Nullable String getText(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label) { return getText(parent, title, label, io.qt.widgets.QLineEdit.EchoMode.Normal, (String)null, new io.qt.core.Qt.WindowFlags(0), new io.qt.core.Qt.InputMethodHints(0)); } /** *

Overloaded function for {@link #getText(io.qt.widgets.QWidget, java.lang.String, java.lang.String, io.qt.widgets.QLineEdit.EchoMode, java.lang.String, io.qt.core.Qt.WindowFlags, io.qt.core.Qt.InputMethodHints)}.

*/ public static java.lang.@Nullable String getText(io.qt.widgets.@Nullable QWidget parent, java.lang.@NonNull String title, java.lang.@NonNull String label, io.qt.widgets.QLineEdit.@NonNull EchoMode echo, java.lang.@NonNull String text, io.qt.core.Qt.@NonNull WindowFlags flags, io.qt.core.Qt.@NonNull InputMethodHint @NonNull... inputMethodHints) { return getText(parent, title, label, echo, text, flags, new io.qt.core.Qt.InputMethodHints(inputMethodHints)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy