Files
musrfit/mupp/html/classPVarErrorDialog.html
T
Gitea Actions b6fac619f9 Deploy site
2026-05-28 07:32:41 +00:00

254 lines
12 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>mupp: PVarErrorDialog Class Reference</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">mupp<span id="projectnumber">&#160;1.1.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&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;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&amp;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&amp;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><!-- top -->
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classPVarErrorDialog-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">PVarErrorDialog Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Dialog for displaying variable parsing error messages.
<a href="#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="PmuppGui_8h_source.html">PmuppGui.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for PVarErrorDialog:</div>
<div class="dyncontent">
<div class="center"><img src="classPVarErrorDialog__inherit__graph.png" border="0" usemap="#aPVarErrorDialog_inherit__map" alt="Inheritance graph"/></div>
<map name="aPVarErrorDialog_inherit__map" id="aPVarErrorDialog_inherit__map">
<area shape="rect" title="Dialog for displaying variable parsing error messages." alt="" coords="5,81,125,109"/>
<area shape="rect" title=" " alt="" coords="30,5,100,33"/>
<area shape="poly" title=" " alt="" coords="68,49,68,81,62,81,62,49"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for PVarErrorDialog:</div>
<div class="dyncontent">
<div class="center"><img src="classPVarErrorDialog__coll__graph.png" border="0" usemap="#aPVarErrorDialog_coll__map" alt="Collaboration graph"/></div>
<map name="aPVarErrorDialog_coll__map" id="aPVarErrorDialog_coll__map">
<area shape="rect" title="Dialog for displaying variable parsing error messages." alt="" coords="5,81,125,109"/>
<area shape="rect" title=" " alt="" coords="30,5,100,33"/>
<area shape="poly" title=" " alt="" coords="68,49,68,81,62,81,62,49"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a247ce43e3b1de7c31b045bd269462433" id="r_a247ce43e3b1de7c31b045bd269462433"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a247ce43e3b1de7c31b045bd269462433">PVarErrorDialog</a> (QString errMsg)</td></tr>
<tr class="memdesc:a247ce43e3b1de7c31b045bd269462433"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor that creates and displays the error dialog. <br /></td></tr>
<tr class="separator:a247ce43e3b1de7c31b045bd269462433"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ac2a0030b372277b86d2f49aa3b067e22" id="r_ac2a0030b372277b86d2f49aa3b067e22"><td class="memItemLeft" align="right" valign="top">QPlainTextEdit *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac2a0030b372277b86d2f49aa3b067e22">fErrMsg</a></td></tr>
<tr class="memdesc:ac2a0030b372277b86d2f49aa3b067e22"><td class="mdescLeft">&#160;</td><td class="mdescRight">text widget displaying the error message <br /></td></tr>
<tr class="separator:ac2a0030b372277b86d2f49aa3b067e22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bf131fa30ed9783144c79d6adc7aaad" id="r_a3bf131fa30ed9783144c79d6adc7aaad"><td class="memItemLeft" align="right" valign="top">QPushButton *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3bf131fa30ed9783144c79d6adc7aaad">fOK</a></td></tr>
<tr class="memdesc:a3bf131fa30ed9783144c79d6adc7aaad"><td class="mdescLeft">&#160;</td><td class="mdescRight">button to close the dialog <br /></td></tr>
<tr class="separator:a3bf131fa30ed9783144c79d6adc7aaad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Dialog for displaying variable parsing error messages. </p>
<p><a class="el" href="classPVarErrorDialog.html" title="Dialog for displaying variable parsing error messages.">PVarErrorDialog</a> presents a modal dialog showing error messages that occur during variable expression parsing and evaluation. The dialog includes:</p><ul>
<li>A read-only text area displaying the error message(s)</li>
<li>An "OK" button to dismiss the dialog</li>
<li>Automatic width adjustment based on message content</li>
</ul>
<p>Used by the variable handler system to report syntax errors, undefined variables, or evaluation failures to the user. </p>
<p class="definition">Definition at line <a class="el" href="PmuppGui_8h_source.html#l00213">213</a> of file <a class="el" href="PmuppGui_8h_source.html">PmuppGui.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a247ce43e3b1de7c31b045bd269462433" name="a247ce43e3b1de7c31b045bd269462433"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a247ce43e3b1de7c31b045bd269462433">&#9670;&#160;</a></span>PVarErrorDialog()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PVarErrorDialog::PVarErrorDialog </td>
<td>(</td>
<td class="paramtype">QString</td> <td class="paramname"><span class="paramname"><em>errMsg</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor that creates and displays the error dialog. </p>
<p>Constructor for the variable error dialog.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">errMsg</td><td>error message text to display</td></tr>
</table>
</dd>
</dl>
<p>Creates a modal dialog displaying variable parsing error messages. The dialog contains:</p><ul>
<li>A read-only text area showing the error message(s)</li>
<li>A "Done" button to close the dialog</li>
</ul>
<p>The dialog width is automatically calculated based on the message content to ensure readability:</p><ul>
<li>Minimum width: 300 pixels</li>
<li>Maximum width: 900 pixels</li>
<li>Width scales with message length and line breaks</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">errMsg</td><td>error message text to display (may contain newlines) </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="PmuppGui_8cpp_source.html#l00294">294</a> of file <a class="el" href="PmuppGui_8cpp_source.html">PmuppGui.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac2a0030b372277b86d2f49aa3b067e22" name="ac2a0030b372277b86d2f49aa3b067e22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2a0030b372277b86d2f49aa3b067e22">&#9670;&#160;</a></span>fErrMsg</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QPlainTextEdit* PVarErrorDialog::fErrMsg</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>text widget displaying the error message </p>
<p class="definition">Definition at line <a class="el" href="PmuppGui_8h_source.html#l00225">225</a> of file <a class="el" href="PmuppGui_8h_source.html">PmuppGui.h</a>.</p>
</div>
</div>
<a id="a3bf131fa30ed9783144c79d6adc7aaad" name="a3bf131fa30ed9783144c79d6adc7aaad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bf131fa30ed9783144c79d6adc7aaad">&#9670;&#160;</a></span>fOK</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QPushButton* PVarErrorDialog::fOK</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel private">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>button to close the dialog </p>
<p class="definition">Definition at line <a class="el" href="PmuppGui_8h_source.html#l00226">226</a> of file <a class="el" href="PmuppGui_8h_source.html">PmuppGui.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/workspace/LMU/musrfit/src/musredit_qt6/mupp/<a class="el" href="PmuppGui_8h_source.html">PmuppGui.h</a></li>
<li>/workspace/LMU/musrfit/src/musredit_qt6/mupp/<a class="el" href="PmuppGui_8cpp_source.html">PmuppGui.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<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>