OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Slots | Private Attributes | List of all members
CSMPrefs::BoolSetting Class Reference

#include <boolsetting.hpp>

Inheritance diagram for CSMPrefs::BoolSetting:
Collaboration diagram for CSMPrefs::BoolSetting:

Public Member Functions

 BoolSetting (Category *parent, Settings::Manager *values, QMutex *mutex, const std::string &key, const std::string &label, bool default_)
 
BoolSettingsetTooltip (const std::string &tooltip)
 
virtual std::pair< QWidget
*, QWidget * > 
makeWidgets (QWidget *parent)
 Return label, input widget. More...
 
- Public Member Functions inherited from CSMPrefs::Setting
 Setting (Category *parent, Settings::Manager *values, QMutex *mutex, const std::string &key, const std::string &label)
 
virtual ~Setting ()
 
const CategorygetParent () 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
 

Private Slots

void valueChanged (int value)
 

Private Attributes

std::string mTooltip
 
bool mDefault
 

Additional Inherited Members

- Protected Member Functions inherited from CSMPrefs::Setting
Settings::ManagergetValues ()
 
QMutex * getMutex ()
 

Constructor & Destructor Documentation

CSMPrefs::BoolSetting::BoolSetting ( Category parent,
Settings::Manager values,
QMutex *  mutex,
const std::string &  key,
const std::string &  label,
bool  default_ 
)

Member Function Documentation

std::pair< QWidget *, QWidget * > CSMPrefs::BoolSetting::makeWidgets ( QWidget parent)
virtual

Return label, input widget.

Reimplemented from CSMPrefs::Setting.

CSMPrefs::BoolSetting & CSMPrefs::BoolSetting::setTooltip ( const std::string &  tooltip)
void CSMPrefs::BoolSetting::valueChanged ( int  value)
privateslot

Member Data Documentation

bool CSMPrefs::BoolSetting::mDefault
private
std::string CSMPrefs::BoolSetting::mTooltip
private

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