#include <coloursetting.hpp>
|
| | ColourSetting (Category *parent, Settings::Manager *values, QMutex *mutex, const std::string &key, const std::string &label, QColor default_) |
| |
| ColourSetting & | 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::ColourSetting::ColourSetting |
( |
Category * |
parent, |
|
|
Settings::Manager * |
values, |
|
|
QMutex * |
mutex, |
|
|
const std::string & |
key, |
|
|
const std::string & |
label, |
|
|
QColor |
default_ |
|
) |
| |
| void CSMPrefs::ColourSetting::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::ColourSetting::valueChanged |
( |
| ) |
|
|
privateslot |
| QColor CSMPrefs::ColourSetting::mDefault |
|
private |
| std::string CSMPrefs::ColourSetting::mTooltip |
|
private |
The documentation for this class was generated from the following files: