123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- <!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.9.1"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>openPilotLog: Settings 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.9.1 -->
- <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','.html');
- /* @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_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_settings-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">Settings 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_settings.html#details">More...</a></p>
- <p><code>#include <<a class="el" href="settings_8h_source.html">settings.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:ad773155b416593422351cfd13fa0988a"><td class="memItemLeft" align="right" valign="top"><a id="ad773155b416593422351cfd13fa0988a"></a>enum class  </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:ad773155b416593422351cfd13fa0988a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aec0902ffbe61e904967453056bf4522b"><td class="memItemLeft" align="right" valign="top"><a id="aec0902ffbe61e904967453056bf4522b"></a>enum class  </td><td class="memItemRight" valign="bottom"><b>UserData</b> { <br />
-   <b>DisplaySelfAs</b>
- , <b>TailSortColumn</b>
- , <b>PilotSortColumn</b>
- , <b>FtlWarningThreshold</b>
- , <br />
-   <b>CurrWarningThreshold</b>
- , <b>ShowToLgdCurrency</b>
- , <b>ShowLicCurrency</b>
- , <b>ShowTrCurrency</b>
- , <br />
-   <b>ShowLckCurrency</b>
- , <b>ShowMedCurrency</b>
- , <b>ShowCustom1Currency</b>
- , <b>ShowCustom2Currency</b>
- , <br />
-   <b>Custom1CurrencyName</b>
- , <b>Custom2CurrencyName</b>
- <br />
- }</td></tr>
- <tr class="separator:aec0902ffbe61e904967453056bf4522b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a43c8bcc5043cdb47eda97d1386d187e7"><td class="memItemLeft" align="right" valign="top"><a id="a43c8bcc5043cdb47eda97d1386d187e7"></a>enum class  </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>PilotFlying</b>
- , <b>NightAngle</b>
- <br />
- }</td></tr>
- <tr class="separator:a43c8bcc5043cdb47eda97d1386d187e7"><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:a15c8ec82ace3649517d3f2f1bd943b66"><td class="memItemLeft" align="right" valign="top"><a id="a15c8ec82ace3649517d3f2f1bd943b66"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a15c8ec82ace3649517d3f2f1bd943b66">setup</a> ()</td></tr>
- <tr class="memdesc:a15c8ec82ace3649517d3f2f1bd943b66"><td class="mdescLeft"> </td><td class="mdescRight">Should be called after QCoreApplication::set...Name have been called. <br /></td></tr>
- <tr class="separator:a15c8ec82ace3649517d3f2f1bd943b66"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa26da663d96a908585fb90c6444f975b"><td class="memItemLeft" align="right" valign="top"><a id="aa26da663d96a908585fb90c6444f975b"></a>
- static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#aa26da663d96a908585fb90c6444f975b">resetToDefaults</a> ()</td></tr>
- <tr class="memdesc:aa26da663d96a908585fb90c6444f975b"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="class_settings.html#aa26da663d96a908585fb90c6444f975b" title="Settings::resetToDefaults (Re-)sets all settings to the default value.">Settings::resetToDefaults</a> (Re-)sets all settings to the default value. <br /></td></tr>
- <tr class="separator:aa26da663d96a908585fb90c6444f975b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aec518e95a03d5ff6e999756ba015ffa0"><td class="memItemLeft" align="right" valign="top"><a id="aec518e95a03d5ff6e999756ba015ffa0"></a>
- static QVariant </td><td class="memItemRight" valign="bottom"><b>read</b> (const Main key)</td></tr>
- <tr class="separator:aec518e95a03d5ff6e999756ba015ffa0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7f24cef54e7e28cc01c312acfeefec4d"><td class="memItemLeft" align="right" valign="top"><a id="a7f24cef54e7e28cc01c312acfeefec4d"></a>
- static void </td><td class="memItemRight" valign="bottom"><b>write</b> (const Main key, const QVariant &val)</td></tr>
- <tr class="separator:a7f24cef54e7e28cc01c312acfeefec4d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3ca5be51df62f94f4763bd55256627c5"><td class="memItemLeft" align="right" valign="top"><a id="a3ca5be51df62f94f4763bd55256627c5"></a>
- static QVariant </td><td class="memItemRight" valign="bottom"><b>read</b> (const FlightLogging key)</td></tr>
- <tr class="separator:a3ca5be51df62f94f4763bd55256627c5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a45772487ba213f70fa8fa2c8f57dd46f"><td class="memItemLeft" align="right" valign="top"><a id="a45772487ba213f70fa8fa2c8f57dd46f"></a>
- static void </td><td class="memItemRight" valign="bottom"><b>write</b> (const UserData key, const QVariant &val)</td></tr>
- <tr class="separator:a45772487ba213f70fa8fa2c8f57dd46f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aad7abd7032f601b6dc535195d68fe9ec"><td class="memItemLeft" align="right" valign="top"><a id="aad7abd7032f601b6dc535195d68fe9ec"></a>
- static QVariant </td><td class="memItemRight" valign="bottom"><b>read</b> (const UserData key)</td></tr>
- <tr class="separator:aad7abd7032f601b6dc535195d68fe9ec"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7bd82c8398781688095057d227405e81"><td class="memItemLeft" align="right" valign="top"><a id="a7bd82c8398781688095057d227405e81"></a>
- static void </td><td class="memItemRight" valign="bottom"><b>write</b> (const FlightLogging key, const QVariant &val)</td></tr>
- <tr class="separator:a7bd82c8398781688095057d227405e81"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a383fcbcbdc4875a7bfe78adafa1bf434"><td class="memItemLeft" align="right" valign="top"><a id="a383fcbcbdc4875a7bfe78adafa1bf434"></a>
- static QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a383fcbcbdc4875a7bfe78adafa1bf434">groupOfKey</a> (const Main key)</td></tr>
- <tr class="memdesc:a383fcbcbdc4875a7bfe78adafa1bf434"><td class="mdescLeft"> </td><td class="mdescRight">Return string representation of group of key: "ini_header/key". <br /></td></tr>
- <tr class="separator:a383fcbcbdc4875a7bfe78adafa1bf434"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a95ab752b0270a83a6e7137a4b5813c67"><td class="memItemLeft" align="right" valign="top"><a id="a95ab752b0270a83a6e7137a4b5813c67"></a>
- static QString </td><td class="memItemRight" valign="bottom"><b>groupOfKey</b> (const FlightLogging key)</td></tr>
- <tr class="separator:a95ab752b0270a83a6e7137a4b5813c67"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a026c28b54029b1d2641bc58664a23ccd"><td class="memItemLeft" align="right" valign="top"><a id="a026c28b54029b1d2641bc58664a23ccd"></a>
- static QString </td><td class="memItemRight" valign="bottom"><b>groupOfKey</b> (const UserData key)</td></tr>
- <tr class="separator:a026c28b54029b1d2641bc58664a23ccd"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5607bfbe89ee46c468cd0912e191ca08"><td class="memItemLeft" align="right" valign="top"><a id="a5607bfbe89ee46c468cd0912e191ca08"></a>
- static QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_settings.html#a5607bfbe89ee46c468cd0912e191ca08">stringOfKey</a> (const Main key)</td></tr>
- <tr class="memdesc:a5607bfbe89ee46c468cd0912e191ca08"><td class="mdescLeft"> </td><td class="mdescRight">Return string representation of key. <br /></td></tr>
- <tr class="separator:a5607bfbe89ee46c468cd0912e191ca08"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a51b9c2b631939cea25a7c9aa7bbef728"><td class="memItemLeft" align="right" valign="top"><a id="a51b9c2b631939cea25a7c9aa7bbef728"></a>
- static QString </td><td class="memItemRight" valign="bottom"><b>stringOfKey</b> (const FlightLogging key)</td></tr>
- <tr class="separator:a51b9c2b631939cea25a7c9aa7bbef728"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a638714c15f1853789abc332af86fd364"><td class="memItemLeft" align="right" valign="top"><a id="a638714c15f1853789abc332af86fd364"></a>
- static QString </td><td class="memItemRight" valign="bottom"><b>stringOfKey</b> (const UserData key)</td></tr>
- <tr class="separator:a638714c15f1853789abc332af86fd364"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a529d2c05573494740e1f45c946349352"><td class="memItemLeft" align="right" valign="top"><a id="a529d2c05573494740e1f45c946349352"></a>
- static QSettings </td><td class="memItemRight" valign="bottom"><b>settings</b> ()</td></tr>
- <tr class="separator:a529d2c05573494740e1f45c946349352"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0c1faf096c16f1626ce9f5c67ce666a3"><td class="memItemLeft" align="right" valign="top"><a id="a0c1faf096c16f1626ce9f5c67ce666a3"></a>
- static void </td><td class="memItemRight" valign="bottom"><b>sync</b> ()</td></tr>
- <tr class="separator:a0c1faf096c16f1626ce9f5c67ce666a3"><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="settings_8h_source.html">settings.h</a></li>
- <li>src/classes/settings.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_settings.html">Settings</a></li>
- <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
- </ul>
- </div>
- </body>
- </html>
|