]> sigrok.org Git - pulseview.git/commitdiff
RowItem: Moved hover_point_changed in
authorJoel Holdsworth <redacted>
Sun, 16 Aug 2015 15:35:54 +0000 (09:35 -0600)
committerJoel Holdsworth <redacted>
Sat, 17 Oct 2015 15:20:21 +0000 (09:20 -0600)
CMakeLists.txt
pv/view/rowitem.cpp [new file with mode: 0644]
pv/view/rowitem.hpp
pv/view/tracetreeitem.cpp
pv/view/tracetreeitem.hpp

index a979be66855d4fdf974ebfb61443573a62268d8a..c80a834dd0d4400cb69590c6e823d5f439c6e8e2 100644 (file)
@@ -207,6 +207,7 @@ set(pulseview_SOURCES
        pv/view/header.cpp
        pv/view/marginwidget.cpp
        pv/view/logicsignal.cpp
        pv/view/header.cpp
        pv/view/marginwidget.cpp
        pv/view/logicsignal.cpp
+       pv/view/rowitem.cpp
        pv/view/ruler.cpp
        pv/view/signal.cpp
        pv/view/timeitem.cpp
        pv/view/ruler.cpp
        pv/view/signal.cpp
        pv/view/timeitem.cpp
diff --git a/pv/view/rowitem.cpp b/pv/view/rowitem.cpp
new file mode 100644 (file)
index 0000000..4ad8b59
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * This file is part of the PulseView project.
+ *
+ * Copyright (C) 2015 Joel Holdsworth <joel@airwebreathe.org.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
+#include "rowitem.hpp"
+
+namespace pv {
+namespace view {
+
+void RowItem::hover_point_changed()
+{
+}
+
+} // namespace view
+} // namespace pv
index 80bf8a5288e4983012338b2d942cdc8ea1f5920a..1c4878666ffcdc1da371db58d1eaca3c37d375ab 100644 (file)
@@ -29,6 +29,9 @@ namespace view {
 class RowItem : public ViewItem
 {
        Q_OBJECT
 class RowItem : public ViewItem
 {
        Q_OBJECT
+
+public:
+       virtual void hover_point_changed();
 };
 
 } // namespace view
 };
 
 } // namespace view
index 1e09908b350c0aff7ba7547791c63e277ef337ce..fa11e292a7a2ae655fb36502db6fa5ec80cdbeb5 100644 (file)
@@ -131,9 +131,5 @@ QPoint TraceTreeItem::point(const QRect &rect) const
        return QPoint(rect.right(), get_visual_y());
 }
 
        return QPoint(rect.right(), get_visual_y());
 }
 
-void TraceTreeItem::hover_point_changed()
-{
-}
-
 } // namespace view
 } // namespace pv
 } // namespace view
 } // namespace pv
index 3b216988dd7d528cbaf73c9f49b88a512731e814..5e60ffcb2e568f959bff3f4ab7f6d5470b1799f7 100644 (file)
@@ -111,9 +111,6 @@ public:
         */
        virtual std::pair<int, int> v_extents() const = 0;
 
         */
        virtual std::pair<int, int> v_extents() const = 0;
 
-public:
-       virtual void hover_point_changed();
-
 protected:
        pv::view::TraceTreeItemOwner *owner_;
 
 protected:
        pv::view::TraceTreeItemOwner *owner_;