20 #ifndef __PREFERENCESLISTWIDGET_H__ 21 #define __PREFERENCESLISTWIDGET_H__ 26 #define PREF_VALUE_COLUMN 1 38 void save(QVariant value);
44 virtual void save() = 0;
47 virtual QWidget*
editor()
const = 0;
68 QWidget*
editor()
const {
return _editor;}
87 QWidget*
editor()
const {
return _editor;}
104 QWidget*
editor()
const {
return _editor;}
121 QWidget*
editor()
const {
return _editor;}
138 QWidget*
editor()
const {
return _editor;}
156 void loadPreferences();
157 void updatePreferences();
159 std::vector<QString>
save();
171 #endif // __PREFERENCESLISTWIDGET_H__ PreferenceItem()
Definition: preferenceslistwidget.cpp:114
QColor _initialValue
Definition: preferenceslistwidget.h:129
Definition: preferenceslistwidget.h:57
QWidget * editor() const
Definition: preferenceslistwidget.h:121
Definition: preferences.h:118
Definition: preferences.h:106
Definition: preferenceslistwidget.h:111
Definition: colorlabel.h:29
virtual bool isModified() const =0
Definition: preferenceslistwidget.h:77
QWidget * editor() const
Definition: preferenceslistwidget.h:68
Definition: preferences.h:100
QString _name
Definition: preferenceslistwidget.h:35
QDoubleSpinBox * _editor
Definition: preferenceslistwidget.h:96
int _initialValue
Definition: preferenceslistwidget.h:78
Definition: preferences.h:124
double _initialValue
Definition: preferenceslistwidget.h:95
QSpinBox * _editor
Definition: preferenceslistwidget.h:79
QCheckBox * _editor
Definition: preferenceslistwidget.h:60
QWidget * editor() const
Definition: preferenceslistwidget.h:87
bool _initialValue
Definition: preferenceslistwidget.h:59
virtual QWidget * editor() const =0
Definition: preferenceslistwidget.h:94
Definition: aeolus.cpp:26
QWidget * editor() const
Definition: preferenceslistwidget.h:138
Definition: preferenceslistwidget.h:33
QString _initialValue
Definition: preferenceslistwidget.h:112
Definition: preferences.h:112
virtual void setDefaultValue()=0
Definition: preferences.h:282
QLineEdit * _editor
Definition: preferenceslistwidget.h:113
Definition: preferenceslistwidget.h:128
QString name() const
Definition: preferenceslistwidget.h:50
QWidget * editor() const
Definition: preferenceslistwidget.h:104
Awl::ColorLabel * _editor
Definition: preferenceslistwidget.h:130