io.qt.widgets.QWizard Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Framework for wizards
* Java wrapper for Qt class QWizard
*/
public class QWizard 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(QWizard.class);
/**
* Java wrapper for Qt enum QWizard::WizardButton
*/
@QtUnlistedEnum
@QtRejectedEntries({"NStandardButtons", "NButtons"})
public enum WizardButton implements QtEnumerator {
/**
* Representing QWizard:: BackButton
*/
BackButton(0),
/**
* Representing QWizard:: NextButton
*/
NextButton(1),
/**
* Representing QWizard:: CommitButton
*/
CommitButton(2),
/**
* Representing QWizard:: FinishButton
*/
FinishButton(3),
/**
* Representing QWizard:: CancelButton
*/
CancelButton(4),
/**
* Representing QWizard:: HelpButton
*/
HelpButton(5),
/**
* Representing QWizard:: CustomButton1
*/
CustomButton1(6),
/**
* Representing QWizard:: CustomButton2
*/
CustomButton2(7),
/**
* Representing QWizard:: CustomButton3
*/
CustomButton3(8),
/**
* Representing QWizard:: Stretch
*/
Stretch(9),
/**
* Representing QWizard:: NoButton
*/
NoButton(-1),
/**
* Representing QWizard:: NStandardButtons
*/
NStandardButtons(6),
/**
* Representing QWizard:: NButtons
*/
NButtons(9);
static {
QtJambi_LibraryUtilities.initialize();
}
private WizardButton(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 WizardButton resolve(int value) {
switch (value) {
case 0: return BackButton;
case 1: return NextButton;
case 2: return CommitButton;
case 3: return FinishButton;
case 4: return CancelButton;
case 5: return HelpButton;
case 6: return CustomButton1;
case 7: return CustomButton2;
case 8: return CustomButton3;
case 9: return Stretch;
case -1: return NoButton;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QWizard::WizardOption
*
* @see WizardOptions
*/
public enum WizardOption implements QtFlagEnumerator {
/**
* Representing QWizard:: IndependentPages
*/
IndependentPages(1),
/**
* Representing QWizard:: IgnoreSubTitles
*/
IgnoreSubTitles(2),
/**
* Representing QWizard:: ExtendedWatermarkPixmap
*/
ExtendedWatermarkPixmap(4),
/**
* Representing QWizard:: NoDefaultButton
*/
NoDefaultButton(8),
/**
* Representing QWizard:: NoBackButtonOnStartPage
*/
NoBackButtonOnStartPage(16),
/**
* Representing QWizard:: NoBackButtonOnLastPage
*/
NoBackButtonOnLastPage(32),
/**
* Representing QWizard:: DisabledBackButtonOnLastPage
*/
DisabledBackButtonOnLastPage(64),
/**
* Representing QWizard:: HaveNextButtonOnLastPage
*/
HaveNextButtonOnLastPage(128),
/**
* Representing QWizard:: HaveFinishButtonOnEarlyPages
*/
HaveFinishButtonOnEarlyPages(256),
/**
* Representing QWizard:: NoCancelButton
*/
NoCancelButton(512),
/**
* Representing QWizard:: CancelButtonOnLeft
*/
CancelButtonOnLeft(1024),
/**
* Representing QWizard:: HaveHelpButton
*/
HaveHelpButton(2048),
/**
* Representing QWizard:: HelpButtonOnRight
*/
HelpButtonOnRight(4096),
/**
* Representing QWizard:: HaveCustomButton1
*/
HaveCustomButton1(8192),
/**
* Representing QWizard:: HaveCustomButton2
*/
HaveCustomButton2(16384),
/**
* Representing QWizard:: HaveCustomButton3
*/
HaveCustomButton3(32768),
/**
* Representing QWizard:: NoCancelButtonOnLastPage
*/
NoCancelButtonOnLastPage(65536);
static {
QtJambi_LibraryUtilities.initialize();
}
private WizardOption(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull WizardOptions asFlags() {
return new WizardOptions(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull WizardOptions combined(@NonNull WizardOption 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 WizardOptions cleared(@NonNull WizardOption e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link WizardOptions} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull WizardOptions flags(@Nullable WizardOption @NonNull... values) {
return new WizardOptions(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull WizardOption resolve(int value) {
switch (value) {
case 1: return IndependentPages;
case 2: return IgnoreSubTitles;
case 4: return ExtendedWatermarkPixmap;
case 8: return NoDefaultButton;
case 16: return NoBackButtonOnStartPage;
case 32: return NoBackButtonOnLastPage;
case 64: return DisabledBackButtonOnLastPage;
case 128: return HaveNextButtonOnLastPage;
case 256: return HaveFinishButtonOnEarlyPages;
case 512: return NoCancelButton;
case 1024: return CancelButtonOnLeft;
case 2048: return HaveHelpButton;
case 4096: return HelpButtonOnRight;
case 8192: return HaveCustomButton1;
case 16384: return HaveCustomButton2;
case 32768: return HaveCustomButton3;
case 65536: return NoCancelButtonOnLastPage;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link WizardOption}
*/
public static final class WizardOptions extends QFlags implements Comparable {
private static final long serialVersionUID = 0xb37409cf5a8aaa28L;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new WizardOptions where the flags in args
are set.
* @param args enum entries
*/
public WizardOptions(@Nullable WizardOption @NonNull... args){
super(args);
}
/**
* Creates a new WizardOptions with given value
.
* @param value
*/
public WizardOptions(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new WizardOptions
*/
@Override
public final @NonNull WizardOptions combined(@StrictNonNull WizardOption e){
return new WizardOptions(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull WizardOptions setFlag(@Nullable WizardOption 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 WizardOptions setFlag(@Nullable WizardOption 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 WizardOptions.
* @return array of enum entries
*/
@Override
public final @NonNull WizardOption @NonNull[] flags(){
return super.flags(WizardOption.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull WizardOptions clone(){
return new WizardOptions(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull WizardOptions other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QWizard::WizardPixmap
*/
@QtUnlistedEnum
public enum WizardPixmap implements QtEnumerator {
/**
* Representing QWizard:: WatermarkPixmap
*/
WatermarkPixmap(0),
/**
* Representing QWizard:: LogoPixmap
*/
LogoPixmap(1),
/**
* Representing QWizard:: BannerPixmap
*/
BannerPixmap(2),
/**
* Representing QWizard:: BackgroundPixmap
*/
BackgroundPixmap(3),
/**
* Representing QWizard:: NPixmaps
*/
NPixmaps(4);
static {
QtJambi_LibraryUtilities.initialize();
}
private WizardPixmap(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 WizardPixmap resolve(int value) {
switch (value) {
case 0: return WatermarkPixmap;
case 1: return LogoPixmap;
case 2: return BannerPixmap;
case 3: return BackgroundPixmap;
case 4: return NPixmaps;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QWizard::WizardStyle
*/
public enum WizardStyle implements QtEnumerator {
/**
* Representing QWizard:: ClassicStyle
*/
ClassicStyle(0),
/**
* Representing QWizard:: ModernStyle
*/
ModernStyle(1),
/**
* Representing QWizard:: MacStyle
*/
MacStyle(2),
/**
* Representing QWizard:: AeroStyle
*/
AeroStyle(3),
/**
* Representing QWizard:: NStyles
*/
NStyles(4);
static {
QtJambi_LibraryUtilities.initialize();
}
private WizardStyle(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 WizardStyle resolve(int value) {
switch (value) {
case 0: return ClassicStyle;
case 1: return ModernStyle;
case 2: return MacStyle;
case 3: return AeroStyle;
case 4: return NStyles;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QWizard:: currentIdChanged(int)
*/
@QtPropertyNotify(name="currentId")
public final @NonNull Signal1 currentIdChanged = new Signal1<>();
/**
* See QWizard:: customButtonClicked(int)
*/
public final @NonNull Signal1 customButtonClicked = new Signal1<>();
/**
*
*/
public final @NonNull Signal0 helpRequested = new Signal0();
/**
*
*/
public final @NonNull Signal1 pageAdded = new Signal1<>();
/**
*
*/
public final @NonNull Signal1 pageRemoved = new Signal1<>();
/**
* See QWizard:: QWizard(QWidget*, Qt::WindowFlags)
*/
public QWizard(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(QWizard instance, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags flags);
/**
* See QWizard:: addPage(QWizardPage*)
*/
@QtUninvokable
public final int addPage(io.qt.widgets.@StrictNonNull QWizardPage page){
java.util.Objects.requireNonNull(page, "Argument 'page': null not expected.");
return addPage_native_QWizardPage_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(page));
}
@QtUninvokable
private native int addPage_native_QWizardPage_ptr(long __this__nativeId, long page);
/**
* See QWizard:: back()
*/
public final void back(){
back_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void back_native(long __this__nativeId);
/**
* See QWizard:: button(QWizard::WizardButton)const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QAbstractButton button(io.qt.widgets.QWizard.@NonNull WizardButton which){
return button_native_QWizard_WizardButton_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), which.value());
}
@QtUninvokable
private native io.qt.widgets.QAbstractButton button_native_QWizard_WizardButton_constfct(long __this__nativeId, int which);
/**
* See QWizard:: buttonText(QWizard::WizardButton)const
*/
@QtUninvokable
public final java.lang.@NonNull String buttonText(io.qt.widgets.QWizard.@NonNull WizardButton which){
return buttonText_native_QWizard_WizardButton_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), which.value());
}
@QtUninvokable
private native java.lang.String buttonText_native_QWizard_WizardButton_constfct(long __this__nativeId, int which);
/**
*
*/
@QtPropertyReader(name="currentId")
@QtUninvokable
public final int currentId(){
return currentId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int currentId_native_constfct(long __this__nativeId);
/**
* See QWizard:: currentPage()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QWizardPage currentPage(){
return currentPage_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QWizardPage currentPage_native_constfct(long __this__nativeId);
/**
* See QWizard:: field(QString)const
*/
@QtUninvokable
public final java.lang.Object field(java.lang.@NonNull String name){
return field_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native java.lang.Object field_native_cref_QString_constfct(long __this__nativeId, java.lang.String name);
/**
* See QWizard:: hasVisitedPage(int)const
*/
@QtUninvokable
public final boolean hasVisitedPage(int id){
return hasVisitedPage_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), id);
}
@QtUninvokable
private native boolean hasVisitedPage_native_int_constfct(long __this__nativeId, int id);
/**
* See QWizard:: next()
*/
public final void next(){
next_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void next_native(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="options")
@QtUninvokable
public final io.qt.widgets.QWizard.@NonNull WizardOptions options(){
return new io.qt.widgets.QWizard.WizardOptions(options_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int options_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QWizardPage page(int id){
return page_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), id);
}
@QtUninvokable
private native io.qt.widgets.QWizardPage page_native_int_constfct(long __this__nativeId, int id);
/**
*
*/
@QtUninvokable
public final io.qt.core.@NonNull QList pageIds(){
return pageIds_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList pageIds_native_constfct(long __this__nativeId);
/**
* See QWizard:: pixmap(QWizard::WizardPixmap)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QPixmap pixmap(io.qt.widgets.QWizard.@NonNull WizardPixmap which){
return pixmap_native_QWizard_WizardPixmap_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), which.value());
}
@QtUninvokable
private native io.qt.gui.QPixmap pixmap_native_QWizard_WizardPixmap_constfct(long __this__nativeId, int which);
/**
*
*/
@QtUninvokable
public final void removePage(int id){
removePage_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), id);
}
@QtUninvokable
private native void removePage_native_int(long __this__nativeId, int id);
/**
*
*/
public final void restart(){
restart_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void restart_native(long __this__nativeId);
/**
* See QWizard:: setButton(QWizard::WizardButton, QAbstractButton*)
*/
@QtUninvokable
public final void setButton(io.qt.widgets.QWizard.@NonNull WizardButton which, io.qt.widgets.@Nullable QAbstractButton button){
setButton_native_QWizard_WizardButton_QAbstractButton_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), which.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(button));
}
@QtUninvokable
private native void setButton_native_QWizard_WizardButton_QAbstractButton_ptr(long __this__nativeId, int which, long button);
/**
* See QWizard:: setButtonLayout(QList<QWizard::WizardButton>)
*/
@QtUninvokable
public final void setButtonLayout(java.util.@NonNull Collection extends io.qt.widgets.QWizard.@NonNull WizardButton> layout){
setButtonLayout_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), layout);
}
@QtUninvokable
private native void setButtonLayout_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.widgets.QWizard.WizardButton> layout);
/**
* See QWizard:: setButtonText(QWizard::WizardButton, QString)
*/
@QtUninvokable
public final void setButtonText(io.qt.widgets.QWizard.@NonNull WizardButton which, java.lang.@NonNull String text){
setButtonText_native_QWizard_WizardButton_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), which.value(), text);
}
@QtUninvokable
private native void setButtonText_native_QWizard_WizardButton_cref_QString(long __this__nativeId, int which, java.lang.String text);
/**
* See QWizard:: setCurrentId(int)
*/
@QtPropertyWriter(name="currentId")
public final void setCurrentId(int id){
setCurrentId_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), id);
}
private native void setCurrentId_native_int(long __this__nativeId, int id);
/**
* See QWizard:: setField(QString, QVariant)
*/
@QtUninvokable
public final void setField(java.lang.@NonNull String name, java.lang.Object value){
setField_native_cref_QString_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), name, value);
}
@QtUninvokable
private native void setField_native_cref_QString_cref_QVariant(long __this__nativeId, java.lang.String name, java.lang.Object value);
/**
* See QWizard:: setOption(QWizard::WizardOption, bool)
*/
@QtUninvokable
public final void setOption(io.qt.widgets.QWizard.@NonNull WizardOption option, boolean on){
setOption_native_QWizard_WizardOption_bool(QtJambi_LibraryUtilities.internal.nativeId(this), option.value(), on);
}
@QtUninvokable
private native void setOption_native_QWizard_WizardOption_bool(long __this__nativeId, int option, boolean on);
/**
* See QWizard:: setOptions(QWizard::WizardOptions)
*/
@QtPropertyWriter(name="options")
@QtUninvokable
public final void setOptions(io.qt.widgets.QWizard.@NonNull WizardOptions options){
setOptions_native_QWizard_WizardOptions(QtJambi_LibraryUtilities.internal.nativeId(this), options.value());
}
@QtUninvokable
private native void setOptions_native_QWizard_WizardOptions(long __this__nativeId, int options);
/**
* See QWizard:: setPage(int, QWizardPage*)
*/
@QtUninvokable
public final void setPage(int id, io.qt.widgets.@StrictNonNull QWizardPage page){
java.util.Objects.requireNonNull(page, "Argument 'page': null not expected.");
setPage_native_int_QWizardPage_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), id, QtJambi_LibraryUtilities.internal.checkedNativeId(page));
}
@QtUninvokable
private native void setPage_native_int_QWizardPage_ptr(long __this__nativeId, int id, long page);
/**
* See QWizard:: setPixmap(QWizard::WizardPixmap, QPixmap)
*/
@QtUninvokable
public final void setPixmap(io.qt.widgets.QWizard.@NonNull WizardPixmap which, io.qt.gui.@NonNull QPixmap pixmap){
setPixmap_native_QWizard_WizardPixmap_cref_QPixmap(QtJambi_LibraryUtilities.internal.nativeId(this), which.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(pixmap));
}
@QtUninvokable
private native void setPixmap_native_QWizard_WizardPixmap_cref_QPixmap(long __this__nativeId, int which, long pixmap);
/**
* See QWizard:: setSideWidget(QWidget*)
*/
@QtUninvokable
public final void setSideWidget(io.qt.widgets.@Nullable QWidget widget){
setSideWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native void setSideWidget_native_QWidget_ptr(long __this__nativeId, long widget);
/**
*
*/
@QtPropertyWriter(name="startId")
@QtUninvokable
public final void setStartId(int id){
setStartId_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), id);
}
@QtUninvokable
private native void setStartId_native_int(long __this__nativeId, int id);
/**
* See QWizard:: setSubTitleFormat(Qt::TextFormat)
*/
@QtPropertyWriter(name="subTitleFormat")
@QtUninvokable
public final void setSubTitleFormat(io.qt.core.Qt.@NonNull TextFormat format){
setSubTitleFormat_native_Qt_TextFormat(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@QtUninvokable
private native void setSubTitleFormat_native_Qt_TextFormat(long __this__nativeId, int format);
/**
* See QWizard:: setTitleFormat(Qt::TextFormat)
*/
@QtPropertyWriter(name="titleFormat")
@QtUninvokable
public final void setTitleFormat(io.qt.core.Qt.@NonNull TextFormat format){
setTitleFormat_native_Qt_TextFormat(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@QtUninvokable
private native void setTitleFormat_native_Qt_TextFormat(long __this__nativeId, int format);
/**
* See QWizard:: setWizardStyle(QWizard::WizardStyle)
*/
@QtPropertyWriter(name="wizardStyle")
@QtUninvokable
public final void setWizardStyle(io.qt.widgets.QWizard.@NonNull WizardStyle style){
setWizardStyle_native_QWizard_WizardStyle(QtJambi_LibraryUtilities.internal.nativeId(this), style.value());
}
@QtUninvokable
private native void setWizardStyle_native_QWizard_WizardStyle(long __this__nativeId, int style);
/**
* See QWizard:: sideWidget()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QWidget sideWidget(){
return sideWidget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QWidget sideWidget_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="startId")
@QtUninvokable
public final int startId(){
return startId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int startId_native_constfct(long __this__nativeId);
/**
* See QWizard:: subTitleFormat()const
*/
@QtPropertyReader(name="subTitleFormat")
@QtUninvokable
public final io.qt.core.Qt.@NonNull TextFormat subTitleFormat(){
return io.qt.core.Qt.TextFormat.resolve(subTitleFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int subTitleFormat_native_constfct(long __this__nativeId);
/**
* See QWizard:: testOption(QWizard::WizardOption)const
*/
@QtUninvokable
public final boolean testOption(io.qt.widgets.QWizard.@NonNull WizardOption option){
return testOption_native_QWizard_WizardOption_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option.value());
}
@QtUninvokable
private native boolean testOption_native_QWizard_WizardOption_constfct(long __this__nativeId, int option);
/**
* See QWizard:: titleFormat()const
*/
@QtPropertyReader(name="titleFormat")
@QtUninvokable
public final io.qt.core.Qt.@NonNull TextFormat titleFormat(){
return io.qt.core.Qt.TextFormat.resolve(titleFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int titleFormat_native_constfct(long __this__nativeId);
/**
* See QWizard:: visitedIds()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList visitedIds(){
return visitedIds_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList visitedIds_native_constfct(long __this__nativeId);
/**
* See QWizard:: wizardStyle()const
*/
@QtPropertyReader(name="wizardStyle")
@QtUninvokable
public final io.qt.widgets.QWizard.@NonNull WizardStyle wizardStyle(){
return io.qt.widgets.QWizard.WizardStyle.resolve(wizardStyle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int wizardStyle_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
protected void cleanupPage(int id){
cleanupPage_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), id);
}
@QtUninvokable
private native void cleanupPage_native_int(long __this__nativeId, int id);
/**
*
*/
@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);
/**
*
*/
@QtUninvokable
@Override
public boolean event(io.qt.core.@Nullable QEvent event){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QWizard:: initializePage(int)
*/
@QtUninvokable
protected void initializePage(int id){
initializePage_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), id);
}
@QtUninvokable
private native void initializePage_native_int(long __this__nativeId, int id);
/**
*
*/
@QtUninvokable
public int nextId(){
return nextId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int nextId_native_constfct(long __this__nativeId);
/**
* See QWidget:: paintEvent(QPaintEvent*)
*/
@QtUninvokable
@Override
protected void paintEvent(io.qt.gui.@Nullable QPaintEvent event){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void paintEvent_native_QPaintEvent_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);
/**
*
*/
@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);
/**
*
*/
@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 QWizard:: validateCurrentPage()
*/
@QtUninvokable
public boolean validateCurrentPage(){
return validateCurrentPage_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean validateCurrentPage_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QWizard(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QWizard(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QWizard instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QWizard(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with flags = new io.qt.core.Qt.WindowFlags(0)
.
*/
public QWizard(io.qt.widgets.@Nullable QWidget parent) {
this(parent, new io.qt.core.Qt.WindowFlags(0));
}
/**
* Overloaded constructor for {@link #QWizard(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with:
* parent = null
* flags = new io.qt.core.Qt.WindowFlags(0)
*
*/
public QWizard() {
this((io.qt.widgets.QWidget)null, new io.qt.core.Qt.WindowFlags(0));
}
/**
* Overloaded constructor for {@link #QWizard(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}.
*/
public QWizard(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 #currentId()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getCurrentId() {
return currentId();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #options()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QWizard.@NonNull WizardOptions getOptions() {
return options();
}
/**
* Overloaded function for {@link #setOption(io.qt.widgets.QWizard.WizardOption, boolean)}
* with on = true
.
*/
@QtUninvokable
public final void setOption(io.qt.widgets.QWizard.@NonNull WizardOption option) {
setOption(option, (boolean)true);
}
/**
* Overloaded function for {@link #setOptions(io.qt.widgets.QWizard.WizardOptions)}.
*/
@QtUninvokable
public final void setOptions(io.qt.widgets.QWizard.@NonNull WizardOption @NonNull... options) {
setOptions(new io.qt.widgets.QWizard.WizardOptions(options));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #startId()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getStartId() {
return startId();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #subTitleFormat()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.Qt.@NonNull TextFormat getSubTitleFormat() {
return subTitleFormat();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #titleFormat()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.Qt.@NonNull TextFormat getTitleFormat() {
return titleFormat();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #wizardStyle()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QWizard.@NonNull WizardStyle getWizardStyle() {
return wizardStyle();
}
}