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

#include <modifiersetting.hpp>

Inheritance diagram for CSMPrefs::ModifierSetting:
Collaboration diagram for CSMPrefs::ModifierSetting:

Public Member Functions

 ModifierSetting (Category *parent, Settings::Manager *values, QMutex *mutex, const std::string &key, const std::string &label)
 
virtual std::pair< QWidget
*, QWidget * > 
makeWidgets (QWidget *parent)
 
- 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
 

Protected Member Functions

bool eventFilter (QObject *target, QEvent *event)
 
- Protected Member Functions inherited from CSMPrefs::Setting
Settings::ManagergetValues ()
 
QMutex * getMutex ()
 

Private Slots

void buttonToggled (bool checked)
 

Private Member Functions

bool handleEvent (QObject *target, int mod, int value)
 
void storeValue (int modifier)
 
void resetState ()
 

Private Attributes

QPushButton * mButton
 
bool mEditorActive
 

Constructor & Destructor Documentation

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

Member Function Documentation

void CSMPrefs::ModifierSetting::buttonToggled ( bool  checked)
privateslot

Here is the caller graph for this function:

bool CSMPrefs::ModifierSetting::eventFilter ( QObject target,
QEvent *  event 
)
protected

Here is the call graph for this function:

bool CSMPrefs::ModifierSetting::handleEvent ( QObject target,
int  mod,
int  value 
)
private

Here is the call graph for this function:

Here is the caller graph for this function:

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

Return label, input widget.

Note
first can be a 0-pointer, which means that the label is part of the input widget.

Reimplemented from CSMPrefs::Setting.

Here is the call graph for this function:

void CSMPrefs::ModifierSetting::resetState ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void CSMPrefs::ModifierSetting::storeValue ( int  modifier)
private

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

QPushButton* CSMPrefs::ModifierSetting::mButton
private
bool CSMPrefs::ModifierSetting::mEditorActive
private

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