Initial work moving ruler into the pv::view::Ruler widget
[pulseview.git] / pv / view / view.h
index b7769899b7a09bf9d52988b4c469ed473be9fcca..d7fc635697aebf2c95b8f449e7b7b68b2e52ee58 100644 (file)
@@ -30,6 +30,8 @@ class SigSession;
 namespace pv {
 namespace view {
 
+class Header;
+class Ruler;
 class Viewport;
 
 class View : public QAbstractScrollArea {
@@ -42,6 +44,9 @@ private:
        static const int LabelMarginWidth;
        static const int RulerHeight;
 
+public:
+       static const int SignalHeight;
+
 public:
        explicit View(SigSession &session, QWidget *parent = 0);
 
@@ -75,6 +80,8 @@ private:
        SigSession &_session;
 
        Viewport *_viewport;
+       Ruler *_ruler;
+       Header *_header;
 
        uint64_t _data_length;