Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions astigstatsdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ QString intro( "<p style = font-size:16px ;>Astigmatism values vary from sample

class Zoomer: public QwtPlotZoomer
{
Q_OBJECT

public:
QwtPlot * mPlot;
Zoomer( QWidget *canvas, QwtPlot * plot ):
Expand Down Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions astigzoomer.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
class QwtPlot;
class astigZoomer: public QwtPlotZoomer
{
Q_OBJECT
public:
QwtPlot * mPlot;
explicit astigZoomer( QWidget *canvas, QwtPlot * plot );
Expand Down
1 change: 1 addition & 0 deletions contourplot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ double lastx = -1.;
double lasty = -1.;
class MyZoomer: public QwtPlotZoomer
{
Q_OBJECT
public:
ContourPlot* thePlot;
MyZoomer( QWidget *canvas ,ContourPlot* plot):
Expand Down
1 change: 1 addition & 0 deletions outlinestatsdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "surfacemanager.h"
class outlineZoomer: public QwtPlotZoomer
{
Q_OBJECT
public:
QwtPlot * mPlot;
outlineStatsDlg &m_outlines;
Expand Down
2 changes: 2 additions & 0 deletions showaliasdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#include "opencv2/imgproc/imgproc.hpp"
#include <QSettings>
class ImageViewer : public QWidget {
Q_OBJECT

QPixmap m_pixmap;
QRectF m_rect;
QPointF m_reference;
Expand Down
Loading