Commit Graph

1442 Commits

Author SHA1 Message Date
Klaus Basan
11e9b37326 Formatting 2014-11-30 00:53:03 +01:00
Klaus Basan
6f8d85e864 refs #335, GUI finetuning
* combo boxes, size model changed - fixes the issue with the settings exceeding the boundaries
* main window can be minimized
* renaming the main page
* style sheet
2014-11-30 00:53:00 +01:00
Klaus Basan
216b9f170d refs #335 disable context logging to console in swiftgui_std 2014-11-30 00:52:53 +01:00
Klaus Basan
73eee7af1e refs #335, made audio setup a component so it can be used in settings and cockpit 2014-11-30 00:52:47 +01:00
Klaus Basan
ccf308eda1 refs #335, updated GUI layout and style sheet 2014-11-30 00:52:45 +01:00
Klaus Basan
7c5729ff44 refs #335 show / hide bar 2014-11-30 00:52:42 +01:00
Klaus Basan
7028bcf66a refs #335, cockpit component:
* COM unit
* show / hide bar
* info area (nested)
2014-11-30 00:52:39 +01:00
Klaus Basan
fc4fb23b91 refs #335, nested menu for dockwidgetinfoarea,
parent info areas can be accessed
2014-11-30 00:52:37 +01:00
Klaus Basan
6e332683b1 refs #335, updated dock widget
* removed unused methods
* added toggleVisibility
* renamed slot
2014-11-30 00:52:34 +01:00
Klaus Basan
3617fcdfec refs #335, improved infoarea
* changed from index to "name based" tabs, allows to change order
* renamed misc. vars, members
* removed unused methods
* set current tab by widget
2014-11-30 00:52:27 +01:00
Klaus Basan
c2a335977b refs #335, improved voice room component
* slots for URLs
* connect signal/slots
* enabled for runtime
2014-11-30 00:52:15 +01:00
Klaus Basan
3c4fc76094 refs #335, renaming 2014-11-30 00:52:12 +01:00
Klaus Basan
e6a5e2960f refs #335, changed info areas
* remove unused methods
* changed ui, preferred size and such
* changed ctor for CEnableForDockWidgetInfoArea and made setParentDockWidgetInfoArea virtual
* adjusted derived classes ctor
* added enum and area methods for cockpitinfoarea
2014-11-30 00:52:10 +01:00
Klaus Basan
594df164a2 * Remove unused members. Re-added by mistake during merge.
Discussed here: https://dev.vatsim-germany.org/boards/22/topics/2124?r=2138#message-2138
2014-11-30 00:52:02 +01:00
Klaus Basan
5a623c530d refs #335, voice room component in new cockpit 2014-11-29 22:38:59 +01:00
Klaus Basan
6d01376e37 fixed paintEvent 2014-11-29 22:38:56 +01:00
Klaus Basan
df5169ee98 refs #335, renaming
* the term "components" will only be used for GUI components (derived from QWidget/ QWidget derived classes) fron now on
* timer, and enabler classes renamed accordingly: CEnableForRuntime, CEnableForDockWidgetInfoArea, CUpdateTimer
* adjusted all dependent classes
2014-11-29 22:38:53 +01:00
Klaus Basan
bb8b515c87 refs #335, changed ui to QScopedPointer 2014-11-29 22:38:51 +01:00
Klaus Basan
5eaaf70fcd refs #335, renamed enums in Application context
component means something different in GUI, renamed to application
2014-11-29 22:38:48 +01:00
Klaus Basan
678cc2e0cc refs #335, adjusted member init in main window 2014-11-29 22:38:45 +01:00
Klaus Basan
cd7e2f6f72 refs #335, findParentInfoAreas method to allow nested context menus 2014-11-29 22:38:42 +01:00
Klaus Basan
9452ff10c9 refs #335, preparation for new cockpit
* allow nested info areas
* added cockpit info area
* fixed several finder methods to excluded nested info areas from child elements
* using QScopedPointer for ui
* placeholder GUI components for new cockpit
2014-11-29 22:38:40 +01:00
Klaus Basan
b0f01a3ec6 refs #335, formatting, member initialization, new icons, remove redundant methods 2014-11-29 22:38:37 +01:00
Klaus Basan
c965fbb785 refs #335, style sheet fixes / improvements and support methods
style sheets:
* style sheets with background textures
* scroll area / toolbox style sheet fix
* floating dock widgets
* kept 1st version of stylesheets in backup directory
* removed maininfoarea stylesheet, no longer needed with fixed style sheet

code
* central paintEvent method to enable style sheets in derived widgets
* detect frameless windows, dynamic properties
2014-11-29 22:38:34 +01:00
Klaus Basan
65c2ed9db4 refs #335, new icons, textures / placeholders 2014-11-22 19:13:59 +01:00
Mathew Sutcliffe
620e8a7752 Fixed MinGW warning emitted when optimizations are enabled. 2014-11-21 01:37:00 +00:00
Mathew Sutcliffe
ff3b7fb2d6 MinGW debug build: enabled optimizations which don't interfere with debugging. This improves linker performance by reducing the size of the object files. 2014-11-21 01:35:45 +00:00
Mathew Sutcliffe
b43d631697 One more cppcheck warning. 2014-11-18 01:19:51 +00:00
Mathew Sutcliffe
4f342fade6 Fixed cppcheck warnings. 2014-11-16 23:05:38 +00:00
Mathew Sutcliffe
2cda546ceb Fixed Clang warnings. 2014-11-16 21:36:35 +00:00
Mathew Sutcliffe
9b06bb1a1e Fix for CListModelBase::at to support classes with defaulted (C++11 §8.4.2/4) default constructors. 2014-11-16 13:51:54 +00:00
Mathew Sutcliffe
60e1f306f6 Fix for CRange::frontOrDefault to support classes with defaulted (C++11 §8.4.2/4) default constructors. 2014-11-15 13:34:35 +00:00
Mathew Sutcliffe
8a3ba8bbed Fixed failing tests. refs #345 2014-11-15 02:28:39 +00:00
Mathew Sutcliffe
ac9960d615 Refine header includes to improve build times. 2014-11-14 15:39:02 +00:00
Mathew Sutcliffe
2a9c1e70c9 Fix for Jenkins build. refs #345 2014-11-14 15:38:41 +00:00
Mathew Sutcliffe
4c60515482 refs #345 Workaround a limitation of MinGW by moving the largest registerMetadata functions into their own cpp files. 2014-11-10 20:45:28 +00:00
Mathew Sutcliffe
f219d290f1 refs #345 Third and final wave of value classes using the CValueObjectStdTuple CRTP class template, with policy classes. 2014-11-10 20:45:18 +00:00
Mathew Sutcliffe
2b9d4098d4 refs #345 Extending CValueObjectStdTuple with policy classes to enable it to be used by classes which have different requirements. 2014-11-10 20:45:07 +00:00
Mathew Sutcliffe
40362e706a refs #345 Second wave of value classes using the CValueObjectStdTuple CRTP class template, with inheritance. 2014-11-10 20:44:56 +00:00
Mathew Sutcliffe
79e401887c refs #345 A second template parameter in CValueObjectStdTuple allows to select the base class, for inheritance hierarchies. 2014-11-10 20:44:36 +00:00
Mathew Sutcliffe
4c8148acf1 refs #345 First wave of value classes using the CValueObjectStdTuple CRTP class template. 2014-11-10 20:44:25 +00:00
Mathew Sutcliffe
ecf8e6aafb refs #345 Added a metatuple flag for case insensitive comparisons, so CAirportIcao and CCallsign comparisons can use metatuples. 2014-11-10 20:44:11 +00:00
Mathew Sutcliffe
1283d50737 refs #345 Refactored TupleConverter flags so that they can be accessed by Private::Attribute. 2014-11-10 20:43:57 +00:00
Mathew Sutcliffe
ff9612115b refs #345 Private::Attribute: friend function operators for symmetry/consistency. 2014-11-10 20:43:43 +00:00
Mathew Sutcliffe
8f7c10f306 refs #345 Symmetric equality operators complete the original implementation of CValueObjectStdTuple. 2014-11-10 20:43:33 +00:00
Mathew Sutcliffe
1a5856e34c refs #345 For consistency, CValueObjectStdTuple is friend of TupleConverter specialization for template value classes. 2014-11-10 20:43:22 +00:00
Mathew Sutcliffe
e436fa3870 refs #345 Tuple tweaks to improve error messages. 2014-11-10 20:43:08 +00:00
Mathew Sutcliffe
8e5a9111bd refs #345 Removed nonsense code (copy-paste mistake). 2014-11-10 20:42:54 +00:00
Mathew Sutcliffe
69e8ff1c5c refs #345 Fixed mistake. 2014-11-10 20:42:44 +00:00
Mathew Sutcliffe
798b198d4e refs #345 Style and doxygen. 2014-11-10 20:42:31 +00:00