Scribus
Open source desktop publishing at your fingertips
SMScrSpinBox Class Reference
Inheritance diagram for SMScrSpinBox:
Collaboration diagram for SMScrSpinBox:

Public Member Functions

 SMScrSpinBox (QWidget *pa, int s)
 
 SMScrSpinBox (double minValue, double maxValue, QWidget *pa, int s)
 
 SMScrSpinBox (QWidget *parent, const char *name=0)
 
void setValue (double val)
 
void setValue (double val, bool isParentVal)
 
void clear ()
 
void setParentValue (double val)
 
bool useParentValue ()
 
- Public Member Functions inherited from ScrSpinBox
 ScrSpinBox (QWidget *parent, int unitIndex=0)
 
 ScrSpinBox (double minValue, double maxValue, QWidget *pa, int unitIndex=0)
 
double valueFromText (const QString &text) const
 
QString textFromValue (double value) const
 
QValidator::State validate (QString &input, int &pos) const
 
void fixup (QString &input) const
 
void showValue (double val)
 
void init (int unitIndex)
 
void setConstants (const QMap< QString, double > *constants)
 
void setNewUnit (int unitIndex)
 
double getValue (int unitIndex=0)
 
void setTabAdvance (bool enable)
 
uint unitIndex () const
 
double unitRatio () const
 

Protected Member Functions

void interpretText ()
 
- Protected Member Functions inherited from ScrSpinBox
void setParameters (int s)
 
bool eventFilter (QObject *watched, QEvent *event)
 

Additional Inherited Members

- Public Slots inherited from ScrSpinBox
void setValues (double min, double max, int deci, double val)
 
void getValues (double *min, double *max, int *deci, double *val)
 
void setValue (int val)
 
void setValue (double val)
 
- Protected Slots inherited from ScrSpinBox
void textChanged ()
 
- Protected Attributes inherited from ScrSpinBox
uint m_unitIndex
 
bool m_tabAdvance
 
const QMap< QString, double > * m_constants
 

The documentation for this class was generated from the following files: