source: flair-dev/trunk/doc/Flair/classflair_1_1gui_1_1_box.html @ 14

Last change on this file since 14 was 14, checked in by Sanahuja Guillaume, 5 years ago

doc

File size: 37.6 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.7"/>
7<title>Flair: flair::gui::Box Class Reference</title>
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
9<script type="text/javascript" src="jquery.js"></script>
10<script type="text/javascript" src="dynsections.js"></script>
11<link href="navtree.css" rel="stylesheet" type="text/css"/>
12<script type="text/javascript" src="resize.js"></script>
13<script type="text/javascript" src="navtree.js"></script>
14<script type="text/javascript">
15  $(document).ready(initResizable);
16  $(window).load(resizeHeight);
17</script>
18<link href="search/search.css" rel="stylesheet" type="text/css"/>
19<script type="text/javascript" src="search/search.js"></script>
20<script type="text/javascript">
21  $(document).ready(function() { searchBox.OnSelectItem(0); });
22</script>
23<link href="doxygen.css" rel="stylesheet" type="text/css" />
24</head>
25<body>
26<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
27<div id="titlearea">
28<table cellspacing="0" cellpadding="0">
29 <tbody>
30 <tr style="height: 56px;">
31  <td id="projectlogo"><img alt="Logo" src="logo_hds.png"/></td>
32  <td style="padding-left: 0.5em;">
33   <div id="projectname">Flair
34   </div>
35   <div id="projectbrief">Framework Libre Air</div>
36  </td>
37 </tr>
38 </tbody>
39</table>
40</div>
41<!-- end header part -->
42<!-- Generated by Doxygen 1.8.7 -->
43<script type="text/javascript">
44var searchBox = new SearchBox("searchBox", "search",false,'Search');
45</script>
46  <div id="navrow1" class="tabs">
47    <ul class="tablist">
48      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
49      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
50      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
51      <li><a href="files.html"><span>Files</span></a></li>
52      <li>
53        <div id="MSearchBox" class="MSearchBoxInactive">
54        <span class="left">
55          <img id="MSearchSelect" src="search/mag_sel.png"
56               onmouseover="return searchBox.OnSearchSelectShow()"
57               onmouseout="return searchBox.OnSearchSelectHide()"
58               alt=""/>
59          <input type="text" id="MSearchField" value="Search" accesskey="S"
60               onfocus="searchBox.OnSearchFieldFocus(true)" 
61               onblur="searchBox.OnSearchFieldFocus(false)" 
62               onkeyup="searchBox.OnSearchFieldChange(event)"/>
63          </span><span class="right">
64            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
65          </span>
66        </div>
67      </li>
68    </ul>
69  </div>
70  <div id="navrow2" class="tabs2">
71    <ul class="tablist">
72      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
73      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
74      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
75      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
76    </ul>
77  </div>
78</div><!-- top -->
79<div id="side-nav" class="ui-resizable side-nav-resizable">
80  <div id="nav-tree">
81    <div id="nav-tree-contents">
82      <div id="nav-sync" class="sync"></div>
83    </div>
84  </div>
85  <div id="splitbar" style="-moz-user-select:none;" 
86       class="ui-resizable-handle">
87  </div>
88</div>
89<script type="text/javascript">
90$(document).ready(function(){initNavTree('classflair_1_1gui_1_1_box.html','');});
91</script>
92<div id="doc-content">
93<!-- window showing the filter options -->
94<div id="MSearchSelectWindow"
95     onmouseover="return searchBox.OnSearchSelectShow()"
96     onmouseout="return searchBox.OnSearchSelectHide()"
97     onkeydown="return searchBox.OnSearchSelectKey(event)">
98<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a></div>
99
100<!-- iframe showing the search results (closed by default) -->
101<div id="MSearchResultsWindow">
102<iframe src="javascript:void(0)" frameborder="0" 
103        name="MSearchResults" id="MSearchResults">
104</iframe>
105</div>
106
107<div class="header">
108  <div class="summary">
109<a href="#pub-methods">Public Member Functions</a> &#124;
110<a href="#pro-methods">Protected Member Functions</a> &#124;
111<a href="classflair_1_1gui_1_1_box-members.html">List of all members</a>  </div>
112  <div class="headertitle">
113<div class="title">flair::gui::Box Class Reference</div>  </div>
114</div><!--header-->
115<div class="contents">
116
117<p>Abstract class to display a box on the ground station. 
118 <a href="classflair_1_1gui_1_1_box.html#details">More...</a></p>
119
120<p><code>#include &lt;<a class="el" href="_box_8h_source.html">Box.h</a>&gt;</code></p>
121<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
122  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for flair::gui::Box:</div>
123<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
124</div>
125<div id="dynsection-0-content" class="dyncontent" style="display:none;">
126 <div class="center">
127  <img src="classflair_1_1gui_1_1_box.png" usemap="#flair::gui::Box_map" alt=""/>
128  <map id="flair::gui::Box_map" name="flair::gui::Box_map">
129<area href="classflair_1_1gui_1_1_widget.html" title="Abstract class for all Framework&#39;s widget classes. " alt="flair::gui::Widget" shape="rect" coords="346,56,509,80"/>
130<area href="classflair_1_1core_1_1_object.html" title="Base class for all Framework&#39;s classes. " alt="flair::core::Object" shape="rect" coords="346,0,509,24"/>
131<area href="classflair_1_1gui_1_1_check_box.html" title="Class displaying a QCheckBox on the ground station. " alt="flair::gui::CheckBox" shape="rect" coords="0,168,163,192"/>
132<area href="classflair_1_1gui_1_1_combo_box.html" title="Class displaying a QComboBox on the ground station. " alt="flair::gui::ComboBox" shape="rect" coords="173,168,336,192"/>
133<area href="classflair_1_1gui_1_1_double_spin_box.html" title="Class displaying a QDoubleSpinBox on the ground station. " alt="flair::gui::DoubleSpinBox" shape="rect" coords="346,168,509,192"/>
134<area href="classflair_1_1gui_1_1_spin_box.html" title="Class displaying a QSpinBox on the ground station. " alt="flair::gui::SpinBox" shape="rect" coords="519,168,682,192"/>
135<area href="classflair_1_1gui_1_1_vector3_d_spin_box.html" title="Class displaying 3 QDoubleSpinBox for x,y,z on the ground station. " alt="flair::gui::Vector3DSpinBox" shape="rect" coords="692,168,855,192"/>
136</map>
137 </div></div>
138<table class="memberdecls">
139<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
140Public Member Functions</h2></td></tr>
141<tr class="memitem:a2f126878bf430425982c367e709ea438"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_box.html#a2f126878bf430425982c367e709ea438">Box</a> (const <a class="el" href="classflair_1_1gui_1_1_layout_position.html">LayoutPosition</a> *position, std::string name, std::string type)</td></tr>
142<tr class="memdesc:a2f126878bf430425982c367e709ea438"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a2f126878bf430425982c367e709ea438">More...</a><br /></td></tr>
143<tr class="separator:a2f126878bf430425982c367e709ea438"><td class="memSeparator" colspan="2">&#160;</td></tr>
144<tr class="memitem:adfd9a664f5096bbe85cdebf021f542ea"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_box.html#adfd9a664f5096bbe85cdebf021f542ea">~Box</a> ()</td></tr>
145<tr class="memdesc:adfd9a664f5096bbe85cdebf021f542ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#adfd9a664f5096bbe85cdebf021f542ea">More...</a><br /></td></tr>
146<tr class="separator:adfd9a664f5096bbe85cdebf021f542ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
147<tr class="memitem:a54608ff0fdac6b8e05c8ece4fd3f8375"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_box.html#a54608ff0fdac6b8e05c8ece4fd3f8375">ValueChanged</a> (void)</td></tr>
148<tr class="memdesc:a54608ff0fdac6b8e05c8ece4fd3f8375"><td class="mdescLeft">&#160;</td><td class="mdescRight">Has the value changed since last call?  <a href="#a54608ff0fdac6b8e05c8ece4fd3f8375">More...</a><br /></td></tr>
149<tr class="separator:a54608ff0fdac6b8e05c8ece4fd3f8375"><td class="memSeparator" colspan="2">&#160;</td></tr>
150<tr class="inherit_header pub_methods_classflair_1_1gui_1_1_widget"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflair_1_1gui_1_1_widget')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classflair_1_1gui_1_1_widget.html">flair::gui::Widget</a></td></tr>
151<tr class="memitem:a7b867cc6c603cbc5e5a2f39f083a9494 inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_widget.html#a7b867cc6c603cbc5e5a2f39f083a9494">Widget</a> (const <a class="el" href="classflair_1_1gui_1_1_widget.html">Widget</a> *parent, std::string name, std::string type)</td></tr>
152<tr class="memdesc:a7b867cc6c603cbc5e5a2f39f083a9494 inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a7b867cc6c603cbc5e5a2f39f083a9494">More...</a><br /></td></tr>
153<tr class="separator:a7b867cc6c603cbc5e5a2f39f083a9494 inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="memSeparator" colspan="2">&#160;</td></tr>
154<tr class="memitem:a81110928e09e909dc1cc90971de4e8a9 inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_widget.html#a81110928e09e909dc1cc90971de4e8a9">~Widget</a> ()</td></tr>
155<tr class="memdesc:a81110928e09e909dc1cc90971de4e8a9 inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a81110928e09e909dc1cc90971de4e8a9">More...</a><br /></td></tr>
156<tr class="separator:a81110928e09e909dc1cc90971de4e8a9 inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="memSeparator" colspan="2">&#160;</td></tr>
157<tr class="memitem:a814a933622114ad9c8f5d49014262d89 inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_widget.html#a814a933622114ad9c8f5d49014262d89">setEnabled</a> (bool status)</td></tr>
158<tr class="memdesc:a814a933622114ad9c8f5d49014262d89 inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set enabled.  <a href="#a814a933622114ad9c8f5d49014262d89">More...</a><br /></td></tr>
159<tr class="separator:a814a933622114ad9c8f5d49014262d89 inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="memSeparator" colspan="2">&#160;</td></tr>
160<tr class="memitem:a299877c38b297ada04542e4dfc5a2f4f inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_widget.html#a299877c38b297ada04542e4dfc5a2f4f">isEnabled</a> (void) const </td></tr>
161<tr class="memdesc:a299877c38b297ada04542e4dfc5a2f4f inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is enabled?  <a href="#a299877c38b297ada04542e4dfc5a2f4f">More...</a><br /></td></tr>
162<tr class="separator:a299877c38b297ada04542e4dfc5a2f4f inherit pub_methods_classflair_1_1gui_1_1_widget"><td class="memSeparator" colspan="2">&#160;</td></tr>
163<tr class="inherit_header pub_methods_classflair_1_1core_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflair_1_1core_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classflair_1_1core_1_1_object.html">flair::core::Object</a></td></tr>
164<tr class="memitem:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#aec92383fd5bf68d9df10414862b7e95c">Object</a> (const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *parent=NULL, std::string name=&quot;&quot;, std::string type=&quot;&quot;)</td></tr>
165<tr class="memdesc:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aec92383fd5bf68d9df10414862b7e95c">More...</a><br /></td></tr>
166<tr class="separator:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
167<tr class="memitem:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#aa2bde0e6677bbef705c96c93cb06ad09">~Object</a> ()</td></tr>
168<tr class="memdesc:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#aa2bde0e6677bbef705c96c93cb06ad09">More...</a><br /></td></tr>
169<tr class="separator:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
170<tr class="memitem:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a9b0344dff7e1c05424d9152c8274523a">ObjectName</a> (void) const </td></tr>
171<tr class="memdesc:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name.  <a href="#a9b0344dff7e1c05424d9152c8274523a">More...</a><br /></td></tr>
172<tr class="separator:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
173<tr class="memitem:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a609a250ec037fbcaf8957c8f1dcbfc53">ObjectType</a> (void) const </td></tr>
174<tr class="memdesc:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type.  <a href="#a609a250ec037fbcaf8957c8f1dcbfc53">More...</a><br /></td></tr>
175<tr class="separator:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
176<tr class="memitem:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a360c112cc3017a5152ebf6e84d2efa70">Parent</a> (void) const </td></tr>
177<tr class="memdesc:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parent.  <a href="#a360c112cc3017a5152ebf6e84d2efa70">More...</a><br /></td></tr>
178<tr class="separator:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
179<tr class="memitem:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#ae22db4d723ec2d50b3ba48f26a6a770c">TypeChilds</a> (void) const </td></tr>
180<tr class="memdesc:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Childs of the same type.  <a href="#ae22db4d723ec2d50b3ba48f26a6a770c">More...</a><br /></td></tr>
181<tr class="separator:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
182<tr class="memitem:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a344f81cd35805a9501098bf727ac1a10">Childs</a> (void) const </td></tr>
183<tr class="memdesc:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Childs.  <a href="#a344f81cd35805a9501098bf727ac1a10">More...</a><br /></td></tr>
184<tr class="separator:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
185<tr class="memitem:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#af001feba14fc053aa778e61080a0b4cf">Information</a> (const char *function, int line, const char *format,...) const </td></tr>
186<tr class="memdesc:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted information.  <a href="#af001feba14fc053aa778e61080a0b4cf">More...</a><br /></td></tr>
187<tr class="separator:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
188<tr class="memitem:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a168b18451b2ee6126e1e81d452005ff6">Warning</a> (const char *function, const char *format,...) const </td></tr>
189<tr class="memdesc:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted warning.  <a href="#a168b18451b2ee6126e1e81d452005ff6">More...</a><br /></td></tr>
190<tr class="separator:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
191<tr class="memitem:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a3ca9694d29ec2b0491739879685df5ca">Error</a> (const char *function, const char *format,...) const </td></tr>
192<tr class="memdesc:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted error.  <a href="#a3ca9694d29ec2b0491739879685df5ca">More...</a><br /></td></tr>
193<tr class="separator:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
194<tr class="memitem:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a36cdd7f556e78b1bddd1d1fe4264bb85">ErrorOccured</a> (bool recursive=true) const </td></tr>
195<tr class="memdesc:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Has an errror occured?  <a href="#a36cdd7f556e78b1bddd1d1fe4264bb85">More...</a><br /></td></tr>
196<tr class="separator:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
197</table><table class="memberdecls">
198<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
199Protected Member Functions</h2></td></tr>
200<tr class="memitem:a97997d50ef96b359564c2d6b94db1edc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_box.html#a97997d50ef96b359564c2d6b94db1edc">SetValueChanged</a> (void)</td></tr>
201<tr class="memdesc:a97997d50ef96b359564c2d6b94db1edc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value changed flag.  <a href="#a97997d50ef96b359564c2d6b94db1edc">More...</a><br /></td></tr>
202<tr class="separator:a97997d50ef96b359564c2d6b94db1edc"><td class="memSeparator" colspan="2">&#160;</td></tr>
203<tr class="memitem:a72d33c20718419d566e198840318e22f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_box.html#a72d33c20718419d566e198840318e22f">GetMutex</a> (void) const </td></tr>
204<tr class="memdesc:a72d33c20718419d566e198840318e22f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get Mutex.  <a href="#a72d33c20718419d566e198840318e22f">More...</a><br /></td></tr>
205<tr class="separator:a72d33c20718419d566e198840318e22f"><td class="memSeparator" colspan="2">&#160;</td></tr>
206<tr class="memitem:a3d1e4e81c7c59a051368a346a104c988"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_box.html#a3d1e4e81c7c59a051368a346a104c988">ReleaseMutex</a> (void) const </td></tr>
207<tr class="memdesc:a3d1e4e81c7c59a051368a346a104c988"><td class="mdescLeft">&#160;</td><td class="mdescRight">Release Mutex.  <a href="#a3d1e4e81c7c59a051368a346a104c988">More...</a><br /></td></tr>
208<tr class="separator:a3d1e4e81c7c59a051368a346a104c988"><td class="memSeparator" colspan="2">&#160;</td></tr>
209<tr class="inherit_header pro_methods_classflair_1_1gui_1_1_widget"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classflair_1_1gui_1_1_widget')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classflair_1_1gui_1_1_widget.html">flair::gui::Widget</a></td></tr>
210<tr class="memitem:a0e81847db5a84b2e7e26545c9b1b704f inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
211<tr class="memitem:a0e81847db5a84b2e7e26545c9b1b704f inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_widget.html#a0e81847db5a84b2e7e26545c9b1b704f">SetPersistentXmlProp</a> (std::string prop, T value)</td></tr>
212<tr class="memdesc:a0e81847db5a84b2e7e26545c9b1b704f inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a persistent xml property.  <a href="#a0e81847db5a84b2e7e26545c9b1b704f">More...</a><br /></td></tr>
213<tr class="separator:a0e81847db5a84b2e7e26545c9b1b704f inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memSeparator" colspan="2">&#160;</td></tr>
214<tr class="memitem:a6404c7f474be994ec4e72a97e45dfffa inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
215<tr class="memitem:a6404c7f474be994ec4e72a97e45dfffa inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_widget.html#a6404c7f474be994ec4e72a97e45dfffa">GetPersistentXmlProp</a> (std::string prop, T &amp;value)</td></tr>
216<tr class="memdesc:a6404c7f474be994ec4e72a97e45dfffa inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a persistent xml property.  <a href="#a6404c7f474be994ec4e72a97e45dfffa">More...</a><br /></td></tr>
217<tr class="separator:a6404c7f474be994ec4e72a97e45dfffa inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memSeparator" colspan="2">&#160;</td></tr>
218<tr class="memitem:abe5ab96255919238138527c92fbeb6d8 inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
219<tr class="memitem:abe5ab96255919238138527c92fbeb6d8 inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_widget.html#abe5ab96255919238138527c92fbeb6d8">SetVolatileXmlProp</a> (std::string prop, T value, xmlNodePtr node=NULL)</td></tr>
220<tr class="memdesc:abe5ab96255919238138527c92fbeb6d8 inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a volatile xml property.  <a href="#abe5ab96255919238138527c92fbeb6d8">More...</a><br /></td></tr>
221<tr class="separator:abe5ab96255919238138527c92fbeb6d8 inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memSeparator" colspan="2">&#160;</td></tr>
222<tr class="memitem:ac80f72906580f269b5881c1ef0b35afb inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_widget.html#ac80f72906580f269b5881c1ef0b35afb">SendXml</a> (void)</td></tr>
223<tr class="memdesc:ac80f72906580f269b5881c1ef0b35afb inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send xml.  <a href="#ac80f72906580f269b5881c1ef0b35afb">More...</a><br /></td></tr>
224<tr class="separator:ac80f72906580f269b5881c1ef0b35afb inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memSeparator" colspan="2">&#160;</td></tr>
225<tr class="memitem:a92d4e0613146c9b348b388f3f75cca9e inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1gui_1_1_widget.html#a92d4e0613146c9b348b388f3f75cca9e">XmlEvent</a> (void)</td></tr>
226<tr class="memdesc:a92d4e0613146c9b348b388f3f75cca9e inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="mdescLeft">&#160;</td><td class="mdescRight">Xml event.  <a href="#a92d4e0613146c9b348b388f3f75cca9e">More...</a><br /></td></tr>
227<tr class="separator:a92d4e0613146c9b348b388f3f75cca9e inherit pro_methods_classflair_1_1gui_1_1_widget"><td class="memSeparator" colspan="2">&#160;</td></tr>
228</table><table class="memberdecls">
229<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
230Additional Inherited Members</h2></td></tr>
231<tr class="inherit_header pub_types_classflair_1_1core_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classflair_1_1core_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classflair_1_1core_1_1_object.html">flair::core::Object</a></td></tr>
232<tr class="memitem:aed5fccda511f97487040fed29f4efc97 inherit pub_types_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed5fccda511f97487040fed29f4efc97"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>color_t</b> { <b>Auto</b> = 0,
233<b>Red</b> = 31,
234<b>Green</b> = 32,
235<b>Orange</b> = 33
236 }</td></tr>
237<tr class="separator:aed5fccda511f97487040fed29f4efc97 inherit pub_types_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
238</table>
239<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
240<div class="textblock"><p>Abstract class to display a box on the ground station. </p>
241<p>This is an abstract class to display boxes (like <a class="el" href="classflair_1_1gui_1_1_check_box.html" title="Class displaying a QCheckBox on the ground station. ">CheckBox</a>, <a class="el" href="classflair_1_1gui_1_1_spin_box.html" title="Class displaying a QSpinBox on the ground station. ">SpinBox</a>, etc). <br />
242 To access reimplemented box's value, use <a class="el" href="classflair_1_1gui_1_1_box.html#a72d33c20718419d566e198840318e22f" title="Get Mutex. ">Box::GetMutex</a> and <a class="el" href="classflair_1_1gui_1_1_box.html#a3d1e4e81c7c59a051368a346a104c988" title="Release Mutex. ">Box::ReleaseMutex</a>. <br />
243 Note that this mutex is in reality the one from the parent <a class="el" href="classflair_1_1gui_1_1_layout.html" title="Abstract class to display a layout on the ground station. ">Layout</a>. To minimize memory footprint, each <a class="el" href="classflair_1_1gui_1_1_box.html" title="Abstract class to display a box on the ground station. ">Box</a> does not have its own Mutex. </p>
244</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
245<a class="anchor" id="a2f126878bf430425982c367e709ea438"></a>
246<div class="memitem">
247<div class="memproto">
248      <table class="memname">
249        <tr>
250          <td class="memname">flair::gui::Box::Box </td>
251          <td>(</td>
252          <td class="paramtype">const <a class="el" href="classflair_1_1gui_1_1_layout_position.html">LayoutPosition</a> *&#160;</td>
253          <td class="paramname"><em>position</em>, </td>
254        </tr>
255        <tr>
256          <td class="paramkey"></td>
257          <td></td>
258          <td class="paramtype">std::string&#160;</td>
259          <td class="paramname"><em>name</em>, </td>
260        </tr>
261        <tr>
262          <td class="paramkey"></td>
263          <td></td>
264          <td class="paramtype">std::string&#160;</td>
265          <td class="paramname"><em>type</em>&#160;</td>
266        </tr>
267        <tr>
268          <td></td>
269          <td>)</td>
270          <td></td><td></td>
271        </tr>
272      </table>
273</div><div class="memdoc">
274
275<p>Constructor. </p>
276<p>Construct a <a class="el" href="classflair_1_1gui_1_1_box.html" title="Abstract class to display a box on the ground station. ">Box</a>. <br />
277 Type must agree with predifined (hard coded) types in ground station code. <br />
278 The <a class="el" href="classflair_1_1gui_1_1_box.html" title="Abstract class to display a box on the ground station. ">Box</a> will automatically be child of position-&gt;getLayout() <a class="el" href="classflair_1_1gui_1_1_layout.html" title="Abstract class to display a layout on the ground station. ">Layout</a>. After calling this method, position will be deleted as it is no longer usefull.</p>
279<dl class="params"><dt>Parameters</dt><dd>
280  <table class="params">
281    <tr><td class="paramname">position</td><td>position </td></tr>
282    <tr><td class="paramname">name</td><td>name </td></tr>
283    <tr><td class="paramname">type</td><td>type </td></tr>
284  </table>
285  </dd>
286</dl>
287
288</div>
289</div>
290<a class="anchor" id="adfd9a664f5096bbe85cdebf021f542ea"></a>
291<div class="memitem">
292<div class="memproto">
293      <table class="memname">
294        <tr>
295          <td class="memname">flair::gui::Box::~Box </td>
296          <td>(</td>
297          <td class="paramname"></td><td>)</td>
298          <td></td>
299        </tr>
300      </table>
301</div><div class="memdoc">
302
303<p>Destructor. </p>
304
305</div>
306</div>
307<h2 class="groupheader">Member Function Documentation</h2>
308<a class="anchor" id="a54608ff0fdac6b8e05c8ece4fd3f8375"></a>
309<div class="memitem">
310<div class="memproto">
311      <table class="memname">
312        <tr>
313          <td class="memname">bool flair::gui::Box::ValueChanged </td>
314          <td>(</td>
315          <td class="paramtype">void&#160;</td>
316          <td class="paramname"></td><td>)</td>
317          <td></td>
318        </tr>
319      </table>
320</div><div class="memdoc">
321
322<p>Has the value changed since last call? </p>
323<p>This method returns the value of an internal flag which is set through <a class="el" href="classflair_1_1gui_1_1_box.html#a97997d50ef96b359564c2d6b94db1edc" title="Set the value changed flag. ">SetValueChanged()</a>. <br />
324After calling this method, the internal flag is set to false.</p>
325<dl class="section return"><dt>Returns</dt><dd>true is valued has changed since last call </dd></dl>
326
327</div>
328</div>
329<a class="anchor" id="a97997d50ef96b359564c2d6b94db1edc"></a>
330<div class="memitem">
331<div class="memproto">
332<table class="mlabels">
333  <tr>
334  <td class="mlabels-left">
335      <table class="memname">
336        <tr>
337          <td class="memname">void flair::gui::Box::SetValueChanged </td>
338          <td>(</td>
339          <td class="paramtype">void&#160;</td>
340          <td class="paramname"></td><td>)</td>
341          <td></td>
342        </tr>
343      </table>
344  </td>
345  <td class="mlabels-right">
346<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
347  </tr>
348</table>
349</div><div class="memdoc">
350
351<p>Set the value changed flag. </p>
352<p>The reimplemented class must call this method when <a class="el" href="classflair_1_1gui_1_1_box.html" title="Abstract class to display a box on the ground station. ">Box</a>'s value is changed. <br />
353 This method must be called with Mutex locked. Indeed, as reimplemented class also has to lock the Mutex to change the <a class="el" href="classflair_1_1gui_1_1_box.html" title="Abstract class to display a box on the ground station. ">Box</a> value, this mecanism avoid two successives lock and unlock. </p>
354
355</div>
356</div>
357<a class="anchor" id="a72d33c20718419d566e198840318e22f"></a>
358<div class="memitem">
359<div class="memproto">
360<table class="mlabels">
361  <tr>
362  <td class="mlabels-left">
363      <table class="memname">
364        <tr>
365          <td class="memname">void flair::gui::Box::GetMutex </td>
366          <td>(</td>
367          <td class="paramtype">void&#160;</td>
368          <td class="paramname"></td><td>)</td>
369          <td> const</td>
370        </tr>
371      </table>
372  </td>
373  <td class="mlabels-right">
374<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
375  </tr>
376</table>
377</div><div class="memdoc">
378
379<p>Get Mutex. </p>
380<p>This method must be called before changing <a class="el" href="classflair_1_1gui_1_1_box.html" title="Abstract class to display a box on the ground station. ">Box</a>'s value or calling <a class="el" href="classflair_1_1gui_1_1_box.html#a97997d50ef96b359564c2d6b94db1edc" title="Set the value changed flag. ">SetValueChanged()</a>. </p>
381
382</div>
383</div>
384<a class="anchor" id="a3d1e4e81c7c59a051368a346a104c988"></a>
385<div class="memitem">
386<div class="memproto">
387<table class="mlabels">
388  <tr>
389  <td class="mlabels-left">
390      <table class="memname">
391        <tr>
392          <td class="memname">void flair::gui::Box::ReleaseMutex </td>
393          <td>(</td>
394          <td class="paramtype">void&#160;</td>
395          <td class="paramname"></td><td>)</td>
396          <td> const</td>
397        </tr>
398      </table>
399  </td>
400  <td class="mlabels-right">
401<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
402  </tr>
403</table>
404</div><div class="memdoc">
405
406<p>Release Mutex. </p>
407<p>This method must be called after changing <a class="el" href="classflair_1_1gui_1_1_box.html" title="Abstract class to display a box on the ground station. ">Box</a>'s value or calling <a class="el" href="classflair_1_1gui_1_1_box.html#a97997d50ef96b359564c2d6b94db1edc" title="Set the value changed flag. ">SetValueChanged()</a>. </p>
408
409</div>
410</div>
411</div><!-- contents -->
412</div><!-- doc-content -->
413<!-- start footer part -->
414<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
415  <ul>
416    <li class="navelem"><a class="el" href="namespaceflair.html">flair</a></li><li class="navelem"><a class="el" href="namespaceflair_1_1gui.html">gui</a></li><li class="navelem"><a class="el" href="classflair_1_1gui_1_1_box.html">Box</a></li>
417    <li class="footer">Generated on Mon Apr 18 2016 17:27:09 for Flair by
418    <a href="http://www.doxygen.org/index.html">
419    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
420  </ul>
421</div>
422</body>
423</html>
Note: See TracBrowser for help on using the repository browser.