Commit Graph

394 Commits

Author SHA1 Message Date
Roland Winklmeier
e4f2c9e88a Replace occurrences of CVariant::toCVariant() with CVariant::from() 2015-05-30 16:59:51 +02:00
Klaus Basan
d8d0eca3d8 refs #395, improved snapshot handling
* disabled sets distance and max.aircraft to 0
* fixed changed snapshot detection
* added rendering enabled to signal, only one function to decide (instead of duplicated logic)
2015-05-29 16:53:31 +02:00
Klaus Basan
6c06ff5d46 refs #432, adjusted originators 2015-05-29 03:49:16 +02:00
Klaus Basan
c25f8b6429 refs #432, added new components to core GUI 2015-05-29 00:51:33 +02:00
Klaus Basan
d9440ad4a6 refs #432, components for core GUI
* register: show applications connected with core
* info area, allow to add new areas in core GUI
2015-05-28 23:57:32 +02:00
Klaus Basan
a89c4a9775 #refs 432 using forward declaration to reduce includes in header
Remark: some related includes had to be updated
2015-05-28 23:57:28 +02:00
Klaus Basan
6e2830c130 refs #432, originator list model + view 2015-05-28 23:57:24 +02:00
Klaus Basan
e695987fa2 refs #432 Doxygen, formatting, added new file types in *.pro
Minor tweaks:
* GUI infobar minimum size
* toogle lock protected
* removed unused function
* ASSERT_X
* object name
2015-05-28 23:57:14 +02:00
Roland Winklmeier
009a6f53be Do not use QStringLiteral for empty strings
The default constructor for QString is cheaper in terms of
both instructions and memory.
https://blog.qt.io/blog/2014/06/13/qt-weekly-13-qstringliteral/
2015-05-25 16:09:37 +02:00
Roland Winklmeier
4ed0b6a54f refs #429 Rename swiftcorectrl to swiftcore 2015-05-25 16:09:36 +02:00
Roland Winklmeier
ee0bfd62fa refs #428 Use COriginator instead of QString in internal API 2015-05-25 16:06:44 +02:00
Klaus Basan
549125ce03 GUI tweaks
* Settings for max aircraft / max distance with editing finished
* tab order in serverform
* öeft align LEDs in statusbar
2015-05-22 03:08:25 +02:00
Roland Winklmeier
b03448c89b refs #412 swiftcorectrl 2015-05-21 01:37:45 +02:00
Roland Winklmeier
aa51bd40dc refs #412 System Tray Window base class
It inherits from QMainWindow automatically acts as SystemTrayWindow.
If minimized it will not quit, but minimize to tray only.
2015-05-21 01:37:43 +02:00
Roland Winklmeier
f2a280a387 refs #412 Make InfoStatusBar horizontal extendable 2015-05-21 01:37:42 +02:00
Roland Winklmeier
37242a69a3 refs #412 command input widget 2015-05-21 01:37:40 +02:00
Klaus Basan
1330bb8513 refs #420, refs #421 improved view update for simualted aircraft
* added update timer for simulated aircraft
* in same step streamlined handling of CUpdateTimer
2015-05-18 01:57:35 +02:00
Klaus Basan
0ea07e28e0 refs #420, refs #417, allow to return combined simulator status, removed unneeded functions
This should be further improved with #417
2015-05-17 20:29:14 +02:00
Klaus Basan
104122023c Aircraft ICAO data should use ICAO code as attribute, this somehow got lost in the merge session, re-applied 2015-05-17 20:29:06 +02:00
Klaus Basan
c380b8df23 Fixes / improvements found during testing
* Redundant "simulatorStatusChanged" signal in proxy
* invokeMethod for timer
* removed redundant this->buildNavigator(1)
* Shortcut in GUI
* comment in variant
2015-05-16 03:26:37 +02:00
Klaus Basan
405de80945 refs #420, simulator status now displayed in GUI (user can see if sim is stopped / paused) 2015-05-16 03:26:34 +02:00
Mathew Sutcliffe
b65232b202 MS & KB workshop: ICAO class renamings. 2015-05-12 22:47:54 +01:00
Klaus Basan
6119c22c78 some fixes noticed during today's discussion around refs #302
* move hotkey settings in own GUI component -> easier adjustments
* some fixes for dock widgets when tab widget is shown without names (unrelated but found + fixed in same step)
2015-05-12 21:03:41 +01:00
Klaus Basan
e7f65ba0b6 refs #395, GUI for simulator settings
* improved formatting of aircraft views
* extended settings for render restrictions (such as max. aircraft, max range ...)
* connected new signal / slots in runtime
* Doxygen / formatting
2015-05-12 21:03:38 +01:00
Klaus Basan
91f0b99cc5 Fixes some issues with navigator widget to avoid Qt size warnings.
Remarks: Some but not all warnings are gone
2015-05-12 21:03:33 +01:00
Klaus Basan
6570a0c966 Minor tweaks:
* Altitude formatter for GUI
* borders for CDockWidget
* homebase for ATC
2015-05-12 21:03:31 +01:00
Klaus Basan
3c15f2ad89 refs #395, refs #411 fixes found in course of DBus testing
* set infobar status correctly when GUI connects after the core has been started
* more detailed information in information statusbar
* allow to obtain currently connected server in network context
* made many network vatlib slots normal member functions
* fixed rendered aircraft flag setting in FSX driver
2015-05-12 21:03:30 +01:00
Klaus Basan
1b9878fdd3 refs #395, some functions renamed in network provider/context
Goal: consistent function names in own and remote aircraft provider
2015-05-12 20:46:50 +01:00
Klaus Basan
3ecf37dda4 refs #395, changed own aircraft provider to thread safe member functions
(similar to remote aircraft provider)
* removed references
* made own aircraft context thread safe (reg. own aircrat data)
* removed the read only versions of the provider
* adjusted consuming methods
* renamed some functions ("ownAircraft...") to avoid ambiguity (with remote aircraft)
2015-05-12 20:46:48 +01:00
Klaus Basan
7200f2e29c GUI formatting 2015-05-12 20:46:47 +01:00
Klaus Basan
f7158f17f9 Renamed aircrafts -> aircraft 2015-05-12 20:46:42 +01:00
Klaus Basan
3300b1ad9b refs #395, added isInRange to ATC stations
* use null as default values for some members to detect those are not yet set
* used simplified bool formatter for views
2015-05-12 20:46:41 +01:00
Klaus Basan
32e65669a3 GUI improvements: naming and better user experience during shutdown 2015-05-12 20:46:37 +01:00
Klaus Basan
7b1beaf02d Introduced hint for callsign to specify callsign type (aircraft? ATC?) by context.
Background: Pilots can login in with virtually any callsign like XXX_OBS, resulting in wrong interpretations (as OBS here is no ATC station).
2015-05-12 20:46:36 +01:00
Klaus Basan
acec379151 refs #395, renamed to updateFastPositionEnabled (consistency with other member functions) 2015-05-12 20:46:35 +01:00
Mathew Sutcliffe
5a91d761c2 refs #413 Breaking circular dependencies by moving mixin classes from valueobject.h to the files where they fit best:
* DBus mixins moved to dbus.h
* Json mixins moved to json.h
* Icon mixin moved to icon.h
* Comparison mixins moved to compare.h
* Hash and string mixins moved to blackmiscfreefunctions.h
* Index mixin moved to propertyindexvariantmap.h
* MetaType mixins moved to variant.h
* registerMetaValueType moved to variant.h
* valueobject_private.h renamed to variant_private.h
2015-05-12 20:37:59 +01:00
Roland Winklmeier
647c5c2de8 doxygen 2015-05-05 22:27:31 +02:00
Roland Winklmeier
a3cfcf58c8 refs #403 add BlackGui shared library build 2015-05-05 21:34:30 +02:00
Roland Winklmeier
8ad29e2fff refs #403 add extra flag for static builds 2015-05-05 21:29:48 +02:00
Roland Winklmeier
793fcbfd15 refs #403 refactor project files
* Use source path and build path instead of relative ones
* Unify pre target dependencies in libraries.pri
2015-05-05 21:29:46 +02:00
Klaus Basan
f870fb3cf9 refs #312, some minor adjustments:
* cpp check (Jenkins)
* init style sheet in navigator
* shorter names in JSON plugin names
2015-04-19 03:04:26 +02:00
Klaus Basan
464a8f4258 Some improvements and fixes refs #312, Navigator (aka navigation bars)
* Added extra QFrame in CDockWidgets to have better control in stylesheez (CDockWidget -> QWidget -> QFrame)
* Adjusted stylesheets
* Force update of stylesheet when frameless changes
* Cascading status message in nested CInfoArea components

Floating frameless dock widget still not transparent
2015-04-19 03:04:22 +02:00
Klaus Basan
90621fecb7 refs #312, remove unwanted widget which is required only in GUI builder 2015-04-19 03:04:15 +02:00
Klaus Basan
72aa072f30 refs #312, Navigator (aka navigation bars)
* different dyn. property names for main window, dock window and infoarea
* dyn.properties for nested QWidgets
* style sheet for navigator
* utility function to delete layout
* added standard OS icons, some formatting in CICons
* actions in main window to be used in navigator
* main window becomes normal window when minimized so it is correctly displayed in Win taskbar

Remark: Frameless floating dockwidgets with rounded borders not yet working
2015-04-19 03:00:38 +02:00
Klaus Basan
a05fa7494f Some minor tweaks and fixes
* added names to timers
* Some DBus code formatting
* missing GUI element names
2015-04-19 03:00:34 +02:00
Roland Winklmeier
1b26311983 Fix license header spelling 2015-04-16 00:59:56 +02:00
Michał Garapich
1d5cbb7a9d refs #404 Added human-readable plugin names
* Added new "identifier" attribute in JSON metadata files
* "identifier" is now the one that makes plugins unique
* "name" attribute is a human-readable name
2015-04-16 00:59:56 +02:00
Klaus Basan
5d819b30f5 Split of CSimulatorPluginInfo and CSimulatorSetup
refs #404, and discussion https://dev.vatsim-germany.org/issues/404#note-8

* Changed CSimulatorSetup to use CNameVariantPairList as data. The old version was an hack and had to go, CNameVariantPairList would allow complex types in the future and can be already shown in the GUI.
* CNameVariantPairList was improved slightly in the same step
* Functions to get CSimulatorSetup from driver / context
* Removed CSimulatorSetup data from CSimulatorPluginInfo
2015-04-11 02:09:31 +02:00
Klaus Basan
f7b50b3f5a refs #366, passing Simulator plugin info to drivers
Add. some finetuning
2015-04-11 02:09:23 +02:00
Klaus Basan
1f5eb16bb1 refs #400, 2nd stage for Qt 541
* GUI finetuning after folder split and migration to Qt 5.4.1
* Doxygen fixes
2015-04-11 02:09:19 +02:00