123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- <!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">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.18"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>openPilotLog: ASettings 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>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.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" />
- <link href="custom_dark_theme.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 style="height: 56px;">
- <td id="projectlogo"><img alt="Logo" src="icon_main.png"/></td>
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">openPilotLog
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.18 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(function(){initNavTree('class_a_settings.html',''); initResizable(); });
- /* @license-end */
- </script>
- <div id="doc-content">
- <!-- 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">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <div class="header">
- <div class="summary">
- <a href="#pub-types">Public Types</a> |
- <a href="#pub-static-methods">Static Public Member Functions</a> |
- <a href="class_a_settings-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">ASettings Class Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <p>Thin wrapper for the QSettings class, simplifying reading and writing of settings.
- <a href="class_a_settings.html#details">More...</a></p>
- <p><code>#include <<a class="el" href="asettings_8h_source.html">asettings.h</a>></code></p>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
- Public Types</h2></td></tr>
- <tr class="memitem:aba5614e128b0474ef4830842e5054c5c"><td class="memItemLeft" align="right" valign="top"><a id="aba5614e128b0474ef4830842e5054c5c"></a>enum  </td><td class="memItemRight" valign="bottom"><b>Main</b> { <br />
-   <b>SetupComplete</b>,
- <b>Style</b>,
- <b>Font</b>,
- <b>FontSize</b>,
- <br />
-   <b>UseSystemFont</b>,
- <b>LogbookView</b>,
- <b>DateFormat</b>
- <br />
- }</td></tr>
- <tr class="separator:aba5614e128b0474ef4830842e5054c5c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad5929c2e477b65d82afd89afa7c8af48"><td class="memItemLeft" align="right" valign="top"><a id="ad5929c2e477b65d82afd89afa7c8af48"></a>enum  </td><td class="memItemRight" valign="bottom"><b>UserData</b> { <br />
-   <b>DisplaySelfAs</b>,
- <b>TailSortColumn</b>,
- <b>PilotSortColumn</b>,
- <b>AcftAllowIncomplete</b>,
- <br />
-   <b>FtlWarningThreshold</b>,
- <b>CurrWarningEnabled</b>,
- <b>CurrWarningThreshold</b>,
- <b>ShowToLgdCurrency</b>,
- <br />
-   <b>ShowLicCurrency</b>,
- <b>ShowTrCurrency</b>,
- <b>ShowLckCurrency</b>,
- <b>ShowMedCurrency</b>,
- <br />
-   <b>ShowCustom1Currency</b>,
- <b>ShowCustom2Currency</b>,
- <b>Custom1CurrencyName</b>,
- <b>Custom2CurrencyName</b>
- <br />
- }</td></tr>
- <tr class="separator:ad5929c2e477b65d82afd89afa7c8af48"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a14b8b4d54cec3c1474f7a4402223a59a"><td class="memItemLeft" align="right" valign="top"><a id="a14b8b4d54cec3c1474f7a4402223a59a"></a>enum  </td><td class="memItemRight" valign="bottom"><b>FlightLogging</b> { <br />
-   <b>Function</b>,
- <b>Approach</b>,
- <b>NightLoggingEnabled</b>,
- <b>LogIFR</b>,
- <br />
-   <b>FlightNumberPrefix</b>,
- <b>NumberTakeoffs</b>,
- <b>NumberLandings</b>,
- <b>PilotFlying</b>,
- <br />
-   <b>NightAngle</b>,
- <b>Rules</b>,
- <b>FlightTimeFormat</b>,
- <b>FunctionComboBox</b>
- <br />
- }</td></tr>
- <tr class="separator:a14b8b4d54cec3c1474f7a4402223a59a"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
- Static Public Member Functions</h2></td></tr>
- <tr class="memitem:a383ea9d59ea8878ca873465eb19bbe85"><td class="memItemLeft" align="right" valign="top"><a id="a383ea9d59ea8878ca873465eb19bbe85"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_settings.html#a383ea9d59ea8878ca873465eb19bbe85">setup</a> ()</td></tr>
- <tr class="memdesc:a383ea9d59ea8878ca873465eb19bbe85"><td class="mdescLeft"> </td><td class="mdescRight">Should be called after QCoreApplication::set...Name have been called. <br /></td></tr>
- <tr class="separator:a383ea9d59ea8878ca873465eb19bbe85"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2dbc2e3510363c09e45223f4bbdc5e59"><td class="memItemLeft" align="right" valign="top"><a id="a2dbc2e3510363c09e45223f4bbdc5e59"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_settings.html#a2dbc2e3510363c09e45223f4bbdc5e59">resetToDefaults</a> ()</td></tr>
- <tr class="memdesc:a2dbc2e3510363c09e45223f4bbdc5e59"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="class_a_settings.html#a2dbc2e3510363c09e45223f4bbdc5e59" title="ASettings::resetToDefaults (Re-)sets all settings to the default value.">ASettings::resetToDefaults</a> (Re-)sets all settings to the default value. <br /></td></tr>
- <tr class="separator:a2dbc2e3510363c09e45223f4bbdc5e59"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab5cfc5a86610f8cf8567189adbfa0128"><td class="memItemLeft" align="right" valign="top"><a id="ab5cfc5a86610f8cf8567189adbfa0128"></a>
- static QVariant </td><td class="memItemRight" valign="bottom"><b>read</b> (const Main key)</td></tr>
- <tr class="separator:ab5cfc5a86610f8cf8567189adbfa0128"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aef4b7accf9d89792ce44ee6d80bac158"><td class="memItemLeft" align="right" valign="top"><a id="aef4b7accf9d89792ce44ee6d80bac158"></a>
- static void </td><td class="memItemRight" valign="bottom"><b>write</b> (const Main key, const QVariant &val)</td></tr>
- <tr class="separator:aef4b7accf9d89792ce44ee6d80bac158"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afea41d25282ca14260b73ffc10680aee"><td class="memItemLeft" align="right" valign="top"><a id="afea41d25282ca14260b73ffc10680aee"></a>
- static QVariant </td><td class="memItemRight" valign="bottom"><b>read</b> (const FlightLogging key)</td></tr>
- <tr class="separator:afea41d25282ca14260b73ffc10680aee"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1066e997c99110d47d1575e8a80a972c"><td class="memItemLeft" align="right" valign="top"><a id="a1066e997c99110d47d1575e8a80a972c"></a>
- static void </td><td class="memItemRight" valign="bottom"><b>write</b> (const UserData key, const QVariant &val)</td></tr>
- <tr class="separator:a1066e997c99110d47d1575e8a80a972c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad39dee6fce95bc95dae6780ef4ace0c3"><td class="memItemLeft" align="right" valign="top"><a id="ad39dee6fce95bc95dae6780ef4ace0c3"></a>
- static QVariant </td><td class="memItemRight" valign="bottom"><b>read</b> (const UserData key)</td></tr>
- <tr class="separator:ad39dee6fce95bc95dae6780ef4ace0c3"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae6af53e2e9d86457eb7b6cf511519f8c"><td class="memItemLeft" align="right" valign="top"><a id="ae6af53e2e9d86457eb7b6cf511519f8c"></a>
- static void </td><td class="memItemRight" valign="bottom"><b>write</b> (const FlightLogging key, const QVariant &val)</td></tr>
- <tr class="separator:ae6af53e2e9d86457eb7b6cf511519f8c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6fc09922de0182271c6c1ff001792da1"><td class="memItemLeft" align="right" valign="top"><a id="a6fc09922de0182271c6c1ff001792da1"></a>
- static QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_settings.html#a6fc09922de0182271c6c1ff001792da1">groupOfKey</a> (const Main key)</td></tr>
- <tr class="memdesc:a6fc09922de0182271c6c1ff001792da1"><td class="mdescLeft"> </td><td class="mdescRight">Return string representation of group of key: "ini_header/key". <br /></td></tr>
- <tr class="separator:a6fc09922de0182271c6c1ff001792da1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa0ebfd1eaa72d79d607f1b4f07ec3881"><td class="memItemLeft" align="right" valign="top"><a id="aa0ebfd1eaa72d79d607f1b4f07ec3881"></a>
- static QString </td><td class="memItemRight" valign="bottom"><b>groupOfKey</b> (const FlightLogging key)</td></tr>
- <tr class="separator:aa0ebfd1eaa72d79d607f1b4f07ec3881"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a94f25ca42be1f5ad302ac4093724114b"><td class="memItemLeft" align="right" valign="top"><a id="a94f25ca42be1f5ad302ac4093724114b"></a>
- static QString </td><td class="memItemRight" valign="bottom"><b>groupOfKey</b> (const UserData key)</td></tr>
- <tr class="separator:a94f25ca42be1f5ad302ac4093724114b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af88194014c7599e8c9fe488c5b1ebf99"><td class="memItemLeft" align="right" valign="top"><a id="af88194014c7599e8c9fe488c5b1ebf99"></a>
- static QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_settings.html#af88194014c7599e8c9fe488c5b1ebf99">stringOfKey</a> (const Main key)</td></tr>
- <tr class="memdesc:af88194014c7599e8c9fe488c5b1ebf99"><td class="mdescLeft"> </td><td class="mdescRight">Return string representation of key. <br /></td></tr>
- <tr class="separator:af88194014c7599e8c9fe488c5b1ebf99"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3df6522cd6b0151792ba73dd00dd2f65"><td class="memItemLeft" align="right" valign="top"><a id="a3df6522cd6b0151792ba73dd00dd2f65"></a>
- static QString </td><td class="memItemRight" valign="bottom"><b>stringOfKey</b> (const FlightLogging key)</td></tr>
- <tr class="separator:a3df6522cd6b0151792ba73dd00dd2f65"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af23a3c23274e3105572f9b66532daf77"><td class="memItemLeft" align="right" valign="top"><a id="af23a3c23274e3105572f9b66532daf77"></a>
- static QString </td><td class="memItemRight" valign="bottom"><b>stringOfKey</b> (const UserData key)</td></tr>
- <tr class="separator:af23a3c23274e3105572f9b66532daf77"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab1c6651ff2fd050d7759557f9cfe0054"><td class="memItemLeft" align="right" valign="top"><a id="ab1c6651ff2fd050d7759557f9cfe0054"></a>
- static QSettings </td><td class="memItemRight" valign="bottom"><b>settings</b> ()</td></tr>
- <tr class="separator:ab1c6651ff2fd050d7759557f9cfe0054"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><p>Thin wrapper for the QSettings class, simplifying reading and writing of settings. </p>
- </div><hr/>The documentation for this class was generated from the following files:<ul>
- <li>src/classes/<a class="el" href="asettings_8h_source.html">asettings.h</a></li>
- <li>src/classes/asettings.cpp</li>
- </ul>
- </div><!-- contents -->
- </div><!-- doc-content -->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="class_a_settings.html">ASettings</a></li>
- <li class="footer">Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
- </ul>
- </div>
- </body>
- </html>
|