OpenMW
Public Member Functions | Protected Member Functions | Protected Attributes
CSVSettings::AbstractPage Class Reference

Abstract base class for all setting pages in the dialog. More...

#include <abstractpage.hpp>

List of all members.

Public Member Functions

 AbstractPage (QWidget *parent=0)
 AbstractPage (const QString &pageName, QWidget *parent=0)
 ~AbstractPage ()
virtual void setupUi ()=0
virtual void initializeWidgets (const CSMSettings::SettingMap &settings)=0
CSMSettings::SettingListgetSettings ()
 retrieve the list of settings local to the page.
void setObjectName ()

Protected Member Functions

template<typename S , typename T >
AbstractBlockbuildBlock (T *def)

Protected Attributes

AbstractBlockList mAbstractBlocks

Detailed Description

Abstract base class for all setting pages in the dialog.

Todo:

Scripted implementation of settings should eliminate the need

derive page classes.

AbstractPage should be replaced with a general page construction class.


Constructor & Destructor Documentation

CSVSettings::AbstractPage::AbstractPage ( QWidget *  parent = 0)
CSVSettings::AbstractPage::AbstractPage ( const QString &  pageName,
QWidget *  parent = 0 
)

Member Function Documentation

template<typename S , typename T >
AbstractBlock* CSVSettings::AbstractPage::buildBlock ( T *  def) [inline, protected]

Create a block for the page. Block is constructed using passed definition struct Page level-layout is created and assigned

retrieve the list of settings local to the page.

virtual void CSVSettings::AbstractPage::initializeWidgets ( const CSMSettings::SettingMap settings) [pure virtual]

triggers widgiet initialization at the page level. All widgets updated to current setting values

Implemented in CSVSettings::BlankPage, CSVSettings::WindowPage, CSVSettings::DataDisplayFormatPage, and CSVSettings::EditorPage.

virtual void CSVSettings::AbstractPage::setupUi ( ) [pure virtual]

Member Data Documentation


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