Commit Graph

301 Commits

Author SHA1 Message Date
Klaus Basan
67f0c22f09 refs #335, added mute / volume functions for infobarstatus 2014-11-30 00:53:18 +01:00
Klaus Basan
fa60703a1d refs #335, added functionality for com components
* set COM unit values
* set values in context
2014-11-30 00:53:15 +01:00
Klaus Basan
48741c218f refs #335, changed info areas, obtain actions for main menu 2014-11-30 00:53:13 +01:00
Klaus Basan
efb89dd7be Renaming to ..component*
* mainkeypadareacomponent
* audiovolumecomponent
* audiosetupcomponent
2014-11-30 00:53:05 +01:00
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
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
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
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
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
ac9960d615 Refine header includes to improve build times. 2014-11-14 15:39:02 +00:00
Roland Winklmeier
4903993bd5 refs #341 Fix variableScope warnings 2014-11-05 16:34:24 +01:00
Mathew Sutcliffe
d0894d2cf9 refs #336 Convenience methods to create validation messages. 2014-10-16 17:06:31 +01:00
Mathew Sutcliffe
5991981789 refs #336 Removed the old getMessageCategory methods. 2014-10-16 17:06:21 +01:00
Mathew Sutcliffe
a294e8db0f refs #336 Using the new CLogMessage syntax to log messages. 2014-10-16 17:05:50 +01:00
Klaus Basan
663740d5bd refs #310, adjusted components / GUI to use renamed methods 2014-10-08 19:12:22 +02:00
Mathew Sutcliffe
8664ed01a8 refs #325, used MS' worker class and removed redundant code
* contains "hacked-in demonstration of CWorker usage"
2014-10-07 13:10:50 +02:00
Klaus Basan
e745885906 refs #325, added some comments to simplify review 2014-10-07 13:10:47 +02:00
Klaus Basan
e929423fc9 Some GUI finetuning
* tabBar expanding
* removed setDocumentMode
* Flight plan in scroll area
2014-10-07 13:10:45 +02:00
Klaus Basan
e545288630 refs#325, made simulator component CDockWidgetInfoAreaComponent compliant, finetuning with resizing in some components
* updates can be skipped, when widget is invisible
* current tab? only current tab updates
* reduced resize frequency in some cases
2014-10-07 13:10:44 +02:00
Klaus Basan
7304d8bd3e refs #325, name variant pair allows test for existing values
* equal value updates can be skipped
* equalsQVariant in CValueObject
* resizing parameter for views
2014-10-07 13:10:43 +02:00
Klaus Basan
f10e625b7f Added tooltips for some columns
* tooltips in views
* new helper method with tooltip
2014-10-07 13:10:42 +02:00
Klaus Basan
ae0ef4283c Display number of table rows in tab
* countChanged event
* applied in components
2014-10-07 13:10:41 +02:00
Klaus Basan
84b5cee7d8 Fixed / Improved timer handling in timer based component 2014-10-07 13:10:39 +02:00
Klaus Basan
ef5f5bde0f Formatting, new icons, minor tweaks 2014-10-07 13:10:37 +02:00
Klaus Basan
88951318de refs #325, using async updates in ATC station component 2014-10-07 13:10:30 +02:00
Klaus Basan
dc3eff1c1f refs #325, added async update member function to CListModelBase / CViewBase (+ resize modes)
* model:
** required a non templated base class for Q_OBJECT / slots
** added worker for thread, QConcurrent is not used as it does not work with template classes
* views:
** added cpp file for view base class
** added template parameter for container in views
** different modes how resizing will be applied
2014-10-07 13:10:28 +02:00
Klaus Basan
89dc0fb289 refs #325 update worker base class for asynchronous updates 2014-10-07 13:10:27 +02:00
Klaus Basan
59e409b0fb refs #325, reduced loading in aircraft component 2014-10-07 13:10:25 +02:00
Klaus Basan
d9cc02844d refs #325, reduced loading in users component 2014-10-07 13:10:24 +02:00
Klaus Basan
530d4b89ef refs #325, reduced loading in ATC stations component 2014-10-07 13:10:23 +02:00
Klaus Basan
f7719fb08b refs #325, improved info area
* signal when tab bar is changed (goal: reload in components when info area changes)
* tab bar locking (avoid unintended floating)
2014-10-07 13:10:22 +02:00
Klaus Basan
9e6a9a28cb Fixed bug in CListModelBase, avoid double sorting 2014-10-07 13:10:21 +02:00
Klaus Basan
2a11411bc0 refs #325 added sort flag for models / views, allow to update, but not to sort 2014-10-07 13:10:19 +02:00