Enthanced QSpinBox.
More...
#include <mspinbox.h>
|
void | textChanged () |
|
void | stepDown () |
|
void | setMaxValue (double val) |
| Sets the Maximum Value of the Spinbox. More...
|
|
void | setMinValue (double val) |
| Sets the Minimum Value of the Spinbox. More...
|
|
virtual void | setValue (double val) |
| Sets the Value of the Spinbox. More...
|
|
void | setReadOnly (bool ro) |
|
void | setValues (double min, double max, int deci, double val) |
|
void | getValues (double *min, double *max, int *deci, double *val) |
|
|
| MSpinBox (QWidget *pa, int s) |
|
| MSpinBox (double minValue, double maxValue, QWidget *pa, int s) |
|
| MSpinBox (QWidget *parent, const char *name=0) |
| A dummy constructor for use in Designer's custom widgets. More...
|
|
double | value () |
| Returns the current Value of the SpinBox. More...
|
|
double | minValue () |
| Gets the Minimum Value of the Spinbox. More...
|
|
double | maxValue () |
| Gets the Maximim Value of the Spinbox. More...
|
|
virtual QString | mapValueToText (int value) |
|
virtual int | mapTextToValue (bool *ok) |
| Maps the Text of the Spinbox to the Value, does scUnit Conversion and Calculations. More...
|
|
void | setNewUnit (double oldUnitRatio, double newUnitRatio, int unitIndex) |
| Sets a new unit for the spinbox, doing the value conversions. More...
|
|
void | setTabAdvance (bool enable) |
|
void | setDecimals (int deci) |
|
bool | isReadOnly () const |
|
void | setConstants (const QMap< QString, double > &) |
|
void | setLineStepM (int val) |
|
|
int | Decimals |
|
int | Width |
|
QLineEdit * | ed |
|
|
bool | eventFilter (QObject *ob, QEvent *ev) |
|
void | setParameters (int s) |
|
void | setFPConstants (FunctionParser &fp) |
|
|
bool | m_tabAdvance |
|
bool | readOnly |
|
int | oldLineStep |
|
int | currLineStep |
|
bool | edited |
|
QMap< QString, double > | functionParserConstants |
|
Enthanced QSpinBox.
- Author
- Franz Schmid
MSpinBox::MSpinBox |
( |
QWidget * |
pa, |
|
|
int |
s |
|
) |
| |
- Author
- Franz Schmid
- Parameters
-
pa | Parent Widget |
s | Number of Decimals |
MSpinBox::MSpinBox |
( |
double |
minValue, |
|
|
double |
maxValue, |
|
|
QWidget * |
pa, |
|
|
int |
s |
|
) |
| |
- Author
- Franz Schmid
- Parameters
-
minValue | minimal bound |
maxValue | maximal bound |
pa | Parent Widget |
s | Number of Decimals |
MSpinBox::MSpinBox |
( |
QWidget * |
parent, |
|
|
const char * |
name = 0 |
|
) |
| |
A dummy constructor for use in Designer's custom widgets.
- Warning
- You have to setup properties later!
- Author
- Petr Vanek
- Parameters
-
parent | a parent QWidget |
name | optional name of the object |
int MSpinBox::mapTextToValue |
( |
bool * |
ok | ) |
|
|
virtual |
Maps the Text of the Spinbox to the Value, does scUnit Conversion and Calculations.
- Author
- Franz Schmid
- Parameters
-
- Return values
-
double MSpinBox::maxValue |
( |
| ) |
|
Gets the Maximim Value of the Spinbox.
- Author
- Franz Schmid
- Return values
-
double MSpinBox::minValue |
( |
| ) |
|
Gets the Minimum Value of the Spinbox.
- Author
- Franz Schmid
- Return values
-
void MSpinBox::setMaxValue |
( |
double |
val | ) |
|
|
slot |
Sets the Maximum Value of the Spinbox.
- Author
- Franz Schmid
- Parameters
-
void MSpinBox::setMinValue |
( |
double |
val | ) |
|
|
slot |
Sets the Minimum Value of the Spinbox.
- Author
- Franz Schmid
- Parameters
-
void MSpinBox::setNewUnit |
( |
double |
oldUnitRatio, |
|
|
double |
newUnitRatio, |
|
|
int |
unitIndex |
|
) |
| |
Sets a new unit for the spinbox, doing the value conversions.
- Author
- Franz Schmid
- Parameters
-
oldUnitRatio | conversion factor for the old unit |
newUnitRatio | conversion factor for the new unit |
unitIndex | the unitIndex for the new unit |
void MSpinBox::setValue |
( |
double |
val | ) |
|
|
virtualslot |
Sets the Value of the Spinbox.
- Author
- Franz Schmid
- Parameters
-
double MSpinBox::value |
( |
| ) |
|
Returns the current Value of the SpinBox.
- Author
- Franz Schmid
- Return values
-
The documentation for this class was generated from the following files:
- /Users/ale/src/Scribus/scribus/old/mspinbox.h
- /Users/ale/src/Scribus/scribus/old/mspinbox.cpp