From a3399cc0cc2b73d24e57ee01eb784a898c75db77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dlker=20Yaz?= Date: Tue, 5 Jun 2012 14:59:55 +0000 Subject: [PATCH] Modaless issue solved. (e.g. while dialog is open, we can rotate mesh) --- Polyhedron/demo/Polyhedron/Mesh_segmentation_dialog.ui | 8 +------- .../Polyhedron_demo_mesh_segmentation_plugin.cpp | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Polyhedron/demo/Polyhedron/Mesh_segmentation_dialog.ui b/Polyhedron/demo/Polyhedron/Mesh_segmentation_dialog.ui index c8bb168b504..65100129821 100644 --- a/Polyhedron/demo/Polyhedron/Mesh_segmentation_dialog.ui +++ b/Polyhedron/demo/Polyhedron/Mesh_segmentation_dialog.ui @@ -1,23 +1,17 @@ Mesh_segmentation_dialog - - Qt::NonModal - 0 0 - 337 + 328 149 Mesh segmentation parameters - - true - diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_segmentation_plugin.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_segmentation_plugin.cpp index 16d1fb49b9c..48afb54796f 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_segmentation_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_segmentation_plugin.cpp @@ -59,7 +59,7 @@ void Polyhedron_demo_mesh_segmentation_plugin::on_actionSegmentation_triggered() dialog = new QDialog(mw); dialog->setAttribute(Qt::WA_DeleteOnClose, true); - dialog->setModal(false); + //dialog->setModal(true); ui_dialog = new Ui::Mesh_segmentation_dialog(); ui_dialog->setupUi(dialog);