Commit Graph

1865 Commits

Author SHA1 Message Date
Klaus Basan
e46b7f5494 Make the ATC tool buttons look like push buttons
For some reason turning them into QPushButton breaks the layout.
This way is a simple way to have tool buttons looking like push buttons.

Overall goal: Make cleare what can be clicked.
2019-02-22 20:35:38 +00:00
Klaus Basan
27b9c5e8c8 Text message improvements
* css (text message style sheet)
* settings/send to group boxes NOT checked at beginning
* qss
* string concat with %
2019-02-22 20:35:36 +00:00
Klaus Basan
11daf3b418 Only update ATC buttons if visible 2019-02-22 20:35:36 +00:00
Klaus Basan
5d46017af2 Copy from other swift versions minor UI adjustments 2019-02-22 20:35:35 +00:00
Klaus Basan
a0c8f3778b Ref T515, context menus for re-matching
* added re-matching for single aircraft
* re-ordered
2019-02-22 20:35:33 +00:00
Klaus Basan
a90d4465a2 Ref T451, fixed temp. disabled model
* display info message
* aircraft model list implementing ICallsignObjectList (for message)
* fixed wrong flag in requestTempDisable
2019-02-22 20:35:33 +00:00
Klaus Basan
25df1921eb Style 2019-02-22 20:35:33 +00:00
Klaus Basan
13c67e4838 Login UI/lookup improvements
* made tool -> push buttons as easier to spot
* reverse lookup of model before login -> always latest DB data
* use "text only" ICAO code if loading from DB yields no result
2019-02-22 20:35:33 +00:00
Klaus Basan
474b1aad6c Ref T514, signal/slot for model loading progress displayed in UI 2019-02-22 20:35:32 +00:00
Klaus Basan
f8ee2acf5d Ref T430, context menus in mapping tool for FG 2019-02-22 20:35:32 +00:00
Klaus Basan
b706af4767 Ref T506, better highlite SUP messages
* use stylesheet with properties
* QSS
2019-02-22 20:35:31 +00:00
Klaus Basan
b110c6aaad Avoid ASSERT as reported in SLACK:
".. when time allows, can you have a look into the crashreports related to https://swift-project.sp.backtrace.io/dashboard/swift-project/project/testing/debugger/30"
2019-02-22 20:35:27 +00:00
Klaus Basan
3c0c61ae19 Ref T489, better progress indication in DB load dialog 2019-02-22 20:35:27 +00:00
Klaus Basan
fee2f8c5a0 Ref T506, context menu for user view -> COM text messages 2019-02-22 20:35:27 +00:00
Klaus Basan
8bb1915d97 Ref T506, partially reverted QDockWidget overlay messages
* for some reasons overlay message do not work with COverlayMessagesDockWidget when floating
* so using COverlayMessagesFrame for ATC/Cockpit again
* COverlayMessagesFrame does not have the issue with floating
2019-02-22 20:35:26 +00:00
Klaus Basan
dda468b899 Removed slots in cockpit component 2019-02-22 20:35:26 +00:00
Klaus Basan
f2722d78f7 Ref T506, only use displayInInfoWindow if not an overlay text message widget 2019-02-22 20:35:25 +00:00
Klaus Basan
0a8247cc12 Ref T506, for some reasons "pressed" sometimes fired twice, used "released"
Remark: No idea why this happened, but using "released" solved the issue
2019-02-22 20:35:25 +00:00
Klaus Basan
a08b2fff3c Ref T506, SUP text message with red close buttons 2019-02-22 20:35:24 +00:00
Klaus Basan
8696f45a7c Ref T506, make dock widget overlay message compliant
* overlay widget can used that functionality directly
* no need to use COverlayMessagesFrame
* added COverlayMessagesDockWidget
2019-02-22 20:35:24 +00:00
Klaus Basan
d6f3932e5b Ref T506, init text message overlay in cockpit/ATC component 2019-02-22 20:35:24 +00:00
Klaus Basan
eddaeddfc4 Ref T506, style 2019-02-22 20:35:24 +00:00
Klaus Basan
6a9bde5095 DEnglish 2019-02-22 20:35:23 +00:00
Klaus Basan
f6ce579f67 Ref T506, allow to init overlay messages, passivate text messages, improved tab widget selection 2019-02-22 20:35:23 +00:00
Klaus Basan
49a49f48ee Minor UI adjustments 2019-02-22 20:35:22 +00:00
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