#include <intsetting.hpp>
|
| | IntSetting (Category *parent, Settings::Manager *values, QMutex *mutex, const std::string &key, const std::string &label, int default_) |
| |
| IntSetting & | setRange (int min, int max) |
| |
| IntSetting & | setMin (int min) |
| |
| IntSetting & | setMax (int max) |
| |
| IntSetting & | 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::IntSetting::IntSetting |
( |
Category * |
parent, |
|
|
Settings::Manager * |
values, |
|
|
QMutex * |
mutex, |
|
|
const std::string & |
key, |
|
|
const std::string & |
label, |
|
|
int |
default_ |
|
) |
| |
| void CSMPrefs::IntSetting::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::IntSetting::valueChanged |
( |
int |
value | ) |
|
|
privateslot |
| int CSMPrefs::IntSetting::mDefault |
|
private |
| int CSMPrefs::IntSetting::mMax |
|
private |
| int CSMPrefs::IntSetting::mMin |
|
private |
| std::string CSMPrefs::IntSetting::mTooltip |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/elsid/openmw/apps/opencs/model/prefs/intsetting.hpp
- /home/travis/build/elsid/openmw/apps/opencs/model/prefs/intsetting.cpp