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:
|
||||
void open(QString);
|
||||
virtual void open(QString);
|
||||
|
||||
public slots:
|
||||
|
||||
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_actionClear_triggered();
|
||||
|
|
@ -121,6 +117,8 @@ MainWindow::MainWindow()
|
|||
{
|
||||
setupUi(this);
|
||||
|
||||
this->graphicsView->setAcceptDrops(false);
|
||||
|
||||
// Add a GraphicItem for the SVD triangulation
|
||||
sdggi = new CGAL::Qt::SegmentDelaunayGraphGraphicsItem<SVD>(&svd);
|
||||
QColor segmentColor(::Qt::blue);
|
||||
|
|
|
|||
Loading…
Reference in New Issue