OpenMW
|
#include <contentselector.hpp>
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::ContentModel * | mContentModel |
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 |
ContentSelectorView::ContentSelector::ContentSelector | ( | QWidget * | parent = 0 | ) | [explicit] |
void ContentSelectorView::ContentSelector::addFiles | ( | const QString & | path | ) |
void ContentSelectorView::ContentSelector::buildAddonView | ( | ) | [private] |
void ContentSelectorView::ContentSelector::buildContentModel | ( | ) | [private] |
void ContentSelectorView::ContentSelector::buildGameFileView | ( | ) | [private] |
QString ContentSelectorView::ContentSelector::currentFile | ( | ) | const |
bool ContentSelectorView::ContentSelector::isGamefileSelected | ( | ) | const [inline] |
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::signalAddonFileSelected | ( | int | ) | [signal] |
void ContentSelectorView::ContentSelector::signalAddonFileUnselected | ( | int | ) | [signal] |
void ContentSelectorView::ContentSelector::signalCurrentGamefileIndexChanged | ( | int | ) | [signal] |
void ContentSelectorView::ContentSelector::slotAddonTableItemClicked | ( | const QModelIndex & | index | ) | [private, slot] |
void ContentSelectorView::ContentSelector::slotCurrentGameFileIndexChanged | ( | int | index | ) | [private, slot] |
QWidget* ContentSelectorView::ContentSelector::uiWidget | ( | ) | const [inline] |
QSortFilterProxyModel* ContentSelectorView::ContentSelector::mAddonProxyModel [protected] |
QStringList ContentSelectorView::ContentSelector::mFilePaths [private] |
QSortFilterProxyModel* ContentSelectorView::ContentSelector::mGameFileProxyModel [protected] |
Ui::ContentSelector ContentSelectorView::ContentSelector::ui [private] |