Commit Graph

4148 Commits

Author SHA1 Message Date
Roland Winklmeier
c94295e473 Remove aircrafts limitation in FS9 plugin
It should not be the plugins descision to limit
the number of displayed aircrafts. Triggered an
assert
2014-10-08 01:35:07 +02:00
Roland Winklmeier
4950d63702 Fix typo 2014-10-08 01:35:05 +02:00
Roland Winklmeier
2417e4599d refs #331 Add size methods to all FS9 packets
Not all methods could be static, hence they are all
non-static for consistency.
2014-10-08 01:35:02 +02:00
Roland Winklmeier
a46cd750d1 refs #331 Send a default packet (gear down) to FS9 2014-10-08 01:34:54 +02:00
Roland Winklmeier
374be69d8a refs #331 Add FS9 animation param packet 2014-10-08 01:34:51 +02:00
Roland Winklmeier
716b5cc00e Fix missing enumeration value and break statement in switch 2014-10-08 00:17:26 +02:00
Roland Winklmeier
522c1263ef Fix missing removedAircraft signals when disconnecting from network 2014-10-07 23:37:12 +02:00
Roland Winklmeier
23c54a968d Fix missing includes in CDictionary 2014-10-07 23:37:10 +02:00
Roland Winklmeier
704721b01a refs #324 Enable the assert in addAircraftSituation 2014-10-07 23:37:07 +02:00
Roland Winklmeier
faf931742a refs #324 Remove timeout implementation from MSFS plugins 2014-10-07 23:37:04 +02:00
Roland Winklmeier
5fe4ea3039 refs #324 connect airspace watchdog to airspace monitor 2014-10-07 23:36:59 +02:00
Roland Winklmeier
d6cbf10854 refs #324 airspace watchdog
CAirspaceWatchdog times out clients, if a no update has been received
for a configured time
2014-10-07 23:36:57 +02:00
Roland Winklmeier
d032d250d5 Fix missing mutex include on Linux 2014-10-07 16:41:18 +02:00
Klaus Basan
49f7758c99 Ignore files due to update to Qt Creator 3.2 2014-10-07 13:19:55 +02:00
Klaus Basan
0d74afe02a Fixed return type to void as discussed:
https://dev.vatsim-germany.org/issues/325#note-26
2014-10-07 13:17:37 +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
Mathew Sutcliffe
418dd5e126 refs #325, CWorker class for executing arbitrary tasks in their own threads 2014-10-07 13:10:49 +02:00
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