
io.qt.widgets.QAbstractSpinBox Maven / Gradle / Ivy
package io.qt.widgets;
/**
* 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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAbstractSpinBox.class);
/**
* Java wrapper for Qt enum QAbstractSpinBox::ButtonSymbols
*/
public enum ButtonSymbols implements io.qt.QtEnumerator {
UpDownArrows(0),
PlusMinus(1),
NoButtons(2);
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 ButtonSymbols resolve(int value) {
switch (value) {
case 0: return UpDownArrows;
case 1: return PlusMinus;
case 2: return NoButtons;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QAbstractSpinBox::CorrectionMode
*/
public enum CorrectionMode implements io.qt.QtEnumerator {
CorrectToPreviousValue(0),
CorrectToNearestValue(1);
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 CorrectionMode resolve(int value) {
switch (value) {
case 0: return CorrectToPreviousValue;
case 1: return CorrectToNearestValue;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QAbstractSpinBox::StepEnabledFlag
*
* @see StepEnabled
*/
public enum StepEnabledFlag implements io.qt.QtFlagEnumerator {
StepNone(0),
StepUpEnabled(1),
StepDownEnabled(2);
private StepEnabledFlag(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public StepEnabled asFlags() {
return new StepEnabled(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public StepEnabled combined(StepEnabledFlag e) {
return new StepEnabled(this, e);
}
/**
* Creates a new {@link StepEnabled} from the entries.
* @param values entries
* @return new flag
*/
public static StepEnabled flags(StepEnabledFlag ... values) {
return new StepEnabled(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static StepEnabledFlag resolve(int value) {
switch (value) {
case 0: return StepNone;
case 1: return StepUpEnabled;
case 2: return StepDownEnabled;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* QFlags type for enum {@link StepEnabledFlag}
*/
public static final class StepEnabled extends io.qt.QFlags implements Comparable {
private static final long serialVersionUID = 0x759da424a3f0b6d6L;
/**
* Creates a new StepEnabled where the flags in args
are set.
* @param args enum entries
*/
public StepEnabled(StepEnabledFlag ... 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 StepEnabled combined(StepEnabledFlag e){
return new StepEnabled(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final StepEnabled setFlag(StepEnabledFlag e){
super.setFlag(e);
return this;
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final StepEnabled setFlag(StepEnabledFlag e, boolean on){
super.setFlag(e, on);
return this;
}
/**
* Returns an array of flag objects represented by this StepEnabled.
* @return array of enum entries
*/
@Override
public final StepEnabledFlag[] flags(){
return super.flags(StepEnabledFlag.values());
}
/**
* {@inheritDoc}
*/
@Override
public final StepEnabled clone(){
return new StepEnabled(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(StepEnabled other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QAbstractSpinBox::StepType
*/
public enum StepType implements io.qt.QtEnumerator {
DefaultStepType(0),
AdaptiveDecimalStepType(1);
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 StepType resolve(int value) {
switch (value) {
case 0: return DefaultStepType;
case 1: return AdaptiveDecimalStepType;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QAbstractSpinBox::editingFinished()
*/
public final Signal0 editingFinished = new Signal0();
/**
* Overloaded constructor for {@link #QAbstractSpinBox(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QAbstractSpinBox() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QAbstractSpinBox::QAbstractSpinBox(QWidget*)
*/
public QAbstractSpinBox(io.qt.widgets.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
*/
@io.qt.QtPropertyReader(name="alignment")
@io.qt.QtUninvokable
public final io.qt.core.Qt.Alignment alignment(){
return new io.qt.core.Qt.Alignment(alignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int alignment_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox::buttonSymbols()const
*/
@io.qt.QtPropertyReader(name="buttonSymbols")
@io.qt.QtUninvokable
public final io.qt.widgets.QAbstractSpinBox.ButtonSymbols buttonSymbols(){
return io.qt.widgets.QAbstractSpinBox.ButtonSymbols.resolve(buttonSymbols_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int buttonSymbols_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox::correctionMode()const
*/
@io.qt.QtPropertyReader(name="correctionMode")
@io.qt.QtUninvokable
public final io.qt.widgets.QAbstractSpinBox.CorrectionMode correctionMode(){
return io.qt.widgets.QAbstractSpinBox.CorrectionMode.resolve(correctionMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int correctionMode_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox::hasAcceptableInput()const
*/
@io.qt.QtPropertyReader(name="acceptableInput")
@io.qt.QtUninvokable
public final boolean hasAcceptableInput(){
return hasAcceptableInput_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasAcceptableInput_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox::hasFrame()const
*/
@io.qt.QtPropertyReader(name="frame")
@io.qt.QtUninvokable
public final boolean hasFrame(){
return hasFrame_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasFrame_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox::interpretText()
*/
@io.qt.QtUninvokable
public final void interpretText(){
interpretText_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void interpretText_native(long __this__nativeId);
/**
* See QAbstractSpinBox::isAccelerated()const
*/
@io.qt.QtPropertyReader(name="accelerated")
@io.qt.QtUninvokable
public final boolean isAccelerated(){
return isAccelerated_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isAccelerated_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox::isGroupSeparatorShown()const
*/
@io.qt.QtPropertyReader(name="showGroupSeparator")
@io.qt.QtUninvokable
public final boolean isGroupSeparatorShown(){
return isGroupSeparatorShown_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isGroupSeparatorShown_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox::isReadOnly()const
*/
@io.qt.QtPropertyReader(name="readOnly")
@io.qt.QtUninvokable
public final boolean isReadOnly(){
return isReadOnly_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isReadOnly_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox::keyboardTracking()const
*/
@io.qt.QtPropertyReader(name="keyboardTracking")
@io.qt.QtUninvokable
public final boolean keyboardTracking(){
return keyboardTracking_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean keyboardTracking_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox::lineEdit()const
*/
@io.qt.QtUninvokable
protected final io.qt.widgets.QLineEdit lineEdit(){
return lineEdit_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.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)
*/
@io.qt.QtPropertyWriter(name="accelerated")
@io.qt.QtUninvokable
public final void setAccelerated(boolean on){
setAccelerated_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), on);
}
@io.qt.QtUninvokable
private native void setAccelerated_native_bool(long __this__nativeId, boolean on);
/**
* Overloaded function for {@link #setAlignment(io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final void setAlignment(io.qt.core.Qt.AlignmentFlag ... flag){
setAlignment(new io.qt.core.Qt.Alignment(flag));
}
/**
* See QAbstractSpinBox::setAlignment(Qt::Alignment)
*/
@io.qt.QtPropertyWriter(name="alignment")
@io.qt.QtUninvokable
public final void setAlignment(io.qt.core.Qt.Alignment flag){
setAlignment_native_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), flag.value());
}
@io.qt.QtUninvokable
private native void setAlignment_native_QFlags_Qt_AlignmentFlag_(long __this__nativeId, int flag);
/**
* See QAbstractSpinBox::setButtonSymbols(QAbstractSpinBox::ButtonSymbols)
*/
@io.qt.QtPropertyWriter(name="buttonSymbols")
@io.qt.QtUninvokable
public final void setButtonSymbols(io.qt.widgets.QAbstractSpinBox.ButtonSymbols bs){
setButtonSymbols_native_QAbstractSpinBox_ButtonSymbols(QtJambi_LibraryUtilities.internal.nativeId(this), bs.value());
}
@io.qt.QtUninvokable
private native void setButtonSymbols_native_QAbstractSpinBox_ButtonSymbols(long __this__nativeId, int bs);
/**
* See QAbstractSpinBox::setCorrectionMode(QAbstractSpinBox::CorrectionMode)
*/
@io.qt.QtPropertyWriter(name="correctionMode")
@io.qt.QtUninvokable
public final void setCorrectionMode(io.qt.widgets.QAbstractSpinBox.CorrectionMode cm){
setCorrectionMode_native_QAbstractSpinBox_CorrectionMode(QtJambi_LibraryUtilities.internal.nativeId(this), cm.value());
}
@io.qt.QtUninvokable
private native void setCorrectionMode_native_QAbstractSpinBox_CorrectionMode(long __this__nativeId, int cm);
/**
* See QAbstractSpinBox::setFrame(bool)
*/
@io.qt.QtPropertyWriter(name="frame")
@io.qt.QtUninvokable
public final void setFrame(boolean arg__1){
setFrame_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void setFrame_native_bool(long __this__nativeId, boolean arg__1);
/**
* See QAbstractSpinBox::setGroupSeparatorShown(bool)
*/
@io.qt.QtPropertyWriter(name="showGroupSeparator")
@io.qt.QtUninvokable
public final void setGroupSeparatorShown(boolean shown){
setGroupSeparatorShown_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), shown);
}
@io.qt.QtUninvokable
private native void setGroupSeparatorShown_native_bool(long __this__nativeId, boolean shown);
/**
* See QAbstractSpinBox::setKeyboardTracking(bool)
*/
@io.qt.QtPropertyWriter(name="keyboardTracking")
@io.qt.QtUninvokable
public final void setKeyboardTracking(boolean kt){
setKeyboardTracking_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), kt);
}
@io.qt.QtUninvokable
private native void setKeyboardTracking_native_bool(long __this__nativeId, boolean kt);
/**
* See QAbstractSpinBox::setLineEdit(QLineEdit*)
*/
@io.qt.QtUninvokable
protected final void setLineEdit(io.qt.widgets.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));
}
@io.qt.QtUninvokable
private native void setLineEdit_native_QLineEdit_ptr(long __this__nativeId, long edit);
/**
* See QAbstractSpinBox::setReadOnly(bool)
*/
@io.qt.QtPropertyWriter(name="readOnly")
@io.qt.QtUninvokable
public final void setReadOnly(boolean r){
setReadOnly_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), r);
}
@io.qt.QtUninvokable
private native void setReadOnly_native_bool(long __this__nativeId, boolean r);
/**
* See QAbstractSpinBox::setSpecialValueText(QString)
*/
@io.qt.QtPropertyWriter(name="specialValueText")
@io.qt.QtUninvokable
public final void setSpecialValueText(java.lang.String txt){
setSpecialValueText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), txt);
}
@io.qt.QtUninvokable
private native void setSpecialValueText_native_cref_QString(long __this__nativeId, java.lang.String txt);
/**
* See QAbstractSpinBox::setWrapping(bool)
*/
@io.qt.QtPropertyWriter(name="wrapping")
@io.qt.QtUninvokable
public final void setWrapping(boolean w){
setWrapping_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), w);
}
@io.qt.QtUninvokable
private native void setWrapping_native_bool(long __this__nativeId, boolean w);
/**
* See QAbstractSpinBox::specialValueText()const
*/
@io.qt.QtPropertyReader(name="specialValueText")
@io.qt.QtUninvokable
public final java.lang.String specialValueText(){
return specialValueText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.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
*/
@io.qt.QtPropertyReader(name="text")
@io.qt.QtUninvokable
public final java.lang.String text(){
return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String text_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox::wrapping()const
*/
@io.qt.QtPropertyReader(name="wrapping")
@io.qt.QtUninvokable
public final boolean wrapping(){
return wrapping_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean wrapping_native_constfct(long __this__nativeId);
/**
* See QWidget::changeEvent(QEvent*)
*/
@io.qt.QtUninvokable
protected void changeEvent(io.qt.core.QEvent event){
changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.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*)
*/
@io.qt.QtUninvokable
protected void closeEvent(io.qt.gui.QCloseEvent event){
closeEvent_native_QCloseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void closeEvent_native_QCloseEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::contextMenuEvent(QContextMenuEvent*)
*/
@io.qt.QtUninvokable
protected void contextMenuEvent(io.qt.gui.QContextMenuEvent event){
contextMenuEvent_native_QContextMenuEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void contextMenuEvent_native_QContextMenuEvent_ptr(long __this__nativeId, long event);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent event){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QAbstractSpinBox::fixup(QString&)const
*/
@io.qt.QtUninvokable
public java.lang.String fixup(java.lang.String input){
return fixup_native_ref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), input);
}
@io.qt.QtUninvokable
private native java.lang.String fixup_native_ref_QString_constfct(long __this__nativeId, java.lang.String input);
/**
* See QWidget::focusInEvent(QFocusEvent*)
*/
@io.qt.QtUninvokable
protected void focusInEvent(io.qt.gui.QFocusEvent event){
focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::focusOutEvent(QFocusEvent*)
*/
@io.qt.QtUninvokable
protected void focusOutEvent(io.qt.gui.QFocusEvent event){
focusOutEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void focusOutEvent_native_QFocusEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::hideEvent(QHideEvent*)
*/
@io.qt.QtUninvokable
protected void hideEvent(io.qt.gui.QHideEvent event){
hideEvent_native_QHideEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void hideEvent_native_QHideEvent_ptr(long __this__nativeId, long event);
/**
* See QAbstractSpinBox::initStyleOption(QStyleOptionSpinBox*)const
*/
@io.qt.QtUninvokable
private void _initStyleOption(io.qt.widgets.QStyleOptionSpinBox option){
_initStyleOption_native_QStyleOptionSpinBox_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option);
}
@io.qt.QtUninvokable
private native void _initStyleOption_native_QStyleOptionSpinBox_ptr_constfct(long __this__nativeId, io.qt.widgets.QStyleOptionSpinBox option);
/**
* See QWidget::inputMethodQuery(Qt::InputMethodQuery)const
*/
@io.qt.QtUninvokable
public java.lang.Object inputMethodQuery(io.qt.core.Qt.InputMethodQuery arg__1){
return inputMethodQuery_native_Qt_InputMethodQuery_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@io.qt.QtUninvokable
private native java.lang.Object inputMethodQuery_native_Qt_InputMethodQuery_constfct(long __this__nativeId, int arg__1);
/**
* See QWidget::keyPressEvent(QKeyEvent*)
*/
@io.qt.QtUninvokable
protected void keyPressEvent(io.qt.gui.QKeyEvent event){
keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::keyReleaseEvent(QKeyEvent*)
*/
@io.qt.QtUninvokable
protected void keyReleaseEvent(io.qt.gui.QKeyEvent event){
keyReleaseEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void keyReleaseEvent_native_QKeyEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::minimumSizeHint()const
*/
@io.qt.QtUninvokable
public io.qt.core.QSize minimumSizeHint(){
return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId);
/**
* See QWidget::mouseMoveEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseMoveEvent(io.qt.gui.QMouseEvent event){
mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::mousePressEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mousePressEvent(io.qt.gui.QMouseEvent event){
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::mouseReleaseEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseReleaseEvent(io.qt.gui.QMouseEvent event){
mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::paintEvent(QPaintEvent*)
*/
@io.qt.QtUninvokable
protected void paintEvent(io.qt.gui.QPaintEvent event){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::resizeEvent(QResizeEvent*)
*/
@io.qt.QtUninvokable
protected void resizeEvent(io.qt.gui.QResizeEvent event){
resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::showEvent(QShowEvent*)
*/
@io.qt.QtUninvokable
protected void showEvent(io.qt.gui.QShowEvent event){
showEvent_native_QShowEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void showEvent_native_QShowEvent_ptr(long __this__nativeId, long event);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.core.QSize sizeHint(){
return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId);
/**
* See QAbstractSpinBox::stepBy(int)
*/
@io.qt.QtUninvokable
public void stepBy(int steps){
stepBy_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), steps);
}
@io.qt.QtUninvokable
private native void stepBy_native_int(long __this__nativeId, int steps);
/**
* See QAbstractSpinBox::stepEnabled()const
*/
@io.qt.QtUninvokable
protected io.qt.widgets.QAbstractSpinBox.StepEnabled stepEnabled(){
return new io.qt.widgets.QAbstractSpinBox.StepEnabled(stepEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int stepEnabled_native_constfct(long __this__nativeId);
/**
* See QObject::timerEvent(QTimerEvent*)
*/
@io.qt.QtUninvokable
protected void timerEvent(io.qt.core.QTimerEvent event){
timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long event);
/**
* See QAbstractSpinBox::validate(QString&,int&)const
*/
@io.qt.QtUninvokable
public io.qt.gui.QValidator.State validate(io.qt.gui.QValidator.QValidationData input){
return io.qt.gui.QValidator.State.resolve(validate_native_ref_QString_ref_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), input));
}
@io.qt.QtUninvokable
private native int validate_native_ref_QString_ref_int_constfct(long __this__nativeId, io.qt.gui.QValidator.QValidationData input);
/**
* See QWidget::wheelEvent(QWheelEvent*)
*/
@io.qt.QtUninvokable
protected void wheelEvent(io.qt.gui.QWheelEvent event){
wheelEvent_native_QWheelEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native void wheelEvent_native_QWheelEvent_ptr(long __this__nativeId, long event);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QAbstractSpinBox(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QAbstractSpinBox(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QAbstractSpinBox instance, QDeclarativeConstructor constructor);
@io.qt.QtUninvokable
protected final void initStyleOption(io.qt.widgets.QStyleOptionSpinBox option){
if(this instanceof QDateTimeEdit){
((QDateTimeEdit)this)._initStyleOption(option);
return;
}
_initStyleOption(option);
}
}