Commit Graph

58 Commits

Author SHA1 Message Date
Klaus Basan
ae60cf560d Ref T361, better guards for plugin and sGui
No need to create an assert if plugin is not avilable, though the plugin info should be "Unspecified" in that case
2018-09-18 19:23:13 +02:00
Klaus Basan
be816f076d Ref T312, UI simulator settings to check listeners manually per push button 2018-08-27 18:58:24 +02:00
Klaus Basan
101e5bb6c3 Ref T259, Ref T243 use new context functions for global setup in settings component 2018-04-13 23:36:51 +02:00
Klaus Basan
1970ae9f9b Ref T252, formatting 2018-02-16 12:13:50 +01:00
Klaus Basan
29e1d54e05 Ref T111, some fixes in the vicinity of plugin / drivers
* mostly style / doxygen / formatting
* assert/verify
2017-09-24 19:51:02 +01:00
Klaus Basan
f816c927ee refs #917, use utility functions in simulator settings 2017-04-18 00:04:52 +01:00
Klaus Basan
0f2680ba2a Formatting #910 2017-04-18 00:00:06 +01:00
Mathew Sutcliffe
42a13fceff refs #905 When at least one sim plugin is disabled, sim settings component
would always reset the enabled sims setting even if nothing changed.
2017-04-17 23:59:03 +01:00
Mathew Sutcliffe
c9587e5ace refs #905 Fixed unrelated potential undefined behaviour. 2017-04-17 23:59:01 +01:00
Klaus Basan
d504bfbee0 refs #892, init plugin info also after startup
* fixes issue when plugin is already loaded
* plus some formatting/renaming
2017-04-17 23:57:06 +01:00
Klaus Basan
cb024b0245 Formatting 2017-04-17 23:56:55 +01:00
Klaus Basan
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +00:00
Mathew Sutcliffe
b252673928 refs #837 Using new abbreviated syntax for null units. 2017-01-10 23:44:30 +00:00
Klaus Basan
3903a24696 refs #806, apply CInterpolationAndRenderingSetup
* removed no longer needed signatures
* some renaming of CInterpolationAndRenderingSetup functions
* adjusted UI element
2016-12-13 19:00:53 +01:00
Klaus Basan
6f1a6deefd refs #796, started to move rendering distance/max.aircraft to CInterpolationAndRenderingSetup
(this will allow to remove a lot of signatures in context/simulator interface)
2016-12-13 19:00:08 +01:00
Klaus Basan
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Klaus Basan
d782839cb8 refs #703, moved context to subdir
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +02:00
Roland Winklmeier
319b18bf98 Set list of enabled simulators only if it was modified
refs #699
2016-07-10 21:16:45 +02:00
Mathew Sutcliffe
9bef6854ca Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get. 2016-06-08 18:21:01 +02:00
Roland Winklmeier
675255acf6 Fix access violation trying to use already destroyed context 2016-05-20 01:32:42 +02:00
Roland Winklmeier
18aeb9a034 Add missing license headers 2016-05-20 01:31:24 +02:00
Roland Winklmeier
f4c2939253 Fix BlackGui header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:31:11 +02:00
Michał Garapich
1a3e610cbf refs #513 Make plugin selection persistent
* Saved listeners are started on application startup
* CVariant has support for QStringList
2016-05-04 22:58:08 +02:00
Klaus Basan
3829aaeae8 refs #485, removal of CEnableForRuntime 2016-03-18 01:08:05 +00:00
Michał Garapich
e50e298f21 refs #511 X-plane plugin has now correct name
* X-Plane plugin is now called just "X-Plane" instead of "X-Plane generic plugin"
* "Listening for ..." uses full simulator name instead of its abbreviation
2015-11-26 19:28:19 +01:00
Michał Garapich
09244f235a refs #511 Handle config plugin load failure
If the config cannot be loaded properly, swift will not
crash. The proper error will be shown instead.
2015-11-26 19:28:19 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Michal Garapich
3781cf2095 refs #392 Add config window for FSX
* Added plugin_fsx_config subproject
* Removed CSettingsFsxComponent from BlackGui
* Added CSimConnectSettingsComponent
* Add x-plane_install_10.txt path for Windows
2015-11-19 21:08:29 +00:00
Michał Garapich
cf3102333b refs #392 Added the "Install XBus" feature
* New "Install XBus" button in the CSimulatorXPlaneConfigWindow
* CSettingsSimulatorComponent cleanup
2015-11-19 21:08:26 +00:00
Michał Garapich
06c17d7d09 refs #392 Added BlackGui::CPluginConfigWindow
* CPluginConfigWindow is now base class for all plugin config windows
* CPluginConfigWindow is styled properly
* Fixed behaviour in CSimulatorXPlaneConfigWindow
2015-11-19 21:08:23 +00:00
Michał Garapich
a0b4d47736 refs #392 Added BlackGui::IPluginConfig
* BlackGui::IPluginConfig is an interface for plugin configurations
* Added plugin_xplane_config target
* Adapted IPluginManager
* Adapted CPluginManagerSimulator
* Adaptem CSettingsSimulatorComponent
2015-11-19 21:08:21 +00:00
Michał Garapich
584616de7a refs #443 Added PluginDetailsWindow
* New variable in the json metadata file - simulator name
* Added PluginDetailsWindow that shows plugin info
2015-11-19 21:08:18 +00:00
Michał Garapich
4d772050b0 refs #443 Add simulator enable/disable option
* Added CPluginSelector widget
* IContextSimulator starts/stops only specified listener(s)
* No more "auto" CSimulatorPluginInfo
2015-11-19 21:08:15 +00:00
Klaus Basan
ac61a3458d Removed settings context
* removed old settings related classes
* moved notifications to BlackMisc::Audio
* added audio settings where needed

refs #464
refs #337
2015-11-19 21:04:06 +00:00
Mathew Sutcliffe
d971b073b7 refs #297 Removed old simulator settings, which were not even used. 2015-11-19 20:51:28 +00:00
Klaus Basan
d706c85d87 refs #438, do not change comboxbox from backend.
Use a field to display the really selected driver and let the user choice unchanged works best for me
2015-06-05 01:35:27 +02:00
Klaus Basan
f423f167f3 refs #438, settings simulator component
* load new plugin via startSimulatorPlugin
* removed dependency from settings
* utility method to get plugin names
2015-06-03 16:26:45 +02:00
Klaus Basan
d3d2d4eb63 refs #438, renamed file to simulatorplugininfolist 2015-06-02 20:22:46 +02:00
Mathew Sutcliffe
47cac09e81 refs #437 Removed toQVariant and convertFromQVariant. 2015-05-31 17:21:17 +01:00
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
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
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
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
32f60722c8 refs #396, move subproject BlackSim into BlackMisc::Simulation
* removed unused samples / tests
* fixed found Doxygen issues
* removed blacksimfreefunctions, now in BlackMisc::Simulation::registerMetadata()
* samples_vetcor_geo to samples_geo
2015-04-07 19:22:16 +02:00
Michał Garapich
4d4acb20bc refs #366 cleanup
* Removed obsolete signal from IContextSimulator
* Removed connectToSimulator() method from IContextSimulator as it is no
longer relevant
* CSimulatorComponent updates automatically when simulator disconnects
* FS9 & FSX drivers update (including FSCommon)
2015-04-01 01:21:28 +02:00
Michał Garapich
63e48ae332 Remove ISimulator::getSimulatorInfo()
To provide maximum flexibility, the simulator info is specified by each
plugin in the JSON metadata file.

* Renamed SCimulatorInfo to CSimulatorPluginInfo
* Removed pre-defined simulator infos (UnspecifiedSim, FSX, etc)
* CContextSimulator keeps track of which plugin is loaded and its info
* QSignalMapper keeps track of which listener emitted the simulatorStared() signal
* CSimulatorPluginInfo contains name, simulator name and description
* TODO: GUI part
* TODO: CTestFsCommon
2015-04-01 01:20:25 +02:00
Michał Garapich
5b4c2377b6 Initial "Auto" option
* Added ContextSimulator::listenForAllSimulators()
* Added "auto" option in SettingsSimulatorComponent
* Default plugin is UnspecifiedSim, which stands for "auto" option
2015-04-01 00:00:36 +02:00
Klaus Basan
48655bf551 refs #395, signatures for max.aircraft and max.range
(!) This in an intermediate step, the feature is not yet fully operational

* max distance for rendering as simulator property
* set max distance / aircraft from GUI

As result of the latest meeting
* changed CCallsignList to CCollection
* fixed some warning with elevated compiler settings (e.g. removed qint values -> int)
2015-03-29 20:15:13 +02:00
Klaus Basan
79b3cf3cd3 Misc. imorvements as discussed in RW/KB worksho
* preparation for a context menu to send text messages from ATC/aircraft view
* preparation for context menu for fast pos. updates
* reverse ICAO lookup at login screen
* display fast updates / parts in GUI
* moved max- aircraft into settings
* made serverselection own component
2015-03-20 17:11:10 +01:00