|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef VOLUMETREEMODEL_H
6 #define VOLUMETREEMODEL_H
8 #include <QAbstractItemModel>
29 void getRootHandles(std::vector<std::pair<VolumeHandle::VolumeHandleListItr,VolumeHandle::VolumeHandleListItr> >&)
const;
32 QModelIndex
index(
int,
int,
const QModelIndex&)
const;
33 QModelIndex
parent(
const QModelIndex&)
const;
34 int rowCount(
const QModelIndex&)
const;
36 QVariant
data(
const QModelIndex&,
int)
const;
37 Qt::ItemFlags
flags(
const QModelIndex &
index)
const;
void fetchMore(const QModelIndex &parent)
QModelIndex parent(const QModelIndex &) const
QModelIndex index(int, int, const QModelIndex &) const
QVariant headerData(int section, Qt::Orientation orientation, int role) const
void disableSubSystem(VP1GeoFlags::SubSystemFlag flag)
void getRootHandles(std::vector< std::pair< VolumeHandle::VolumeHandleListItr, VolumeHandle::VolumeHandleListItr > > &) const
bool canFetchMore(const QModelIndex &parent) const
int columnCount(const QModelIndex &idx) const
void enableSubSystem(VP1GeoFlags::SubSystemFlag flag)
void addSubSystem(VP1GeoFlags::SubSystemFlag flag, const VolumeHandle::VolumeHandleList &roothandles)
std::vector< VolumeHandle * > VolumeHandleList
Qt::ItemFlags flags(const QModelIndex &index) const
QVariant data(const QModelIndex &, int) const
int rowCount(const QModelIndex &) const
VolumeTreeModel(QObject *parent=0)
bool hasChildren(const QModelIndex &parent=QModelIndex()) const
virtual ~VolumeTreeModel()