API reference - Class QAbstractSpinBox

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QAbstractSpinBox

Class hierarchy: QAbstractSpinBox » QWidget » QObject

Sub-classes: ButtonSymbols, QFlags_ButtonSymbols, CorrectionMode, QFlags_CorrectionMode, StepEnabledFlag, QFlags_StepEnabledFlag

Public constructors

new QAbstractSpinBoxnew(QWidget ptr parent = 0)Constructor QAbstractSpinBox::QAbstractSpinBox(QWidget *parent)

Public methods

void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[const]boolacceleratedMethod bool QAbstractSpinBox::isAccelerated()
voidaccelerated=(bool on)Method void QAbstractSpinBox::setAccelerated(bool on)
[const]boolacceptableInputMethod bool QAbstractSpinBox::hasAcceptableInput()
[const]Qt_QFlags_AlignmentFlagalignmentMethod QFlags<Qt::AlignmentFlag> QAbstractSpinBox::alignment()
voidalignment=(Qt_QFlags_AlignmentFlag flag)Method void QAbstractSpinBox::setAlignment(QFlags<Qt::AlignmentFlag> flag)
[const]QAbstractSpinBox_ButtonSymbolsbuttonSymbolsMethod QAbstractSpinBox::ButtonSymbols QAbstractSpinBox::buttonSymbols()
voidbuttonSymbols=(const QAbstractSpinBox_ButtonSymbols bs)Method void QAbstractSpinBox::setButtonSymbols(QAbstractSpinBox::ButtonSymbols bs)
voidclearVirtual method void QAbstractSpinBox::clear()
[const]QAbstractSpinBox_CorrectionModecorrectionModeMethod QAbstractSpinBox::CorrectionMode QAbstractSpinBox::correctionMode()
voidcorrectionMode=(const QAbstractSpinBox_CorrectionMode cm)Method void QAbstractSpinBox::setCorrectionMode(QAbstractSpinBox::CorrectionMode cm)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QAbstractSpinBox::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QAbstractSpinBox::destroyed(QObject *)
[signal]voideditingFinishedSignal declaration for QAbstractSpinBox::editingFinished()
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QAbstractSpinBox::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = 0)Emitter for signal void QAbstractSpinBox::destroyed(QObject *)
voidemit_editingFinishedEmitter for signal void QAbstractSpinBox::editingFinished()
voidemit_objectNameChanged(string objectName)Emitter for signal void QAbstractSpinBox::objectNameChanged(const QString &objectName)
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QAbstractSpinBox::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QAbstractSpinBox::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QAbstractSpinBox::windowTitleChanged(const QString &title)
boolevent(QEvent ptr event)Virtual method bool QAbstractSpinBox::event(QEvent *event)
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QAbstractSpinBox::eventFilter(QObject *, QEvent *)
[const]voidfixup(string input)Virtual method void QAbstractSpinBox::fixup(QString &input)
[const]boolframeMethod bool QAbstractSpinBox::hasFrame()
voidframe=(bool arg1)Method void QAbstractSpinBox::setFrame(bool)
[const]boolgroupSeparatorShownMethod bool QAbstractSpinBox::isGroupSeparatorShown()
voidgroupSeparatorShown=(bool shown)Method void QAbstractSpinBox::setGroupSeparatorShown(bool shown)
[const]boolhasAcceptableInputMethod bool QAbstractSpinBox::hasAcceptableInput()
[const]boolhasFrameMethod bool QAbstractSpinBox::hasFrame()
[const]boolhasHeightForWidthVirtual method bool QAbstractSpinBox::hasHeightForWidth()
[const]intheightForWidth(int arg1)Virtual method int QAbstractSpinBox::heightForWidth(int)
[const]variantinputMethodQuery(const Qt_InputMethodQuery arg1)Virtual method QVariant QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery)
voidinterpretTextMethod void QAbstractSpinBox::interpretText()
[const]boolisAccelerated?Method bool QAbstractSpinBox::isAccelerated()
[const]boolisGroupSeparatorShown?Method bool QAbstractSpinBox::isGroupSeparatorShown()
[const]boolisReadOnly?Method bool QAbstractSpinBox::isReadOnly()
[const]boolkeyboardTrackingMethod bool QAbstractSpinBox::keyboardTracking()
voidkeyboardTracking=(bool kt)Method void QAbstractSpinBox::setKeyboardTracking(bool kt)
[const]QSizeminimumSizeHintVirtual method QSize QAbstractSpinBox::minimumSizeHint()
[signal]voidobjectNameChanged(string objectName)Signal declaration for QAbstractSpinBox::objectNameChanged(const QString &objectName)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QAbstractSpinBox::paintEngine()
[const]boolreadOnlyMethod bool QAbstractSpinBox::isReadOnly()
voidreadOnly=(bool r)Method void QAbstractSpinBox::setReadOnly(bool r)
voidselectAllMethod void QAbstractSpinBox::selectAll()
voidsetAccelerated(bool on)Method void QAbstractSpinBox::setAccelerated(bool on)
voidsetAlignment(Qt_QFlags_AlignmentFlag flag)Method void QAbstractSpinBox::setAlignment(QFlags<Qt::AlignmentFlag> flag)
voidsetButtonSymbols(const QAbstractSpinBox_ButtonSymbols bs)Method void QAbstractSpinBox::setButtonSymbols(QAbstractSpinBox::ButtonSymbols bs)
voidsetCorrectionMode(const QAbstractSpinBox_CorrectionMode cm)Method void QAbstractSpinBox::setCorrectionMode(QAbstractSpinBox::CorrectionMode cm)
voidsetFrame(bool arg1)Method void QAbstractSpinBox::setFrame(bool)
voidsetGroupSeparatorShown(bool shown)Method void QAbstractSpinBox::setGroupSeparatorShown(bool shown)
voidsetKeyboardTracking(bool kt)Method void QAbstractSpinBox::setKeyboardTracking(bool kt)
voidsetReadOnly(bool r)Method void QAbstractSpinBox::setReadOnly(bool r)
voidsetSpecialValueText(string txt)Method void QAbstractSpinBox::setSpecialValueText(const QString &txt)
voidsetVisible(bool visible)Virtual method void QAbstractSpinBox::setVisible(bool visible)
voidsetWrapping(bool w)Method void QAbstractSpinBox::setWrapping(bool w)
[const]QSizesizeHintVirtual method QSize QAbstractSpinBox::sizeHint()
[const]stringspecialValueTextMethod QString QAbstractSpinBox::specialValueText()
voidspecialValueText=(string txt)Method void QAbstractSpinBox::setSpecialValueText(const QString &txt)
voidstepBy(int steps)Virtual method void QAbstractSpinBox::stepBy(int steps)
voidstepDownMethod void QAbstractSpinBox::stepDown()
voidstepUpMethod void QAbstractSpinBox::stepUp()
[const]stringtextMethod QString QAbstractSpinBox::text()
[const]QValidator_Statevalidate(string input,
int pos)
Virtual method QValidator::State QAbstractSpinBox::validate(QString &input, int &pos)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QAbstractSpinBox::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QAbstractSpinBox::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QAbstractSpinBox::windowTitleChanged(const QString &title)
[const]boolwrappingMethod bool QAbstractSpinBox::wrapping()
voidwrapping=(bool w)Method void QAbstractSpinBox::setWrapping(bool w)

Public static methods and constants

[static,const]QAbstractSpinBox_CorrectionModeCorrectToNearestValueEnum constant QAbstractSpinBox::CorrectToNearestValue
[static,const]QAbstractSpinBox_CorrectionModeCorrectToPreviousValueEnum constant QAbstractSpinBox::CorrectToPreviousValue
[static,const]QAbstractSpinBox_ButtonSymbolsNoButtonsEnum constant QAbstractSpinBox::NoButtons
[static,const]QAbstractSpinBox_ButtonSymbolsPlusMinusEnum constant QAbstractSpinBox::PlusMinus
[static,const]QAbstractSpinBox_StepEnabledFlagStepDownEnabledEnum constant QAbstractSpinBox::StepDownEnabled
[static,const]QAbstractSpinBox_StepEnabledFlagStepNoneEnum constant QAbstractSpinBox::StepNone
[static,const]QAbstractSpinBox_StepEnabledFlagStepUpEnabledEnum constant QAbstractSpinBox::StepUpEnabled
[static,const]QAbstractSpinBox_ButtonSymbolsUpDownArrowsEnum constant QAbstractSpinBox::UpDownArrows
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QAbstractSpinBox::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QAbstractSpinBox::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr arg1)Virtual method void QAbstractSpinBox::actionEvent(QActionEvent *)
voidchangeEvent(QEvent ptr event)Virtual method void QAbstractSpinBox::changeEvent(QEvent *event)
voidchildEvent(QChildEvent ptr arg1)Virtual method void QAbstractSpinBox::childEvent(QChildEvent *)
voidcloseEvent(QCloseEvent ptr event)Virtual method void QAbstractSpinBox::closeEvent(QCloseEvent *event)
voidcontextMenuEvent(QContextMenuEvent ptr event)Virtual method void QAbstractSpinBox::contextMenuEvent(QContextMenuEvent *event)
voidcustomEvent(QEvent ptr arg1)Virtual method void QAbstractSpinBox::customEvent(QEvent *)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QAbstractSpinBox::disconnectNotify(const QMetaMethod &signal)
voiddragEnterEvent(QDragEnterEvent ptr arg1)Virtual method void QAbstractSpinBox::dragEnterEvent(QDragEnterEvent *)
voiddragLeaveEvent(QDragLeaveEvent ptr arg1)Virtual method void QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent *)
voiddragMoveEvent(QDragMoveEvent ptr arg1)Virtual method void QAbstractSpinBox::dragMoveEvent(QDragMoveEvent *)
voiddropEvent(QDropEvent ptr arg1)Virtual method void QAbstractSpinBox::dropEvent(QDropEvent *)
voidenterEvent(QEvent ptr arg1)Virtual method void QAbstractSpinBox::enterEvent(QEvent *)
voidfocusInEvent(QFocusEvent ptr event)Virtual method void QAbstractSpinBox::focusInEvent(QFocusEvent *event)
boolfocusNextChildMethod bool QAbstractSpinBox::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QAbstractSpinBox::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QAbstractSpinBox::focusOutEvent(QFocusEvent *event)
boolfocusPreviousChildMethod bool QAbstractSpinBox::focusPreviousChild()
voidhideEvent(QHideEvent ptr event)Virtual method void QAbstractSpinBox::hideEvent(QHideEvent *event)
[const]voidinitPainter(QPainter ptr painter)Virtual method void QAbstractSpinBox::initPainter(QPainter *painter)
[const]voidinitStyleOption(QStyleOptionSpinBox ptr option)Method void QAbstractSpinBox::initStyleOption(QStyleOptionSpinBox *option)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QAbstractSpinBox::inputMethodEvent(QInputMethodEvent *)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QAbstractSpinBox::isSignalConnected(const QMetaMethod &signal)
voidkeyPressEvent(QKeyEvent ptr event)Virtual method void QAbstractSpinBox::keyPressEvent(QKeyEvent *event)
voidkeyReleaseEvent(QKeyEvent ptr event)Virtual method void QAbstractSpinBox::keyReleaseEvent(QKeyEvent *event)
voidleaveEvent(QEvent ptr arg1)Virtual method void QAbstractSpinBox::leaveEvent(QEvent *)
[const]QLineEdit ptrlineEditMethod QLineEdit *QAbstractSpinBox::lineEdit()
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr arg1)Virtual method void QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent *)
voidmouseMoveEvent(QMouseEvent ptr event)Virtual method void QAbstractSpinBox::mouseMoveEvent(QMouseEvent *event)
voidmousePressEvent(QMouseEvent ptr event)Virtual method void QAbstractSpinBox::mousePressEvent(QMouseEvent *event)
voidmouseReleaseEvent(QMouseEvent ptr event)Virtual method void QAbstractSpinBox::mouseReleaseEvent(QMouseEvent *event)
voidmoveEvent(QMoveEvent ptr arg1)Virtual method void QAbstractSpinBox::moveEvent(QMoveEvent *)
boolnativeEvent(bytes eventType,
void * message,
long ptr result)
Virtual method bool QAbstractSpinBox::nativeEvent(const QByteArray &eventType, void *message, long int *result)
voidpaintEvent(QPaintEvent ptr event)Virtual method void QAbstractSpinBox::paintEvent(QPaintEvent *event)
voidqt_create(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QAbstractSpinBox::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QAbstractSpinBox::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QAbstractSpinBox::receivers(const char *signal)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QAbstractSpinBox::redirected(QPoint *offset)
voidresizeEvent(QResizeEvent ptr event)Virtual method void QAbstractSpinBox::resizeEvent(QResizeEvent *event)
[const]QObject ptrsenderMethod QObject *QAbstractSpinBox::sender()
[const]intsenderSignalIndexMethod int QAbstractSpinBox::senderSignalIndex()
voidsetLineEdit(QLineEdit ptr edit)Method void QAbstractSpinBox::setLineEdit(QLineEdit *edit)
[const]QPainter ptrsharedPainterVirtual method QPainter *QAbstractSpinBox::sharedPainter()
voidshowEvent(QShowEvent ptr event)Virtual method void QAbstractSpinBox::showEvent(QShowEvent *event)
[const]QAbstractSpinBox_QFlags_StepEnabledFlagstepEnabledVirtual method QFlags<QAbstractSpinBox::StepEnabledFlag> QAbstractSpinBox::stepEnabled()
voidtabletEvent(QTabletEvent ptr arg1)Virtual method void QAbstractSpinBox::tabletEvent(QTabletEvent *)
voidtimerEvent(QTimerEvent ptr event)Virtual method void QAbstractSpinBox::timerEvent(QTimerEvent *event)
voidupdateMicroFocusMethod void QAbstractSpinBox::updateMicroFocus()
voidwheelEvent(QWheelEvent ptr event)Virtual method void QAbstractSpinBox::wheelEvent(QWheelEvent *event)

Detailed description

CorrectToNearestValue

Signature: [static,const] QAbstractSpinBox_CorrectionMode CorrectToNearestValue

Description: Enum constant QAbstractSpinBox::CorrectToNearestValue

Python specific notes:
The object exposes a readable attribute 'CorrectToNearestValue'. This is the getter.

CorrectToPreviousValue

Signature: [static,const] QAbstractSpinBox_CorrectionMode CorrectToPreviousValue

Description: Enum constant QAbstractSpinBox::CorrectToPreviousValue

Python specific notes:
The object exposes a readable attribute 'CorrectToPreviousValue'. This is the getter.

NoButtons

Signature: [static,const] QAbstractSpinBox_ButtonSymbols NoButtons

Description: Enum constant QAbstractSpinBox::NoButtons

Python specific notes:
The object exposes a readable attribute 'NoButtons'. This is the getter.

PlusMinus

Signature: [static,const] QAbstractSpinBox_ButtonSymbols PlusMinus

Description: Enum constant QAbstractSpinBox::PlusMinus

Python specific notes:
The object exposes a readable attribute 'PlusMinus'. This is the getter.

StepDownEnabled

Signature: [static,const] QAbstractSpinBox_StepEnabledFlag StepDownEnabled

Description: Enum constant QAbstractSpinBox::StepDownEnabled

Python specific notes:
The object exposes a readable attribute 'StepDownEnabled'. This is the getter.

StepNone

Signature: [static,const] QAbstractSpinBox_StepEnabledFlag StepNone

Description: Enum constant QAbstractSpinBox::StepNone

Python specific notes:
The object exposes a readable attribute 'StepNone'. This is the getter.

StepUpEnabled

Signature: [static,const] QAbstractSpinBox_StepEnabledFlag StepUpEnabled

Description: Enum constant QAbstractSpinBox::StepUpEnabled

Python specific notes:
The object exposes a readable attribute 'StepUpEnabled'. This is the getter.

UpDownArrows

Signature: [static,const] QAbstractSpinBox_ButtonSymbols UpDownArrows

Description: Enum constant QAbstractSpinBox::UpDownArrows

Python specific notes:
The object exposes a readable attribute 'UpDownArrows'. This is the getter.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

accelerated

Signature: [const] bool accelerated

Description: Method bool QAbstractSpinBox::isAccelerated()

Python specific notes:
The object exposes a readable attribute 'accelerated'. This is the getter.

accelerated=

Signature: void accelerated= (bool on)

Description: Method void QAbstractSpinBox::setAccelerated(bool on)

Python specific notes:
The object exposes a writable attribute 'accelerated'. This is the setter.

acceptableInput

Signature: [const] bool acceptableInput

Description: Method bool QAbstractSpinBox::hasAcceptableInput()

Python specific notes:
The object exposes a readable attribute 'acceptableInput'. This is the getter.

actionEvent

Signature: void actionEvent (QActionEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::actionEvent(QActionEvent *)

This method can be reimplemented in a derived class.

alignment

Signature: [const] Qt_QFlags_AlignmentFlag alignment

Description: Method QFlags<Qt::AlignmentFlag> QAbstractSpinBox::alignment()

Python specific notes:
The object exposes a readable attribute 'alignment'. This is the getter.

alignment=

Signature: void alignment= (Qt_QFlags_AlignmentFlag flag)

Description: Method void QAbstractSpinBox::setAlignment(QFlags<Qt::AlignmentFlag> flag)

Python specific notes:
The object exposes a writable attribute 'alignment'. This is the setter.

buttonSymbols

Signature: [const] QAbstractSpinBox_ButtonSymbols buttonSymbols

Description: Method QAbstractSpinBox::ButtonSymbols QAbstractSpinBox::buttonSymbols()

Python specific notes:
The object exposes a readable attribute 'buttonSymbols'. This is the getter.

buttonSymbols=

Signature: void buttonSymbols= (const QAbstractSpinBox_ButtonSymbols bs)

Description: Method void QAbstractSpinBox::setButtonSymbols(QAbstractSpinBox::ButtonSymbols bs)

Python specific notes:
The object exposes a writable attribute 'buttonSymbols'. This is the setter.

changeEvent

Signature: void changeEvent (QEvent ptr event)

Description: Virtual method void QAbstractSpinBox::changeEvent(QEvent *event)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::childEvent(QChildEvent *)

This method can be reimplemented in a derived class.

clear

Signature: void clear

Description: Virtual method void QAbstractSpinBox::clear()

This method can be reimplemented in a derived class.

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

Description: Virtual method void QAbstractSpinBox::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr event)

Description: Virtual method void QAbstractSpinBox::contextMenuEvent(QContextMenuEvent *event)

This method can be reimplemented in a derived class.

correctionMode

Signature: [const] QAbstractSpinBox_CorrectionMode correctionMode

Description: Method QAbstractSpinBox::CorrectionMode QAbstractSpinBox::correctionMode()

Python specific notes:
The object exposes a readable attribute 'correctionMode'. This is the getter.

correctionMode=

Signature: void correctionMode= (const QAbstractSpinBox_CorrectionMode cm)

Description: Method void QAbstractSpinBox::setCorrectionMode(QAbstractSpinBox::CorrectionMode cm)

Python specific notes:
The object exposes a writable attribute 'correctionMode'. This is the setter.

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QAbstractSpinBox::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::customEvent(QEvent *)

This method can be reimplemented in a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QAbstractSpinBox::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QAbstractSpinBox::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::dragEnterEvent(QDragEnterEvent *)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent *)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::dragMoveEvent(QDragMoveEvent *)

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::dropEvent(QDropEvent *)

This method can be reimplemented in a derived class.

editingFinished

Signature: [signal] void editingFinished

Description: Signal declaration for QAbstractSpinBox::editingFinished()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'editingFinished'. This is the getter.
The object exposes a writable attribute 'editingFinished'. This is the setter.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QAbstractSpinBox::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = 0)

Description: Emitter for signal void QAbstractSpinBox::destroyed(QObject *)

Call this method to emit this signal.

emit_editingFinished

Signature: void emit_editingFinished

Description: Emitter for signal void QAbstractSpinBox::editingFinished()

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QAbstractSpinBox::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

Description: Emitter for signal void QAbstractSpinBox::windowIconChanged(const QIcon &icon)

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

Description: Emitter for signal void QAbstractSpinBox::windowIconTextChanged(const QString &iconText)

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

Description: Emitter for signal void QAbstractSpinBox::windowTitleChanged(const QString &title)

Call this method to emit this signal.

enterEvent

Signature: void enterEvent (QEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::enterEvent(QEvent *)

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr event)

Description: Virtual method bool QAbstractSpinBox::event(QEvent *event)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QAbstractSpinBox::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

fixup

Signature: [const] void fixup (string input)

Description: Virtual method void QAbstractSpinBox::fixup(QString &input)

This method can be reimplemented in a derived class.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

Description: Virtual method void QAbstractSpinBox::focusInEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QAbstractSpinBox::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QAbstractSpinBox::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

Description: Virtual method void QAbstractSpinBox::focusOutEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QAbstractSpinBox::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

frame

Signature: [const] bool frame

Description: Method bool QAbstractSpinBox::hasFrame()

Python specific notes:
The object exposes a readable attribute 'frame'. This is the getter.

frame=

Signature: void frame= (bool arg1)

Description: Method void QAbstractSpinBox::setFrame(bool)

Python specific notes:
The object exposes a writable attribute 'frame'. This is the setter.

groupSeparatorShown

Signature: [const] bool groupSeparatorShown

Description: Method bool QAbstractSpinBox::isGroupSeparatorShown()

Python specific notes:
The object exposes a readable attribute 'groupSeparatorShown'. This is the getter.

groupSeparatorShown=

Signature: void groupSeparatorShown= (bool shown)

Description: Method void QAbstractSpinBox::setGroupSeparatorShown(bool shown)

Python specific notes:
The object exposes a writable attribute 'groupSeparatorShown'. This is the setter.

hasAcceptableInput

Signature: [const] bool hasAcceptableInput

Description: Method bool QAbstractSpinBox::hasAcceptableInput()

Python specific notes:
The object exposes a readable attribute 'acceptableInput'. This is the getter.

hasFrame

Signature: [const] bool hasFrame

Description: Method bool QAbstractSpinBox::hasFrame()

Python specific notes:
The object exposes a readable attribute 'frame'. This is the getter.

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QAbstractSpinBox::hasHeightForWidth()

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QAbstractSpinBox::heightForWidth(int)

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr event)

Description: Virtual method void QAbstractSpinBox::hideEvent(QHideEvent *event)

This method can be reimplemented in a derived class.

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QAbstractSpinBox::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

initStyleOption

Signature: [const] void initStyleOption (QStyleOptionSpinBox ptr option)

Description: Method void QAbstractSpinBox::initStyleOption(QStyleOptionSpinBox *option)

This method is protected and can only be called from inside a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::inputMethodEvent(QInputMethodEvent *)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery arg1)

Description: Virtual method QVariant QAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery)

This method can be reimplemented in a derived class.

interpretText

Signature: void interpretText

Description: Method void QAbstractSpinBox::interpretText()

isAccelerated?

Signature: [const] bool isAccelerated?

Description: Method bool QAbstractSpinBox::isAccelerated()

Python specific notes:
The object exposes a readable attribute 'accelerated'. This is the getter.

isGroupSeparatorShown?

Signature: [const] bool isGroupSeparatorShown?

Description: Method bool QAbstractSpinBox::isGroupSeparatorShown()

Python specific notes:
The object exposes a readable attribute 'groupSeparatorShown'. This is the getter.

isReadOnly?

Signature: [const] bool isReadOnly?

Description: Method bool QAbstractSpinBox::isReadOnly()

Python specific notes:
The object exposes a readable attribute 'readOnly'. This is the getter.

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QAbstractSpinBox::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr event)

Description: Virtual method void QAbstractSpinBox::keyPressEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

Description: Virtual method void QAbstractSpinBox::keyReleaseEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyboardTracking

Signature: [const] bool keyboardTracking

Description: Method bool QAbstractSpinBox::keyboardTracking()

Python specific notes:
The object exposes a readable attribute 'keyboardTracking'. This is the getter.

keyboardTracking=

Signature: void keyboardTracking= (bool kt)

Description: Method void QAbstractSpinBox::setKeyboardTracking(bool kt)

Python specific notes:
The object exposes a writable attribute 'keyboardTracking'. This is the setter.

leaveEvent

Signature: void leaveEvent (QEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::leaveEvent(QEvent *)

This method can be reimplemented in a derived class.

lineEdit

Signature: [const] QLineEdit ptr lineEdit

Description: Method QLineEdit *QAbstractSpinBox::lineEdit()

This method is protected and can only be called from inside a derived class.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QAbstractSpinBox::minimumSizeHint()

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr event)

Description: Virtual method void QAbstractSpinBox::mouseMoveEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr event)

Description: Virtual method void QAbstractSpinBox::mousePressEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr event)

Description: Virtual method void QAbstractSpinBox::mouseReleaseEvent(QMouseEvent *event)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::moveEvent(QMoveEvent *)

This method can be reimplemented in a derived class.

nativeEvent

Signature: bool nativeEvent (bytes eventType, void * message, long ptr result)

Description: Virtual method bool QAbstractSpinBox::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

Signature: [static] new QAbstractSpinBox new (QWidget ptr parent = 0)

Description: Constructor QAbstractSpinBox::QAbstractSpinBox(QWidget *parent)

This method creates an object of class QAbstractSpinBox.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QAbstractSpinBox::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QAbstractSpinBox::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr event)

Description: Virtual method void QAbstractSpinBox::paintEvent(QPaintEvent *event)

This method can be reimplemented in a derived class.

qt_create

Signature: void qt_create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QAbstractSpinBox::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QAbstractSpinBox::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

readOnly

Signature: [const] bool readOnly

Description: Method bool QAbstractSpinBox::isReadOnly()

Python specific notes:
The object exposes a readable attribute 'readOnly'. This is the getter.

readOnly=

Signature: void readOnly= (bool r)

Description: Method void QAbstractSpinBox::setReadOnly(bool r)

Python specific notes:
The object exposes a writable attribute 'readOnly'. This is the setter.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QAbstractSpinBox::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QAbstractSpinBox::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr event)

Description: Virtual method void QAbstractSpinBox::resizeEvent(QResizeEvent *event)

This method can be reimplemented in a derived class.

selectAll

Signature: void selectAll

Description: Method void QAbstractSpinBox::selectAll()

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QAbstractSpinBox::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QAbstractSpinBox::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setAccelerated

Signature: void setAccelerated (bool on)

Description: Method void QAbstractSpinBox::setAccelerated(bool on)

Python specific notes:
The object exposes a writable attribute 'accelerated'. This is the setter.

setAlignment

Signature: void setAlignment (Qt_QFlags_AlignmentFlag flag)

Description: Method void QAbstractSpinBox::setAlignment(QFlags<Qt::AlignmentFlag> flag)

Python specific notes:
The object exposes a writable attribute 'alignment'. This is the setter.

setButtonSymbols

Signature: void setButtonSymbols (const QAbstractSpinBox_ButtonSymbols bs)

Description: Method void QAbstractSpinBox::setButtonSymbols(QAbstractSpinBox::ButtonSymbols bs)

Python specific notes:
The object exposes a writable attribute 'buttonSymbols'. This is the setter.

setCorrectionMode

Signature: void setCorrectionMode (const QAbstractSpinBox_CorrectionMode cm)

Description: Method void QAbstractSpinBox::setCorrectionMode(QAbstractSpinBox::CorrectionMode cm)

Python specific notes:
The object exposes a writable attribute 'correctionMode'. This is the setter.

setFrame

Signature: void setFrame (bool arg1)

Description: Method void QAbstractSpinBox::setFrame(bool)

Python specific notes:
The object exposes a writable attribute 'frame'. This is the setter.

setGroupSeparatorShown

Signature: void setGroupSeparatorShown (bool shown)

Description: Method void QAbstractSpinBox::setGroupSeparatorShown(bool shown)

Python specific notes:
The object exposes a writable attribute 'groupSeparatorShown'. This is the setter.

setKeyboardTracking

Signature: void setKeyboardTracking (bool kt)

Description: Method void QAbstractSpinBox::setKeyboardTracking(bool kt)

Python specific notes:
The object exposes a writable attribute 'keyboardTracking'. This is the setter.

setLineEdit

Signature: void setLineEdit (QLineEdit ptr edit)

Description: Method void QAbstractSpinBox::setLineEdit(QLineEdit *edit)

This method is protected and can only be called from inside a derived class.

setReadOnly

Signature: void setReadOnly (bool r)

Description: Method void QAbstractSpinBox::setReadOnly(bool r)

Python specific notes:
The object exposes a writable attribute 'readOnly'. This is the setter.

setSpecialValueText

Signature: void setSpecialValueText (string txt)

Description: Method void QAbstractSpinBox::setSpecialValueText(const QString &txt)

Python specific notes:
The object exposes a writable attribute 'specialValueText'. This is the setter.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QAbstractSpinBox::setVisible(bool visible)

This method can be reimplemented in a derived class.

setWrapping

Signature: void setWrapping (bool w)

Description: Method void QAbstractSpinBox::setWrapping(bool w)

Python specific notes:
The object exposes a writable attribute 'wrapping'. This is the setter.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QAbstractSpinBox::sharedPainter()

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr event)

Description: Virtual method void QAbstractSpinBox::showEvent(QShowEvent *event)

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QAbstractSpinBox::sizeHint()

This method can be reimplemented in a derived class.

specialValueText

Signature: [const] string specialValueText

Description: Method QString QAbstractSpinBox::specialValueText()

Python specific notes:
The object exposes a readable attribute 'specialValueText'. This is the getter.

specialValueText=

Signature: void specialValueText= (string txt)

Description: Method void QAbstractSpinBox::setSpecialValueText(const QString &txt)

Python specific notes:
The object exposes a writable attribute 'specialValueText'. This is the setter.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

stepBy

Signature: void stepBy (int steps)

Description: Virtual method void QAbstractSpinBox::stepBy(int steps)

This method can be reimplemented in a derived class.

stepDown

Signature: void stepDown

Description: Method void QAbstractSpinBox::stepDown()

stepEnabled

Signature: [const] QAbstractSpinBox_QFlags_StepEnabledFlag stepEnabled

Description: Virtual method QFlags<QAbstractSpinBox::StepEnabledFlag> QAbstractSpinBox::stepEnabled()

This method can be reimplemented in a derived class.

stepUp

Signature: void stepUp

Description: Method void QAbstractSpinBox::stepUp()

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr arg1)

Description: Virtual method void QAbstractSpinBox::tabletEvent(QTabletEvent *)

This method can be reimplemented in a derived class.

text

Signature: [const] string text

Description: Method QString QAbstractSpinBox::text()

Python specific notes:
The object exposes a readable attribute 'text'. This is the getter.

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

Description: Virtual method void QAbstractSpinBox::timerEvent(QTimerEvent *event)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QAbstractSpinBox::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QAbstractSpinBox::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QAbstractSpinBox::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

validate

Signature: [const] QValidator_State validate (string input, int pos)

Description: Virtual method QValidator::State QAbstractSpinBox::validate(QString &input, int &pos)

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr event)

Description: Virtual method void QAbstractSpinBox::wheelEvent(QWheelEvent *event)

This method can be reimplemented in a derived class.

windowIconChanged

Signature: [signal] void windowIconChanged (const QIcon icon)

Description: Signal declaration for QAbstractSpinBox::windowIconChanged(const QIcon &icon)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconChanged'. This is the getter.
The object exposes a writable attribute 'windowIconChanged'. This is the setter.

windowIconTextChanged

Signature: [signal] void windowIconTextChanged (string iconText)

Description: Signal declaration for QAbstractSpinBox::windowIconTextChanged(const QString &iconText)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconTextChanged'. This is the getter.
The object exposes a writable attribute 'windowIconTextChanged'. This is the setter.

windowTitleChanged

Signature: [signal] void windowTitleChanged (string title)

Description: Signal declaration for QAbstractSpinBox::windowTitleChanged(const QString &title)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowTitleChanged'. This is the getter.
The object exposes a writable attribute 'windowTitleChanged'. This is the setter.

wrapping

Signature: [const] bool wrapping

Description: Method bool QAbstractSpinBox::wrapping()

Python specific notes:
The object exposes a readable attribute 'wrapping'. This is the getter.

wrapping=

Signature: void wrapping= (bool w)

Description: Method void QAbstractSpinBox::setWrapping(bool w)

Python specific notes:
The object exposes a writable attribute 'wrapping'. This is the setter.