#include <boolsetting.hpp>
|
| | BoolSetting (Category *parent, Settings::Manager *values, QMutex *mutex, const std::string &key, const std::string &label, bool default_) |
| |
| BoolSetting & | setTooltip (const std::string &tooltip) |
| |
virtual std::pair< QWidget
*, QWidget * > | makeWidgets (QWidget *parent) |
| | Return label, input widget. More...
|
| |
| virtual void | updateWidget () |
| |
| | Setting (Category *parent, Settings::Manager *values, QMutex *mutex, const std::string &key, const std::string &label) |
| |
| virtual | ~Setting () |
| |
| const Category * | getParent () const |
| |
| const std::string & | getKey () const |
| |
| const std::string & | getLabel () const |
| |
| int | toInt () const |
| |
| double | toDouble () const |
| |
| std::string | toString () const |
| |
| bool | isTrue () const |
| |
| QColor | toColor () const |
| |
| CSMPrefs::BoolSetting::BoolSetting |
( |
Category * |
parent, |
|
|
Settings::Manager * |
values, |
|
|
QMutex * |
mutex, |
|
|
const std::string & |
key, |
|
|
const std::string & |
label, |
|
|
bool |
default_ |
|
) |
| |
| void CSMPrefs::BoolSetting::updateWidget |
( |
| ) |
|
|
virtual |
Updates the widget returned by makeWidgets() to the current setting.
- Note
- If make_widgets() has not been called yet then nothing happens.
Reimplemented from CSMPrefs::Setting.
| void CSMPrefs::BoolSetting::valueChanged |
( |
int |
value | ) |
|
|
privateslot |
| bool CSMPrefs::BoolSetting::mDefault |
|
private |
| std::string CSMPrefs::BoolSetting::mTooltip |
|
private |
| QCheckBox* CSMPrefs::BoolSetting::mWidget |
|
private |
The documentation for this class was generated from the following files: