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

io.qt.widgets.QStyleOptionSlider 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 needed for drawing a slider

*

Java wrapper for Qt class QStyleOptionSlider

*/ public class QStyleOptionSlider extends io.qt.widgets.QStyleOptionComplex implements java.lang.Cloneable { /** *

See QStyleOptionSlider::QStyleOptionSlider()

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

See QStyleOptionSlider::QStyleOptionSlider(QStyleOptionSlider)

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

See QStyleOptionSlider::operator=(QStyleOptionSlider)

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

Whether the dial should wrap or not

*

See QStyleOptionSlider::dialWrapping

*/ @QtUninvokable public final void setDialWrapping(boolean dialWrapping){ setDialWrapping_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), dialWrapping); } @QtUninvokable private native void setDialWrapping_native_bool(long __this__nativeId, boolean dialWrapping); /** *

Whether the dial should wrap or not

*

See QStyleOptionSlider::dialWrapping

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

See QStyleOptionSlider::keyboardModifiers

*/ @QtUninvokable public final void setKeyboardModifiers(io.qt.core.Qt.@NonNull KeyboardModifiers keyboardModifiers){ setKeyboardModifiers_native_cref_Qt_KeyboardModifiers(QtJambi_LibraryUtilities.internal.nativeId(this), keyboardModifiers.value()); } @QtUninvokable private native void setKeyboardModifiers_native_cref_Qt_KeyboardModifiers(long __this__nativeId, int keyboardModifiers); /** *

See QStyleOptionSlider::keyboardModifiers

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

The maximum value for the slider

*

See QStyleOptionSlider::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 slider

*

See QStyleOptionSlider::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 slider

*

See QStyleOptionSlider::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 slider

*

See QStyleOptionSlider::minimum

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

The number of pixel between notches

*

See QStyleOptionSlider::notchTarget

*/ @QtUninvokable public final void setNotchTarget(double notchTarget){ setNotchTarget_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), notchTarget); } @QtUninvokable private native void setNotchTarget_native_qreal(long __this__nativeId, double notchTarget); /** *

The number of pixel between notches

*

See QStyleOptionSlider::notchTarget

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

The slider's orientation (horizontal or vertical)

*

See QStyleOptionSlider::orientation

*/ @QtUninvokable public final void setOrientation(io.qt.core.Qt.@NonNull Orientation orientation){ setOrientation_native_cref_Qt_Orientation(QtJambi_LibraryUtilities.internal.nativeId(this), orientation.value()); } @QtUninvokable private native void setOrientation_native_cref_Qt_Orientation(long __this__nativeId, int orientation); /** *

The slider's orientation (horizontal or vertical)

*

See QStyleOptionSlider::orientation

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Orientation orientation(){ return io.qt.core.Qt.Orientation.resolve(orientation_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int orientation_native(long __this__nativeId); /** *

The size of the page step of the slider

*

See QStyleOptionSlider::pageStep

*/ @QtUninvokable public final void setPageStep(int pageStep){ setPageStep_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pageStep); } @QtUninvokable private native void setPageStep_native_int(long __this__nativeId, int pageStep); /** *

The size of the page step of the slider

*

See QStyleOptionSlider::pageStep

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

The size of the single step of the slider

*

See QStyleOptionSlider::singleStep

*/ @QtUninvokable public final void setSingleStep(int singleStep){ setSingleStep_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), singleStep); } @QtUninvokable private native void setSingleStep_native_int(long __this__nativeId, int singleStep); /** *

The size of the single step of the slider

*

See QStyleOptionSlider::singleStep

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

The position of the slider handle

*

See QStyleOptionSlider::sliderPosition

*/ @QtUninvokable public final void setSliderPosition(int sliderPosition){ setSliderPosition_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), sliderPosition); } @QtUninvokable private native void setSliderPosition_native_int(long __this__nativeId, int sliderPosition); /** *

The position of the slider handle

*

See QStyleOptionSlider::sliderPosition

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

The value of the slider

*

See QStyleOptionSlider::sliderValue

*/ @QtUninvokable public final void setSliderValue(int sliderValue){ setSliderValue_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), sliderValue); } @QtUninvokable private native void setSliderValue_native_int(long __this__nativeId, int sliderValue); /** *

The value of the slider

*

See QStyleOptionSlider::sliderValue

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

The interval that should be drawn between tick marks

*

See QStyleOptionSlider::tickInterval

*/ @QtUninvokable public final void setTickInterval(int tickInterval){ setTickInterval_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), tickInterval); } @QtUninvokable private native void setTickInterval_native_int(long __this__nativeId, int tickInterval); /** *

The interval that should be drawn between tick marks

*

See QStyleOptionSlider::tickInterval

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

The position of the slider's tick marks, if any

*

See QStyleOptionSlider::tickPosition

*/ @QtUninvokable public final void setTickPosition(io.qt.widgets.QSlider.@NonNull TickPosition tickPosition){ setTickPosition_native_cref_QSlider_TickPosition(QtJambi_LibraryUtilities.internal.nativeId(this), tickPosition.value()); } @QtUninvokable private native void setTickPosition_native_cref_QSlider_TickPosition(long __this__nativeId, int tickPosition); /** *

The position of the slider's tick marks, if any

*

See QStyleOptionSlider::tickPosition

*/ @QtUninvokable public final io.qt.widgets.QSlider.@NonNull TickPosition tickPosition(){ return io.qt.widgets.QSlider.TickPosition.resolve(tickPosition_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int tickPosition_native(long __this__nativeId); /** *

The slider control orientation

*

See QStyleOptionSlider::upsideDown

*/ @QtUninvokable public final void setUpsideDown(boolean upsideDown){ setUpsideDown_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), upsideDown); } @QtUninvokable private native void setUpsideDown_native_bool(long __this__nativeId, boolean upsideDown); /** *

The slider control orientation

*

See QStyleOptionSlider::upsideDown

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

Creates and returns a copy of this object.

See QStyleOptionSlider::QStyleOptionSlider(QStyleOptionSlider)

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

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

*/ @QtUninvokable public final boolean getDialWrapping() { return dialWrapping(); } /** *

Overloaded function for {@link #setKeyboardModifiers(io.qt.core.Qt.KeyboardModifiers)}.

*/ @QtUninvokable public final void setKeyboardModifiers(io.qt.core.Qt.@NonNull KeyboardModifier @NonNull... keyboardModifiers) { setKeyboardModifiers(new io.qt.core.Qt.KeyboardModifiers(keyboardModifiers)); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull KeyboardModifiers getKeyboardModifiers() { return keyboardModifiers(); } /** * @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 #notchTarget()} instead.

*/ @QtUninvokable public final double getNotchTarget() { return notchTarget(); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Orientation getOrientation() { return orientation(); } /** * @hidden *

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

*/ @QtUninvokable public final int getPageStep() { return pageStep(); } /** * @hidden *

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

*/ @QtUninvokable public final int getSingleStep() { return singleStep(); } /** * @hidden *

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

*/ @QtUninvokable public final int getSliderPosition() { return sliderPosition(); } /** * @hidden *

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

*/ @QtUninvokable public final int getSliderValue() { return sliderValue(); } /** * @hidden *

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

*/ @QtUninvokable public final int getTickInterval() { return tickInterval(); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.widgets.QSlider.@NonNull TickPosition getTickPosition() { return tickPosition(); } /** * @hidden *

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

*/ @QtUninvokable public final boolean getUpsideDown() { return upsideDown(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy