Commit Graph

1094 Commits

Author SHA1 Message Date
Klaus Basan
58b7f282ee Ref T189, UI formatting of status bar 2017-12-21 19:45:11 +01:00
Roland Winklmeier
069bfb921f Prevent sending the flightplan only if there are validation errors or warnings
Summary:
The flight plan initialization always contains messages. In case everything
was fine, it contains the info validation messages, that validation
passed. So messages is never empty and the flight plan was never sent out.
Instead, it should stop sending the flight plan if there were validation
errors or warnings.

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins

Maniphest Tasks: T206

Differential Revision: https://dev.swift-project.org/D71
2017-12-13 09:42:26 +01:00
Mathew Sutcliffe
dbb67b385b Ref T184 Moved CTokenBucket from BlackCore to BlackMisc. 2017-11-12 13:48:02 +00:00
Klaus Basan
878498cc9d Ref T184, formatting 2017-11-12 04:21:56 +01:00
Klaus Basan
e9e2ac1e03 Ref T189, minor UI fixes for mapping component 2017-11-11 02:36:37 +01:00
Klaus Basan
67711ba55e Ref T184, private/protected slots -> private/protected 2017-11-09 04:42:23 +01:00
Klaus Basan
4a6efe0fbe Ref T182, show image as overlay (and not as label, which is too small) 2017-11-09 04:42:18 +01:00
Klaus Basan
0de9a2afc2 Ref T182, mapping / overlay component formatting 2017-11-09 04:42:16 +01:00
Klaus Basan
ad31868a3a Ref T182, "private slots" -> "private" in model matcher component 2017-11-09 04:42:14 +01:00
Klaus Basan
1bf2f63589 Ref T180, text message component "private" -> "private slots" 2017-11-05 20:02:37 +01:00
Klaus Basan
4972fe0af2 Ref T180, check callsign completer agains shared values
* avoid unnecessary loads via DBus
* fixes wrong m_validCallsign values (not updated)
* no signal when edited but no value changed
2017-11-05 20:02:36 +01:00
Klaus Basan
93a29b2b11 Ref T180, formatting 2017-11-05 20:02:06 +01:00
Klaus Basan
88872f9f3a Ref T180, setup loading dialog
* UI adjustments, style sheet
* use connectOnce for QFileSystemModel::directoryLoaded
2017-11-04 21:44:41 +01:00
Klaus Basan
20316fd77d Ref T180, minor renaming 2017-11-04 21:44:37 +01:00
Klaus Basan
c733705209 Ref T180, pilot client UI formatting (form layout) 2017-11-04 16:03:52 +01:00
Klaus Basan
d5bb1733f4 Ref T180, formatting / const 2017-11-04 16:03:40 +01:00
Klaus Basan
0445a88d6d Ref T176, setting scrollbar policy (vertical) to "always" avoids overflow 2017-10-31 15:39:39 +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
1fda080070 Ref T177, UI layout of settings component 2017-10-31 15:39:37 +01:00
Klaus Basan
2e307555a2 Ref T177, clear highlighting once new models are stashed 2017-10-31 15:39:35 +01:00
Klaus Basan
b74623599e Ref T118, color search follow up formatting 2017-10-31 15:39:28 +01:00
Klaus Basan
585d82f84b Minor UI formatting 2017-10-31 15:39:25 +01:00
Klaus Basan
bd2b6ebbd8 Ref T118, adjust model dirs if sim directory changes 2017-10-31 15:39:23 +01:00
Klaus Basan
58c4e36413 Ref T118, settings simulator formatting 2017-10-31 15:39:23 +01:00
Klaus Basan
53b31600a5 Ref T118, minor fix to allow easy testing of the multinline issue 2017-10-31 15:39:22 +01:00
Klaus Basan
5612033924 Minor fixes, formatting, static const 2017-10-31 15:39:19 +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
dd9cff778f Ref T118, "private slots" -> "private" 2017-10-31 15:39:15 +01:00
Klaus Basan
2f0253b3eb Ref T118, support multiple model directories
* this was recently discussed https://swift-project.slack.com/archives/C04J6J76N/p1508430536000065
* for config parser already implemented
* for XP the loading from multiple dirs still needs to be implemented (see todo)
2017-10-31 15:39:15 +01:00
Klaus Basan
e920dc77b8 Ref T118, formatting 2017-10-31 15:39:12 +01:00
Klaus Basan
bf390f592a Ref T171, formatting of some existing completers
* private slots -> private
* this->m_ -> m_
* removed unused utility function (model string completer)
2017-10-18 22:58:57 +02:00
Klaus Basan
d348226283 Ref T171, use a shared completer for callsign completion
* CSharedStringListCompleter utility class supporting timestamp checks
* avoid unnecessary DBus transfer
* less memory consumption

Remark: No totally clear if a QCompleter can be shared, but I have not noticed a problem so far
2017-10-18 22:58:56 +02:00
Klaus Basan
9a672dfec7 Ref T171, modelmatcher log component formatting 2017-10-18 22:58:44 +02:00
Klaus Basan
aa52889767 Ref T171, use callsign completer in history and matcher log
* "private slots" -> "private"
* UI connects as Qt::QueuedConnection
2017-10-18 22:58:44 +02:00
Klaus Basan
a51f696bee Ref T171, callsign completer class
* completer used in 3 places, makes sense to encapsulate as class
* automatically updating from network context
2017-10-18 22:58:43 +02:00
Klaus Basan
0f968909e7 Ref T171, formatting 2017-10-18 22:58:41 +02:00
Mathew Sutcliffe
0cf6034a29 Don't use member access notation to call static methods. 2017-10-10 00:56:54 +01:00
Klaus Basan
d6aa535236 Fixed minor UI issues in keypad area 2017-10-10 00:28:14 +01:00
Klaus Basan
9ce37d94be Ref T129, flight plan component formatting 2017-10-10 00:28:12 +01:00
Klaus Basan
3d541a8dd1 Ref T129, SVFR/VFR discussion
* utility functions in flight plan class
* adjusted flight plan component and client
2017-10-10 00:28:09 +01:00
Klaus Basan
a070e0e215 Ref T129, fixed typo 2017-10-10 00:28:02 +01:00
Klaus Basan
f815f7734d Ref T166, use command input in main keypad area 2017-09-29 23:26:23 +02:00
Klaus Basan
92bb17364a Ref T166, command input uses history line edit
* tooltip handling
* emit commandEntered
2017-09-29 23:26:21 +02:00
Klaus Basan
a196015b73 Ref T165, using CGuiApplication::distributionInfoAvailable is redundant, the cache changed signal is enough
* distribution info avaialble signal no longer needs flag
* some functions can be removed
2017-09-29 23:26:18 +02:00
Klaus Basan
a61f55a4fc Ref T165, "private slots" -> "private" in distribution info component 2017-09-29 23:26:17 +02:00
Klaus Basan
9d28aa1d1b Ref T165, use "?" for context help in update dialog 2017-09-29 23:26:16 +02:00
Klaus Basan
a5a32a1722 Ref T165, directly display distributions info
* use digest signal to avoid unnecessary signals
* better user experience by directly displaying info
2017-09-27 19:35:09 +02:00
Klaus Basan
40bc75a98c Ref T164, show (by LED) when consolidating data
* added LED in info bar
* signal in background updater and
* connecting them
2017-09-26 20:15:28 +02:00
Klaus Basan
3cf97b3f37 Ref T163, using settings descriptions
* renamed to getUnsavedSettingsKeys
* no private slots in close dialog
* use descriptions instead of keys
2017-09-26 20:08:02 +02:00
Klaus Basan
071f327fca Follow up of T156, improved setup loading dialog
* allow to load the delivered setup file if there are no other data
* display setup cache information
2017-09-24 20:29:27 +01:00