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

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

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

import io.qt.*;


/**
 * 

Rounded range control (like a speedometer or potentiometer)

*

Java wrapper for Qt class QDial

*/ public class QDial extends io.qt.widgets.QAbstractSlider { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QDial.class); /** *

See QDial::QDial(QWidget*)

*/ public QDial(io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QDial instance, io.qt.widgets.QWidget parent); /** *

See QDial::notchSize()const

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

See QDial::notchTarget()const

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

See QDial::notchesVisible()const

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

See QDial::setNotchTarget(double)

*/ @QtPropertyWriter(name="notchTarget") @QtUninvokable public final void setNotchTarget(double target){ setNotchTarget_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), target); } @QtUninvokable private native void setNotchTarget_native_double(long __this__nativeId, double target); /** *

See QDial::setNotchesVisible(bool)

*/ @QtPropertyWriter(name="notchesVisible") public final void setNotchesVisible(boolean visible){ setNotchesVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), visible); } private native void setNotchesVisible_native_bool(long __this__nativeId, boolean visible); /** *

See QDial::setWrapping(bool)

*/ @QtPropertyWriter(name="wrapping") public final void setWrapping(boolean on){ setWrapping_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), on); } private native void setWrapping_native_bool(long __this__nativeId, boolean on); /** *

See QDial::wrapping()const

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

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent e){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long e); /** *

See QDial::initStyleOption(QStyleOptionSlider*)const

*/ @QtUninvokable protected void initStyleOption(io.qt.widgets.@Nullable QStyleOptionSlider option){ initStyleOption_native_QStyleOptionSlider_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option)); } @QtUninvokable private native void initStyleOption_native_QStyleOptionSlider_ptr_constfct(long __this__nativeId, long option); /** *

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::mouseMoveEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mouseMoveEvent(io.qt.gui.@Nullable QMouseEvent me){ mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(me)); } @QtUninvokable private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long me); /** *

See QWidget::mousePressEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mousePressEvent(io.qt.gui.@Nullable QMouseEvent me){ mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(me)); } @QtUninvokable private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long me); /** *

See QWidget::mouseReleaseEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mouseReleaseEvent(io.qt.gui.@Nullable QMouseEvent me){ mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(me)); } @QtUninvokable private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long me); /** *

See QWidget::paintEvent(QPaintEvent*)

*/ @QtUninvokable @Override protected void paintEvent(io.qt.gui.@Nullable QPaintEvent pe){ paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pe)); } @QtUninvokable private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long pe); /** *

See QWidget::resizeEvent(QResizeEvent*)

*/ @QtUninvokable @Override protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent re){ resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(re)); } @QtUninvokable private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long re); /** *

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 QAbstractSlider::sliderChange(QAbstractSlider::SliderChange)

*/ @QtUninvokable @Override protected void sliderChange(io.qt.widgets.QAbstractSlider.@NonNull SliderChange change){ sliderChange_native_QAbstractSlider_SliderChange(QtJambi_LibraryUtilities.internal.nativeId(this), change.value()); } @QtUninvokable private native void sliderChange_native_QAbstractSlider_SliderChange(long __this__nativeId, int change); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QDial(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QDial(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QDial instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QDial(io.qt.widgets.QWidget)} * with parent = null.

*/ public QDial() { this((io.qt.widgets.QWidget)null); } /** * @hidden *

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

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

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy