Trees | Indices | Help |
|
---|
|
PyQt4.QtGui.QSpinBox --+ | BlankableSpinBox
A spin box that allows the empty string as an acceptable value
|
|||
|
|||
PyQt4.QtCore.QInt
|
|
||
str |
|
||
|
|||
|
|||
int or NoneType |
|
||
int |
|
|
Initialize the spin box with a range from -99 to 99. -100 is used as the sentinel value for empty string.
|
Convert the specified text to an integer. "" is converted to -100.
|
Convert the specified integer to text. -100 is converted to "".
|
Increment the value of the spin box by the specified amount. If the spin box contains "" before incrementing, load the default value.
|
Is the provided input acceptable? The blank string is considered acceptable. See PyQt documentation for argument and return value documentation. |
Return the current value in the spin box. If the spin box is blank, None is returned.
|
Report on whether stepping up and down is allowed. When the spin box is blank, the user can step both up and down. The user cannot step down to the minimum, since that is a sentinel value.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:35 2015 | http://epydoc.sourceforge.net |