|
OpenMW
|
Abstract base class for all setting pages in the dialog. More...
#include <abstractpage.hpp>
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::SettingList * | getSettings () |
| retrieve the list of settings local to the page. | |
| void | setObjectName () |
Protected Member Functions | |
| template<typename S , typename T > | |
| AbstractBlock * | buildBlock (T *def) |
Protected Attributes | |
| AbstractBlockList | mAbstractBlocks |
Abstract base class for all setting pages in the dialog.
Scripted implementation of settings should eliminate the need
derive page classes.
AbstractPage should be replaced with a general page construction class.
| CSVSettings::AbstractPage::AbstractPage | ( | QWidget * | parent = 0 | ) |
| CSVSettings::AbstractPage::AbstractPage | ( | const QString & | pageName, |
| QWidget * | parent = 0 |
||
| ) |
| 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] |
Implemented in CSVSettings::BlankPage, CSVSettings::WindowPage, CSVSettings::DataDisplayFormatPage, and CSVSettings::EditorPage.
1.7.6.1