Commit Graph

127 Commits

Author SHA1 Message Date
Klaus Basan
bbd6811c8d Improved vertical resizing / vertical header vor interactive vertical resizing 2019-05-13 11:20:45 +02:00
Klaus Basan
99c6a03b6f Support for an empty column 2019-05-13 11:20:44 +02:00
Klaus Basan
f6d68660c9 Allow to toggle word wrap in views 2019-05-13 11:20:43 +02:00
Klaus Basan
d32e596c89 Remove the workaoround from QTableView, made stretching default 2019-05-13 11:20:42 +02:00
Klaus Basan
9436bce9be Minor mapping tool improvements, including scrollTo first highlighted row 2019-05-13 11:20:33 +02:00
Klaus Basan
0732c32922 Typo, style 2019-04-11 22:12:01 +01:00
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
Klaus Basan
22ae03bd3b Moved CEnableForDockWidgetInfoArea to ns BlackGui, was in BlackGui::Components for some reason
Discovered during T536
2019-02-22 20:36:12 +00:00
Klaus Basan
6fafaabbab Ref T534, enable overlay messages for view/tree view 2019-02-22 20:36:10 +00:00
Klaus Basan
91050e198c Ref T529, view improvements
* protected slots -> protected
* removed unused functions
* load indicator timeout slot
2019-02-22 20:36:06 +00:00
Klaus Basan
b2ec28e3cd Ref T529, model/views get sort order values 2019-02-22 20:36:03 +00:00
Klaus Basan
aa47d7bb03 Ref T529, style 2019-02-22 20:36:01 +00:00
Klaus Basan
3aee73840d Ref T529, allow to explicitly set no sort order in model/view 2019-02-22 20:36:00 +00:00
Klaus Basan
7baf5f238e Allow columns with percentage width 2019-02-22 20:34:59 +00:00
Klaus Basan
93cf349a04 Ref T451, context menu in views (simulated aircraft/model) to disable model 2019-02-22 20:24:03 +00:00
Klaus Basan
314c48d5d1 Filter minor style/refactoring
* use normal functions instead of slots
* some renamings
2019-02-22 20:24:02 +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
9f408e8319 Fixes in model set form as described by RP
https://swift-project.slack.com/archives/G96QTUBEG/p1544353355002400

* fixed missing radio button groups
* return values for some functions to detect "changes"
* minor style fixes
2018-12-10 03:41:16 +01:00
Klaus Basan
6116797727 Ref T442, getColumns from view/model 2018-12-07 02:37:14 +01:00
Klaus Basan
774458afc9 Viewbase style, UI style 2018-12-05 04:03:59 +01:00
Klaus Basan
7035330744 Views: JSON values can be shown as popup 2018-11-29 20:54:25 +01:00
Klaus Basan
f4822b69dd Allow to save "selected objects" only as JSON 2018-11-04 17:42:42 +01:00
Klaus Basan
5e99e557c6 Ref T362, Ref T348 model/view adjustments
* remove model string
* start directory for file dialog
2018-09-22 01:26:38 +02:00
Klaus Basan
ebcdef6884 Ref T362, utility function to display view count in tab 2018-09-20 00:47:15 +02:00
Klaus Basan
46c684f04c Ref T345, in view added acceptRowSelection 2018-09-12 17:40:34 +02:00
Klaus Basan
722566453b Ref T306, use settings for flightplan and view directories 2018-08-26 15:27:01 +02:00
Klaus Basan
19fbc345fb Better shortcut handling in views
- display shortcuts
- shortcut for resize
2018-08-26 15:26:55 +02:00
Klaus Basan
9bb3f98489 Style 2018-08-13 02:59:35 +02:00
Klaus Basan
a6ee6d4b72 Ref T292, Ref T285 minor style improvements, renamings 2018-07-26 04:32:38 +02: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
507167fb8b Ref T285, some smaller view refactoring 2018-07-20 01:30:41 +02:00
Klaus Basan
f06482b554 Ref T268, aircraft situation view allows to "request elevation" 2018-07-10 17:17:22 +02:00
Klaus Basan
6bcded9264 Style 2018-07-09 22:30:20 +02:00
Klaus Basan
0aa5836b62 Ref T275, detect when objects have been deleted in view and using that signal in setup component 2018-06-20 00:58:43 +02:00
Klaus Basan
464c8dfe83 Formatting 2018-05-26 21:19:20 +02:00
Klaus Basan
fc35e8b654 Formatting, style 2018-05-22 13:23:47 +02:00
Klaus Basan
ba8b9a52da Ref T264, Ref T263 simple approach to remember last directory (load/save) in view
* utility function "unwrapCache" to unwrap cache data
* fixed loading from file, also supporting memoized formats as well
* remember last directory
2018-05-18 00:25:09 +02:00
Klaus Basan
98bc0a7d6e Ref T264, sued "new signal syntax" with some QShortcuts and as a result made some slots "normal functions" 2018-05-18 00:25:07 +02:00
Klaus Basan
4ced6b4f97 Formatting 2018-05-18 00:24:58 +02:00
Klaus Basan
4c2aaf73e1 View/Model support push_back 2018-05-18 00:24:57 +02:00
Klaus Basan
7d97b0e2a7 Some view/model improvements
* unselected functions as unselectedRowCount/unselectedRows ...
* turned some private slots -> private functions
2018-05-04 23:03:15 +02:00
Klaus Basan
5d56c295f8 Dtor in view base 2018-01-30 20:30:23 +01:00
Klaus Basan
26c6172816 Ref T197, doxygen fixes
"spooky action at a distance"
https://swift-project.slack.com/archives/G7GD2UP9C/p1510941452000072
2017-12-21 19:46:26 +01:00
Klaus Basan
6650ec89d3 Ref T189, formatting 2017-12-21 19:45:08 +01:00
Klaus Basan
3d76eabac5 Ref T189, context menu "Clear highlighting" only if there are highlighted rows
* added customMenu in template
* added hasHighlightedRows
2017-12-21 19:45:05 +01:00
Klaus Basan
f8e672b04f Ref T154, resize rows height for overlay messages
* for smaller container sizes switch to row content resizing
* row content resizing is slow -> only for small container sizes
* user still can switch manually (context menu) to row resizing
* default is interactive row resizing
2017-09-24 20:28:54 +01:00
Klaus Basan
9ba61cacf6 Ref T138, allow multi line messages 2017-09-24 19:53:44 +01:00
Klaus Basan
534ba5f9ec Ref T30, integrated font menu into view base 2017-09-24 19:49:48 +01:00
Klaus Basan
43bd700687 Ref T63, remember directory 2017-05-09 19:13:56 +02:00