User Tools

Site Tools


spinbox

SpinBox (QSpinBox)

The Qt documentation in C++ of this class can be read here: http://doc.trolltech.com/4.3/qspinbox.html

A control for the form object, allows the user to choose a value by clicking the up/down buttons or pressing up/down on the keyboard to increase/decrease the value currently displayed.

Most important

Properties Value , Minimum , Maximum
Events OnEvent

Please read the control class overview Control as well.

METHODS

CleanText

Function CleanText() As String


Text

Function Text() As String


Clear

Sub Clear()


SelectAll

Sub SelectAll()


StepDown

Sub StepDown()


StepUp

Sub StepUp()


PROPERTIES

Value

Property Value As Integer(ReadWrite)


OldValue

Property OldValue As Integer(ReadOnly)


Minimum

Property Minimum As Integer(ReadWrite)


Maximum

Property Maximum As Integer(ReadWrite)


Tracking

Property Tracking As Boolean(ReadWrite)


Prefix

Property Prefix As String(ReadWrite)


Suffix

Property Suffix As String(ReadWrite)


SingleStep

Property SingleStep As Integer(ReadWrite)


ReadOnly

Property ReadOnly As Boolean(ReadWrite)


Flat

Property Flat As Boolean(ReadWrite)


Alignment

Property Alignment As String (ReadWrite)


EVENTS

OnEvent

Sub OnEvent()


spinbox.txt · Last modified: 2013/04/09 22:58 (external edit)