Commit Graph

168 Commits

Author SHA1 Message Date
Klaus Basan
c94584a19f Removed redundant speed formatter, use existing CSpeedKtsFormatter
CAircraftSpeedFormatter renamed to CSpeedKtsFormatter in same step
2017-01-10 23:46:16 +00:00
Klaus Basan
46d805830d refs #844, added range to ATC station view 2017-01-10 23:46:14 +00:00
Klaus Basan
59eb0247a7 refs #506, applied recommended changes for 506 to other filters
https://dev.vatsim-germany.org/issues/506#note-5
2017-01-10 23:45:53 +00:00
Klaus Basan
67125a1ecc refs #506, filter for status messages 2017-01-10 23:45:48 +00:00
Klaus Basan
deed61a88c Formatting, doxygen, minor adjustments 2017-01-10 23:45:44 +00:00
Klaus Basan
a374146a41 refs #785, use selection interface
* reselect of updates
* marked some QStandardItemModel functions as final (as suggested by MS)
* removed no longer used functions
2017-01-10 23:45:09 +00:00
Klaus Basan
988e1b70be refs #785, interface to access selection model 2017-01-10 23:45:08 +00:00
Mathew Sutcliffe
6c36cd202b refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude. 2017-01-10 23:44:34 +00:00
Klaus Basan
6e1efaf88a refs #822, display file ts in views
* consolidated models
* renamed flags
2016-12-13 19:01:53 +01:00
Mathew Sutcliffe
3c40c1026e refs #802 Fixed internal compiler errors with Clang on Windows. 2016-12-13 19:00:43 +01:00
Mathew Sutcliffe
a44ffcbe79 refs #800 Removed pointless casts and conversions. 2016-12-13 19:00:37 +01:00
Mathew Sutcliffe
461474e29d refs #800 Fixed "using namespace" in header. 2016-12-13 19:00:25 +01:00
Klaus Basan
f1ce5fc173 refs #793, display mismatch between rendered and network model
* utility functions to display that info
* added in aircraft model
2016-12-06 09:47:00 +01:00
Klaus Basan
8a5d50a167 refs #780, fixed property index compare issues found in the client 2016-12-06 09:46:57 +01:00
Klaus Basan
55020277b5 refs #793, adjusted model to use network model, also renamed mode to better relect meaning 2016-12-06 09:34:55 +01:00
Klaus Basan
fc65deb778 Just typos and formatting 2016-12-06 09:34:15 +01:00
Klaus Basan
67f5b38391 UI finetuning and minor code formatting 2016-12-06 09:34:01 +01:00
Klaus Basan
630fecf8e8 refs #768, allow reselection of values when a view is sorted
* reselect callbacks
* remark: Only working in some cases as sorting is part of the model, while selection is part of the view (and sorting can take place without the view knowing the model is sorted)
* allow to sort by property index
* renamed to m_sortColumn
2016-12-06 09:33:11 +01:00
Klaus Basan
610dba2028 refs #757, materialize filtered data
* menu item / flag
* functions in view class
* some minor formatting
2016-09-19 16:18:48 +02:00
Klaus Basan
58faed5ea7 refs #745, removed unused hover code
(this was a trial to highlight the drop position, the callback function was kept)
2016-08-27 14:31:42 +02:00
Klaus Basan
b324a26747 refs #735, allow to reset highlighting
(some leftovers of DB object highlighting also deleted)
2016-08-26 21:05:33 +01:00
Klaus Basan
c0a898c6c9 refs #555, allow to filter by file name
* also allow to filter by color
* and military
2016-08-26 21:05:08 +01:00
Klaus Basan
1167735897 refs #720, adjusted exposed functions to new naming
* some minor formatting
* use the new condolidation functions
2016-08-26 21:04:23 +01:00
Klaus Basan
d9a35563e3 refs #720, allow to filter by DB data
* tristate checkboxes
* can hide count element
* tab order
2016-08-26 21:04:22 +01:00
Klaus Basan
c4d9ab06be refs #712, airline icons in pilot client 2016-07-28 21:08:26 +02:00
Klaus Basan
20f335c0bc refs #707, adjusted list model base
* allow property for line numbers
* compare for ATC stations
2016-07-14 18:49:18 +02:00
Klaus Basan
b959972e0c refs #707, refactoring geo interfaces
* added compare functions (also to ATC list)
* renamed to relative position, e.g. station.setRelativeDistance
* delegate set/get/compare to correct interface
2016-07-14 18:49:13 +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
12d06aceef refs #678, using QString for queried string, not full model anymore 2016-06-25 16:00:36 +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
Roland Winklmeier
099282d0aa Weather UI Models
refs #663
2016-06-17 10:46:31 +02:00
Klaus Basan
993a0ebbe9 View / model fixes / improvements
* allow upfront checking of formatter roles
* selection mode menus adjusted (data approach no longer worked with CSlot)
* removed unused style sheet parts
* minor View/Model tweaks/formatting
2016-06-15 00:11:18 +02:00
Klaus Basan
c13b9ded55 refs #661, prepared value objects for distributor sort order 2016-06-08 18:20:33 +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
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
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
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
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
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
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
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
70aacf8cb1 Minor: Logging for reader, removed sort log message, guard name 2016-04-11 20:16:20 +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
02b69e5404 refs #618, using new column for DB data indication 2016-03-30 18:22:23 +02:00
Klaus Basan
50ac317065 refs #618, unified naming in model list + minor adjustments 2016-03-30 13:41:58 +02:00
Klaus Basan
7d785b4e3b refs #618, allow to filter my include/exclude 2016-03-30 13:41:50 +02:00