53 m_d->wasrefreshed=
false;
54 m_d->wascreated=
false;
66 assert(!
m_d->wascreated);
73 bool hasview_xy =
m_d->itemcollectionPermanent_xy->isAttachedToView();
75 m_d->itemcollectionPermanent_xy->detachFromView();
76 bool hasview_rz =
m_d->itemcollectionPermanent_rz->isAttachedToView();
78 m_d->itemcollectionPermanent_rz->detachFromView();
81 m_d->itemcollectionPermanent_xy,
82 m_d->itemcollectionPermanent_rz );
85 m_d->itemcollectionPermanent_xy->reattachToView();
87 m_d->itemcollectionPermanent_rz->reattachToView();
95 assert(
m_d->wascreated);
96 assert(!
m_d->wasrefreshed);
98 bool hasview_xy =
m_d->itemcollectionEvent_xy->isAttachedToView();
100 m_d->itemcollectionEvent_xy->detachFromView();
102 bool hasview_rz =
m_d->itemcollectionEvent_rz->isAttachedToView();
104 m_d->itemcollectionEvent_rz->detachFromView();
108 m_d->itemcollectionEvent_xy,
109 m_d->itemcollectionEvent_rz );
113 m_d->itemcollectionEvent_xy->reattachToView();
116 m_d->itemcollectionEvent_rz->reattachToView();
118 m_d->wasrefreshed=
true;
124 assert(
m_d->wascreated);
125 assert(
m_d->wasrefreshed);
127 m_d->itemcollectionEvent_xy->clear();
128 m_d->itemcollectionEvent_rz->clear();
129 m_d->wasrefreshed=
false;
137 assert(
m_d->wascreated);
138 assert(!
m_d->wasrefreshed);
140 if (
m_d->itemcollectionEvent_xy->isAttachedToView())
141 m_d->itemcollectionEvent_xy->detachFromView();
142 if (
m_d->itemcollectionEvent_rz->isAttachedToView())
143 m_d->itemcollectionEvent_rz->detachFromView();
145 if (
m_d->itemcollectionPermanent_xy->isAttachedToView())
146 m_d->itemcollectionPermanent_xy->detachFromView();
147 if (
m_d->itemcollectionPermanent_rz->isAttachedToView())
148 m_d->itemcollectionPermanent_rz->detachFromView();
151 m_d->itemcollectionPermanent_xy->clear();
152 m_d->itemcollectionPermanent_rz->clear();
153 m_d->wascreated=
false;
159 QSet<VP1GraphicsItemCollection*> l;
160 l <<
m_d->itemcollectionPermanent_xy;
161 l <<
m_d->itemcollectionEvent_xy;
168 QSet<VP1GraphicsItemCollection*> l;
169 l <<
m_d->itemcollectionPermanent_rz;
170 l <<
m_d->itemcollectionEvent_rz;
VP1GraphicsItemCollection * itemcollectionPermanent_xy
VP1GraphicsItemCollection * itemcollectionEvent_xy
VP1GraphicsItemCollection * itemcollectionEvent_rz
VP1GraphicsItemCollection * itemcollectionPermanent_rz
virtual void systemerase()
virtual ~IVP12DDetViewsSystem()
void refresh(StoreGateSvc *storegate)
virtual void systemcreate(StoreGateSvc *detstore)
virtual void systemuncreate()
virtual void buildPermanentItemCollections(StoreGateSvc *detstore, VP1GraphicsItemCollection *ic_xy, VP1GraphicsItemCollection *ic_rz)
virtual QWidget * buildController()
QSet< VP1GraphicsItemCollection * > getItemCollections_RZ() const
QSet< VP1GraphicsItemCollection * > getItemCollections_XY() const
void create(StoreGateSvc *detstore)
virtual void buildEventItemCollections(StoreGateSvc *sg, VP1GraphicsItemCollection *ic_xy, VP1GraphicsItemCollection *ic_rz)
IVP12DDetViewsSystem(const QString &name, const QString &information, const QString &contact_info)
IVP12DSystem(const QString &name, const QString &information, const QString &contact_info)
void registerItemCollection(VP1GraphicsItemCollection *)
void messageDebug(const QString &) const
const QString & name() const
void registerController(QWidget *)
const QString & information() const
const QString & contact_info() const
The Athena Transient Store API.