io.qt.widgets.QAbstractSpinBox Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Spinbox and a line edit to display values
* Java wrapper for Qt class QAbstractSpinBox
*/
public class QAbstractSpinBox extends io.qt.widgets.QWidget
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAbstractSpinBox.class);
/**
* Java wrapper for Qt enum QAbstractSpinBox::ButtonSymbols
*/
public enum ButtonSymbols implements QtEnumerator {
/**
* Representing QAbstractSpinBox:: UpDownArrows
*/
UpDownArrows(0),
/**
* Representing QAbstractSpinBox:: PlusMinus
*/
PlusMinus(1),
/**
* Representing QAbstractSpinBox:: NoButtons
*/
NoButtons(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private ButtonSymbols(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 ButtonSymbols resolve(int value) {
switch (value) {
case 0: return UpDownArrows;
case 1: return PlusMinus;
case 2: return NoButtons;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QAbstractSpinBox::CorrectionMode
*/
public enum CorrectionMode implements QtEnumerator {
/**
* Representing QAbstractSpinBox:: CorrectToPreviousValue
*/
CorrectToPreviousValue(0),
/**
* Representing QAbstractSpinBox:: CorrectToNearestValue
*/
CorrectToNearestValue(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private CorrectionMode(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 CorrectionMode resolve(int value) {
switch (value) {
case 0: return CorrectToPreviousValue;
case 1: return CorrectToNearestValue;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QAbstractSpinBox::StepEnabledFlag
*
* @see StepEnabled
*/
public enum StepEnabledFlag implements QtFlagEnumerator {
/**
* Representing QAbstractSpinBox:: StepNone
*/
StepNone(0),
/**
* Representing QAbstractSpinBox:: StepUpEnabled
*/
StepUpEnabled(1),
/**
* Representing QAbstractSpinBox:: StepDownEnabled
*/
StepDownEnabled(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private StepEnabledFlag(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull StepEnabled asFlags() {
return new StepEnabled(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull StepEnabled combined(@NonNull StepEnabledFlag 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 StepEnabled cleared(@NonNull StepEnabledFlag e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link StepEnabled} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull StepEnabled flags(@Nullable StepEnabledFlag @NonNull... values) {
return new StepEnabled(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull StepEnabledFlag resolve(int value) {
switch (value) {
case 0: return StepNone;
case 1: return StepUpEnabled;
case 2: return StepDownEnabled;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link StepEnabledFlag}
*/
public static final class StepEnabled extends QFlags implements Comparable {
private static final long serialVersionUID = 0x759da424a3f0b6d6L;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new StepEnabled where the flags in args
are set.
* @param args enum entries
*/
public StepEnabled(@Nullable StepEnabledFlag @NonNull... args){
super(args);
}
/**
* Creates a new StepEnabled with given value
.
* @param value
*/
public StepEnabled(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new StepEnabled
*/
@Override
public final @NonNull StepEnabled combined(@StrictNonNull StepEnabledFlag e){
return new StepEnabled(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull StepEnabled setFlag(@Nullable StepEnabledFlag 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 StepEnabled setFlag(@Nullable StepEnabledFlag 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 StepEnabled.
* @return array of enum entries
*/
@Override
public final @NonNull StepEnabledFlag @NonNull[] flags(){
return super.flags(StepEnabledFlag.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull StepEnabled clone(){
return new StepEnabled(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull StepEnabled other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QAbstractSpinBox::StepType
*/
public enum StepType implements QtEnumerator {
/**
* Representing QAbstractSpinBox:: DefaultStepType
*/
DefaultStepType(0),
/**
* Representing QAbstractSpinBox:: AdaptiveDecimalStepType
*/
AdaptiveDecimalStepType(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private StepType(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 StepType resolve(int value) {
switch (value) {
case 0: return DefaultStepType;
case 1: return AdaptiveDecimalStepType;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QAbstractSpinBox:: editingFinished()
*/
public final @NonNull Signal0 editingFinished = new Signal0();
/**
* See QAbstractSpinBox:: QAbstractSpinBox(QWidget*)
*/
public QAbstractSpinBox(io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QAbstractSpinBox instance, io.qt.widgets.QWidget parent);
/**
* See QAbstractSpinBox:: alignment()const
*/
@QtPropertyReader(name="alignment")
@QtUninvokable
public final io.qt.core.Qt.@NonNull Alignment alignment(){
return new io.qt.core.Qt.Alignment(alignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int alignment_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: buttonSymbols()const
*/
@QtPropertyReader(name="buttonSymbols")
@QtUninvokable
public final io.qt.widgets.QAbstractSpinBox.@NonNull ButtonSymbols buttonSymbols(){
return io.qt.widgets.QAbstractSpinBox.ButtonSymbols.resolve(buttonSymbols_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int buttonSymbols_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: correctionMode()const
*/
@QtPropertyReader(name="correctionMode")
@QtUninvokable
public final io.qt.widgets.QAbstractSpinBox.@NonNull CorrectionMode correctionMode(){
return io.qt.widgets.QAbstractSpinBox.CorrectionMode.resolve(correctionMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int correctionMode_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: hasAcceptableInput()const
*/
@QtPropertyReader(name="acceptableInput")
@QtUninvokable
public final boolean hasAcceptableInput(){
return hasAcceptableInput_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasAcceptableInput_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: hasFrame()const
*/
@QtPropertyReader(name="frame")
@QtUninvokable
public final boolean hasFrame(){
return hasFrame_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasFrame_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: interpretText()
*/
@QtUninvokable
public final void interpretText(){
interpretText_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void interpretText_native(long __this__nativeId);
/**
* See QAbstractSpinBox:: isAccelerated()const
*/
@QtPropertyReader(name="accelerated")
@QtUninvokable
public final boolean isAccelerated(){
return isAccelerated_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isAccelerated_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: isGroupSeparatorShown()const
*/
@QtPropertyReader(name="showGroupSeparator")
@QtUninvokable
public final boolean isGroupSeparatorShown(){
return isGroupSeparatorShown_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isGroupSeparatorShown_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: isReadOnly()const
*/
@QtPropertyReader(name="readOnly")
@QtUninvokable
public final boolean isReadOnly(){
return isReadOnly_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isReadOnly_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: keyboardTracking()const
*/
@QtPropertyReader(name="keyboardTracking")
@QtUninvokable
public final boolean keyboardTracking(){
return keyboardTracking_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean keyboardTracking_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: lineEdit()const
*/
@QtUninvokable
protected final io.qt.widgets.@Nullable QLineEdit lineEdit(){
return lineEdit_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QLineEdit lineEdit_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: selectAll()
*/
public final void selectAll(){
selectAll_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void selectAll_native(long __this__nativeId);
/**
* See QAbstractSpinBox:: setAccelerated(bool)
*/
@QtPropertyWriter(name="accelerated")
@QtUninvokable
public final void setAccelerated(boolean on){
setAccelerated_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), on);
}
@QtUninvokable
private native void setAccelerated_native_bool(long __this__nativeId, boolean on);
/**
* See QAbstractSpinBox:: setAlignment(Qt::Alignment)
*/
@QtPropertyWriter(name="alignment")
@QtUninvokable
public final void setAlignment(io.qt.core.Qt.@NonNull Alignment flag){
setAlignment_native_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), flag.value());
}
@QtUninvokable
private native void setAlignment_native_Qt_Alignment(long __this__nativeId, int flag);
/**
* See QAbstractSpinBox:: setButtonSymbols(QAbstractSpinBox::ButtonSymbols)
*/
@QtPropertyWriter(name="buttonSymbols")
@QtUninvokable
public final void setButtonSymbols(io.qt.widgets.QAbstractSpinBox.@NonNull ButtonSymbols bs){
setButtonSymbols_native_QAbstractSpinBox_ButtonSymbols(QtJambi_LibraryUtilities.internal.nativeId(this), bs.value());
}
@QtUninvokable
private native void setButtonSymbols_native_QAbstractSpinBox_ButtonSymbols(long __this__nativeId, int bs);
/**
* See QAbstractSpinBox:: setCorrectionMode(QAbstractSpinBox::CorrectionMode)
*/
@QtPropertyWriter(name="correctionMode")
@QtUninvokable
public final void setCorrectionMode(io.qt.widgets.QAbstractSpinBox.@NonNull CorrectionMode cm){
setCorrectionMode_native_QAbstractSpinBox_CorrectionMode(QtJambi_LibraryUtilities.internal.nativeId(this), cm.value());
}
@QtUninvokable
private native void setCorrectionMode_native_QAbstractSpinBox_CorrectionMode(long __this__nativeId, int cm);
/**
* See QAbstractSpinBox:: setFrame(bool)
*/
@QtPropertyWriter(name="frame")
@QtUninvokable
public final void setFrame(boolean arg__1){
setFrame_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void setFrame_native_bool(long __this__nativeId, boolean arg__1);
/**
* See QAbstractSpinBox:: setGroupSeparatorShown(bool)
*/
@QtPropertyWriter(name="showGroupSeparator")
@QtUninvokable
public final void setGroupSeparatorShown(boolean shown){
setGroupSeparatorShown_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), shown);
}
@QtUninvokable
private native void setGroupSeparatorShown_native_bool(long __this__nativeId, boolean shown);
/**
* See QAbstractSpinBox:: setKeyboardTracking(bool)
*/
@QtPropertyWriter(name="keyboardTracking")
@QtUninvokable
public final void setKeyboardTracking(boolean kt){
setKeyboardTracking_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), kt);
}
@QtUninvokable
private native void setKeyboardTracking_native_bool(long __this__nativeId, boolean kt);
/**
* See QAbstractSpinBox:: setLineEdit(QLineEdit*)
*/
@QtUninvokable
protected final void setLineEdit(io.qt.widgets.@StrictNonNull QLineEdit edit){
java.util.Objects.requireNonNull(edit, "Argument 'edit': null not expected.");
setLineEdit_native_QLineEdit_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(edit));
}
@QtUninvokable
private native void setLineEdit_native_QLineEdit_ptr(long __this__nativeId, long edit);
/**
* See QAbstractSpinBox:: setReadOnly(bool)
*/
@QtPropertyWriter(name="readOnly")
@QtUninvokable
public final void setReadOnly(boolean r){
setReadOnly_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), r);
}
@QtUninvokable
private native void setReadOnly_native_bool(long __this__nativeId, boolean r);
/**
* See QAbstractSpinBox:: setSpecialValueText(QString)
*/
@QtPropertyWriter(name="specialValueText")
@QtUninvokable
public final void setSpecialValueText(java.lang.@NonNull String txt){
setSpecialValueText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), txt);
}
@QtUninvokable
private native void setSpecialValueText_native_cref_QString(long __this__nativeId, java.lang.String txt);
/**
* See QAbstractSpinBox:: setWrapping(bool)
*/
@QtPropertyWriter(name="wrapping")
@QtUninvokable
public final void setWrapping(boolean w){
setWrapping_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), w);
}
@QtUninvokable
private native void setWrapping_native_bool(long __this__nativeId, boolean w);
/**
* See QAbstractSpinBox:: specialValueText()const
*/
@QtPropertyReader(name="specialValueText")
@QtUninvokable
public final java.lang.@NonNull String specialValueText(){
return specialValueText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String specialValueText_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: stepDown()
*/
public final void stepDown(){
stepDown_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void stepDown_native(long __this__nativeId);
/**
* See QAbstractSpinBox:: stepUp()
*/
public final void stepUp(){
stepUp_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void stepUp_native(long __this__nativeId);
/**
* See QAbstractSpinBox:: text()const
*/
@QtPropertyReader(name="text")
@QtUninvokable
public final java.lang.@NonNull String text(){
return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String text_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox:: 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 QWidget:: changeEvent(QEvent*)
*/
@QtUninvokable
@Override
protected void changeEvent(io.qt.core.@Nullable QEvent event){
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);
/**
*
*/
public void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void clear_native(long __this__nativeId);
/**
* See QWidget:: closeEvent(QCloseEvent*)
*/
@QtUninvokable
@Override
protected void closeEvent(io.qt.gui.@Nullable QCloseEvent event){
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:: contextMenuEvent(QContextMenuEvent*)
*/
@QtUninvokable
@Override
protected void contextMenuEvent(io.qt.gui.@Nullable QContextMenuEvent event){
contextMenuEvent_native_QContextMenuEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void contextMenuEvent_native_QContextMenuEvent_ptr(long __this__nativeId, long event);
/**
*
*/
@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 QAbstractSpinBox:: fixup(QString&)const
*/
@QtUninvokable
public void fixup(io.qt.core.@StrictNonNull QString input){
java.util.Objects.requireNonNull(input, "Argument 'input': null not expected.");
fixup_native_ref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), input);
}
@QtUninvokable
private native void fixup_native_ref_QString_constfct(long __this__nativeId, io.qt.core.QString input);
/**
* See QWidget:: focusInEvent(QFocusEvent*)
*/
@QtUninvokable
@Override
protected void focusInEvent(io.qt.gui.@Nullable QFocusEvent event){
focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget:: focusOutEvent(QFocusEvent*)
*/
@QtUninvokable
@Override
protected void focusOutEvent(io.qt.gui.@Nullable QFocusEvent event){
focusOutEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void focusOutEvent_native_QFocusEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget:: hideEvent(QHideEvent*)
*/
@QtUninvokable
@Override
protected void hideEvent(io.qt.gui.@Nullable QHideEvent event){
hideEvent_native_QHideEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void hideEvent_native_QHideEvent_ptr(long __this__nativeId, long event);
/**
* See QAbstractSpinBox:: initStyleOption(QStyleOptionSpinBox*)const
*/
@QtUninvokable
protected void initStyleOption(io.qt.widgets.@Nullable QStyleOptionSpinBox option){
initStyleOption_native_QStyleOptionSpinBox_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option));
}
@QtUninvokable
private native void initStyleOption_native_QStyleOptionSpinBox_ptr_constfct(long __this__nativeId, long option);
/**
* See QWidget:: inputMethodQuery(Qt::InputMethodQuery)const
*/
@QtUninvokable
@Override
public java.lang.Object inputMethodQuery(io.qt.core.Qt.@NonNull InputMethodQuery arg__1){
return inputMethodQuery_native_Qt_InputMethodQuery_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@QtUninvokable
private native java.lang.Object inputMethodQuery_native_Qt_InputMethodQuery_constfct(long __this__nativeId, int arg__1);
/**
* See QWidget:: keyPressEvent(QKeyEvent*)
*/
@QtUninvokable
@Override
protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent event){
keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget:: keyReleaseEvent(QKeyEvent*)
*/
@QtUninvokable
@Override
protected void keyReleaseEvent(io.qt.gui.@Nullable QKeyEvent event){
keyReleaseEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void keyReleaseEvent_native_QKeyEvent_ptr(long __this__nativeId, long event);
/**
* 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 event){
mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget:: mousePressEvent(QMouseEvent*)
*/
@QtUninvokable
@Override
protected void mousePressEvent(io.qt.gui.@Nullable QMouseEvent event){
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget:: mouseReleaseEvent(QMouseEvent*)
*/
@QtUninvokable
@Override
protected void mouseReleaseEvent(io.qt.gui.@Nullable QMouseEvent event){
mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long event);
/**
* 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);
/**
* 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);
/**
*
*/
@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 QAbstractSpinBox:: stepBy(int)
*/
@QtUninvokable
public void stepBy(int steps){
stepBy_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), steps);
}
@QtUninvokable
private native void stepBy_native_int(long __this__nativeId, int steps);
/**
* See QAbstractSpinBox:: stepEnabled()const
*/
@QtUninvokable
protected io.qt.widgets.QAbstractSpinBox.@NonNull StepEnabled stepEnabled(){
return new io.qt.widgets.QAbstractSpinBox.StepEnabled(stepEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int stepEnabled_native_constfct(long __this__nativeId);
/**
* See QObject:: timerEvent(QTimerEvent*)
*/
@QtUninvokable
@Override
protected void timerEvent(io.qt.core.@Nullable QTimerEvent event){
timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long event);
/**
* See QAbstractSpinBox:: validate(QString&, int&)const
*/
@QtUninvokable
public io.qt.gui.QValidator.@NonNull State validate(io.qt.gui.QValidator.@StrictNonNull QValidationData input){
java.util.Objects.requireNonNull(input, "Argument 'input': null not expected.");
return io.qt.gui.QValidator.State.resolve(validate_native_ref_QString_ref_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), input));
}
@QtUninvokable
private native int validate_native_ref_QString_ref_int_constfct(long __this__nativeId, io.qt.gui.QValidator.QValidationData input);
/**
* See QWidget:: wheelEvent(QWheelEvent*)
*/
@QtUninvokable
@Override
protected void wheelEvent(io.qt.gui.@Nullable QWheelEvent event){
wheelEvent_native_QWheelEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native void wheelEvent_native_QWheelEvent_ptr(long __this__nativeId, long event);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QAbstractSpinBox(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QAbstractSpinBox(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QAbstractSpinBox instance, QDeclarativeConstructor constructor);
/**
* @see #fixup(io.qt.core.QString)
*/
@QtUninvokable
public final java.lang.@NonNull String fixup(java.lang.@Nullable String string){
io.qt.core.QString _string = new io.qt.core.QString(string);
fixup(_string);
return _string.toString();
}
/**
* Overloaded constructor for {@link #QAbstractSpinBox(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QAbstractSpinBox() {
this((io.qt.widgets.QWidget)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #alignment()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.Qt.@NonNull Alignment getAlignment() {
return alignment();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #buttonSymbols()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QAbstractSpinBox.@NonNull ButtonSymbols getButtonSymbols() {
return buttonSymbols();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #correctionMode()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QAbstractSpinBox.@NonNull CorrectionMode getCorrectionMode() {
return correctionMode();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #hasAcceptableInput()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getAcceptableInput() {
return hasAcceptableInput();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #hasFrame()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getFrame() {
return hasFrame();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isAccelerated()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getAccelerated() {
return isAccelerated();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isGroupSeparatorShown()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getShowGroupSeparator() {
return isGroupSeparatorShown();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isReadOnly()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getReadOnly() {
return isReadOnly();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #keyboardTracking()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getKeyboardTracking() {
return keyboardTracking();
}
/**
* Overloaded function for {@link #setAlignment(io.qt.core.Qt.Alignment)}.
*/
@QtUninvokable
public final void setAlignment(io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... flag) {
setAlignment(new io.qt.core.Qt.Alignment(flag));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #specialValueText()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getSpecialValueText() {
return specialValueText();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #text()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getText() {
return text();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #wrapping()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getWrapping() {
return wrapping();
}
}