ATLAS Offline Software
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::m_zappedhandles
QList< VolumeHandle * > m_zappedhandles
Definition:
ZappedVolumeListModel.h:38
index
Definition:
index.py:1
ZappedVolumeListModel::~ZappedVolumeListModel
virtual ~ZappedVolumeListModel()
Definition:
ZappedVolumeListModel.cxx:14
ZappedVolumeListModel::activated
void activated(const QModelIndex &)
Definition:
ZappedVolumeListModel.cxx:19
ZappedVolumeListModel::ZappedVolumeListModel
ZappedVolumeListModel(QObject *parent=0)
Definition:
ZappedVolumeListModel.cxx:8
ZappedVolumeListModel.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
VP1GeoFlags::CONTRACTED
@ CONTRACTED
Definition:
VP1GeoFlags.h:87
Generated on Thu Nov 7 2024 21:32:16 for ATLAS Offline Software by
1.8.18