Skip to content

Commit

Permalink
docs(Tuto05Mesher): new shortcut action
Browse files Browse the repository at this point in the history
Merge branch 'docs-Tuto05Mesher' into 'dev'

See merge request FW4SPL/fw4spl-doc!26

Updates the Tuto05Mesher documentation to explain the new shortcut action. It also fixes a few typos.
  • Loading branch information
dweckmann committed Jun 14, 2018
2 parents 89a2257 + 71db2a9 commit 6164cad
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions Tutorials/src/Tuto05Mesher.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[*Tuto05Mesher*] Create a mesh from an image
**********************************************

The fifth tutorial explains how to use several objects in an application.
The fifth tutorial explains how to use several objects in an application.
This application provides an action to create a mesh from an image mask.

.. figure:: ../media/tuto05Mesher.png
Expand All @@ -15,7 +15,7 @@ This application provides an action to create a mesh from an image mask.
Prerequisites
===============

Before reading this tutorial, you should have seen :
Before reading this tutorial, you should have seen:
* :ref:`tuto04`


Expand All @@ -25,7 +25,7 @@ Structure
Properties.cmake
------------------

This file describes the project information and requirements :
This file describes the project information and requirements:

.. code-block:: cmake
Expand Down Expand Up @@ -189,6 +189,11 @@ This file is in the ``rc/`` directory of the application. It defines the service
<percentReduction value="0" />
</service>
<!-- Add a shortcut in the application (key "v") -->
<service uid="ActionShortcut" type="::guiQt::SSignalShortcut">
<config shortcut="v" sid="myDefaultView" />
</service>
<!--
Services associated to the Image data :
Visualization, reading and writing service creation.
Expand Down Expand Up @@ -225,7 +230,14 @@ This file is in the ``rc/`` directory of the application. It defines the service
<type mode="writer" />
</service>
<!-- Connect the shortcut "v" to the update slot of 'actionCreateVTKMesh'-->
<connect>
<signal>ActionShortcut/activated</signal>
<slot>actionCreateVTKMesh/update</slot>
</connect>
<start uid="myFrame" />
<start uid="ActionShortcut" />
</config>
</extension>
Expand Down

0 comments on commit 6164cad

Please sign in to comment.