Commit Graph

960 Commits

Author SHA1 Message Date
Roland Winklmeier
3a2618fadb Pass application list directly to CHotkeyDialog constructor
The list of applications is already known when the CHotkeyDialog
object is constructed. So there was no good reason to defer this
to a later time with a setter.
In contrast, supporting a setter function was much more complex, since
internally all GUI signals were already connected and more carefull
case handling would be necessary (e.g. the machine combobox would
change its index). Therefore the setter is removed in favor of passing
the application list directly to the constructor.
This fixes also an issue that the machine name was not properly set up
in the dialog when editing a hotkey.
This also reverts the change from CIdentifier to string based machine
handling.

refs #881
2017-04-17 23:59:07 +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
6e28dfbce3 refs #887, improved copy wizard
* initAndPreselectDirectories when wizard page becomes visible
* completed copy function
2017-04-17 23:58:57 +01:00
Klaus Basan
83383f438c Improved kill button handling, now it can be set even if frame is not yet initialized
* default is disabled
* only pilot client needs to enable it
2017-04-17 23:58:50 +01:00
Klaus Basan
3432dd56fe Minor UI fixes (typos, layout) 2017-04-17 23:58:43 +01:00
Klaus Basan
b392992944 refs #901, use CSingleApplicationUi for UI settings
plus stylesheet update to notice disabled component
2017-04-17 23:58:42 +01:00
Klaus Basan
6999a97f73 Allow to globally disable the kill button
(only needed in swift pilot client so far)
2017-04-17 23:58:35 +01:00
Klaus Basan
c6f7896939 Fixed pilot client UI "model set LED"
and some minor formatting adjustments
2017-04-17 23:58:32 +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
a7393b04e1 Formatting #897 2017-04-17 23:58:18 +01:00
Klaus Basan
e30e9a7a94 No selection for airports 2017-04-17 23:58:14 +01:00
Klaus Basan
6a63bcf666 No updates when UI component is invisible or unchanged HTML code 2017-04-17 23:57:57 +01:00
Klaus Basan
a737b27ce8 refs #894, display dot commands HTML help as tooltip (in command line) 2017-04-17 23:57:52 +01:00
Klaus Basan
72200d4bba refs #892, key sequences / actions for settings 2017-04-17 23:57:07 +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
7203655a05 refs #892, disable audio settings when no audio context is available
* Info for which machine audio setup is displayed
* Obtain audio "location"
* Remark: Audio can run on core and in GUI which is different from other contexts
2017-04-17 23:57:05 +01:00
Klaus Basan
891b67eccc refs #892, settings dialog for core
(settings can also be set in core)
2017-04-17 23:57:04 +01:00
Klaus Basan
d495424041 refs #886, unified function names in CDbLoadOverviewComponent 2017-04-17 23:57:03 +01:00
Klaus Basan
b94eab581e refs #886, added wizard component for initial data load
* added buttons to CDbLoadOverviewComponent
* wizard component/page
* added to wizard
2017-04-17 23:56:59 +01:00
Klaus Basan
1076eb2b29 refs #887, skip copy steps if there is no other swift version to copy from
* pages as enum
* buttons to copy/select/deselect (when UI component is used detached from wizard)
* avoid crash when there is no other swift version (->empty model)
2017-04-17 23:56:56 +01:00
Klaus Basan
cb024b0245 Formatting 2017-04-17 23:56:55 +01:00
Klaus Basan
ff0c37ff58 refs #889, log categories 2017-04-17 23:56:53 +01:00
Klaus Basan
2c2a043e40 refs #886, adjusted QWizard to previous changes
* use QWizardPage derived classes
* added simulator config page
2017-04-17 23:56:52 +01:00
Klaus Basan
5b92b2068e refs #886, config page for simulator(s) 2017-04-17 23:56:51 +01:00
Klaus Basan
b53d4b6b58 refs #887, added QWizardPage derived class to call dependent functions
(QWizardPage provides virtual functions for that)
2017-03-01 20:51:43 +01:00
Klaus Basan
099832fba8 refs #886, CSettingsSimulatorBasicsComponent adjusted
* function save() to be called by wizard
* some renamings
* workaround for Qt bug placeholder (multiple lines)
2017-03-01 20:51:42 +01:00
Klaus Basan
fedf7604a0 refs #886, fixed connect in simulator selector
* also toggling needs to fire (when a value is changed from code)
* changed order, used standard will be: P3D, FSX, FS9, XP
2017-03-01 20:51:41 +01:00
Klaus Basan
5a91f561be refs #888, loadingFinished with CStatusMessage 2017-03-01 20:51:40 +01:00
Klaus Basan
8e55baaf85 Typos, QStringBuilder 2017-03-01 20:51:39 +01:00
Klaus Basan
f922777a28 refs #886, wizard 2017-03-01 20:51:37 +01:00
Klaus Basan
966bddc208 refs #887, UI for settings / cache copying
* newer / missing files preselected
* copied files will be copied
2017-03-01 20:51:36 +01:00
Klaus Basan
c3830d3efb refs #887, stub for copy config (cache/settings) UI 2017-03-01 20:51:32 +01:00
Klaus Basan
ca77310ac4 refs #886, stub for wizard 2017-03-01 20:51:30 +01:00
Klaus Basan
92f67c7eca Qt 5.9 fixme comment, formatting 2017-03-01 20:51:29 +01:00
Mathew Sutcliffe
cc1cec519b refs #884 GUI should use the context to get the list of unsaved settings. 2017-02-28 22:34:49 +00:00
Klaus Basan
060a10dfb6 Replaced QLatin1Literal by QLatin1String
refs #883
2017-02-24 15:22:09 +00:00
Klaus Basan
5d81b23386 refs #883, some UI finetuning / Doxygen comments 2017-02-24 15:21:57 +00:00
Klaus Basan
a0b5258346 refs #883, launcher can be started from the applications and navigator 2017-02-24 15:21:45 +00:00
Klaus Basan
14125bf030 refs #881, possible fix for duplicates in combobox 2017-02-24 15:21:33 +00:00
Klaus Basan
8741b66578 refs #881, minor formatting/improvements 2017-02-24 15:21:32 +00:00
Klaus Basan
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +00:00
Klaus Basan
a34be02e07 refs #617, CActionItem supports icon
* standard paths for applications
* support for Qt::DecorationRole
* QMap<QString, QPixmap> m_availableActions
* Constructor for icon only
* only leafs support actions
2017-02-24 15:20:54 +00:00
Klaus Basan
6a96d14baa Formatting, icon utility function, icon size 2017-02-24 15:20:52 +00:00
Klaus Basan
371ee82f1b Ensure tab index 0 is selected at startup 2017-02-24 15:20:51 +00:00
Klaus Basan
909ea08853 refs #617, fixed assert when there are no selected items 2017-02-24 15:20:50 +00:00
Klaus Basan
d5a926bd4e Formatting 2017-02-24 15:20:46 +00:00
Klaus Basan
6ba1586a7d refs #617, QTreeView style (sheet) adjustments 2017-02-24 15:20:45 +00:00
Klaus Basan
74d608b5df refs #617, allow to use CGuiActionBindHandler with buttons
* used for weather enable/disable
* use actionBindWasDestroyed when corresponding BlackCore::CActionBind is destroyed
2017-02-24 15:20:44 +00:00
Klaus Basan
eeaed099f0 Formatting, typos 2017-02-24 15:20:39 +00:00