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

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

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

import io.qt.*;


/**
 * 

Feedback on the progress of a slow operation

*

Java wrapper for Qt class QProgressDialog

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

See QProgressDialog::canceled()

*/ public final @NonNull Signal0 canceled = new Signal0(); /** *

See QProgressDialog::QProgressDialog(QString,QString,int,int,QWidget*,Qt::WindowFlags)

*/ public QProgressDialog(java.lang.@NonNull String labelText, java.lang.@NonNull String cancelButtonText, int minimum, int maximum, io.qt.widgets.@Nullable QWidget parent, io.qt.core.Qt.@NonNull WindowFlags flags){ super((QPrivateConstructor)null); initialize_native(this, labelText, cancelButtonText, minimum, maximum, parent, flags); } private native static void initialize_native(QProgressDialog instance, java.lang.String labelText, java.lang.String cancelButtonText, int minimum, int maximum, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags flags); /** *

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

*/ public QProgressDialog(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(QProgressDialog instance, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags flags); /** *

See QProgressDialog::autoClose()const

*/ @QtPropertyReader(name="autoClose") @QtUninvokable public final boolean autoClose(){ return autoClose_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean autoClose_native_constfct(long __this__nativeId); /** *

See QProgressDialog::autoReset()const

*/ @QtPropertyReader(name="autoReset") @QtUninvokable public final boolean autoReset(){ return autoReset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean autoReset_native_constfct(long __this__nativeId); /** *

See QProgressDialog::cancel()

*/ public final void cancel(){ cancel_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void cancel_native(long __this__nativeId); /** *

See QProgressDialog::forceShow()

*/ protected final void forceShow(){ forceShow_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void forceShow_native(long __this__nativeId); /** *

See QProgressDialog::labelText()const

*/ @QtPropertyReader(name="labelText") @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 QProgressDialog::maximum()const

*/ @QtPropertyReader(name="maximum") @QtUninvokable public final int maximum(){ return maximum_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int maximum_native_constfct(long __this__nativeId); /** *

See QProgressDialog::minimum()const

*/ @QtPropertyReader(name="minimum") @QtUninvokable public final int minimum(){ return minimum_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int minimum_native_constfct(long __this__nativeId); /** *

See QProgressDialog::minimumDuration()const

*/ @QtPropertyReader(name="minimumDuration") @QtUninvokable public final int minimumDuration(){ return minimumDuration_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int minimumDuration_native_constfct(long __this__nativeId); /** *

See QProgressDialog::reset()

*/ public final void reset(){ reset_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void reset_native(long __this__nativeId); /** *

See QProgressDialog::setAutoClose(bool)

*/ @QtPropertyWriter(name="autoClose") @QtUninvokable public final void setAutoClose(boolean close){ setAutoClose_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), close); } @QtUninvokable private native void setAutoClose_native_bool(long __this__nativeId, boolean close); /** *

See QProgressDialog::setAutoReset(bool)

*/ @QtPropertyWriter(name="autoReset") @QtUninvokable public final void setAutoReset(boolean reset){ setAutoReset_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), reset); } @QtUninvokable private native void setAutoReset_native_bool(long __this__nativeId, boolean reset); /** *

See QProgressDialog::setBar(QProgressBar*)

*/ @QtUninvokable public final void setBar(io.qt.widgets.@Nullable QProgressBar bar){ setBar_native_QProgressBar_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(bar)); QtJambi_LibraryUtilities.internal.setCppOwnership(bar); } @QtUninvokable private native void setBar_native_QProgressBar_ptr(long __this__nativeId, long bar); /** *

See QProgressDialog::setCancelButton(QPushButton*)

*/ @QtUninvokable public final void setCancelButton(io.qt.widgets.@Nullable QPushButton button){ setCancelButton_native_QPushButton_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(button)); } @QtUninvokable private native void setCancelButton_native_QPushButton_ptr(long __this__nativeId, long button); /** *

See QProgressDialog::setCancelButtonText(QString)

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

See QProgressDialog::setLabel(QLabel*)

*/ @QtUninvokable public final void setLabel(io.qt.widgets.@Nullable QLabel label){ setLabel_native_QLabel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(label)); } @QtUninvokable private native void setLabel_native_QLabel_ptr(long __this__nativeId, long label); /** *

See QProgressDialog::setLabelText(QString)

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

See QProgressDialog::setMaximum(int)

*/ @QtPropertyWriter(name="maximum") public final void setMaximum(int maximum){ setMaximum_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), maximum); } private native void setMaximum_native_int(long __this__nativeId, int maximum); /** *

See QProgressDialog::setMinimum(int)

*/ @QtPropertyWriter(name="minimum") public final void setMinimum(int minimum){ setMinimum_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), minimum); } private native void setMinimum_native_int(long __this__nativeId, int minimum); /** *

See QProgressDialog::setMinimumDuration(int)

*/ @QtPropertyWriter(name="minimumDuration") public final void setMinimumDuration(int ms){ setMinimumDuration_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), ms); } private native void setMinimumDuration_native_int(long __this__nativeId, int ms); /** *

See QProgressDialog::setRange(int,int)

*/ public final void setRange(int minimum, int maximum){ setRange_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), minimum, maximum); } private native void setRange_native_int_int(long __this__nativeId, int minimum, int maximum); /** *

See QProgressDialog::setValue(int)

*/ @QtPropertyWriter(name="value") public final void setValue(int progress){ setValue_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), progress); } private native void setValue_native_int(long __this__nativeId, int progress); /** *

See QProgressDialog::value()const

*/ @QtPropertyReader(name="value") @QtUninvokable public final int value(){ return value_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int value_native_constfct(long __this__nativeId); /** *

See QProgressDialog::wasCanceled()const

*/ @QtPropertyReader(name="wasCanceled") @QtUninvokable public final boolean wasCanceled(){ return wasCanceled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean wasCanceled_native_constfct(long __this__nativeId); /** *

See QWidget::changeEvent(QEvent*)

*/ @QtUninvokable @Override protected void changeEvent(io.qt.core.@Nullable QEvent event){ java.util.Objects.requireNonNull(event, "Argument 'event': null not expected."); 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){ java.util.Objects.requireNonNull(event, "Argument 'event': null not expected."); 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 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 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); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QProgressDialog(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QProgressDialog(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QProgressDialog instance, QDeclarativeConstructor constructor); /** *

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

*/ public QProgressDialog(java.lang.@NonNull String labelText, java.lang.@NonNull String cancelButtonText, int minimum, int maximum, io.qt.widgets.@Nullable QWidget parent) { this(labelText, cancelButtonText, minimum, maximum, parent, new io.qt.core.Qt.WindowFlags(0)); } /** *

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

*

with:

    *
  • parent = null
  • *
  • flags = new io.qt.core.Qt.WindowFlags(0)
  • *
*/ public QProgressDialog(java.lang.@NonNull String labelText, java.lang.@NonNull String cancelButtonText, int minimum, int maximum) { this(labelText, cancelButtonText, minimum, maximum, (io.qt.widgets.QWidget)null, new io.qt.core.Qt.WindowFlags(0)); } /** *

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

*/ public QProgressDialog(java.lang.@NonNull String labelText, java.lang.@NonNull String cancelButtonText, int minimum, int maximum, io.qt.widgets.@Nullable QWidget parent, io.qt.core.Qt.@NonNull WindowType @NonNull... flags) { this(labelText, cancelButtonText, minimum, maximum, parent, new io.qt.core.Qt.WindowFlags(flags)); } /** *

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

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

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

*

with:

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

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

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

Kotlin property getter. In Java use {@link #autoClose()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getAutoClose() { return autoClose(); } /** * @hidden *

Kotlin property getter. In Java use {@link #autoReset()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getAutoReset() { return autoReset(); } /** * @hidden *

Kotlin property getter. In Java use {@link #labelText()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getLabelText() { return labelText(); } /** * @hidden *

Kotlin property getter. In Java use {@link #maximum()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getMaximum() { return maximum(); } /** * @hidden *

Kotlin property getter. In Java use {@link #minimum()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getMinimum() { return minimum(); } /** * @hidden *

Kotlin property getter. In Java use {@link #minimumDuration()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getMinimumDuration() { return minimumDuration(); } /** * @hidden *

Kotlin property getter. In Java use {@link #value()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getValue() { return value(); } /** * @hidden *

Kotlin property getter. In Java use {@link #wasCanceled()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getWasCanceled() { return wasCanceled(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy