]> sigrok.org Git - pulseview.git/blobdiff - pv/signal.h
Moved LabelPadding into View
[pulseview.git] / pv / signal.h
index 18ff4b4d619239b233bc3bbad5f92b67efc0874a..951ae3172bc576cd12e76dd9ccf349d937584cd4 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef PULSEVIEW_PV_SIGNAL_H
+#define PULSEVIEW_PV_SIGNAL_H
+
 #include <boost/shared_ptr.hpp>
 
 #include <QPainter>
@@ -33,7 +36,6 @@ class SignalData;
 class Signal
 {
 private:
-       static const QSizeF LabelPadding;
        static const int LabelHitPadding;
 
 protected:
@@ -111,3 +113,5 @@ protected:
 };
 
 } // namespace pv
+
+#endif // PULSEVIEW_PV_SIGNAL_H