OpenMW
Public Member Functions | Protected Member Functions | Private Attributes
CSVSettings::GroupBlock Class Reference

#include <groupblock.hpp>

List of all members.

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::SettingListgetSettings ()
 retrieve setting list local to the group block
ItemBlockgetItemBlock (const QString &name, ItemBlockList *blockList=0)
 retrieve item block by name from the passed list or local list
ItemBlockgetItemBlock (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

Detailed Description

Base class for group blocks. Derived block classes should use CustomBlock


Constructor & Destructor Documentation

CSVSettings::GroupBlock::GroupBlock ( QWidget *  parent = 0)
CSVSettings::GroupBlock::GroupBlock ( bool  isVisible,
QWidget *  parent = 0 
)

Member Function Documentation

build the gorup block based on passed definition

Reimplemented in CSVSettings::ProxyBlock.

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

retrieve the item block by index from the local list

retrieve setting list local to the group block

Implements CSVSettings::AbstractBlock.

Reimplemented in CSVSettings::ProxyBlock.

update settings local to the group block

Implements CSVSettings::AbstractBlock.

Reimplemented in CSVSettings::ProxyBlock.


Member Data Documentation


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