OpenMW
Signals | Public Member Functions | Protected Attributes | Private Slots | Private Member Functions | Private Attributes
ContentSelectorView::ContentSelector Class Reference

#include <contentselector.hpp>

List of all members.

Signals

void signalCurrentGamefileIndexChanged (int)
void signalAddonFileSelected (int)
void signalAddonFileUnselected (int)

Public Member Functions

 ContentSelector (QWidget *parent=0)
QString currentFile () const
void addFiles (const QString &path)
void setProfileContent (const QStringList &fileList)
void clearCheckStates ()
void setCheckStates (const QStringList &list)
ContentSelectorModel::ContentFileList selectedFiles () const
void setGameFile (const QString &filename=QString(""))
bool isGamefileSelected () const
QWidget * uiWidget () const

Protected Attributes

ContentSelectorModel::ContentModelmContentModel
QSortFilterProxyModel * mGameFileProxyModel
QSortFilterProxyModel * mAddonProxyModel

Private Slots

void slotCurrentGameFileIndexChanged (int index)
void slotAddonTableItemClicked (const QModelIndex &index)

Private Member Functions

void buildContentModel ()
void buildGameFileView ()
void buildAddonView ()

Private Attributes

QStringList mFilePaths
Ui::ContentSelector ui

Constructor & Destructor Documentation

ContentSelectorView::ContentSelector::ContentSelector ( QWidget *  parent = 0) [explicit]

Member Function Documentation

void ContentSelectorView::ContentSelector::addFiles ( const QString &  path)
void ContentSelectorView::ContentSelector::setCheckStates ( const QStringList &  list)
void ContentSelectorView::ContentSelector::setGameFile ( const QString &  filename = QString(""))
void ContentSelectorView::ContentSelector::setProfileContent ( const QStringList &  fileList)
void ContentSelectorView::ContentSelector::slotAddonTableItemClicked ( const QModelIndex &  index) [private, slot]

Member Data Documentation

QSortFilterProxyModel* ContentSelectorView::ContentSelector::mAddonProxyModel [protected]
Ui::ContentSelector ContentSelectorView::ContentSelector::ui [private]

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