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

#include <contentselector.hpp>

Inheritance diagram for ContentSelectorView::ContentSelector:
Collaboration diagram for ContentSelectorView::ContentSelector:

Signals

void signalCurrentGamefileIndexChanged (int)
 
void signalAddonDataChanged (const QModelIndex &topleft, const QModelIndex &bottomright)
 

Public Member Functions

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

Protected Attributes

ContentSelectorModel::ContentModelmContentModel
 
QSortFilterProxyModelmAddonProxyModel
 

Private Slots

void slotCurrentGameFileIndexChanged (int index)
 
void slotAddonTableItemActivated (const QModelIndex &index)
 
void slotShowContextMenu (const QPoint &pos)
 
void slotCheckMultiSelectedItems ()
 
void slotUncheckMultiSelectedItems ()
 

Private Member Functions

void buildContentModel ()
 
void buildGameFileView ()
 
void buildAddonView ()
 
void buildContextMenu ()
 
void setGameFileSelected (int index, bool selected)
 
void setCheckStateForMultiSelectedItems (bool checked)
 

Private Attributes

QMenumContextMenu
 
QStringList mFilePaths
 
Ui::ContentSelector ui
 

Constructor & Destructor Documentation

ContentSelectorView::ContentSelector::ContentSelector ( QWidget parent = 0)
explicit

Here is the call graph for this function:

Member Function Documentation

void ContentSelectorView::ContentSelector::addFiles ( const QString &  path)
void ContentSelectorView::ContentSelector::buildAddonView ( )
private

Here is the caller graph for this function:

void ContentSelectorView::ContentSelector::buildContentModel ( )
private

Here is the caller graph for this function:

void ContentSelectorView::ContentSelector::buildContextMenu ( )
private
void ContentSelectorView::ContentSelector::buildGameFileView ( )
private

Here is the caller graph for this function:

void ContentSelectorView::ContentSelector::clearCheckStates ( )
void ContentSelectorView::ContentSelector::clearFiles ( )
QString ContentSelectorView::ContentSelector::currentFile ( ) const
bool ContentSelectorView::ContentSelector::isGamefileSelected ( ) const
inline
ContentSelectorModel::ContentFileList ContentSelectorView::ContentSelector::selectedFiles ( ) const
void ContentSelectorView::ContentSelector::setCheckStateForMultiSelectedItems ( bool  checked)
private
void ContentSelectorView::ContentSelector::setContentList ( const QStringList &  list)
void ContentSelectorView::ContentSelector::setGameFile ( const QString &  filename = QString(""))

Here is the call graph for this function:

void ContentSelectorView::ContentSelector::setGameFileSelected ( int  index,
bool  selected 
)
private
void ContentSelectorView::ContentSelector::setProfileContent ( const QStringList &  fileList)

Here is the call graph for this function:

void ContentSelectorView::ContentSelector::signalAddonDataChanged ( const QModelIndex &  topleft,
const QModelIndex &  bottomright 
)
signal
void ContentSelectorView::ContentSelector::signalCurrentGamefileIndexChanged ( int  )
signal
void ContentSelectorView::ContentSelector::slotAddonTableItemActivated ( const QModelIndex &  index)
privateslot
void ContentSelectorView::ContentSelector::slotCheckMultiSelectedItems ( )
privateslot
void ContentSelectorView::ContentSelector::slotCurrentGameFileIndexChanged ( int  index)
privateslot
void ContentSelectorView::ContentSelector::slotShowContextMenu ( const QPoint &  pos)
privateslot
void ContentSelectorView::ContentSelector::slotUncheckMultiSelectedItems ( )
privateslot
QWidget* ContentSelectorView::ContentSelector::uiWidget ( ) const
inline

Member Data Documentation

QSortFilterProxyModel* ContentSelectorView::ContentSelector::mAddonProxyModel
protected
ContentSelectorModel::ContentModel* ContentSelectorView::ContentSelector::mContentModel
protected
QMenu* ContentSelectorView::ContentSelector::mContextMenu
private
QStringList ContentSelectorView::ContentSelector::mFilePaths
private
Ui::ContentSelector ContentSelectorView::ContentSelector::ui
private

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