Commit Graph

3278 Commits

Author SHA1 Message Date
Klaus Basan
2dec348c8c Formatting from refs #678 2016-06-25 16:00:36 +02:00
Klaus Basan
12d06aceef refs #678, using QString for queried string, not full model anymore 2016-06-25 16:00:36 +02:00
Klaus Basan
a132972f27 Fixed index/property order 2016-06-25 16:00:34 +02:00
Klaus Basan
3087a94ea8 refs #678 and slack discussion, renamed enum name
https://dev.vatsim-germany.org/issues/678#note-7
2016-06-25 16:00:33 +02:00
Klaus Basan
fe600e3557 refs #419, finetunig GUI settings 2016-06-25 16:00:32 +02:00
Klaus Basan
47ae35a30a refs 419, improved pilot client navigator
* added setting and allow to restore/save state
* allow to set margins
* fixed style sheet
* moved margin function to utility
2016-06-25 16:00:31 +02:00
Klaus Basan
635410857e refs #419, reviewed style sheet paintEvent code
* removed for QWidget
* added for QDialog
http://stackoverflow.com/questions/37952348/enable-own-widget-for-stylesheet
2016-06-25 16:00:30 +02:00
Klaus Basan
2d669e0e21 Removed vertical header from weather UI, adjusted margins 2016-06-25 16:00:15 +02:00
Klaus Basan
83d0234d3c refs #680, call help URL from menu
* added central functionality in CGuiApplication
* function in global setup for URL
2016-06-23 20:13:36 +02:00
Klaus Basan
22162970fd Some style sheet adjustment, normalized context menu
(still some details to solve)
2016-06-23 20:13:35 +02:00
Klaus Basan
c1179ed52b refs #680, now display CDockWidget context menus in views/info area 2016-06-23 20:13:34 +02:00
Klaus Basan
44bfcc2d9c Allow to reset dockwidget settings/margins
* changed name to object name
* reset to defaults possible
2016-06-23 20:13:33 +02:00
Klaus Basan
30b9900ea3 refs #676, adjusted GUI to support 1..n model directories 2016-06-23 20:13:32 +02:00
Klaus Basan
0a0f8cf85c refs #676, utility function to eliminate nested subdirectories 2016-06-23 20:13:30 +02:00
Klaus Basan
554d1add79 refs #676, allow 1..n model directories
* adjusted loaders
* changed settings
2016-06-23 20:13:29 +02:00
Klaus Basan
8b39e6f9c3 Formatting / warning fix (RW slack)
'initializing': conversion from 'size_t' to 'const int', possible loss of data
2016-06-23 20:13:29 +02:00
Klaus Basan
32d6d68c83 refs #674, code for hover/drop indicator
* item delegate for callback to view for hover
* proxy style for draw drop indicator as primitive
* added functions to view base for hover / callbacks
* highlight hover row in model
2016-06-23 20:13:28 +02:00
Klaus Basan
ce7362a9d9 refs #675 default URL for bootstrap file
* CApplication now has member function isUnitTest
* bootstrap URL has hardcoded default URL when running as unit test
* unit tests are automatically marked as "running in dev. environment"
2016-06-23 20:13:26 +02:00
Roland Winklmeier
ef1b7b2c21 Use QSKIP to flag a test 'skipped', if server is not reachable
refs #682
2016-06-22 14:23:07 +02:00
Mathew Sutcliffe
fdfc5256eb Configure additional xml output for each unit test via a BlackMisc utility class
refs #682
2016-06-22 14:22:22 +02:00
Roland Winklmeier
fbad0977fd Make fast position update settings persistent
Instead of enabling fast position updates via context methods, the
settings API will be used instead. This also allowed to move the timer
into CNetworkVatlib instead of CAirspaceMonitor. The only necessary thing
was to regularly update the receiver callsign set.

refs #677
2016-06-20 13:20:54 +02:00
Roland Winklmeier
1d1ca0faa3 Add interim position update settings
refs #677
2016-06-20 13:17:38 +02:00
Roland Winklmeier
a97a6609a8 CCallsignSet std::initializer_list constructor 2016-06-20 13:17:38 +02:00
Roland Winklmeier
3f4422920a Weather UI Component
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
6a79802c1b Weather UI Views
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
099282d0aa Weather UI Models
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
91728fe414 Reduce the number of debug messages in CWeatherDataGfs 2016-06-17 10:46:31 +02:00
Roland Winklmeier
7ca5d63ce5 Retrieve precipitation rate from GFS data
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
eeab2b0568 Add method to check if CIdentifier is anonymous
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
62491ad4e6 Add another CWeatherManager API to request weather grid
Instead of the existing one, this newly added API allows to request
a weather grid without a callback as argument. Instead the final grid
will be emitted as signal.
This API is also made available in ISimulatorContext for GUI access.

refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
10c4fa920d Add weather scenario settings to simulator plugins
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
de0729faad Value object for fixed weather scenario
This value object can be used to load, save and distribute fixed
weather scenarios.

refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
027b344d11 WeatherDataGfs: Calculate dew point
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
4a489c642f Add missing CTemperatureLayer property indexes
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
3a1605b553 Differentiate None from Unknown in CCloudLayer
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
ebe039d267 Add missing CCloudLayer property indexes
refs #663
2016-06-17 10:46:31 +02:00
Roland Winklmeier
a68cd16a7a Doxygen 2016-06-17 10:46:31 +02:00
Roland Winklmeier
26a72d5eb2 Consider QObject could be null in CSlot 2016-06-17 10:46:31 +02:00
Mathew Sutcliffe
4b441c5d56 Latest libxplanemp. 2016-06-15 14:10:27 +01:00
Mathew Sutcliffe
b98752e84e refs #672 setAndSave should still save even if the value is not actually changed. 2016-06-15 00:30:56 +01:00
Mathew Sutcliffe
58a04ed05c refs #672 Fixed omission in cache change relay which caused setAndSave to fail to save. 2016-06-15 00:30:56 +01:00
Mathew Sutcliffe
61127f9088 refs #672 Fixed getTimestampOnDisk returning wrong timestamp when called while loading is in progress. 2016-06-15 00:30:56 +01:00
Klaus Basan
7d1a5b242d Moved log subscription to front
(see https://dev.vatsim-germany.org/boards/22/topics/2871?r=2875#message-2875)
2016-06-15 00:11:31 +02:00
Klaus Basan
6c3a57d648 refs #585, integrated simulator basic settings to pilot client 2016-06-15 00:11:30 +02:00
Klaus Basan
177ad4b38c refs #585, GUI component for settings
(integrated in mapping tool for a 1st test)
2016-06-15 00:11:29 +02:00
Klaus Basan
e87df66590 refs #585, adjusted samples to use settings 2016-06-15 00:11:27 +02:00
Klaus Basan
bc344c73fc refs #585, adjusted loaders
* use paths from settings
* no longer pass model directory and exclude directories
2016-06-15 00:11:26 +02:00
Klaus Basan
1ef1cc0021 refs #585, adjusted XP utils 2016-06-15 00:11:24 +02:00
Klaus Basan
80ee210701 refs #585, improved FS utils
* added registry keys and support for P3D and steam
* only determine paths once (static const)
2016-06-15 00:11:23 +02:00
Klaus Basan
a848d2ce68 refs #585, utility function to make directory path relative and find first file existing 2016-06-15 00:11:22 +02:00