Commit Graph

1307 Commits

Author SHA1 Message Date
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
Roland Winklmeier
2ab1a0f847 refs #308 lobby client 2014-09-13 14:52:58 +02:00
Roland Winklmeier
b00d67e90c refs #308 improved client thread handling and cleanup
Threads are now waiting for closure
2014-09-13 14:52:55 +02:00
Roland Winklmeier
bd8eba6913 refs #308 style 2014-09-13 14:52:53 +02:00
Roland Winklmeier
1cbc02a4c5 refs #308 Fixed missing CoUninitialize 2014-09-13 14:52:50 +02:00
Roland Winklmeier
53b257fa3d refs #308 Instead of enumerating hosts, use the well known host url
Since we are hosting in the same process, we can get the URL from the host
object and pass it to new clients.
2014-09-13 14:52:47 +02:00
Roland Winklmeier
7a02aff7b9 refs #308 private slot for client status changes 2014-09-13 14:39:43 +02:00
Roland Winklmeier
65be5149ee refs #308 free function to print DirectPlay error messages 2014-09-13 14:12:07 +02:00
Mathew Sutcliffe
39aa5e2f0a Fixed #326 wrong and unnecessary Q_DECLARE_METATYPE caused duplicate definitions of class template explicit specialization 2014-09-12 19:45:33 +01:00
Mathew Sutcliffe
472cf525d7 Workaround error C2797 when compiling with MSVC 2013 Update 3.
For more info see http://msdn.microsoft.com/en-us/library/dn793970.aspx
2014-09-12 19:36:58 +01:00
Klaus Basan
d3e6a3f721 refs #327, fixed the includes as discussed with 327
* no #include "valueobject.h" in blackmiscfreefunctions
* missing includes as mentioned by RW
2014-09-11 18:34:54 +02:00
Klaus Basan
c5eb1151d4 refs #327, CStatusMessage based on CRTP (proof of concept) 2014-09-11 18:34:52 +02:00
Klaus Basan
6aba823f4f refs #327, CRTP for CValueObject classes
* using toMetaTuple, no jsonMembers function
* no un/equal operator as discussed
2014-09-11 18:34:27 +02:00
Klaus Basan
02bfa01cc9 refs #322, fix for non-firing timer. Also adjusted input counts for online data 2014-09-11 12:08:10 +02:00
Klaus Basan
bce67b7873 refs #319, refs #322 user can force reload and clearing the data in views
* context menu
* timer based component can fire directly
* View base class (non templated) so it can use Q_OBJECT
2014-09-11 12:08:09 +02:00
Klaus Basan
b576e21b48 Workaround for assert in FSX plugin, refs #324 2014-09-11 12:07:56 +02:00
Klaus Basan
4500bda125 Added updates by VATSIM data file for voice capabilities 2014-09-09 20:07:29 +02:00
Klaus Basan
2127238ed4 Doxygen, renaming, formatting
* Formatting, renaming to current schema
* Minor tweaks
2014-09-09 20:07:27 +02:00
Klaus Basan
681201377a refs #322 added support for profile build as discussed 2014-09-09 20:07:25 +02:00
Klaus Basan
e4545f23d2 refs #322, included context menu and methods for injecting test data (ATC stations) in GUI 2014-09-09 20:07:23 +02:00
Klaus Basan
87e87013f9 refs #322, performance samples
* menu for samples, no need to comment things out
2014-09-09 20:07:22 +02:00