Commit Graph

782 Commits

Author SHA1 Message Date
Klaus Basan
1fd645fce4 Fixed masking issue
(failed when neither on top nor on bottom was set)
2016-06-15 00:11:14 +02:00
Klaus Basan
2a99bed0cd refs #656, MS review items https://dev.vatsim-germany.org/issues/656#note-4
Remove defaultValue where not needed
2016-06-08 18:21:03 +02:00
Klaus Basan
d44cacd97d refs #670, signal when UI tree is build
Motivated by slack discussion RW/KB
2016-06-08 18:21:02 +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
8b66f595d4 refs #512, changed dock widget to use settings
* allow to load from settings / save to settings
* removed outdated members / functions
* aligned naming of some functioss
2016-06-08 18:20:55 +02:00
Klaus Basan
ddace24c35 refs #512, removed ini file for offsets 2016-06-08 18:20:54 +02:00
Klaus Basan
436b60700f refs #512, added settings to dock widget for testing 2016-06-08 18:20:53 +02:00
Klaus Basan
5352649248 refs #512, settings for dock widget 2016-06-08 18:20:51 +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
4b8ab847a0 refs #661, added a label/icon to context order menu as proposed in the meeting 2016-06-08 18:20:41 +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
c13b9ded55 refs #661, prepared value objects for distributor sort order 2016-06-08 18:20:33 +02:00
Klaus Basan
46d849830f Removed unused code 2016-06-08 18:20:32 +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
Klaus Basan
9606ab12db refs #649, enum to specify which swift application is running
(remark: used to check which caches will be used)
2016-06-08 03:59:05 +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
0ba46360dd Move sounds and stylesheet directory configuration to buildconfig.h.in
refs #615
2016-05-20 01:36:44 +02:00
Roland Winklmeier
9ef34c4b96 Group all resources in data/ subfolder
refs #615
2016-05-20 01:35:19 +02:00
Roland Winklmeier
675255acf6 Fix access violation trying to use already destroyed context 2016-05-20 01:32:42 +02:00
Roland Winklmeier
d0313c7524 Style 2016-05-20 01:31:26 +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
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Klaus Basan
49094115b1 static assert as discussed here https://dev.vatsim-germany.org/issues/648#note-10
#648
2016-05-13 16:43:58 +02:00
Klaus Basan
89346e4661 DB icon in stash view 2016-05-07 20:11:53 +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
acc1d4fd74 refs #640, changed view base classes to use new context menus
* keep menu actions on heap where possible
* adjusted signatures
2016-05-07 20:11:46 +02:00
Klaus Basan
930ebeee30 refs #648, added a sortable menu action with metadata and changed IMenuDelegate
Idea: the menu will be generated as list of menu actions, then finalized before displayed
2016-05-07 20:11:45 +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
7d43af343e refs #641, support for IOrderable in specialized views/models
* menu to order objects per drag and drop
* changed model/views to specialized model/views
2016-05-07 20:11:37 +02:00