diff --git a/astigstatsdlg.cpp b/astigstatsdlg.cpp index 4cbf1bef..1efbe7f1 100644 --- a/astigstatsdlg.cpp +++ b/astigstatsdlg.cpp @@ -50,6 +50,8 @@ QString intro( "
Astigmatism values vary from sample
class Zoomer: public QwtPlotZoomer
{
+ Q_OBJECT
+
public:
QwtPlot * mPlot;
Zoomer( QWidget *canvas, QwtPlot * plot ):
@@ -105,6 +107,7 @@ class Zoomer: public QwtPlotZoomer
// this class expans QwtPlotPicker to be able to diplay custom text on given positions in canva
// add positions and text using addTooltipToPoint
class CustomPlotPicker : public QwtPlotPicker {
+ Q_OBJECT
public:
CustomPlotPicker(int xAxis, int yAxis, QWidget *canvas)
: QwtPlotPicker(xAxis, yAxis, QwtPicker::NoRubberBand, QwtPicker::AlwaysOn, canvas) {
diff --git a/astigzoomer.h b/astigzoomer.h
index 1ec6b8f6..a2d88ec1 100644
--- a/astigzoomer.h
+++ b/astigzoomer.h
@@ -6,6 +6,7 @@
class QwtPlot;
class astigZoomer: public QwtPlotZoomer
{
+ Q_OBJECT
public:
QwtPlot * mPlot;
explicit astigZoomer( QWidget *canvas, QwtPlot * plot );
diff --git a/contourplot.cpp b/contourplot.cpp
index 5496829d..d141be24 100644
--- a/contourplot.cpp
+++ b/contourplot.cpp
@@ -50,6 +50,7 @@ double lastx = -1.;
double lasty = -1.;
class MyZoomer: public QwtPlotZoomer
{
+ Q_OBJECT
public:
ContourPlot* thePlot;
MyZoomer( QWidget *canvas ,ContourPlot* plot):
diff --git a/outlinestatsdlg.cpp b/outlinestatsdlg.cpp
index d94e76da..e66fb0bc 100644
--- a/outlinestatsdlg.cpp
+++ b/outlinestatsdlg.cpp
@@ -13,6 +13,7 @@
#include "surfacemanager.h"
class outlineZoomer: public QwtPlotZoomer
{
+ Q_OBJECT
public:
QwtPlot * mPlot;
outlineStatsDlg &m_outlines;
diff --git a/showaliasdlg.cpp b/showaliasdlg.cpp
index d54535eb..1ab13956 100644
--- a/showaliasdlg.cpp
+++ b/showaliasdlg.cpp
@@ -5,6 +5,8 @@
#include "opencv2/imgproc/imgproc.hpp"
#include