OpenMW
|
#include <groupblock.hpp>
Public Member Functions | |
GroupBlock (QWidget *parent=0) | |
GroupBlock (bool isVisible, QWidget *parent=0) | |
int | build (GroupBlockDef *def) |
build the gorup block based on passed definition | |
bool | updateSettings (const CSMSettings::SettingMap &settings) |
update settings local to the group block | |
CSMSettings::SettingList * | getSettings () |
retrieve setting list local to the group block | |
ItemBlock * | getItemBlock (const QString &name, ItemBlockList *blockList=0) |
retrieve item block by name from the passed list or local list | |
ItemBlock * | getItemBlock (int index) |
retrieve the item block by index from the local list | |
Protected Member Functions | |
int | buildLayout (GroupBlockDef &def) |
create block layout based on passed definition | |
Private Attributes | |
ItemBlockList | mItemBlockList |
Base class for group blocks. Derived block classes should use CustomBlock
CSVSettings::GroupBlock::GroupBlock | ( | QWidget * | parent = 0 | ) |
CSVSettings::GroupBlock::GroupBlock | ( | bool | isVisible, |
QWidget * | parent = 0 |
||
) |
int CSVSettings::GroupBlock::build | ( | GroupBlockDef * | def | ) |
build the gorup block based on passed definition
Reimplemented in CSVSettings::ProxyBlock.
int CSVSettings::GroupBlock::buildLayout | ( | GroupBlockDef & | def | ) | [protected] |
create block layout based on passed definition
CSVSettings::ItemBlock * CSVSettings::GroupBlock::getItemBlock | ( | const QString & | name, |
ItemBlockList * | blockList = 0 |
||
) |
retrieve item block by name from the passed list or local list
CSVSettings::ItemBlock * CSVSettings::GroupBlock::getItemBlock | ( | int | index | ) |
retrieve the item block by index from the local list
CSMSettings::SettingList * CSVSettings::GroupBlock::getSettings | ( | ) | [virtual] |
retrieve setting list local to the group block
Implements CSVSettings::AbstractBlock.
Reimplemented in CSVSettings::ProxyBlock.
bool CSVSettings::GroupBlock::updateSettings | ( | const CSMSettings::SettingMap & | settings | ) | [virtual] |
update settings local to the group block
Implements CSVSettings::AbstractBlock.
Reimplemented in CSVSettings::ProxyBlock.