Klaus Basan
4aec50ccfc
Ref T478, removed the critical functions + adjustments
...
The code was never used as we decided not to translate swift, but do it all in English. So that code branch was never executed and I have removed the above 4 function + required adjustments.
* getTranslationContextChar
* getColumnNameChar
* getColumnToolTipChar
* getTranslationContextChar
2019-02-22 20:23:59 +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
Mat Sutcliffe
71de01065b
Ref T464 Implement removal of one sequence from another in O(n),
...
assuming that elements in both sequences are in the same order in both.
2018-12-14 19:57:29 +01: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
Roland Rossgotterer
a005ebbbc9
Split viewbase.cpp
...
viewbase.cpp instantiates many template classes and ended up as a huge object file. Building with MinGW in not-optimized debug build, the file got too big. Therefore split the template instantiations into individual files.
2018-11-29 20:54:26 +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
2ad6a7e1b3
Ref T362, allow also to load container JSON format directly (not only CVariant container format)
2018-10-05 17:39:56 +02: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
7d715a909e
Ref T335, style and CLANG warnings
2018-09-12 17:40:49 +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
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
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
69e1c3f4c2
Ref T275, CAircraftSituationChange view/model
...
* added some more indexes
* CAircraftSituationChangeListModel
* CAircraftSituationChangeListView
2018-06-13 14:00:28 +02:00
Klaus Basan
c16f5575f4
Ref T270, models/views for parts and situations
...
* added base class CListModelTimestampObjects
* added model/view for CAircraftParts
* added model/view for CAircraftSituation
2018-05-29 00:56:36 +02:00
Klaus Basan
ef3f312bc5
Ref T264, application info list view
2018-05-22 13:34:59 +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
4c2aaf73e1
View/Model support push_back
2018-05-18 00:24:57 +02:00
Klaus Basan
1b8383bee1
Guarding QTimer::singelShot operations, avoid to access dangling pointers
2018-05-08 16:06:39 +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
37814d3f08
Fix model/view bug: do not delete all rows when deleting in a filtered view
2018-05-04 23:03:14 +02:00
Klaus Basan
74f52cf39c
Ref T259, Ref T243 adjusted container, models and views to support CInterpolationSetupList
...
* added forward declarations
* added some utility functions
2018-04-13 23:36:38 +02:00
Klaus Basan
117e8996bb
Formatting, minor UI tweaks
...
* minor renamings in simulator selector
* simplified namespaces
Ref T246
2018-02-10 21:57:38 +01:00
Klaus Basan
5d56c295f8
Dtor in view base
2018-01-30 20:30:23 +01:00
Klaus Basan
b74652c94a
Ref T220, renamed some main window / widget functions
...
Make clearer if dealing with a window or widget
2018-01-14 18:47:03 +01:00
Klaus Basan
d4b4b48a55
Ref T190, improved display of text messages
...
* tooltip
* using QStringBuilder
2017-12-21 19:45:22 +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
3876b010cb
Ref T176, set selection mode deferred because otherwise it will be overidden from UI builder code
2017-10-31 15:39:40 +01:00
Klaus Basan
0b388cb103
Ref T177, addressing some overlay messages frame issues
...
* use enum for buttons
* removed unused declaration setInnerFrameFactor
* private slots -> private
2017-10-31 15:39:38 +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
ab65039ca4
Follow up of Ref T154, messages can be exported (and hence added to a bug tracking issue for instance)
2017-09-24 20:28:50 +01:00
Klaus Basan
9ba61cacf6
Ref T138, allow multi line messages
2017-09-24 19:53:44 +01:00
Klaus Basan
c39b8cd7fd
Ref T30, use font shortcuts with dock widget
...
(instead of view)
2017-09-24 19:50:43 +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
Klaus Basan
77100fc09e
Ref T67, display load status messages
2017-05-09 19:13:47 +02:00
Klaus Basan
ff4b37b3fe
refs #923 , use CVariant JSON to load/save from view
2017-04-18 00:06:19 +01:00
Klaus Basan
864e64e295
refs #911 , shortcut for cut/copy
...
* changed unselect
* use CTRL+C for copy
2017-04-18 00:06:17 +01:00
Klaus Basan
08f8916344
refs #922 , refs #911 , JSON cut/copy/paste
...
* utility function for CVariant
* use CVariant for cut/copy/paste
2017-04-18 00:06:15 +01:00
Klaus Basan
5e69be6208
refs #911 , support for cut and paste menu and support in views
2017-04-18 00:05:36 +01:00
Klaus Basan
6825524025
Improved status message filtering
...
* avoid re-init of widget if already initialized
* allow icons instead of text for severity radio buttons
* changing severity filter directly triggers new filtering
* use icon for new button
* init this->showFilterBar() as default (otherwise not functional)
* widths for filter bar buttons
2017-04-18 00:04:59 +01:00
Klaus Basan
30ef3eedf9
refs #900 , filtered flag for containerOrFilteredContainer
...
more reliable than other approaches
2017-04-17 23:58:37 +01:00