mirror of https://github.com/CGAL/cgal
Add a label that explain how to use the plugin
This commit is contained in:
parent
a6abd87989
commit
4fdf0eb23f
|
|
@ -543,6 +543,7 @@ void Polyhedron_demo_mean_curvature_flow_skeleton_plugin::on_actionContract()
|
|||
|
||||
update_meso_skeleton(item);
|
||||
QApplication::restoreOverrideCursor();
|
||||
scene->setSelectedItem(scene->item_id(item));
|
||||
}
|
||||
|
||||
void Polyhedron_demo_mean_curvature_flow_skeleton_plugin::on_actionCollapse()
|
||||
|
|
@ -568,6 +569,7 @@ void Polyhedron_demo_mean_curvature_flow_skeleton_plugin::on_actionCollapse()
|
|||
|
||||
update_meso_skeleton(item);
|
||||
QApplication::restoreOverrideCursor();
|
||||
scene->setSelectedItem(scene->item_id(item));
|
||||
}
|
||||
|
||||
void Polyhedron_demo_mean_curvature_flow_skeleton_plugin::on_actionSplit()
|
||||
|
|
@ -593,6 +595,7 @@ void Polyhedron_demo_mean_curvature_flow_skeleton_plugin::on_actionSplit()
|
|||
|
||||
update_meso_skeleton(item);
|
||||
QApplication::restoreOverrideCursor();
|
||||
scene->setSelectedItem(scene->item_id(item));
|
||||
}
|
||||
|
||||
void Polyhedron_demo_mean_curvature_flow_skeleton_plugin::on_actionDegeneracy()
|
||||
|
|
@ -931,6 +934,7 @@ Polyhedron_demo_mean_curvature_flow_skeleton_plugin::createContractedItem(Scene_
|
|||
item->contractedItemIndex = scene->addItem(contracted_item);
|
||||
scene->changeGroup(contracted_item, item);
|
||||
item->lockChild(contracted_item);
|
||||
scene->setSelectedItem(scene->item_id(item));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,15 +6,15 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>490</width>
|
||||
<height>262</height>
|
||||
<width>483</width>
|
||||
<height>408</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>DockWidget</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="dockWidgetContents">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3" stretch="0,1,0,0,0">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="is_medially_centered">
|
||||
<property name="text">
|
||||
|
|
@ -22,6 +22,50 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<property name="title">
|
||||
<string>Help</string>
|
||||
</property>
|
||||
<property name="flat">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
||||
<item>
|
||||
<widget class="QScrollArea" name="scrollArea">
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="QWidget" name="scrollAreaWidgetContents">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>425</width>
|
||||
<height>127</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string><html><head/><body><p>- Select an item called <span style=" font-style:italic;">name</span>(mcf) to apply a step to it, or select a face_graph item to create a new mcf from it. </p><p>- Run iterations until you are satisfied of the result.</p><p>- You can create a skeleton without running any iteration, but it will probably not be acceptable. </p></body></html></string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
||||
<item>
|
||||
|
|
@ -163,19 +207,6 @@
|
|||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
|
|
|
|||
Loading…
Reference in New Issue