OpenMW
Public Member Functions | Private Member Functions | Private Attributes
CSVSettings::ItemBlock Class Reference

#include <itemblock.hpp>

List of all members.

Public Member Functions

 ItemBlock (QWidget *parent=0)
bool updateSettings (const CSMSettings::SettingMap &settings)
 pure virtual function not implemented
CSMSettings::SettingListgetSettings ()
QString getValue () const
int getSettingCount ()
 item blocks encapsulate only one setting
bool update (const QString &value)
 update setting value and corresponding widget
int build (SettingsItemDef &iDef)
 virtual construction function

Private Member Functions

void buildItemBlock (SettingsItemDef &iDef)
 custom construction function
void buildItemBlockWidgets (SettingsItemDef &iDef)
bool updateItem (const QString &)
 update the setting value
bool updateBySignal (const QString &name, const QString &value, bool &doEmit)
 callback function triggered when update to application level is signalled

Private Attributes

CSMSettings::SettingsItemmSetting
WidgetList mWidgetList

Constructor & Destructor Documentation

CSVSettings::ItemBlock::ItemBlock ( QWidget *  parent = 0)

Member Function Documentation

virtual construction function

custom construction function

item blocks encapsulate only one setting

bool CSVSettings::ItemBlock::update ( const QString &  value)

update setting value and corresponding widget

bool CSVSettings::ItemBlock::updateBySignal ( const QString &  name,
const QString &  value,
bool &  doEmit 
) [private, virtual]

callback function triggered when update to application level is signalled

Reimplemented from CSVSettings::AbstractBlock.

bool CSVSettings::ItemBlock::updateItem ( const QString &  value) [private]

update the setting value

bool CSVSettings::ItemBlock::updateSettings ( const CSMSettings::SettingMap settings) [inline, virtual]

pure virtual function not implemented

Implements CSVSettings::AbstractBlock.


Member Data Documentation


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