Commit Graph

84 Commits

Author SHA1 Message Date
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +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
d5ebd91c55 Use combobox simulator selector in mapping component as it allows "smaller" columns 2018-12-16 00:22:33 +01:00
Klaus Basan
4370f2c614 Ref T397, do not show context menu for fast position updates if FSD has disabled it 2018-11-04 17:42:45 +01:00
Klaus Basan
e9386f676a Fixed issue seen in crash report 2018-11-04 17:42:42 +01:00
Klaus Basan
047aeeff11 Ui adjustment 2018-10-05 17:39:56 +02: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
e1ffa49268 Check for known model so mapping component can check without loaded model set 2018-09-12 17:40:45 +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
562520dbab Simulator selector can be set and remembered 2018-07-20 18:09:05 +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
27e9702101 Switch to "aircraft model view" when loading models 2018-05-22 13:20:04 +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
ad71a67a44 Fixes completer (model strings), show correct placeholder when simulator is changed 2018-04-05 02:54:48 +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
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
0f8bbbbfc2 Ref T210, adjusting classes to use new functions 2017-12-21 19:49:52 +01:00
Klaus Basan
745fdb50d1 Follow up, made "private slots" -> "private" 2017-12-21 19:49:31 +01:00
Klaus Basan
fd4c7c09f6 Crashreport: https://swift-project.slack.com/archives/G7GD2UP9C/p1513012215000494
Fixed by ignoring all other property indexes
2017-12-21 19:49:28 +01: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
0de9a2afc2 Ref T182, mapping / overlay component formatting 2017-11-09 04:42:16 +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
bac77e233d refs #849, statistics UI in pilot client 2017-01-10 23:47:09 +00:00
Klaus Basan
763e92cc2a refs #814, fixed wrong default values for update times causing CPU overload
* use 10s as conservative default value
* check in assert if update time is correct
2016-12-13 19:02:11 +01:00
Klaus Basan
6e1efaf88a refs #822, display file ts in views
* consolidated models
* renamed flags
2016-12-13 19:01:53 +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
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
72fdf7c5bc refs #793, added function to reset model (after it was manually changed)
* located in context since context owns matcher object
* call from GUI
* some code formatting to indicate the cross simulator slots connected in runtime

refs #780
2016-12-06 09:34:56 +01:00
Klaus Basan
55020277b5 refs #793, adjusted model to use network model, also renamed mode to better relect meaning 2016-12-06 09:34:55 +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
Klaus Basan
86b8230bf7 refs #780, encapsulate model string completer in class
* use it in mapping component
* support DB, own model set and installed models for completion
2016-12-06 09:34:02 +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
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Roland Winklmeier
10810f5003 Explicitly use QTabBar scroll buttons
Even though QTabBar's property usesScrollButtons is set to true in Qt
Designer, it is not set explicitly in generated C++ code. The default
value is style dependent, which caused the scroll buttons to be visibile
everywhere except Mac OS/X.

refs #683
2016-08-26 21:05:09 +01:00
Klaus Basan
1167735897 refs #720, adjusted exposed functions to new naming
* some minor formatting
* use the new condolidation functions
2016-08-26 21:04:23 +01:00