Klaus Basan
d4e126932b
Fixes of review included (Concurrency 2, https://dev.vatsim-germany.org/issues/325#note-14 )
2014-10-07 13:10:48 +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
be0d1e8153
refs #325 , using new applyIf method in airspace monitor
2014-10-07 13:10:36 +02:00
Klaus Basan
6795158c7e
refs #325 , testing new applyIf method
2014-10-07 13:10:35 +02:00
Klaus Basan
31646b91f6
refs #330 , relevant predicate-based container mutator methods now return the number of elements they modified.
2014-10-07 13:10:34 +02:00
Klaus Basan
4b50134d2a
refs #325 , refs #330 fixed apply method to return list of changed properties
...
* changed CValueObject apply
* created CIndexPropertyList
* renamed CIndexVariantMap to CPropertyIndexVariantMap
2014-10-07 13:10:33 +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
ee2bddd92b
refs #329 , PropertyIndex assert
...
* remark 1: The setup values tagged GlobalIndexAbuseMode are subject of change
* remark 2: Fixed some comments / Doxygen with this here
2014-10-07 13:10:26 +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
Klaus Basan
053c248f06
refs #325 , added async. sort (kind of experimental feature to see performance impact)
2014-10-07 13:10:18 +02:00
Klaus Basan
5d6713032f
Formatting, new icons
2014-10-07 13:10:17 +02:00
Klaus Basan
b989dec74d
Slightly changed ATC stations appearance, reload ATIS / load METAR
2014-10-07 13:08:23 +02:00
Klaus Basan
2d1226fefc
refs #325 , reduced loading in ATC stations component
2014-10-07 13:08:22 +02:00
Klaus Basan
6e2204beeb
refs #325 , using CDockWidgetInfoAreaComponent in components
2014-10-07 13:08:21 +02:00
Klaus Basan
1cba31541b
refs #325 , supporting class to make parent dock widget and info area available to a component.
...
By that, the component has access to "isWidgetVisible", "isFloating" etc.
2014-10-07 13:08:19 +02:00
Klaus Basan
1ce7b11988
Formatting, renaming
2014-10-07 13:08:18 +02:00
Klaus Basan
936cc7c147
refs #325 , as preparation to reduce loading I need to find out when an info area is visible.
...
Existing functions visible() / isHidden() are not suitable, as those represent "technical visibility".
We need a logical visibility telling us if the user can see / has selected the corresponing dockable widget.
* New base class info area (where dockable widgets are placed)
* Adjusted derived component (currently 1)
* Cleaned up old code in floatAllWidgets
2014-10-07 13:08:17 +02:00
Klaus Basan
2d7fe607fe
Fixed station list tooltips
2014-10-07 13:08:16 +02:00
Mathew Sutcliffe
d1d276c559
refs #316 Reordered header includes.
2014-10-04 22:17:14 +01:00
Mathew Sutcliffe
5795845400
refs #316 Doxygen.
2014-10-04 22:17:12 +01:00
Mathew Sutcliffe
ebab95dd06
refs #316 Application context relays messages over DBus between the CLogHandler instances of different processes.
2014-10-04 22:17:09 +01:00
Mathew Sutcliffe
eceb67c38f
refs #316 Application context: removed old message handler.
2014-10-04 22:17:06 +01:00
Mathew Sutcliffe
2c0e6505a0
refs #316 Debug messages should not be displayed by simulator plugins.
2014-10-04 22:17:04 +01:00
Mathew Sutcliffe
a68ad8ec7d
refs #316 Simulator context subscribes to log messages on behalf of the simulator plugin.
2014-10-04 22:17:01 +01:00
Mathew Sutcliffe
dc4de279d0
refs #316 Swiftcore, swiftgui, and samples use CLogHandler to display subscribed messages.
2014-10-04 22:16:59 +01:00
Mathew Sutcliffe
aef7135e28
refs #316 Removed old statusMessage signals and sendStatusMessage slots.
2014-10-04 22:16:56 +01:00
Mathew Sutcliffe
b1c74d81e5
refs #316 Removed old logging mechanism in contexts.
2014-10-04 22:16:53 +01:00
Mathew Sutcliffe
d7a2fa3dea
refs #316 Swiftgui using CLogMessage to emit messages.
2014-10-04 22:16:51 +01:00
Mathew Sutcliffe
f7e2523eaa
refs #316 Blackgui changes: using CLogMessage and removed sendStatusMessage signals.
2014-10-04 22:16:48 +01:00
Mathew Sutcliffe
87086f7e37
refs #316 Removed no longer used static status message methods in CSettingUtilities.
2014-10-04 22:16:45 +01:00
Mathew Sutcliffe
5d123f798a
refs #316 Changed blackcore to use CLogMessage to emit messages.
...
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:43 +01:00
Mathew Sutcliffe
b16b02c3d6
refs #316 Changed blackmisc and blacksim to use CLogMessage to emit messages.
...
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:40 +01:00
Mathew Sutcliffe
ed723c5e97
refs #316 Added CLogHandler which allows to subscribe to log messages.
2014-10-04 22:16:37 +01:00
Mathew Sutcliffe
ce6cdf12a7
refs #316 Added CLogMessage for logging messages, and corresponding changes to CStatusMessage and CTextMessage.
2014-10-04 22:16:35 +01:00
Roland Winklmeier
8ba1a37ea7
Fix warning detected by gcc 4.9.1
...
- unused variables
- linker error with the MinGW DX SDK
- don't delete a void* pointer
- initialization order
2014-09-28 13:09:39 +02:00
Roland Winklmeier
f43f3013fe
refs #308 QMetaObject always requires the full namespace for string based lookup
2014-09-13 14:53:00 +02:00