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

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

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

import io.qt.*;


/**
 * 

Used to describe the parameters necessary for drawing a progress bar

*

Java wrapper for Qt class QStyleOptionProgressBar

*/ public class QStyleOptionProgressBar extends io.qt.widgets.QStyleOption implements java.lang.Cloneable { /** *

See QStyleOptionProgressBar::QStyleOptionProgressBar()

*/ public QStyleOptionProgressBar(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QStyleOptionProgressBar instance); /** *

See QStyleOptionProgressBar::QStyleOptionProgressBar(QStyleOptionProgressBar)

*/ public QStyleOptionProgressBar(io.qt.widgets.@NonNull QStyleOptionProgressBar other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QStyleOptionProgressBar instance, io.qt.widgets.QStyleOptionProgressBar other); /** *

See QStyleOptionProgressBar::operator=(QStyleOptionProgressBar)

*/ @QtUninvokable public final void assign(io.qt.widgets.@NonNull QStyleOptionProgressBar arg__1){ assign_native_cref_QStyleOptionProgressBar(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void assign_native_cref_QStyleOptionProgressBar(long __this__nativeId, long arg__1); /** *

Whether the text reads from bottom to top when the progress bar is vertical

*

See QStyleOptionProgressBar::bottomToTop

*/ @QtUninvokable public final void setBottomToTop(boolean bottomToTop){ setBottomToTop_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), bottomToTop); } @QtUninvokable private native void setBottomToTop_native_bool(long __this__nativeId, boolean bottomToTop); /** *

Whether the text reads from bottom to top when the progress bar is vertical

*

See QStyleOptionProgressBar::bottomToTop

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

Whether the progress bar's appearance is inverted

*

See QStyleOptionProgressBar::invertedAppearance

*/ @QtUninvokable public final void setInvertedAppearance(boolean invertedAppearance){ setInvertedAppearance_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), invertedAppearance); } @QtUninvokable private native void setInvertedAppearance_native_bool(long __this__nativeId, boolean invertedAppearance); /** *

Whether the progress bar's appearance is inverted

*

See QStyleOptionProgressBar::invertedAppearance

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

The maximum value for the progress bar

*

See QStyleOptionProgressBar::maximum

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

The maximum value for the progress bar

*

See QStyleOptionProgressBar::maximum

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

The minimum value for the progress bar

*

See QStyleOptionProgressBar::minimum

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

The minimum value for the progress bar

*

See QStyleOptionProgressBar::minimum

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

The current progress for the progress bar

*

See QStyleOptionProgressBar::progress

*/ @QtUninvokable public final void setProgress(int progress){ setProgress_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), progress); } @QtUninvokable private native void setProgress_native_int(long __this__nativeId, int progress); /** *

The current progress for the progress bar

*

See QStyleOptionProgressBar::progress

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

The text for the progress bar

*

See QStyleOptionProgressBar::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); /** *

The text for the progress bar

*

See QStyleOptionProgressBar::text

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

The text alignment for the text in the QProgressBar

*

See QStyleOptionProgressBar::textAlignment

*/ @QtUninvokable public final void setTextAlignment(io.qt.core.Qt.@NonNull Alignment textAlignment){ setTextAlignment_native_cref_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), textAlignment.value()); } @QtUninvokable private native void setTextAlignment_native_cref_Qt_Alignment(long __this__nativeId, int textAlignment); /** *

The text alignment for the text in the QProgressBar

*

See QStyleOptionProgressBar::textAlignment

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment textAlignment(){ return new io.qt.core.Qt.Alignment(textAlignment_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int textAlignment_native(long __this__nativeId); /** *

Flag indicating whether or not text is visible

*

See QStyleOptionProgressBar::textVisible

*/ @QtUninvokable public final void setTextVisible(boolean textVisible){ setTextVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), textVisible); } @QtUninvokable private native void setTextVisible_native_bool(long __this__nativeId, boolean textVisible); /** *

Flag indicating whether or not text is visible

*

See QStyleOptionProgressBar::textVisible

*/ @QtUninvokable public final boolean textVisible(){ return textVisible_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean textVisible_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QStyleOptionProgressBar(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QStyleOptionProgressBar::QStyleOptionProgressBar(QStyleOptionProgressBar)

*/ @QtUninvokable @Override public QStyleOptionProgressBar clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QStyleOptionProgressBar clone_native(long __this_nativeId); /** * @deprecated Use {@link #assign(io.qt.widgets.QStyleOptionProgressBar)} instead. */ @Deprecated @QtUninvokable public final void set(io.qt.widgets.@NonNull QStyleOptionProgressBar arg__1) { assign(arg__1); } /** * @hidden *

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

*/ @QtUninvokable public final boolean getBottomToTop() { return bottomToTop(); } /** * @hidden *

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

*/ @QtUninvokable public final boolean getInvertedAppearance() { return invertedAppearance(); } /** * @hidden *

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

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

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

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

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

*/ @QtUninvokable public final int getProgress() { return progress(); } /** * @hidden *

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

*/ @QtUninvokable public final java.lang.@NonNull String getText() { return text(); } /** *

Overloaded function for {@link #setTextAlignment(io.qt.core.Qt.Alignment)}.

*/ @QtUninvokable public final void setTextAlignment(io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... textAlignment) { setTextAlignment(new io.qt.core.Qt.Alignment(textAlignment)); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment getTextAlignment() { return textAlignment(); } /** * @hidden *

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

*/ @QtUninvokable public final boolean getTextVisible() { return textVisible(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy