mirror of https://github.com/CGAL/cgal
Add drag and drop
This commit is contained in:
parent
7e02bcebfe
commit
32c2d35f99
|
|
@ -84,16 +84,12 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
void open(QString);
|
virtual void open(QString);
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|
||||||
void processInput(CGAL::Object o);
|
void processInput(CGAL::Object o);
|
||||||
|
|
||||||
// void on_actionShowDelaunay_toggled(bool checked);
|
|
||||||
|
|
||||||
// void on_actionShowConstraints_toggled(bool checked);
|
|
||||||
|
|
||||||
void on_actionInsertPolyline_toggled(bool checked);
|
void on_actionInsertPolyline_toggled(bool checked);
|
||||||
|
|
||||||
void on_actionClear_triggered();
|
void on_actionClear_triggered();
|
||||||
|
|
@ -121,6 +117,8 @@ MainWindow::MainWindow()
|
||||||
{
|
{
|
||||||
setupUi(this);
|
setupUi(this);
|
||||||
|
|
||||||
|
this->graphicsView->setAcceptDrops(false);
|
||||||
|
|
||||||
// Add a GraphicItem for the SVD triangulation
|
// Add a GraphicItem for the SVD triangulation
|
||||||
sdggi = new CGAL::Qt::SegmentDelaunayGraphGraphicsItem<SVD>(&svd);
|
sdggi = new CGAL::Qt::SegmentDelaunayGraphGraphicsItem<SVD>(&svd);
|
||||||
QColor segmentColor(::Qt::blue);
|
QColor segmentColor(::Qt::blue);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue