OpenMW
|
#include <customblock.hpp>
Public Member Functions | |
CustomBlock (QWidget *parent=0) | |
bool | updateSettings (const CSMSettings::SettingMap &settings) |
Update settings local to the block. | |
CSMSettings::SettingList * | getSettings () |
Retrieve settings local to the block. | |
int | build (GroupBlockDefList &defList, GroupBlockDefList::Iterator *it=0) |
construct the block using the passed definition | |
Protected Member Functions | |
GroupBox * | buildGroupBox (Orientation orientation) |
construct the block groupbox | |
Protected Attributes | |
GroupBlockList | mGroupList |
Private Member Functions | |
int | buildGroupBlock (GroupBlockDef *def) |
Construction function for creating a standard GroupBlock child. | |
int | buildProxyBlock (GroupBlockDef *def, ProxyBlock *block) |
Construction function for creating a standard ProxyBlock child. |
Base class for customized user preference setting blocks Special block classes should be derived from CustomBlock
CSVSettings::CustomBlock::CustomBlock | ( | QWidget * | parent = 0 | ) | [explicit] |
int CSVSettings::CustomBlock::build | ( | GroupBlockDefList & | defList, |
GroupBlockDefList::Iterator * | it = 0 |
||
) |
construct the block using the passed definition
int CSVSettings::CustomBlock::buildGroupBlock | ( | GroupBlockDef * | def | ) | [private] |
Construction function for creating a standard GroupBlock child.
CSVSettings::GroupBox * CSVSettings::CustomBlock::buildGroupBox | ( | Orientation | orientation | ) | [protected] |
construct the block groupbox
int CSVSettings::CustomBlock::buildProxyBlock | ( | GroupBlockDef * | def, |
ProxyBlock * | block | ||
) | [private] |
Construction function for creating a standard ProxyBlock child.
CSMSettings::SettingList * CSVSettings::CustomBlock::getSettings | ( | ) | [virtual] |
Retrieve settings local to the block.
Implements CSVSettings::AbstractBlock.
bool CSVSettings::CustomBlock::updateSettings | ( | const CSMSettings::SettingMap & | settings | ) | [virtual] |
Update settings local to the block.
Implements CSVSettings::AbstractBlock.
GroupBlockList CSVSettings::CustomBlock::mGroupList [protected] |