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;
char data[hepevt_bytes_allocation_ATLAS]
std::vector< VolumeHandle * > VolumeHandleList
int rowCount(const QModelIndex &) const
void enableSubSystem(VP1GeoFlags::SubSystemFlag flag)
int columnCount(const QModelIndex &idx) const
VolumeTreeModel(QObject *parent=0)
Qt::ItemFlags flags(const QModelIndex &index) const
virtual ~VolumeTreeModel()
void disableSubSystem(VP1GeoFlags::SubSystemFlag flag)
void fetchMore(const QModelIndex &parent)
void addSubSystem(VP1GeoFlags::SubSystemFlag flag, const VolumeHandle::VolumeHandleList &roothandles)
QVariant headerData(int section, Qt::Orientation orientation, int role) const
bool canFetchMore(const QModelIndex &parent) const
QModelIndex parent(const QModelIndex &) const
void getRootHandles(std::vector< std::pair< VolumeHandle::VolumeHandleListItr, VolumeHandle::VolumeHandleListItr > > &) const
bool hasChildren(const QModelIndex &parent=QModelIndex()) const