]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/signal.hpp
Remove signal scale handle
[pulseview.git] / pv / views / trace / signal.hpp
index 83472818034a8592bd60108607f7ef19fd7e8f09..d763609d972abc322dc796e9aca32a2add66269f 100644 (file)
@@ -27,7 +27,6 @@
 
 #include <cstdint>
 
-#include "signalscalehandle.hpp"
 #include "trace.hpp"
 #include "viewitemowner.hpp"
 
@@ -71,11 +70,6 @@ public:
 
        virtual void restore_settings(QSettings &settings);
 
-       /**
-        * Returns a list of row items owned by this object.
-        */
-       const item_list& child_items() const;
-
        void paint_back(QPainter &p, ViewItemPaintParams &pp);
 
        virtual void populate_popup_form(QWidget *parent, QFormLayout *form);
@@ -84,22 +78,6 @@ public:
 
        void delete_pressed();
 
-       /**
-        * Returns the offset to show the drag handle.
-        */
-       virtual int scale_handle_offset() const = 0;
-
-       /**
-        * Handles the scale handle being dragged to an offset.
-        * @param offset the offset the scale handle was dragged to.
-        */
-       virtual void scale_handle_dragged(int offset) = 0;
-
-       /**
-        * Handles the scale handle being being released.
-        */
-       virtual void scale_handle_released() {};
-
 protected Q_SLOTS:
        virtual void on_name_changed(const QString &text);
 
@@ -110,9 +88,6 @@ protected Q_SLOTS:
 protected:
        pv::Session &session_;
 
-       const shared_ptr<SignalScaleHandle> scale_handle_;
-       const item_list items_;
-
        QComboBox *name_widget_;
 };