Initial work moving headers into the pv::view::Header widget
[pulseview.git] / pv / view / view.h
index 3c76c8ee6bd065364d679c7727f00f2c83908fee..ad607b5ac8ba517cc1ecbc5236c43411e0fb3d5f 100644 (file)
@@ -30,6 +30,7 @@ class SigSession;
 namespace pv {
 namespace view {
 
+class Header;
 class Viewport;
 
 class View : public QAbstractScrollArea {
@@ -42,9 +43,14 @@ private:
        static const int LabelMarginWidth;
        static const int RulerHeight;
 
+public:
+       static const int SignalHeight;
+
 public:
        explicit View(SigSession &session, QWidget *parent = 0);
 
+       SigSession& session();
+
        double scale() const;
        double offset() const;
        int v_offset() const;
@@ -73,6 +79,7 @@ private:
        SigSession &_session;
 
        Viewport *_viewport;
+       Header *_header;
 
        uint64_t _data_length;