Commit Graph

28 Commits

Author SHA1 Message Date
Klaus Basan
9287713cb8 Ref T606, added back/tab/ESC as hotkeys 2019-05-13 11:20:37 +02:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Roland Rossgotterer
0381b45a87 Handle also joystick buttons in hotkey dialog advanced frame
The advanced frame of the hotkey dialog did not handle joystick buttons at all. Now it will add combo boxes for each keyboard key and each joystick button. It also adds a
tool tip to get the button name including its corresponding device name.

ref T540
2019-02-22 20:36:23 +00:00
Klaus Basan
a56ae0302a Hotkey adding also via combo box
* do not split by "+", directly use string list (fixes hotkey "+" problem)
* encapsulated "addSelectionBox"
* renamed to "captureHotkey"
2019-02-22 20:36:20 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Mat Sutcliffe
f48a411f43 Using qOverload, removing static_cast workaround. 2019-02-22 20:34:53 +00:00
Klaus Basan
b937f10992 Hotkey dialog style 2018-11-16 02:49:55 +01:00
Klaus Basan
021a9a53e5 Ref T404, added horizontal combobox for hotkeys 2018-11-16 02:49:53 +01:00
Klaus Basan
eeabbf6e39 Ref T413, also add registered/remote identifiers to combobox 2018-11-04 17:42:47 +01:00
Roland Winklmeier
f6ea2a9107 Move CInputManager from singleton to CApplication member
The main reason why CInputManager was singleton is the easy access across
the code. That had the negative side effect that time of destruction was
at a very late stage of the shutdown and could not be controlled by us.
My moving it to CApplication, the access is equally easy (using sApp) and
allows to be cleaned up properly during graceful shutdown.

ref T391
2018-11-04 17:42:42 +01:00
Klaus Basan
fbbef75341 Improved hotkey messages 2018-08-31 20:08:08 +02:00
Klaus Basan
87b96f8910 Cleanup: toFormattedQString was not really used and just redirecting toQString
* marked deprecated
* and replaced by toQString
2018-06-13 13:59:35 +02:00
Klaus Basan
3fb0685d53 Minor tweaks, formatting 2018-01-14 18:46:47 +01:00
Klaus Basan
2c5a6c0a3a Ref T218, renamed some functions of CIdentifier 2018-01-14 18:45:48 +01:00
Klaus Basan
3cc3440bba Ref T211, hotkey dialog fixes
* add identifier of current hotkey if any
* utility function getAllIdentifiers
* setWindowFlags to hide "?"
2017-12-21 19:50:03 +01:00
Klaus Basan
aaf4c35f80 Ref T211, formatting 2017-12-21 19:49:59 +01:00
Klaus Basan
422e6626c8 refs #912, formatting, typos, const 2017-04-18 00:04:37 +01:00
Roland Winklmeier
9749bb5d31 Add the missing handling when user selects a different machine
So far, the case that a user selects a different machine, was not handled
yet.

refs #881
2017-04-17 23:59:10 +01:00
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
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
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
f87a06f6d2 refs #617, naming conventions for UI 2017-02-24 15:20:38 +00: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
Klaus Basan
18a907086d refs #485, moved stylesheet utility into CGuiApplication 2016-03-18 01:10:32 +00:00
Klaus Basan
6a06aa0460 refs #485, moved some gui classes to components
Originally components was meant for runtime based components. No longer true, so some classes now better find into that namespace.
2016-03-18 01:08:21 +00:00