1 #ifndef __COORDINATEWIDGET_H__
2 #define __COORDINATEWIDGET_H__
4 #include "ui_coordinatewidget.h"
10 class CoordinateWidget: public QWidget
15 CoordinateWidget(QWidget * parent = 0, Qt::WindowFlags flags = 0);
19 void setGraphic(Drawing * graphic);
20 void setCoordinates(const Vector & abs, const Vector & rel, bool updateFormat);
21 void setCoordinates(double x, double y, double rx, double ry, bool updateFormat);
26 RS2::LinearFormat format;
28 RS2::AngleFormat aformat;
31 Ui::CoordinateWidget ui;
34 #endif // __COORDINATEWIDGET_H__