Commit Graph

1482 Commits

Author SHA1 Message Date
Klaus Basan
bb7f38face Ref T192, formatting ATC component (no private slots) 2017-12-21 19:46:54 +01:00
Klaus Basan
12667bca12 Ref T189, allow to set main window (injection)
In swift UI applications we init the main window explicitly, no need afterwars to search for it
2017-12-21 19:46:36 +01:00
Klaus Basan
63fbeecc00 Ref T192, formatting and minor tweaks 2017-12-21 19:46:33 +01:00
Klaus Basan
26c6172816 Ref T197, doxygen fixes
"spooky action at a distance"
https://swift-project.slack.com/archives/G7GD2UP9C/p1510941452000072
2017-12-21 19:46:26 +01:00
Klaus Basan
8e761f35f1 Ref T197, simulator info
* CSimulatorInfo only initialized once and not over and over again in plugin info
* getSimulatorInfo() no longer virtual, as we can access the member CSimulatorInfo directly
* display exact simualtor in FSX/P3D driver
* renamed to identifierToSimulator and fixed typo "Identifier"
2017-12-21 19:46:17 +01:00
Klaus Basan
bce79a424d Ref T195, core settings UI improvements
* hide "?" (help)
* spacers
2017-12-21 19:46:05 +01:00
Klaus Basan
948a0c1eee Ref T195, DBus address selector UI to be used with launcher and core UI 2017-12-21 19:45:52 +01:00
Klaus Basan
8103df18f7 Ref T195, formatting 2017-12-21 19:45:46 +01:00
Klaus Basan
31237b758e Ref T195, audio utility function 2017-12-21 19:45:41 +01:00
Klaus Basan
3e6484cdda Ref T189, CGuiUtility improvements
* only search for main window once
* static const QJsonObject for drag and drop
* formatting
2017-12-21 19:45:29 +01:00
Klaus Basan
02f7e12e12 Ref T189, UI: spacing of statusbar depending on main window size 2017-12-21 19:45:25 +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
c2eeff6193 Ref T189, formatting 2017-12-21 19:45:17 +01:00
Klaus Basan
58b7f282ee Ref T189, UI formatting of status bar 2017-12-21 19:45:11 +01:00
Klaus Basan
6650ec89d3 Ref T189, formatting 2017-12-21 19:45:08 +01:00
Klaus Basan
3d76eabac5 Ref T189, context menu "Clear highlighting" only if there are highlighted rows
* added customMenu in template
* added hasHighlightedRows
2017-12-21 19:45:05 +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
Roland Winklmeier
f53ec46d20 Change the operating system name from OSX to MacOS everywhere
Summary:
- Changed the name in all build artifacts
- Everywhere in C++

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins

Maniphest Tasks: T205

Differential Revision: https://dev.swift-project.org/D69
2017-12-06 22:50:19 +01:00
Mathew Sutcliffe
dbb67b385b Ref T184 Moved CTokenBucket from BlackCore to BlackMisc. 2017-11-12 13:48:02 +00:00
Mathew Sutcliffe
7328d48e59 Ref T184 Optimization: getSelectedDockInfoArea iterates over all info areas in linear O(n) time.
There is no need to do this in isSelectedDockWidgetInfoArea, as it can be checked in constant O(1) time.
This method was occupying a significant proportion of the CPU time of swift.
2017-11-12 13:48:00 +00:00
Mathew Sutcliffe
3e47bdcebc Ref T184 Minor simplification. 2017-11-12 13:47:59 +00:00
Klaus Basan
878498cc9d Ref T184, formatting 2017-11-12 04:21:56 +01:00
Klaus Basan
9a2c4573dc Ref T184, only search in own direct children
https://swift-project.slack.com/archives/C04J6J76N/p1510427932000021

* CInfoArea::findOwnDockWidgetInfoAreas
* CInfoArea::findOwnChildInfoAreas
2017-11-12 04:21:55 +01:00
Klaus Basan
e9e2ac1e03 Ref T189, minor UI fixes for mapping component 2017-11-11 02:36:37 +01:00
Klaus Basan
f21f3719a4 Ref T180, toggleTabBarPosition still requires old slot style 2017-11-09 20:02:56 +01:00
Klaus Basan
4cb404c91d Ref T184, formatting 2017-11-09 04:42:23 +01:00
Klaus Basan
67711ba55e Ref T184, private/protected slots -> private/protected 2017-11-09 04:42:23 +01:00
Klaus Basan
72d3756605 Ref T184, keep list of child widgets, do not always search 2017-11-09 04:42:22 +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
06b184a747 Ref T182, overlay messages can be closed + some fixes
* no slots needed
* check for nullptr
* init kill button correctly
2017-11-09 04:42:17 +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
482023b2c0 Ref T180, dot commands to set rendering setup
* enable parts/debug messages via dot command
* allow to log to console via application context
2017-11-06 22:20:59 +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
2d9bcc3e06 Ref T180, functions to access existing values in shared stringlist completer 2017-11-05 20:02:35 +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
3876b010cb Ref T176, set selection mode deferred because otherwise it will be overidden from UI builder code 2017-10-31 15:39: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