Commit Graph

3309 Commits

Author SHA1 Message Date
Klaus Basan
8d5020d78e Some Web readers adjustemnts
* do not init shared URLs before needed
* do not load info objects when DB is unavailable
* adjust reader flags when DB is down
* airport URL available in setup
2016-07-03 13:22:26 +02:00
Klaus Basan
773f318a07 ref #701, "improved countries"
* utility function for "accent free" strings
* added 3 letter ISO, alias names
* improved searching in countries
2016-07-03 13:22:25 +02:00
Klaus Basan
50f1d71978 Missing metatype registration 2016-07-03 13:22:24 +02:00
Klaus Basan
2e78674f09 Sort servers for later comparison (the comparison which avoids unnecessary saving and signals) 2016-07-03 13:22:23 +02:00
Klaus Basan
663b161b0c Gimmick and formatting
* flags for VATSIM servers
* improved country resolution
2016-07-03 13:22:06 +02:00
Klaus Basan
18112a0394 refs #693, integrated GUI close dialog
* utility function in CGuiApplication containing the logic (dialog needed, ..)
* closeEvent function
2016-07-01 14:38:33 +02:00
Klaus Basan
6650f18e57 refs #693, GUI dialog when application closes 2016-07-01 14:19:35 +02:00
Mathew Sutcliffe
744c7235e6 Context methods giving proper access to new settings save methods. 2016-06-30 22:43:45 +01:00
Mathew Sutcliffe
843620ca3c Caches: method to save values given a list of keys. 2016-06-30 22:20:32 +01:00
Mathew Sutcliffe
242e041ceb refs #679 CValueCache local signal relay moved to the point of emission, to tolerate different orders of initialization of application. 2016-06-30 02:06:16 +01:00
Mathew Sutcliffe
8b73da6ed6 refs #691 Make sure to set status correctly in interpolator. 2016-06-29 20:16:26 +01:00
Mathew Sutcliffe
76db851bc4 refs #691 INetwork must set timestamp for received situations. 2016-06-29 20:16:26 +01:00
Mathew Sutcliffe
37b8436ebb refs #679 Missing values in json should not cause members of default-constructed object to be overwritten. 2016-06-29 17:34:52 +01:00
Mathew Sutcliffe
903abcf514 refs #679 CApplication shall ensure CSettingsCache relay signal is connected when context is not available. 2016-06-29 17:34:51 +01:00
Klaus Basan
6f97e7290b refs #681, FSD UI at login screen
* plus completers for login GUI (ICAO, ...)
* some utility functions in related value object classed
2016-06-29 15:38:15 +02:00
Klaus Basan
b4a9531357 refs #690, remember last login data
* cache/setting for last values
* integrated in login component
* allow to set default value for server selection
2016-06-29 15:38:13 +02:00
Klaus Basan
42fdcea72c refs #681, use per server FSD setup in network vatlb
Refactoring
* encapsulated position timers start/stop
* only start interim position timer when connected
* use Q_FUNC_INFO for Q_ASSERT_X
* interim pos. interval as const values
* private VatlibQScopedPointerDeleter (slack discussion)
2016-06-29 15:38:12 +02:00
Klaus Basan
5c4e4e978e refs #681, removed old FSD settings (we use server based FSD setup now) 2016-06-29 15:38:11 +02:00
Klaus Basan
c133ad04c7 refs #681, using FSD setup in server 2016-06-29 15:38:10 +02:00
Klaus Basan
75a7ca382c refs #681, adjusted form classes
* made server form a CForm, not a component
* adjusted other forms
2016-06-29 15:38:09 +02:00
Klaus Basan
2d00ff42fe refs #681, GUI FSD setup
* form base class adjusted
* GUI form UI
2016-06-29 15:38:08 +02:00
Klaus Basan
0939b1f08f refs #687, further performance improvements
* avoid redundant reads by excluding entities which will be periodically updated
* restart timers when data are received, avoid overlapping requests
2016-06-29 15:38:07 +02:00
Klaus Basan
fcba4f2e75 refs #681, value object for FSD setup 2016-06-29 15:38:06 +02:00
Klaus Basan
c85b5d9341 refs #686, GUI for reader settings
* component
2016-06-29 15:38:05 +02:00
Klaus Basan
0fca9c1f18 refs #687, use hash to avoid unnecessary operations
* for bookings
* VATSIM file (plus check if cache really changed before writing)
* METARs
2016-06-29 15:38:04 +02:00
Klaus Basan
0253da8bf9 Minor improvements
* space in message
* removed ns Simulation
* Doxygen
2016-06-29 01:04:44 +02:00
Klaus Basan
dc02ff2d0c Addded log categories / human readable pattern 2016-06-29 01:04:44 +02:00
Klaus Basan
488d437a2a #refs 686, used settings in readers
* moved threaded reader to BlackCore (settings are normally BlackCore aware)
* created ns/subfolder VATSIM
* prepared settings for the VATSIM readers
2016-06-29 01:04:41 +02:00
Klaus Basan
056841f9b1 refs #685, settings for readers (value object, traits) 2016-06-29 01:04:39 +02:00
Klaus Basan
3ca9d729c8 refs #685, utility function 2016-06-29 01:04:23 +02:00
Klaus Basan
5b506e7bd1 refs #678, fixes bug reported by MS + improvements
* made clients threadsafe
* use clients to decide if model string is queried
* init aircraft/airline ICAO codes with DB data where possible
* Allow acces to log utility functions of matcher
2016-06-29 01:04:22 +02:00
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