[atlas] / groups / Asap / qatos / AtosInfoWidget.hh Repository:
ViewVC logotype

View of /groups/Asap/qatos/AtosInfoWidget.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (download) (annotate)
Wed Feb 11 16:52:18 2009 UTC (4 years, 3 months ago) by giraudpf
Branch: MAIN
CVS Tags: pfg-2009-03-27, pfg-2009-03-27-2, pfg-2009-07-03-2, pfg-2009-03-18, pfg-2009-07-03, asap-1-2-1, pfg-2009-07-29-newSensor, asap-1-1, pfg-2009-07-29-oldSensor, pfg-2009-02-28, HEAD
Initial commit of qatos in CERN CVS
#ifndef ATOSINFOWIDGET_HH
#define ATOSINFOWIDGET_HH

#include <QDockWidget>
class QBoxLayout;
class Hep3Vector;

namespace asap {
  namespace atos {
    class AtosElement;
    class AtosTreeWidget;

    class AtosInfoWidget : public QDockWidget {
      Q_OBJECT
      ;
    public:
      AtosInfoWidget (AtosElement* el = 0, QWidget * parent = 0, Qt::WindowFlags f = 0);
      virtual ~AtosInfoWidget ();

    public slots:
      virtual void setElement (AtosElement* el) = 0;

    protected slots:
      void setCandidate (AtosElement* el);
      void contextMenu (QContextMenuEvent * event, AtosElement* el, QWidget* orig);
      void projectionXY ();
      void projectionYZ ();
      void projectionZX ();

    signals:
      void selectedCandidate (AtosElement* el);
      void centerView ();
      void hideElement ();
      void hideElementDaughters ();
      void unHideElement ();
      void unHideElementDaughters ();
      void coordinateSystem ();
      void info ();
      void referenceCoordinateSystemSelected();
      void requestProjection (AtosElement* el, const Hep3Vector& xdir, const Hep3Vector& ydir);

    protected:
      void connectTreeWidget (AtosTreeWidget* wd);

    private:
      AtosElement* _atosel;
      AtosElement* _cand;
    };
  }
}

#endif

CERN Central CVS service
ViewVC Help
Powered by ViewVC 1.0.9