Parent Directory
|
Revision Log
|
Revision Graph
Revision 1.1 - (view) (download)
| 1 : | giraudpf | 1.1 | #ifndef ATOSINFOWIDGET_HH |
| 2 : | #define ATOSINFOWIDGET_HH | ||
| 3 : | |||
| 4 : | #include <QDockWidget> | ||
| 5 : | class QBoxLayout; | ||
| 6 : | class Hep3Vector; | ||
| 7 : | |||
| 8 : | namespace asap { | ||
| 9 : | namespace atos { | ||
| 10 : | class AtosElement; | ||
| 11 : | class AtosTreeWidget; | ||
| 12 : | |||
| 13 : | class AtosInfoWidget : public QDockWidget { | ||
| 14 : | Q_OBJECT | ||
| 15 : | ; | ||
| 16 : | public: | ||
| 17 : | AtosInfoWidget (AtosElement* el = 0, QWidget * parent = 0, Qt::WindowFlags f = 0); | ||
| 18 : | virtual ~AtosInfoWidget (); | ||
| 19 : | |||
| 20 : | public slots: | ||
| 21 : | virtual void setElement (AtosElement* el) = 0; | ||
| 22 : | |||
| 23 : | protected slots: | ||
| 24 : | void setCandidate (AtosElement* el); | ||
| 25 : | void contextMenu (QContextMenuEvent * event, AtosElement* el, QWidget* orig); | ||
| 26 : | void projectionXY (); | ||
| 27 : | void projectionYZ (); | ||
| 28 : | void projectionZX (); | ||
| 29 : | |||
| 30 : | signals: | ||
| 31 : | void selectedCandidate (AtosElement* el); | ||
| 32 : | void centerView (); | ||
| 33 : | void hideElement (); | ||
| 34 : | void hideElementDaughters (); | ||
| 35 : | void unHideElement (); | ||
| 36 : | void unHideElementDaughters (); | ||
| 37 : | void coordinateSystem (); | ||
| 38 : | void info (); | ||
| 39 : | void referenceCoordinateSystemSelected(); | ||
| 40 : | void requestProjection (AtosElement* el, const Hep3Vector& xdir, const Hep3Vector& ydir); | ||
| 41 : | |||
| 42 : | protected: | ||
| 43 : | void connectTreeWidget (AtosTreeWidget* wd); | ||
| 44 : | |||
| 45 : | private: | ||
| 46 : | AtosElement* _atosel; | ||
| 47 : | AtosElement* _cand; | ||
| 48 : | }; | ||
| 49 : | } | ||
| 50 : | } | ||
| 51 : | |||
| 52 : | #endif |
| CERN Central CVS service | ViewVC Help |
| Powered by ViewVC 1.0.9 |