CTubePolylineParamsGuiComp.h
Go to the documentation of this file.
1 #ifndef iqt2d_CTubePolylineParamsGuiComp_included
2 #define iqt2d_CTubePolylineParamsGuiComp_included
3 
4 
5 // ACF includes
6 #include <i2d/CTubePolyline.h>
7 
9 
11 
12 
13 namespace iqt2d
14 {
15 
16 
17 class CTubePolylineParamsGuiComp: public TPolygonBasedParamsGuiComp<iview::CTubePolylineShape, i2d::CTubePolyline>
18 {
19  Q_OBJECT
20 
21 public:
23 
24  I_BEGIN_COMPONENT(CTubePolylineParamsGuiComp);
25  I_END_COMPONENT;
26 
27 protected Q_SLOTS:
28 
29  void OnActionTriggered(QAction* actionPtr);
30 
33  void on_CopyButton_clicked();
35 
36 protected:
37 
38  // reimplemented (iqt2d::TPolygonBasedParamsGuiComp<iview::CTubePolylineShape, i2d::CTubePolyline>)
39  virtual int columnCount(const QModelIndex& parent = QModelIndex()) const;
40  virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
41  virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
42  virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
43 };
44 
45 
46 } // namespace iqt2d
47 
48 
49 #endif // !iqt2d_CTubePolylineParamsGuiComp_included
TPolygonBasedParamsGuiComp< iview::CTubePolylineShape, i2d::CTubePolyline > BaseClass
virtual QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
void OnActionTriggered(QAction *actionPtr)
virtual bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const

© 2007-2017 Witold Gantzke and Kirill Lepskiy