Commit Graph

17 Commits

Author SHA1 Message Date
Klaus Basan
30b65d6c36 Fixed selection of view rows when changing to filtered data
* return values for select functions
* select function must be "public override"
* reselect filtered data as well
2019-04-11 22:12:00 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Mat Sutcliffe
1b4ed84e1b CListModelBase and CViewBase: reduce the number of template parameters
by relying on what can easily be deduced from the first parameter(s).
2019-02-22 20:23:44 +00:00
Klaus Basan
bf36a69be0 Stashed data file can be dropped to model view
* utility functions
* style changes / renamings / slots -> normal functions
* extra flag to enable file drop (and changed signatures)
* split view load function into 2 parts, one can use passed file parameter
2018-07-25 02:37:02 +02:00
Klaus Basan
f71e717ec1 refs #899, formatting, renaming, include guard names 2017-04-17 23:58:22 +01:00
Klaus Basan
97137c46a6 refs #785, use selection interface with views
* adjusted sortByPropertyIndex, selectObjects
* function to select by row numbers
2017-01-10 23:45:11 +00: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
a8834d0511 refs #720, remove highlight DB data menu (we use the DB icon instead)
* removed menu item
* fixed menu action, so parents submenus are searched upwards
2016-08-26 21:04:36 +01: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
4b8ab847a0 refs #661, added a label/icon to context order menu as proposed in the meeting 2016-06-08 18:20:41 +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
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
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
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
Roland Winklmeier
794bf0cd74 Fix doxygen copydoc documentation
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code

refs #544
2016-02-08 01:53:17 +01:00
Klaus Basan
11ee49a382 refs #568, allow to stash from DB data view (model view)
* added required signal slots
* moved models for stashing into aircraft model view
* allow to unselect when stashed
* fixed DB object highlighting and resize row height automatically
2016-01-28 16:31:49 +01:00
Klaus Basan
46e7d42e8c refs #568, specialized view class for DB objects
* CViewWithDbObjects
* new menu for views (delete key, remove)
* adjusted derived classes
2016-01-28 16:31:43 +01:00