QXRD  0.11.16
qxrdcenterfinderdialog.h
Go to the documentation of this file.
1 #ifndef QXRDCENTERFINDERDIALOG_H
2 #define QXRDCENTERFINDERDIALOG_H
3 
4 #include <QDockWidget>
5 #include "ui_qxrdcenterfinderdialog.h"
6 #include "qxrdcenterfinder-ptr.h"
7 
8 class QxrdCenterFinderDialog : public QDockWidget, public Ui::QxrdCenterFinderDialog
9 {
10  Q_OBJECT
11 
12 public:
13  QxrdCenterFinderDialog(QxrdCenterFinderPtr cen, QWidget *parent=0);
14  virtual ~QxrdCenterFinderDialog();
15 
16 public slots:
17  void centerMoveUpLeft();
18  void centerMoveUp();
19  void centerMoveUpRight();
20  void centerMoveRight();
21  void centerMoveDownRight();
22  void centerMoveDown();
23  void centerMoveDownLeft();
24  void centerMoveLeft();
25 
26  void onStepSizesChanged();
27  void onCenterChanged(double cx, double cy);
28  void onImplementTiltChanged(bool imp);
29 
30 private:
31  void moveCenter(int dx, int dy);
32 
33 private:
35 };
36 
37 #endif // QXRDCENTERFINDERDIALOG_H
QSharedPointer< QxrdCenterFinder > QxrdCenterFinderPtr
void moveCenter(int dx, int dy)
QxrdCenterFinderPtr m_CenterFinder
QxrdCenterFinderDialog(QxrdCenterFinderPtr cen, QWidget *parent=0)
void onCenterChanged(double cx, double cy)