Commit Graph

74 Commits

Author SHA1 Message Date
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Lars Toenning
c0efc9ea81 Clean up includes 2022-05-25 19:47:34 +01:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
371c1f4f7c Issue #77 Break cyclic dependency between CLogCategory and numerous classes 2020-12-19 18:50:34 +00:00
Klaus Basan
7981815ddf Improvements on livery selector and form, also airline form
* use id first to find data
* use id in selector and fields
* based on issue https://discordapp.com/channels/539048679160676382/717493722392297493/717511173146411061
2020-06-12 18:42:57 +01:00
Mat Sutcliffe
a366ad8943 Added with() and withValidation() methods in CLogCategoryList. 2019-04-12 13:30:54 +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
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +00:00
Klaus Basan
019cc6259e Ref T515, highlight by models and changed naming 2019-02-22 20:35:39 +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
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Mat Sutcliffe
9f85a7b560 Fixed clazy warnings: pass large objects by reference to const. 2019-02-22 20:23:33 +00:00
Klaus Basan
42af510342 Check for minimum mapping version
* check functions in gui application/application
* check for instance mapping wizard
* check on mapping tool's stashing component
2018-12-05 04:03:59 +01:00
Klaus Basan
722566453b Ref T306, use settings for flightplan and view directories 2018-08-26 15:27:01 +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
f4d40b2d39 Ref T285, applied new style (private instead private slots) and Qt::QueuedConnection in mapping component 2018-06-27 12:49:18 +02: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
2e307555a2 Ref T177, clear highlighting once new models are stashed 2017-10-31 15:39:35 +01:00
Klaus Basan
11f15c6692 Ref T176, clear old messages when publishing
(no idea why I have originally kept them)
2017-10-31 15:39:17 +01:00
Klaus Basan
e920dc77b8 Ref T118, formatting 2017-10-31 15:39:12 +01:00
Klaus Basan
d2b364c291 Unified formatting this->m_XX -> m_XX 2017-09-24 20:28:53 +01:00
Klaus Basan
6c3a0243ab Follow up of Ref T154, overlay messages can be appended and cleared
* changed signatures
* aligned naming to showOverlayMessage, ...
2017-09-24 20:28:52 +01:00
Klaus Basan
991cc3463d Ref T117, check equal models before publishing
* checkbox, check can be disabled
* context menu to display changed attributes in popup
2017-09-24 19:52:19 +01:00
Klaus Basan
fe3368e1f4 Ref T117, formatting 2017-09-24 19:52:15 +01:00
Klaus Basan
0af6a372e3 UI stash text improved and stash shortcuts 2017-05-09 19:13:56 +02:00
Klaus Basan
98479e8d17 Ref T67, allow to pass "forced" 2017-05-09 19:13:45 +02:00
Klaus Basan
6fc48ab160 Ref T53, "bulkadd" role in UI/user 2017-05-05 23:08:02 +01:00
Klaus Basan
3432dd56fe Minor UI fixes (typos, layout) 2017-04-17 23:58:43 +01:00
Klaus Basan
973cbbb440 Minor unrelated adjustments 2016-12-13 19:01:29 +01:00
Klaus Basan
7e91ef8a38 refs #768, renamed flag name to better represent its meaning 2016-12-06 09:33:32 +01:00
Klaus Basan
4c6bb6e3fd refs #768, return DB keys as set 2016-12-06 09:33:13 +01:00
Klaus Basan
7446ffcb80 refs #769, use role bulk to decide if user can directly write models
* renamed role functions
* renamed buttons
* some formatting
2016-10-17 14:33:56 +01:00
Klaus Basan
0846a8773a refs #755, validation also for "distributors from DB"
* validation now in webdataservices (so it can check against DB data)
* utility functions
2016-09-19 16:18:50 +02:00
Klaus Basan
1e8090d366 refs #755, "remove published models" message 2016-09-19 16:18:42 +02:00
Klaus Basan
10325ee8a9 refs #755, mapping UI improvements
* make drop area more obvious by icon and color
* improve forms so the layout looks better on large screens
* button to display model dialog (like distributor, ICAO, ...)
2016-09-19 16:18:41 +02:00
Klaus Basan
7330ccba1b refs #751, hint of how data are published
* user object in stash components
* publish button text changed to reflect user`s rights
* User object in form read only
2016-09-19 16:18:41 +02:00
Klaus Basan
23ccb35ed8 refs #751, improved model writing to DB
* a pending request can be aborted when taking too long
* success / directWrite flags in signals
2016-09-19 16:18:41 +02:00
Klaus Basan
0d70e87d11 refs #745, do not consolidate with DB data when stashing editor model
(prevents that changed data are overridden by DB data again and hence reverted)
2016-08-26 21:06:08 +01:00
Klaus Basan
04a9381858 refs #745, fixes "validation passed" message when there are still errors 2016-08-26 21:06:07 +01:00
Klaus Basan
126df28d0c refs #735, formatting 2016-08-26 21:05:37 +01:00
Klaus Basan
61ac328d10 refs #735, remove invalid objects from stash
* button "remove invalid objects"
* tab order fixed
2016-08-26 21:05:36 +01:00
Klaus Basan
da343d81c1 refs #720, allow to publish when there are errors, but some models pass validation
* return valid and invalid models
* return value "success" when there are any valid models
2016-08-26 21:05:02 +01:00
Klaus Basan
ecfe4ab1fc refs #720, stash component
* use centralized consolidation function (removed local duplicate)
* renamings
2016-08-26 21:04:30 +01:00
Klaus Basan
77c749aba2 Some GUI adjustments / formatting found during #702
* selection in view (full row)
* Unused function removed
* Allow reduced message form
2016-07-12 03:37:39 +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
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
Roland Winklmeier
933271b828 Fix BlackCore header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-13 17:06:00 +02:00
Klaus Basan
f3ac18257f Update editor data when stashed data are modified (e.g. by drag and drop)
This issue was discovered during testing for #640
2016-05-07 20:11:51 +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