OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Slots | Signals | Public Member Functions | Static Public Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
Launcher::DataFilesPage Class Reference

#include <datafilespage.hpp>

Inheritance diagram for Launcher::DataFilesPage:
Collaboration diagram for Launcher::DataFilesPage:

Classes

class  PathIterator
 

Public Slots

void slotProfileChanged (int index)
 

Signals

void signalProfileChanged (int index)
 

Public Member Functions

 DataFilesPage (Files::ConfigurationManager &cfg, Config::GameSettings &gameSettings, Config::LauncherSettings &launcherSettings, QWidget *parent=0)
 
QAbstractItemModelprofilesModel () const
 
int profilesIndex () const
 
void saveSettings (const QString &profile="")
 
bool loadSettings ()
 

Static Public Attributes

static const char * mDefaultContentListName = "Default"
 Content List that is always present. More...
 

Private Slots

void slotProfileChangedByUser (const QString &previous, const QString &current)
 
void slotProfileRenamed (const QString &previous, const QString &current)
 
void slotProfileDeleted (const QString &item)
 
void updateOkButton (const QString &text)
 
void on_newProfileAction_triggered ()
 
void on_deleteProfileAction_triggered ()
 

Private Member Functions

void setPluginsCheckstates (Qt::CheckState state)
 
void buildView ()
 
void setupConfig ()
 
void readConfig ()
 
void setProfile (int index, bool savePrevious)
 
void setProfile (const QString &previous, const QString &current, bool savePrevious)
 
void removeProfile (const QString &profile)
 
bool showDeleteMessageBox (const QString &text)
 
void addProfile (const QString &profile, bool setAsCurrent)
 
void checkForDefaultProfile ()
 
void populateFileViews (const QString &contentModelName)
 
QStringList filesInProfile (const QString &profileName, PathIterator &pathIterator)
 

Private Attributes

ContentSelectorView::ContentSelectormSelector
 
Ui::DataFilesPage ui
 
TextInputDialogmProfileDialog
 
Files::ConfigurationManagermCfgMgr
 
Config::GameSettingsmGameSettings
 
Config::LauncherSettingsmLauncherSettings
 
QString mPreviousProfile
 
QString mDataLocal
 

Constructor & Destructor Documentation

Launcher::DataFilesPage::DataFilesPage ( Files::ConfigurationManager cfg,
Config::GameSettings gameSettings,
Config::LauncherSettings launcherSettings,
QWidget parent = 0 
)
explicit

Here is the call graph for this function:

Member Function Documentation

void Launcher::DataFilesPage::addProfile ( const QString &  profile,
bool  setAsCurrent 
)
private
void Launcher::DataFilesPage::buildView ( )
private

Here is the caller graph for this function:

void Launcher::DataFilesPage::checkForDefaultProfile ( )
private
QStringList Launcher::DataFilesPage::filesInProfile ( const QString &  profileName,
PathIterator pathIterator 
)
private

Here is the call graph for this function:

bool Launcher::DataFilesPage::loadSettings ( )

Here is the caller graph for this function:

void Launcher::DataFilesPage::on_deleteProfileAction_triggered ( )
privateslot
void Launcher::DataFilesPage::on_newProfileAction_triggered ( )
privateslot
void Launcher::DataFilesPage::populateFileViews ( const QString &  contentModelName)
private
int Launcher::DataFilesPage::profilesIndex ( ) const
QAbstractItemModel * Launcher::DataFilesPage::profilesModel ( ) const
void Launcher::DataFilesPage::readConfig ( )
private
void Launcher::DataFilesPage::removeProfile ( const QString &  profile)
private
void Launcher::DataFilesPage::saveSettings ( const QString &  profile = "")

Here is the call graph for this function:

void Launcher::DataFilesPage::setPluginsCheckstates ( Qt::CheckState  state)
private
void Launcher::DataFilesPage::setProfile ( int  index,
bool  savePrevious 
)
private
void Launcher::DataFilesPage::setProfile ( const QString &  previous,
const QString &  current,
bool  savePrevious 
)
private
void Launcher::DataFilesPage::setupConfig ( )
private
bool Launcher::DataFilesPage::showDeleteMessageBox ( const QString &  text)
private
void Launcher::DataFilesPage::signalProfileChanged ( int  index)
signal
void Launcher::DataFilesPage::slotProfileChanged ( int  index)
slot
void Launcher::DataFilesPage::slotProfileChangedByUser ( const QString &  previous,
const QString &  current 
)
privateslot
void Launcher::DataFilesPage::slotProfileDeleted ( const QString &  item)
privateslot
void Launcher::DataFilesPage::slotProfileRenamed ( const QString &  previous,
const QString &  current 
)
privateslot
void Launcher::DataFilesPage::updateOkButton ( const QString &  text)
privateslot

Here is the caller graph for this function:

Member Data Documentation

Files::ConfigurationManager& Launcher::DataFilesPage::mCfgMgr
private
QString Launcher::DataFilesPage::mDataLocal
private
const char * Launcher::DataFilesPage::mDefaultContentListName = "Default"
static

Content List that is always present.

Config::GameSettings& Launcher::DataFilesPage::mGameSettings
private
Config::LauncherSettings& Launcher::DataFilesPage::mLauncherSettings
private
QString Launcher::DataFilesPage::mPreviousProfile
private
TextInputDialog* Launcher::DataFilesPage::mProfileDialog
private
ContentSelectorView::ContentSelector* Launcher::DataFilesPage::mSelector
private
Ui::DataFilesPage Launcher::DataFilesPage::ui
private

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