Commit Graph

490 Commits

Author SHA1 Message Date
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
c1179ed52b refs #680, now display CDockWidget context menus in views/info area 2016-06-23 20:13:34 +02:00
Klaus Basan
30b9900ea3 refs #676, adjusted GUI to support 1..n model directories 2016-06-23 20:13:32 +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
3f4422920a Weather UI Component
refs #663
2016-06-17 10:46: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
04d5239300 refs #585, allow to use last simulator as default 2016-06-15 00:11:21 +02:00
Mathew Sutcliffe
9bef6854ca Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get. 2016-06-08 18:21:01 +02:00
Klaus Basan
c39882e5db refs #649, further fixes and improvements
* call of non-virtual function in ctor
* use getCopy
* return number of merged models
* change current simulator in model set loader (fixes infinite loop: change data -> signal -> change data).
2016-06-08 18:20:59 +02:00
Klaus Basan
67512d9d1f refs #512, GUI improvements
* menu widget to correct margin
* optimized stylesheet by adding dynamic properties for CDockWidget widgets (allows better qss selection)
2016-06-08 18:20:49 +02:00
Klaus Basan
a25a0d1c0c New slot style for navigator dialog 2016-06-08 18:20:48 +02:00
Klaus Basan
e3fd8d2c78 refs #649, default values for selectors based on own model set 2016-06-08 18:20:47 +02:00
Klaus Basan
9855c9dd08 refs #649, use current simulator from model set loader to init distributor selector 2016-06-08 18:20:46 +02:00
Klaus Basan
2ae2370299 refs #649, read data per simulator, not for "current simulator" 2016-06-08 18:20:43 +02:00
Klaus Basan
875b311ede refs #649, with #659 deferred caches available
* adjustments to use deferred caches
* removed simulator from CAircraftModelSetLoader`s signature as it was not used
* only change current simulator when explicitly set (avoid unintended setting)
* added function to obtain number of elements from model caches
2016-06-08 18:20:39 +02:00
Klaus Basan
771c531125 Avoid scaling for null pixmaps (results in warnings) 2016-06-08 18:20:38 +02:00
Klaus Basan
8ad640704c refs #661, allow to sort by distributor order in builder
* some style changes
* pass distributors to builder
* distributor model mode
* flags
2016-06-08 18:20:34 +02:00
Klaus Basan
97742f4a87 refs #661, improved model set dialog
* allow to change simulator
* consider distributor preferences for new model set
* error messages in dialog, therefor use CForm as base class
2016-06-08 18:20:30 +02:00
Klaus Basan
cc166020b9 refs #661, fixed server settings
(settings were not displayed added in GUI as displayed in presentation)
2016-06-08 18:20:29 +02:00
Klaus Basan
c0fda8687d refs #661, improved own model set handling
* fixed simulator selector
* added simulator selector to own model set component
* pinned last selections
* fixed model cache to use "getCopy"
2016-06-08 18:20:25 +02:00
Klaus Basan
0ff7791532 refs #661, info in context menu when force reload is unavailable
(KB/RW slack discussion)
2016-06-08 18:20:24 +02:00
Klaus Basan
54b1234f7f refs #649, refs #658 fixed includes to new subfolders "db"
some style changes in same step
2016-06-08 18:20:23 +02:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
675255acf6 Fix access violation trying to use already destroyed context 2016-05-20 01:32:42 +02:00
Roland Winklmeier
18aeb9a034 Add missing license headers 2016-05-20 01:31:24 +02:00
Roland Winklmeier
f4c2939253 Fix BlackGui header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:31:11 +02:00
Roland Winklmeier
933271b828 Fix BlackCore header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-13 17:06:00 +02:00
Klaus Basan
92c638cee4 Workaround for improper formatting of vPilot rules
found druing testing of #648
2016-05-07 20:11:52 +02:00
Klaus Basan
f3ac18257f Update editor data when stashed data are modified (e.g. by drag and drop)
This issue was discovered during testing for #640
2016-05-07 20:11:51 +02:00
Klaus Basan
1a62de8dc3 refs #641, improvements/fixes of orderable lists / models / views
* set sort order automatically to IndexOrder when changing order of items
* call onChanged when model is changed and then update view (needed when model is changed directly, not via view)
* support for digest signal so redundant updates can be avoided
* renamed rowCountChanged (signal) to modelDataChanged - detecting row count changes only was useless
* updated Doxygen / fixed typos
2016-05-07 20:11:49 +02:00
Klaus Basan
2da14e3b62 refs #648, change existing context menus 2016-05-07 20:11:46 +02:00
Klaus Basan
044af1a970 refs #640, changed order in mappigs component 2016-05-07 20:11:44 +02:00
Klaus Basan
cd9b2ffedb refs #640, order of tabs in main window
(mapping now before DB data)
2016-05-07 20:11:43 +02:00
Klaus Basan
43f9515eaa refs #641, moved last simulator selection to caches
* removed from component cache
* kept renamed component caches as stubs for later usage

refs #646, removed gui state cache as it causes build issues on Jenkins
(idea was to keep the classes as stubs for later usage)
2016-05-07 20:11:41 +02:00
Klaus Basan
48bcb105cd refs #613, changes as proposed by MS
https://dev.vatsim-germany.org/issues/613#note-3
2016-05-07 20:11:40 +02:00
Klaus Basan
32caa3f8f4 refs #641, order and update models by distributor 2016-05-07 20:11:39 +02:00
Klaus Basan
ec8e747d53 refs #641, distributor preferences GUI and formatting setting component (for distributor preferences) 2016-05-07 20:11:38 +02:00
Klaus Basan
87abbf975b refs #640, renamed allowDragDrop and const 2016-05-05 20:49:21 +02:00
Klaus Basan
b78308b059 follow up of refs #643, allow to display icon in overlay window
* some optimization to check if icon is available
* menus for context menu
* allow to display icon/image in overlay window
2016-05-05 20:49:17 +02:00
Klaus Basan
bc4efbfd71 refs #642, fixed 2nd issue reported by RW via slack
(assert with default values)
2016-05-05 20:49:14 +02:00
Klaus Basan
d0daad7d34 refs #642, fixed setup loading, in same step refs #636 clear cache
* changed signals in setup reader
* explicit mode is default
* detailed information what is loaded
* new log pattern
* allow to add message list to log component
* allow to clear cache by cmd line arg
* consolidated cmd names
2016-05-05 20:49:13 +02:00
Mathew Sutcliffe
7b04a20e9f refs #653 Make small cache values pinned, so they are sync loaded at start. 2016-05-05 15:25:07 +01:00
Michał Garapich
1a3e610cbf refs #513 Make plugin selection persistent
* Saved listeners are started on application startup
* CVariant has support for QStringList
2016-05-04 22:58:08 +02:00
Klaus Basan
f1eccc2d8f refs #638, allow to select model in own model set for forms (double click) 2016-04-11 20:58:01 +02:00
Klaus Basan
d9e550beef refs #634, improved completers
* mostly to avoid roundtrips (set->changed signal->set again...)
* better sort for ICAO completer
2016-04-11 20:57:57 +02:00
Klaus Basan
69049001d1 refs #638, reverse lookup in model matching 2016-04-11 20:57:55 +02:00