Commit Graph

36 Commits

Author SHA1 Message Date
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
Mathew Sutcliffe
f80d7e27d1 refs #247 Using CVariant in blackgui. 2014-12-13 01:42:00 +00:00
Klaus Basan
df5169ee98 refs #335, renaming
* the term "components" will only be used for GUI components (derived from QWidget/ QWidget derived classes) fron now on
* timer, and enabler classes renamed accordingly: CEnableForRuntime, CEnableForDockWidgetInfoArea, CUpdateTimer
* adjusted all dependent classes
2014-11-29 22:38:53 +01:00
Mathew Sutcliffe
ac9960d615 Refine header includes to improve build times. 2014-11-14 15:39:02 +00:00
Mathew Sutcliffe
d0894d2cf9 refs #336 Convenience methods to create validation messages. 2014-10-16 17:06:31 +01:00
Mathew Sutcliffe
a294e8db0f refs #336 Using the new CLogMessage syntax to log messages. 2014-10-16 17:05:50 +01:00
Klaus Basan
e929423fc9 Some GUI finetuning
* tabBar expanding
* removed setDocumentMode
* Flight plan in scroll area
2014-10-07 13:10:45 +02:00
Mathew Sutcliffe
f7e2523eaa refs #316 Blackgui changes: using CLogMessage and removed sendStatusMessage signals. 2014-10-04 22:16:48 +01:00
Klaus Basan
3d41414d9e refs #300, moved components in own namespace and directory 2014-08-05 23:31:47 +02:00