OpenMW
Public Slots | Public Member Functions | Private Member Functions | Private Attributes
CSVSettings::UserSettingsDialog Class Reference

#include <usersettingsdialog.hpp>

List of all members.

Public Slots

void slotChangePage (QListWidgetItem *, QListWidgetItem *)
 Called when a different page is selected in the left-hand list widget.

Public Member Functions

 UserSettingsDialog (QMainWindow *parent=0)
 ~UserSettingsDialog ()

Private Member Functions

void closeEvent (QCloseEvent *event)
 Settings are written on close.
AbstractPagegetAbstractPage (int index)
void setWidgetStates ()
void buildPages ()
void writeSettings ()
template<typename T >
void createPage ()
 Templated function to create a custom user preference page.

Private Attributes

QListWidget * mListWidget
QStackedWidget * mStackedWidget

Constructor & Destructor Documentation


Member Function Documentation

void CSVSettings::UserSettingsDialog::closeEvent ( QCloseEvent *  event) [private]

Settings are written on close.

template<typename T >
void CSVSettings::UserSettingsDialog::createPage ( ) [inline, private]

Templated function to create a custom user preference page.

return the setting page by name performs dynamic cast to AbstractPage *

void CSVSettings::UserSettingsDialog::slotChangePage ( QListWidgetItem *  current,
QListWidgetItem *  previous 
) [slot]

Called when a different page is selected in the left-hand list widget.


Member Data Documentation


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