OpenMW
|
#include <idtableproxymodel.hpp>
Public Member Functions | |
IdTableProxyModel (QObject *parent=0) | |
virtual QModelIndex | getModelIndex (const std::string &id, int column) const |
void | setFilter (const boost::shared_ptr< CSMFilter::Node > &filter) |
Private Member Functions | |
void | updateColumnMap () |
bool | filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const |
Private Attributes | |
boost::shared_ptr < CSMFilter::Node > | mFilter |
std::map< int, int > | mColumnMap |
CSMWorld::IdTableProxyModel::IdTableProxyModel | ( | QObject * | parent = 0 | ) |
bool CSMWorld::IdTableProxyModel::filterAcceptsRow | ( | int | sourceRow, |
const QModelIndex & | sourceParent | ||
) | const [private] |
QModelIndex CSMWorld::IdTableProxyModel::getModelIndex | ( | const std::string & | id, |
int | column | ||
) | const [virtual] |
void CSMWorld::IdTableProxyModel::setFilter | ( | const boost::shared_ptr< CSMFilter::Node > & | filter | ) |
void CSMWorld::IdTableProxyModel::updateColumnMap | ( | ) | [private] |
std::map<int, int> CSMWorld::IdTableProxyModel::mColumnMap [private] |
boost::shared_ptr<CSMFilter::Node> CSMWorld::IdTableProxyModel::mFilter [private] |