ATLAS Offline Software
Loading...
Searching...
No Matches
graphics
VP1
VP1Systems
VP1GeometrySystems
src
ZappedVolumeListModel.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
VP1GeometrySystems/ZappedVolumeListModel.h
"
6
7
//____________________________________________________________________
8
ZappedVolumeListModel::ZappedVolumeListModel
(QObject * parent)
9
: QAbstractListModel(parent)
10
{
11
}
12
13
//____________________________________________________________________
14
ZappedVolumeListModel::~ZappedVolumeListModel
()
15
{
16
}
17
18
//____________________________________________________________________
19
void
ZappedVolumeListModel::activated
(
const
QModelIndex&
index
)
20
{
21
m_zappedhandles
.at(
index
.row())->setState(
VP1GeoFlags::CONTRACTED
);
22
}
ZappedVolumeListModel.h
VP1GeoFlags::CONTRACTED
@ CONTRACTED
Definition
VP1GeoFlags.h:87
ZappedVolumeListModel::~ZappedVolumeListModel
virtual ~ZappedVolumeListModel()
Definition
ZappedVolumeListModel.cxx:14
ZappedVolumeListModel::activated
void activated(const QModelIndex &)
Definition
ZappedVolumeListModel.cxx:19
ZappedVolumeListModel::m_zappedhandles
QList< VolumeHandle * > m_zappedhandles
Definition
ZappedVolumeListModel.h:38
ZappedVolumeListModel::ZappedVolumeListModel
ZappedVolumeListModel(QObject *parent=0)
Definition
ZappedVolumeListModel.cxx:8
index
Definition
index.py:1
Generated on
for ATLAS Offline Software by
1.14.0