Commit Graph

2894 Commits

Author SHA1 Message Date
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
Klaus Basan
a9c6fe2036 refs #640, find COverlayMessagesFrame in widget hierarchy 2016-05-05 20:49:22 +02:00
Klaus Basan
87abbf975b refs #640, renamed allowDragDrop and const 2016-05-05 20:49:21 +02:00
Klaus Basan
c42df3ed4d Formatting and fixed dropbase (unimplemented function) 2016-05-05 20:49:20 +02:00
Klaus Basan
5d39c906e4 refs #640, support for simulator in distributor
* changed backend (JSON) and added support for simulator data
* get distributors by simulator
* renamed to setSimulator / getSimulator
2016-05-05 20:49:18 +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
ddc7347927 refs #643, moved aircraft model icon loading to model class
* removed iconForModel from interface and aircraft config parser
* CPixmap support for loading pixmap from file
* Access to model of model set loader by model string
* icon path as member of CAircraftModel
2016-05-05 20:49:16 +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
9c7ce4cc82 Fixed model filter bar 2016-04-11 20:58:00 +02:00
Klaus Basan
dc004ed2d9 refs #638, support for military flag in forms
* avoid rountrips with completers
* new checkboxes for military
2016-04-11 20:57:59 +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
95044e7854 refs #614, fixed icon/qss as found during testing 2016-04-11 20:57:56 +02:00
Klaus Basan
69049001d1 refs #638, reverse lookup in model matching 2016-04-11 20:57:55 +02:00
Klaus Basan
1953665c40 refs #637, move matcher to blackcore
(access to sApp/web services)
2016-04-11 20:24:57 +02:00
Klaus Basan
8049a65437 refs #634, allow to use livery for testing
* added raw data in selector
* adjusted matcher component
2016-04-11 20:22:21 +02:00
Klaus Basan
0f5af8a492 Improved forms as discussed in meeting (RW/KB) 2016-04-11 20:22:19 +02:00
Klaus Basan
abca1fde52 refs #614, use interfaces from last step to reuse mergeWithDb data in multiple components
* adjusted menus
* adjusted loaders and components
2016-04-11 20:22:18 +02:00
Klaus Basan
71259bdec2 refs #614, display aircraft family 2016-04-11 20:22:14 +02:00
Klaus Basan
e877c6dba5 Better performance for filter
* valid filter flag only calculated once
* Better removal detection of filter dialog
2016-04-11 20:22:12 +02:00
Klaus Basan
22e259afe3 Fixed font settings (issue as reported by RW via slack)
* font change triggers style sheet reload
* now font settings are stored in copied qss file, so original file can be restored
2016-04-11 20:19:52 +02:00
Klaus Basan
1b0dda74a3 refs #614, renamed function and helper function 2016-04-11 20:19:46 +02:00
Klaus Basan
b567e2e57b refs #634, a component allowing to test model matching
* adjusted corresponding components
* new component for matcher
2016-04-11 20:19:45 +02:00
Klaus Basan
0c6780a392 refs #634, fixes and improvements in selectors/completers
* upper case
* get raw data from selector
* sort completers
2016-04-11 20:16:24 +02:00
Klaus Basan
4b621bcb1a refs #634, find parent tab widget 2016-04-11 20:16:21 +02:00
Klaus Basan
70aacf8cb1 Minor: Logging for reader, removed sort log message, guard name 2016-04-11 20:16:20 +02:00
Klaus Basan
63ddcc5d7c refs #635, init metadata in CApplication / CGuiApplication 2016-04-11 20:16:19 +02:00
Klaus Basan
a4ec86dc3a refs #626, fixes
* verify to notice when data is mssing (temp)
* use getCopy
2016-04-11 20:16:15 +02:00
Klaus Basan
9409f93366 refs #614, allow to resize view by presize algorithm 2016-04-11 20:16:08 +02:00
Klaus Basan
220edf44f9 refs #614, last modifed timestamp from file set in CAircraftModel
* added to model (to display in view)
* derived BlackMisc::ITimestampBased from BlackMisc::ITimestampBased
2016-04-11 20:16:07 +02:00
Klaus Basan
600cd52f30 view base improvements
* Use direct update function (not via CVariant anymore)
* refresh indicator
* new signal syntax
2016-04-11 20:16:06 +02:00
Klaus Basan
b1c32dac10 refs #614, allow to merge own models with vPilot rules (this can be used if no DB data are available yet)
* menus
* utility functions
2016-04-11 20:16:05 +02:00
Mathew Sutcliffe
4e9d7d3efe refs #628 Metaclass style compatible with the AStyle beautifier. 2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
4bd4baa535 refs #628 Use the metaclass mixins in all value classes. 2016-04-03 18:17:43 +01:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Klaus Basan
126ad26261 refs #618, clang fixes
* use own default constructor error: default initialization of an object of const type 'const BlackMisc::CIcon' without a user-provided default constructor static const CIcon empty;
* same for CDbOwnModelsComponent()
* fixed guard
2016-03-30 18:22:27 +02:00