26 #include <tulip/Coord.h> 27 #include <tulip/tulipconf.h> 37 class TLP_QT_SCOPE CoordEditor :
public QDialog {
39 Q_PROPERTY(Coord coord READ coord WRITE setCoord NOTIFY coordChanged)
45 explicit CoordEditor(QWidget *parent =
nullptr,
bool editSize =
false);
46 ~CoordEditor()
override;
48 tlp::Coord coord()
const;
51 void showEvent(QShowEvent *ev)
override;
54 void setCoord(
const tlp::Coord &s);
56 void done(
int r)
override;
59 void coordChanged(tlp::Coord coord);
66 #endif // COORDEDITOR_H