Modaless issue solved. (e.g. while dialog is open, we can rotate mesh)

This commit is contained in:
Ílker Yaz 2012-06-05 14:59:55 +00:00
parent a9215c5c00
commit a3399cc0cc
2 changed files with 2 additions and 8 deletions

View File

@ -1,23 +1,17 @@
<ui version="4.0" >
<class>Mesh_segmentation_dialog</class>
<widget class="QDialog" name="Mesh_segmentation_dialog" >
<property name="windowModality" >
<enum>Qt::NonModal</enum>
</property>
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>337</width>
<width>328</width>
<height>149</height>
</rect>
</property>
<property name="windowTitle" >
<string>Mesh segmentation parameters</string>
</property>
<property name="modal" >
<bool>true</bool>
</property>
<layout class="QVBoxLayout" >
<item>
<layout class="QGridLayout" >

View File

@ -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);