CEdgeLineContainerShape.h
Go to the documentation of this file.
1 #ifndef iedgegui_CEdgeLineContainerShape_included
2 #define iedgegui_CEdgeLineContainerShape_included
3 
4 
5 // ACF includes
7 #include "iview/CShapeBase.h"
8 
9 
10 namespace iedgegui
11 {
12 
13 
15 {
16 public:
18 
19  // reimplemented (iview::IShape)
20  virtual void Draw(QPainter& drawContext) const;
21 
22  // reimplemented (imod::IObserver)
23  virtual bool OnAttached(imod::IModel* modelPtr);
24 
25  // reimplemented (iview::CShapeBase)
26  virtual i2d::CRect CalcBoundingBox() const;
27 
28  virtual QString GetShapeDescriptionAt(istd::CIndex2d position) const;
29 
30  iview::ITouchable::TouchState IsTouched(istd::CIndex2d /*position*/) const;
31 };
32 
33 
34 } // namespace iedgegui
35 
36 
37 #endif // !iedgegui_CEdgeLineContainerShape_included
38 
39 
virtual QString GetShapeDescriptionAt(istd::CIndex2d position) const
virtual i2d::CRect CalcBoundingBox() const
iview::ITouchable::TouchState IsTouched(istd::CIndex2d) const
virtual bool OnAttached(imod::IModel *modelPtr)
virtual void Draw(QPainter &drawContext) const

© 2007-2011 Witold Gantzke and Kirill Lepskiy