You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
460 B
C++

#ifndef _QSETCENTERDLG_H_
#define _QSETCENTERDLG_H_
#include <QDialog>
#include "ui_QSetCenterDlg.h"
class QSetCenterDlg : public QDialog
{
Q_OBJECT
public:
QSetCenterDlg(QWidget *parent = Q_NULLPTR);
~QSetCenterDlg();
void setCenter(double x, double y);
void getCenter(double &x, double &y);
void setRange(QRect rect, QPointF imgSize);
Q_SLOT void onButtonClicked();
private:
Ui::QSetCenterDlg ui;
QRect m_ItemRect;
QPointF m_ImgSize;
};
#endif