175 lines
19 KiB
HTML
175 lines
19 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.13.2"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>musredit: /workspace/LMU/musrfit/src/musredit_qt6/musredit/PGetTheoryBlockDialog.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">musredit<span id="projectnumber"> 1.0.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.13.2 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',false);
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function(){ initResizable(false); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_6ae224fd33464317177bff8e805aed3f.html">musredit_qt6</a></li><li class="navelem"><a class="el" href="dir_26071d482d956b9a852e608ffe64cea0.html">musredit</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="doc-content">
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">PGetTheoryBlockDialog.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="PGetTheoryBlockDialog_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/****************************************************************************</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> PGetTheoryBlockDialog.h</span></div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> Author: Andreas Suter</span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> e-mail: andreas.suter@psi.ch</span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment">*****************************************************************************/</span></div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">/***************************************************************************</span></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> * Copyright (C) 2009-2026 by Andreas Suter *</span></div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> * andreas.suter@psi.ch *</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> * *</span></div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> * This program is free software; you can redistribute it and/or modify *</span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> * it under the terms of the GNU General Public License as published by *</span></div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> * the Free Software Foundation; either version 2 of the License, or *</span></div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment"> * (at your option) any later version. *</span></div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment"> * *</span></div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment"> * This program is distributed in the hope that it will be useful, *</span></div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of *</span></div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *</span></div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment"> * GNU General Public License for more details. *</span></div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="comment"> * *</span></div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="comment"> * You should have received a copy of the GNU General Public License *</span></div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="comment"> * along with this program; if not, write to the *</span></div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="comment"> * Free Software Foundation, Inc., *</span></div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="comment"> * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *</span></div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment"> ***************************************************************************/</span></div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span></div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="preprocessor">#ifndef _PGETTHEORYBLOCKDIALOG_H_</span></div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="preprocessor">#define _PGETTHEORYBLOCKDIALOG_H_</span></div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="preprocessor">#include "<a class="code" href="PAdmin_8h.html">PAdmin.h</a>"</span></div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="preprocessor">#include "ui_PGetTheoryBlockDialog.h"</span></div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="comment">//---------------------------------------------------------------------------</span></div>
|
|
<div class="foldopen" id="foldopen00091" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="classPGetTheoryBlockDialog.html"> 91</a></span><span class="keyword">class </span><a class="code hl_function" href="classPGetTheoryBlockDialog.html#aa36eaec3547d973a7602a0784fad86d2">PGetTheoryBlockDialog</a> : <span class="keyword">public</span> QDialog, <span class="keyword">private</span> Ui::PGetTheoryBlockDialog</div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span>{</div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> Q_OBJECT</div>
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <a class="code hl_function" href="classPGetTheoryBlockDialog.html#aa36eaec3547d973a7602a0784fad86d2">PGetTheoryBlockDialog</a>(<a class="code hl_class" href="classPAdmin.html">PAdmin</a> *admin = 0, <span class="keyword">const</span> QString helpUrl = <span class="stringliteral">""</span>);</div>
|
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span></div>
|
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="classPGetTheoryBlockDialog.html#a1202f13c3158731bf87cb6c15ddaf3ec"> 130</a></span> QString <a class="code hl_function" href="classPGetTheoryBlockDialog.html#a1202f13c3158731bf87cb6c15ddaf3ec">getTheoryBlock</a>() { <span class="keywordflow">return</span> fTheoryBlock_plainTextEdit->toPlainText(); }</div>
|
|
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> </div>
|
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="keyword">private</span> slots:</div>
|
|
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> QString <a class="code hl_slot" href="classPGetTheoryBlockDialog.html#a1e2df9b59726ce874e296703177aa190">getTheoFuncString</a>();</div>
|
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span></div>
|
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classPGetTheoryBlockDialog.html#a444e0ba744ade36f57b637d59431a363">addPlus</a>();</div>
|
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span></div>
|
|
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classPGetTheoryBlockDialog.html#ae2242c46e63fa7d2cad70d6d414b0716">addMultiply</a>();</div>
|
|
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span></div>
|
|
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> <span class="keywordtype">void</span> <a class="code hl_slot" href="classPGetTheoryBlockDialog.html#aa09a7e12009a82477d7011673e0ae758">helpContent</a>();</div>
|
|
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> </div>
|
|
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="classPGetTheoryBlockDialog.html#a6074cf6c8ab11b321b6c821881a78831"> 214</a></span> <a class="code hl_class" href="classPAdmin.html">PAdmin</a> *<a class="code hl_variable" href="classPGetTheoryBlockDialog.html#a6074cf6c8ab11b321b6c821881a78831">fAdmin</a>; </div>
|
|
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="classPGetTheoryBlockDialog.html#a665712aec1635ab7f93ab609afc4b643"> 215</a></span> QString <a class="code hl_variable" href="classPGetTheoryBlockDialog.html#a665712aec1635ab7f93ab609afc4b643">fHelpUrl</a>; </div>
|
|
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> </div>
|
|
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span><span class="preprocessor">#endif </span><span class="comment">// _PGETTHEORYBLOCKDIALOG_H_</span></div>
|
|
<div class="ttc" id="aPAdmin_8h_html"><div class="ttname"><a href="PAdmin_8h.html">PAdmin.h</a></div><div class="ttdoc">Administration and configuration management for musredit.</div></div>
|
|
<div class="ttc" id="aclassPAdmin_html"><div class="ttname"><a href="classPAdmin.html">PAdmin</a></div><div class="ttdoc">Central administration class for musredit configuration management.</div><div class="ttdef"><b>Definition</b> <a href="PAdmin_8h_source.html#l00208">PAdmin.h:209</a></div></div>
|
|
<div class="ttc" id="aclassPGetTheoryBlockDialog_html_a1202f13c3158731bf87cb6c15ddaf3ec"><div class="ttname"><a href="classPGetTheoryBlockDialog.html#a1202f13c3158731bf87cb6c15ddaf3ec">PGetTheoryBlockDialog::getTheoryBlock</a></div><div class="ttdeci">QString getTheoryBlock()</div><div class="ttdoc">Returns the complete theory block text.</div><div class="ttdef"><b>Definition</b> <a href="#l00130">PGetTheoryBlockDialog.h:130</a></div></div>
|
|
<div class="ttc" id="aclassPGetTheoryBlockDialog_html_a1e2df9b59726ce874e296703177aa190"><div class="ttname"><a href="classPGetTheoryBlockDialog.html#a1e2df9b59726ce874e296703177aa190">PGetTheoryBlockDialog::getTheoFuncString</a></div><div class="ttdeci">QString getTheoFuncString()</div><div class="ttdoc">Generates the theory function string for the selected function.</div><div class="ttdef"><b>Definition</b> <a href="PGetTheoryBlockDialog_8cpp_source.html#l00145">PGetTheoryBlockDialog.cpp:145</a></div></div>
|
|
<div class="ttc" id="aclassPGetTheoryBlockDialog_html_a444e0ba744ade36f57b637d59431a363"><div class="ttname"><a href="classPGetTheoryBlockDialog.html#a444e0ba744ade36f57b637d59431a363">PGetTheoryBlockDialog::addPlus</a></div><div class="ttdeci">void addPlus()</div><div class="ttdoc">Adds the selected function followed by a '+' operator.</div><div class="ttdef"><b>Definition</b> <a href="PGetTheoryBlockDialog_8cpp_source.html#l00192">PGetTheoryBlockDialog.cpp:192</a></div></div>
|
|
<div class="ttc" id="aclassPGetTheoryBlockDialog_html_a6074cf6c8ab11b321b6c821881a78831"><div class="ttname"><a href="classPGetTheoryBlockDialog.html#a6074cf6c8ab11b321b6c821881a78831">PGetTheoryBlockDialog::fAdmin</a></div><div class="ttdeci">PAdmin * fAdmin</div><div class="ttdoc">Pointer to the administration object for accessing theory function definitions.</div><div class="ttdef"><b>Definition</b> <a href="#l00214">PGetTheoryBlockDialog.h:214</a></div></div>
|
|
<div class="ttc" id="aclassPGetTheoryBlockDialog_html_a665712aec1635ab7f93ab609afc4b643"><div class="ttname"><a href="classPGetTheoryBlockDialog.html#a665712aec1635ab7f93ab609afc4b643">PGetTheoryBlockDialog::fHelpUrl</a></div><div class="ttdeci">QString fHelpUrl</div><div class="ttdoc">URL to the online documentation for THEORY blocks.</div><div class="ttdef"><b>Definition</b> <a href="#l00215">PGetTheoryBlockDialog.h:215</a></div></div>
|
|
<div class="ttc" id="aclassPGetTheoryBlockDialog_html_aa09a7e12009a82477d7011673e0ae758"><div class="ttname"><a href="classPGetTheoryBlockDialog.html#aa09a7e12009a82477d7011673e0ae758">PGetTheoryBlockDialog::helpContent</a></div><div class="ttdeci">void helpContent()</div><div class="ttdoc">Opens the online help for THEORY blocks.</div><div class="ttdef"><b>Definition</b> <a href="PGetTheoryBlockDialog_8cpp_source.html#l00250">PGetTheoryBlockDialog.cpp:250</a></div></div>
|
|
<div class="ttc" id="aclassPGetTheoryBlockDialog_html_aa36eaec3547d973a7602a0784fad86d2"><div class="ttname"><a href="classPGetTheoryBlockDialog.html#aa36eaec3547d973a7602a0784fad86d2">PGetTheoryBlockDialog::PGetTheoryBlockDialog</a></div><div class="ttdeci">PGetTheoryBlockDialog(PAdmin *admin=0, const QString helpUrl="")</div><div class="ttdoc">Constructs a dialog for creating THEORY blocks.</div><div class="ttdef"><b>Definition</b> <a href="PGetTheoryBlockDialog_8cpp_source.html#l00084">PGetTheoryBlockDialog.cpp:84</a></div></div>
|
|
<div class="ttc" id="aclassPGetTheoryBlockDialog_html_ae2242c46e63fa7d2cad70d6d414b0716"><div class="ttname"><a href="classPGetTheoryBlockDialog.html#ae2242c46e63fa7d2cad70d6d414b0716">PGetTheoryBlockDialog::addMultiply</a></div><div class="ttdeci">void addMultiply()</div><div class="ttdoc">Adds the selected function (multiplication with next line).</div><div class="ttdef"><b>Definition</b> <a href="PGetTheoryBlockDialog_8cpp_source.html#l00222">PGetTheoryBlockDialog.cpp:222</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2
|
|
</small></address>
|
|
</div><!-- doc-content -->
|
|
</body>
|
|
</html>
|