Skip to content

Commit

Permalink
Automatic update of developer site
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-builder committed Oct 1, 2024
1 parent 720b958 commit 21eb845
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 38 deletions.
9 changes: 5 additions & 4 deletions MVPDesign.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ <h3><a class="toc-backref" href="#id10" role="doc-backlink">Python</a><a class="
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>python<span class="w"> </span>tools/MVP/template.py<span class="w"> </span>--name<span class="w"> </span>Example<span class="w"> </span>--language<span class="w"> </span>python<span class="w"> </span>--include-setup<span class="w"> </span>--output-dir<span class="w"> </span><span class="nv">$PWD</span>/..
</pre></div>
</div>
<p>This command will generate four python files including <cite>example_model.py</cite>, <cite>example_view.py</cite>
and <cite>example_presenter.py</cite>. These files will be saved in the provided output directory,
<p>This command will generate five python files including <cite>example_model.py</cite>, <cite>example_view.py</cite>,
,`example_presenter.py` and <cite>example_guiwidget.ui</cite>. These files will be saved in the provided output directory,
as specified by <cite>$PWD/..</cite>. An additional file named <cite>launch.py</cite> will be generated if the
<code class="docutils literal notranslate"><span class="pre">--include-setup</span></code> flag is provided to the script. This can be used to open the widget as
follows:</p>
Expand All @@ -312,8 +312,9 @@ <h3><a class="toc-backref" href="#id11" role="doc-backlink">C++</a><a class="hea
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>python<span class="w"> </span>tools/MVP/template.py<span class="w"> </span>--name<span class="w"> </span>Example<span class="w"> </span>--language<span class="w"> </span>c++<span class="w"> </span>--include-setup<span class="w"> </span>--output-dir<span class="w"> </span><span class="nv">$PWD</span>/..
</pre></div>
</div>
<p>This command will generate eight files including <cite>ExampleModel.cpp</cite>, <cite>ExampleModel.h</cite>,
<cite>ExampleView.cpp</cite>, <cite>ExampleView.h</cite>, <cite>ExamplePresenter.cpp</cite> and <cite>ExamplePresenter.h</cite>.
<p>This command will generate nine files including <cite>ExampleModel.cpp</cite>, <cite>ExampleModel.h</cite>,
<cite>ExampleView.cpp</cite>, <cite>ExampleView.h</cite>, <cite>ExamplePresenter.cpp</cite>, <cite>ExamplePresenter.h</cite> and
<cite>ExampleGUIWidget.ui</cite>.
An additional file named <cite>main.cpp</cite> and a <cite>CMakeLists.txt</cite> will be generated if the
<code class="docutils literal notranslate"><span class="pre">--include-setup</span></code> flag is provided to the script. These files can be used to build
the widget as follows:</p>
Expand Down
Loading

0 comments on commit 21eb845

Please sign in to comment.