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

Public Types

enum  PropItemType {
  Title = 0, IntSpinBox = 1, DoubleSpinBox = 2, ComboBox = 3,
  CheckBox = 4, ColorComboBox = 5
}
 

Signals

void valueChanged (int)
 
void valueChanged (double)
 
void valueChanged (bool)
 
void valueChanged (QString)
 
void editFinished ()
 
void editStarted ()
 

Public Member Functions

 PropTreeItem (QTreeWidget *parent, int typ, QString title)
 
 PropTreeItem (PropTreeItem *parent, int typ, QString title)
 
int valueAsInt ()
 
double valueAsDouble ()
 
bool valueAsBool ()
 
QString valueAsString ()
 
void setIntValue (int value)
 
void setDoubleValue (double value)
 
void setBoolValue (bool value)
 
void setStringValue (QString value)
 
void setUnitValue (int unit)
 
void setDecimalsValue (int unit)
 
void setComboStrings (QStringList value)
 
void setMinMaxValues (int min, int max)
 
void setMinMaxValues (double min, double max)
 
void setColorList (ColorList colors)
 

Public Attributes

int m_type
 
int m_unit
 
int m_decimals
 
double m_fmin
 
double m_fmax
 
int m_min
 
int m_max
 
int m_comboIndex
 
ColorList m_colors
 

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