Mat Sutcliffe
89659fdeaa
Issue #77 Break cyclic dependency statusmessage <-> jsonexception
2020-08-29 14:16:19 +01:00
Mat Sutcliffe
8e065a8fef
Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
...
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Klaus Basan
3705818445
Style
2020-01-07 19:57:18 +00:00
Klaus Basan
e12dc3a73a
Utility functions to sort text messages by timestamp (ascending/descending)
...
* compare function for text message
* resort function
* text message edit can display HTML text messages with ascending/descending timestamp
* made CTextMessageListModel -> CListModelTimestampObject
2019-09-16 22:41:30 +01:00
Klaus Basan
bbd6811c8d
Improved vertical resizing / vertical header vor interactive vertical resizing
2019-05-13 11:20:45 +02:00
Klaus Basan
9436bce9be
Minor mapping tool improvements, including scrollTo first highlighted row
2019-05-13 11:20:33 +02: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
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
1b730dd0b1
Ref T472, style
2019-02-22 20:35:59 +00:00
Mat Sutcliffe
fe7a45afcf
Ref T516 Update CStatusMessage call sites to use new syntax.
2019-02-22 20:35:51 +00:00
Klaus Basan
33a3984588
Approach to fix "Q_ASSERT(found != end1);" assert as reported by RP
...
https://swift-project.slack.com/archives/G96QTUBEG/p1546880962000700
2019-02-22 20:35:27 +00:00
Klaus Basan
eddaeddfc4
Ref T506, style
2019-02-22 20:35:24 +00:00
Klaus Basan
7baf5f238e
Allow columns with percentage width
2019-02-22 20:34:59 +00:00
Mat Sutcliffe
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +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
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