mirror of https://github.com/CGAL/cgal
Add signal modelChanged for inout handlers that modify a model
This commit is contained in:
parent
d70aceb7bc
commit
fb894e0f08
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef CGAL_QT_RAPHICS_VIEW_INPUT_H
|
||||
#define CGAL_QT_RAPHICS_VIEW_INPUT_H
|
||||
#ifndef CGAL_QT_GRAPHICS_VIEW_INPUT_H
|
||||
#define CGAL_QT_GRAPHICS_VIEW_INPUT_H
|
||||
|
||||
#include <CGAL/Object.h>
|
||||
#include <QObject>
|
||||
|
|
@ -17,9 +17,10 @@ public:
|
|||
|
||||
signals:
|
||||
void generate(CGAL::Object o);
|
||||
void modelChanged();
|
||||
};
|
||||
|
||||
} // namespace Qt
|
||||
} // namespace CGAL
|
||||
|
||||
#endif // CGAL_QT_RAPHICS_VIEW_INPUT_H
|
||||
#endif // CGAL_QT_GRAPHICS_VIEW_INPUT_H
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ public:
|
|||
void modelChanged();
|
||||
|
||||
public:
|
||||
|
||||
QRectF boundingRect() const;
|
||||
|
||||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
||||
|
|
|
|||
Loading…
Reference in New Issue