Commit Graph

62 Commits

Author SHA1 Message Date
Mat Sutcliffe
57ff07592a [AFV] CInputManager stores icon indexes instead of QPixmap instances
The GUI converts icon indexes to QPixmap indexes when needed.
This fixes the context unittest that was broken by audio context changes.
2019-10-11 19:00:52 +01:00
Klaus Basan
329b1e8c9a Ref T731, moved QML map in dialog
* initial structure
* embedded a QQuickWidget in dialog
2019-10-11 18:59:13 +01:00
Roland Rossgotterer
4772aadc1a Replace INetwork::CConnectionStatus with proper value object 2019-09-17 17:29:25 +02:00
Klaus Basan
1409dae355 Ref T717, initial UI components for model browser 2019-09-16 22:41:27 +01:00
Klaus Basan
83e8597b14 Ref T659, login dialog and connected signal/slots with main GUI 2019-09-16 22:40:38 +01:00
Klaus Basan
7cfd4b390a Ref T659, login dialog to test new login design
* mockup for login dialog
* can be used with SHIFT key
2019-09-16 22:40:36 +01:00
Klaus Basan
f87004c6c8 Ref T554, improved auto publishing handling during shutdown 2019-09-16 22:40:34 +01:00
Klaus Basan
90afa0b93b Remove push_macro, seems no longer to be needed 2019-09-16 22:40:09 +01:00
Klaus Basan
66f19b29be Ref T554, setting for auto publish (timestamp) 2019-09-16 22:40:07 +01:00
Klaus Basan
16e19ad6d3 Fixed typo, style 2019-09-16 22:40:07 +01:00
Klaus Basan
67b9e4f560 Ref T554, auto publishing dialog in swift pilot client UI 2019-09-16 22:39:56 +01:00
Klaus Basan
2139fc2a5f Use definition for PTT 2019-05-13 11:20:57 +02:00
Klaus Basan
66cbe1662e Ref T560, reset move position 2019-04-11 22:12:05 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
08578e202a Ref T536, use always the same overlay widget for text messages
* handle request signals
* "slot" functions (e.g. nShowOverlayInlineTextMessageCallsign) so we can later react on settings
2019-02-22 20:36:14 +00:00
Klaus Basan
583a5bfb28 Ref T515, mapping component improvements
* allow to re-display validation dialog
* highlight disabled models
2019-02-22 20:35:40 +00:00
Klaus Basan
6acde8799f Ref T515, display onValidatedModelSet results in UI 2019-02-22 20:35:39 +00:00
Klaus Basan
85cf339e04 Ref T515, some minor adjustments
* use validation status messages for prerequisites
* SwiftGuiStd::onRequestedConsoleMessage
* displayInOverlayWindow for HTML messages
2019-02-22 20:35:37 +00:00
Klaus Basan
d28b09141b PTT click sound as a follow up of Ref T494 2019-02-22 20:35:08 +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
2bf9ff6d8b Ref T447, when "on top" is selected trigger follow up actions 2018-12-11 10:53:32 +01:00
Klaus Basan
6ebb2ee502 Ref T447, toggleStayOnTop for CGuiApplication 2018-12-10 03:41:16 +01:00
Klaus Basan
254abdf68b Style 2018-11-16 02:49:55 +01:00
Klaus Basan
8bd969105a XSwiftBus install dialog (for local environment)
* can also be called from menu
* improved file check
* renamed some functions
2018-05-18 00:25:02 +02:00
Klaus Basan
2dc2d94b53 Ref T264, minor screen size adjustments 2018-05-12 21:40:15 +02:00
Klaus Basan
9192d13a6c Dialog (no longer overlay frame) for new DB data
* allows to select the entities
* allows to consolidate
2018-05-04 23:03:21 +02:00
Klaus Basan
8df74ce0e6 Ref T259, Ref T243 split mapping info area, new interpolation info area
* new interpolation info area
* added interpolation and parts history to that area
* adjusted keypad and main swift GUI
2018-04-13 23:36:55 +02:00
Klaus Basan
6192aeb77c Ref T131, use context prerequisites testing and XSwiftBus copy in UI 2018-04-05 02:53:45 +02:00
Klaus Basan
221be08c42 Ref T257, add menus sp we can attach/detach simulator window 2018-02-22 01:26:48 +01:00
Klaus Basan
5aad426ced Ref T239, removed "QTimer m_xxx { this };" pattern
* not in worker classes as parent might have a relevance there
* in UI classes it is useless
2018-02-02 21:26:50 +01:00
Klaus Basan
632e0207ce Ref T224, improved check of DB data availability in swift GUI
* some renamings
* check for empty caches as well
* using fixed timestamp checks
* display info about loading objects
2018-01-15 22:50:35 +01:00
Roland Winklmeier
de4fe44156 Fix sending the correct pressure altitude for a pilot position
* Before this commit, only the true altitude was known for an aircraft situation. The pressure altitude was not available anywhere yet.
* This caused a wrong altitude in radar clients.
* We fix this reading the pressure altitude from the simulators and set it in the own aircraft situation.
* MS Flight Simulators have the pressure altitude in the APIs available.
* For X-Plane and emulated simulator, we need to calculate it from the pressure at sea level.
* Finally, we use the new available pressure altitude to send it to the FSD server.

Maniphest Tasks: Ref T223
2018-01-15 22:49:08 +01:00
Klaus Basan
3c91164020 Timer member instead of pointer 2018-01-14 18:46:54 +01:00
Klaus Basan
c23fe86f7f Ref T219, changed or removed some log category functions
* removed unused
* used standard "static const CLogCategoryList &getLogCategories()" patten
2018-01-14 18:46:04 +01:00
Klaus Basan
cc35619bbe Ref T192, onConnectionTerminated was never fired and hence removed 2017-12-21 19:46:57 +01:00
Klaus Basan
27ebf3e43d Ref T168, relay kicked message thru context to UI
* new signal in context, connected with VATLIB
* display in UI
2017-10-10 00:27:23 +01:00
Klaus Basan
7a87f986e2 Ref T167, renaming LocalInDBusServer and verifyModelSet 2017-10-10 00:27:17 +01:00
Klaus Basan
fb5b94e29f Follow up of T167, "private slots" -> "private" 2017-10-10 00:27:10 +01:00
Klaus Basan
8b1ef20146 Ref T167, in swift GUI
* removed isContextNetworkAvailableCheck / isContextAudioAvailableCheck
* replaced those by displayDBusReconnectDialog
* using a counter to ignore some errors before showing re-connect dialog
2017-10-10 00:27:07 +01:00
Klaus Basan
9748b5a442 Formatting, comments, Doxygen, minor tweaks 2017-10-10 00:27:03 +01:00
Klaus Basan
cbe3122c40 Ref T24, use shared info objects, not header timestamps 2017-04-20 20:41:47 +02:00
Klaus Basan
eabb576b67 fixed SwiftGuiStd::setContextAvailability
(check against isEmptyObject, not isUsingImplementingObject)
2017-04-17 23:58:51 +01:00
Klaus Basan
1889270011 refs #617, init hotkey lists with pilot client menus 2017-02-24 15:20:42 +00:00
Klaus Basan
d057158e1d Improvements of swift GUI - pilot client
* support for headers, allow to load files when caches are outdated (refs #787)
* display error when no model set is initialized
* removed some unused members
2016-12-13 19:01:35 +01:00
Klaus Basan
281bae1e6e GUI fixes
* added missing support for weather component in main info area
* closing the navigator needs to display main window (otherwise no windows is visible)
2016-12-13 19:00:06 +01:00
Klaus Basan
bb0a96749e refs #799, adjusted swift client reg. the settings updates 2016-12-13 18:59:59 +01:00
Klaus Basan
18112a0394 refs #693, integrated GUI close dialog
* utility function in CGuiApplication containing the logic (dialog needed, ..)
* closeEvent function
2016-07-01 14:38:33 +02:00
Mathew Sutcliffe
0246767e31 Fixed method name. 2016-06-08 23:54:13 +01:00
Roland Winklmeier
0326d1fc81 Fix swiftguistd header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:31:53 +02:00
Klaus Basan
6d79b7dc12 refs #485, use Q_INTERFACES as a way of avoiding dynamic_cast 2016-03-18 01:10:24 +00:00