Commit Graph

1640 Commits

Author SHA1 Message Date
Roland Rossgotterer
3db811f11d Handle initial null position from CCoordinateDialog
Summary:
CCoordinateDialog is setup with an initial null position. The user has to manually set one in case own aircraft position is de-selected to proceed with weather fetching. Previously the null position was accepted and passed on to the weather request with undefined results.

Reviewers: #swift_pilot_client

Maniphest Tasks: T406

Differential Revision: https://dev.swift-project.org/D81
2019-02-22 20:35:16 +00:00
Mat Sutcliffe
1f83d677f3 Changed BLACK_FALLTHROUGH to Q_FALLTHROUGH(). 2019-02-22 20:35:12 +00:00
Mat Sutcliffe
80308b85d5 Changed QOverload to qOverload. 2019-02-22 20:35:11 +00:00
Klaus Basan
7be54fde87 Display number of included/DB models in "1st model set wizard" 2019-02-22 20:35:10 +00:00
Klaus Basan
2de192600f Reduced hard coded stylesheet values
* disabled hardcoded wizard pages style sheet
* adjusted style sheet
* fixed QMneu issue: https://stackoverflow.com/questions/53991839/qt-5-12-menu-items-with-unwanted-extra-space
* tagged remaining ones as "\fixme hardcoded"
2019-02-22 20:35:10 +00:00
Klaus Basan
cd095dbb3f Misc. smaller UI adjustments/style 2019-02-22 20:35:09 +00:00
Klaus Basan
8bb7eb5d2b Minor wizard UI adjustments 2019-02-22 20:35:09 +00:00
Klaus Basan
427c23c5e4 Ref T494, play notification for callsign mentioned
* added audio settings in text message component
* play sound for callsign mentioned in text body
2019-02-22 20:35:08 +00:00
Klaus Basan
90b893c62a Ref T494, moved audio settings Trait directly info BlackMisc settings file 2019-02-22 20:35:07 +00:00
Klaus Basan
13647329f9 Ref T494, fixed voiceroom member updates
* changedUrl was actually equal URL, no idea how this ever did work out
* unnecessary redundant updates of voice room members fixed
2019-02-22 20:35:07 +00:00
Klaus Basan
3be93ab753 Ref T494, audio settings for notification
* use new sounds
* fixed bug that changes of notifications were never set in settings
* play sound if box is checked (how hoes it sound?)
2019-02-22 20:35:07 +00:00
Klaus Basan
f8c17e10e8 Ref T494, CNotificationSounds refactring
* use Q_DECLARE_FLAGS NotificationFlag/Notification for sounds, not the weird version from very early swift days
* splt into h/cpp files
* added new sounds
2019-02-22 20:35:06 +00:00
Klaus Basan
80ed972e53 Ref T494, style
* removed some old "foreach" loops
* fixed some CLANG warnings
2019-02-22 20:35:05 +00:00
Klaus Basan
03ac54cefa Ref T491, style/minor tweaks 2019-02-22 20:35:05 +00:00
Klaus Basan
e810dfecf5 Ref T489, display read state in model component for livery, airline, aircraft
* similar to model component
* distributor/countries too few data to benefit, hence not implemented
2019-02-22 20:35:04 +00:00
Klaus Basan
ea7694248e Ref T491, prevent standard message tab from closing, search tabs from right to left 2019-02-22 20:35:04 +00:00
Klaus Basan
7a6a822432 Typo fixed, displaying station name on wrong tab 2019-02-22 20:35:04 +00:00
Klaus Basan
c14235cbf8 Mapping wizard UI adjustments 2019-02-22 20:35:04 +00:00
Klaus Basan
788f827110 Ref T489, Ref T484, string improvements 2019-02-22 20:35:03 +00:00
Klaus Basan
c0337b531a Ref T489, display read state in model component as overlay 2019-02-22 20:35:03 +00:00
Klaus Basan
efb1ac46f2 Ref T489, added "parsing" state for entity read states 2019-02-22 20:35:02 +00:00
Klaus Basan
a908c03e93 Ref T489, download progress for model component
* using COverlayMessagesFrame
* onEntityDownloadProgress displaying progress
2019-02-22 20:35:02 +00:00
Klaus Basan
d71e5f289a Style 2019-02-22 20:35:01 +00:00
Klaus Basan
8cb04e4965 Minor fixes DB loading overview 2019-02-22 20:35:00 +00:00
Klaus Basan
9d2da4524a Shared URLs display only every 5secs 2019-02-22 20:35:00 +00:00
Klaus Basan
48b18c7acd Resize columns of "other swift versions" to percentage 2019-02-22 20:34:59 +00:00
Mat Sutcliffe
7cb581f865 Ref T488 Fixed cppcheck warnings. 2019-02-22 20:34:57 +00:00
Mat Sutcliffe
5a17f43a5b Ref T488 Update cppcheck suppressions. 2019-02-22 20:34:56 +00:00
Mat Sutcliffe
e625c67005 Ref T480 Fixed remaining uses of QStringLiteral and QLatin1String in QStringBuilder expressions. 2019-02-22 20:34:55 +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
f48a411f43 Using qOverload, removing static_cast workaround. 2019-02-22 20:34:53 +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
0efb24f7fc Minor tweaks, style 2019-02-22 20:24:01 +00:00
Klaus Basan
ddb26a0ea5 Ref T265, Ref T430, Ref T473 renamed to CDbModelMappingModifyDialog (as it is a dialog) 2019-02-22 20:23:59 +00:00
Klaus Basan
d89b217e9b PQ parsing using "best guess" strategy as default plus renamings 2019-02-22 20:23:54 +00:00
Klaus Basan
c14e85a805 ATC stations, display icon+text for buttons 2019-02-22 20:23:52 +00:00
Mat Sutcliffe
d6b5dca6b2 Return a default-constructed QString instead of implicitly converting an empty string literal. 2019-02-22 20:23:49 +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
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Mat Sutcliffe
cfcee4bed0 Fixed clazy warning: const signal. 2019-02-22 20:23:43 +00:00
Mat Sutcliffe
b4724996c6 Fixed clazy warnings: unused QString. 2019-02-22 20:23:42 +00:00
Mat Sutcliffe
fc23a25ce1 Fixed clazy warnings: new-style signal/slot connect syntax. 2019-02-22 20:23:40 +00:00
Mat Sutcliffe
c71d358648 Fixed clazy warnings: unnecessary containers and containers being detached. 2019-02-22 20:23:37 +00:00
Mat Sutcliffe
462172a87f Fixed clazy warnings: unnecessary containers and containers being detached in range-for loops. 2019-02-22 20:23:37 +00:00
Mat Sutcliffe
9f85a7b560 Fixed clazy warnings: pass large objects by reference to const. 2019-02-22 20:23:33 +00:00
Mat Sutcliffe
e40af8132c Fixed clazy warnings: missing Q_OBJECT. 2019-02-22 20:23:33 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Klaus Basan
a09d7191f3 Ref T456, user statistics monitored at backend
* values for simulator/network
* changed concept a bit so crash handler values are used for statistics as well
2018-12-16 00:22:33 +01:00
Klaus Basan
d5ebd91c55 Use combobox simulator selector in mapping component as it allows "smaller" columns 2018-12-16 00:22:33 +01:00
Klaus Basan
5f252530cd Minor fixes in simulator selector 2018-12-16 00:22:33 +01:00