Commit Graph

61 Commits

Author SHA1 Message Date
Klaus Basan
2b68fe80da Style 2019-04-11 22:11:48 +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
22ae03bd3b Moved CEnableForDockWidgetInfoArea to ns BlackGui, was in BlackGui::Components for some reason
Discovered during T536
2019-02-22 20:36:12 +00:00
Klaus Basan
6470c61d0a Ref T515, added failover flag for addingRemoteModelFailed
* adjusted signatures
* renamings and minor style adjustments
2019-02-22 20:35:41 +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
a90d4465a2 Ref T451, fixed temp. disabled model
* display info message
* aircraft model list implementing ICallsignObjectList (for message)
* fixed wrong flag in requestTempDisable
2019-02-22 20:35:33 +00:00
Klaus Basan
93cf349a04 Ref T451, context menu in views (simulated aircraft/model) to disable model 2019-02-22 20:24:03 +00:00
Mat Sutcliffe
9f85a7b560 Fixed clazy warnings: pass large objects by reference to const. 2019-02-22 20:23:33 +00:00
Klaus Basan
8416431e48 Mapping component, set simulator selector when simulator is connected 2018-09-25 21:06:23 +02:00
Klaus Basan
6f6ec17c3d Ref T335, adjusted consuming "slots" to use disabled flag if adding failed 2018-09-12 20:30:07 +02:00
Klaus Basan
e0e47a46f6 Ref T298, buttons for re-matching 2018-08-26 15:26:56 +02:00
Klaus Basan
79a133892b Fix for context menu of aircraft view as reported in slack
* reported: https://swift-project.slack.com/archives/G7GD2UP9C/p1533749013000483
* logic moved to view
* removed no longer required code
2018-08-09 01:41:10 +02:00
Klaus Basan
92deb19572 Also allow to use SHIFT + button for models, aircraft
* added setTab functions
* shift can be used to reset to first tab
2018-08-09 01:25:51 +02:00
Klaus Basan
7a58cc2222 Ref T292, Ref T285 moved setToConnectedSimulator into simulator selector so it can be used elsewhere 2018-07-26 21:40:30 +02:00
Klaus Basan
dd5028fa39 Do not update model set in mapping component if same value 2018-07-09 22:30:42 +02:00
Klaus Basan
46a3f925a9 UI improvements
* mapping component does not need extra identifier as it uses "Identifiable"
* misc smaller adjustments
2018-06-13 14:00:03 +02:00
Klaus Basan
06a4efba51 Ref T261, Ref T270, Ref T245 aircraft view improvements
* context menu gnd.flag/follow aircraft
* display CG
2018-05-22 13:20:05 +02:00
Klaus Basan
7ba9a35c52 Mapping component, do not allow to change model set when connected to simulator
* selector read-only color
* fixed read-only mode
* renamings, init improved
2018-05-08 16:06:39 +02:00
Klaus Basan
a4b1fca376 Mapping component, hide splitter when model details are not needed (based on selected tab) 2018-04-13 23:36:46 +02:00
Klaus Basan
07589e8219 Avoid redundant update of model set ui
* added changed simulator in signal
* only changed once when cache changed
2018-04-13 23:36:45 +02:00
Klaus Basan
8dc25fbad7 Allow to alter model set simulator in pilot client
* selector can be read only
* functions in context to obtain model set from loader/matcher, this will not be used when a plugin driver is present
* adjusted UI
2018-02-13 03:57:46 +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
18c7d7cf59 Use overlay messages for validation 2018-01-17 03:33:39 +01:00
Klaus Basan
26b5a6ce28 Found during T215, rectify CIdentifier issues
* null/anonymous identifier
* CIdentifier can be linked with QObject and
* CIdentifier reflects name changes of QObject (UI components change name after ctor call)
2018-01-13 05:04:27 +01:00
Klaus Basan
745fdb50d1 Follow up, made "private slots" -> "private" 2017-12-21 19:49:31 +01:00
Mathew Sutcliffe
dbb67b385b Ref T184 Moved CTokenBucket from BlackCore to BlackMisc. 2017-11-12 13:48:02 +00: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
fef6cba645 refs #898, rendered view update
* removed redundant function
* use token bucket for forced updated
* and timer updates to update speed, pos. etc., but not forced
2017-04-17 23:58:31 +01:00
Klaus Basan
e9f52bb829 refs #806, use token based approach for mapping component
Allows to respond quickly without overloading (DBus)
2016-12-13 19:00:56 +01:00
Klaus Basan
4d7e69e5b0 Minor formatting 2016-12-13 19:00:02 +01:00
Klaus Basan
bb0a96749e refs #799, adjusted swift client reg. the settings updates 2016-12-13 18:59:59 +01:00
Klaus Basan
df64f31dbf refs #799, changed components to use settings
* removed update timer
* Removed getter/setters for update times
* used UI component for settings in main settings component
2016-12-13 18:59:58 +01:00
Klaus Basan
c86f56fae9 Some renaming and minor improvements in mapping view
* fixed issue with ambigious title
* renamed to ps_toogleEnabledAircraft
2016-12-06 09:47:08 +01:00
Klaus Basan
c938e2b961 refs #780, allow to reset changed rendered aircraft 2016-12-06 09:34:26 +01:00
Klaus Basan
44fcba296b ref #780, streamlined mapping component
* remove a lot redundant slots
* renamed to rendered aircraft in code
* also use aircraftRemoved signal
2016-12-06 09:34:23 +01:00
Klaus Basan
514bcdd055 refs #786, follow up / corresponding adjustments based on context changes
* removed reload models menu item
* changed to renamed functions
2016-12-06 09:34:11 +01:00
Roland Winklmeier
fb3df51013 Move aircraft matching out of simulator plugins
All model matching will be done simulator independent in
CContextSimulator. The simulator specific part is kept in the model
set.
This also caused the signal modelMatchingCompleted to be renamed to
aircraftRenderingChanged, since the name wasn't accurate anymore.
Both getInstalledModels(), getInstalledModelsCount() and iconForModel()
were removed from the ISimulator interface.

refs #765
2016-09-19 16:30:05 +02:00
Roland Winklmeier
40d4c7774d Make originators calling updateAircraftModel identifable
refs #765
2016-09-19 16:29:37 +02:00
Klaus Basan
86d85c6b60 refs #707, removed originator from some signatures
* not used in remote aircraft provider
* adjusted all using interfaces
2016-07-14 18:49:15 +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
Klaus Basan
70aacf8cb1 Minor: Logging for reader, removed sort log message, guard name 2016-04-11 20:16:20 +02:00
Klaus Basan
3829aaeae8 refs #485, removal of CEnableForRuntime 2016-03-18 01:08:05 +00:00
Roland Winklmeier
794bf0cd74 Fix doxygen copydoc documentation
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code

refs #544
2016-02-08 01:53:17 +01:00
Klaus Basan
6089dc1106 Formatting, comments 2016-02-05 18:00:00 +01:00
Mathew Sutcliffe
a6d17efc31 refs #472 Removed static_cast<int> for enums in blackcore, no longer needed. 2015-11-19 21:02:19 +00:00
Mathew Sutcliffe
d4d862927e refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable. 2015-06-06 18:02:16 +01:00
Roland Winklmeier
ee0bfd62fa refs #428 Use COriginator instead of QString in internal API 2015-05-25 16:06:44 +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
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
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