Commit Graph

10 Commits

Author SHA1 Message Date
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Roland Winklmeier
e06cb7d683 refs #313 Replaced old tuple system with meta tuples 2014-08-19 14:41:34 +02:00
Roland Winklmeier
50b5e80057 refs #313 Remove any occurence of function or virtual keycode from CKeyboardKey(list)
Justification for native virtual key is, because its not cross platform.
2014-08-19 14:41:34 +02:00
Klaus Basan
421d2d5411 refs #233 Keyboard key/key list
* helper methods for keylist (key for function)
* new Hotkey function (toggle window on top)
* improved comparisons for key
* unit tests
2014-05-07 23:16:28 +02:00
Klaus Basan
88fb9e8832 refs #192, enable value objects for JSON:
* from/toJson methods
* jsonMembers where applicable
2014-03-26 20:18:42 +01:00
Roland Winklmeier
492a950877 Add methods to generally add/remove modifiers in CKeyboardKey
It adds a modifier if modifer1 or modifer2 are set to None.

refs #83
2014-03-11 21:50:23 +01:00
Roland Winklmeier
9a5f2b2003 Remove native scan code from CKeyboardKey
Remove isPressed status from CKeyboardKey
Switched key value to Qt::Key

There is no way on OSX to get the native scan code of a key.
Therefore it is removed from this class, because we might
create dependent code which will not run on OSX.
CKeyboardKey is a abstraction of platform keys. It was representing
also the status when CKeyboardKey was sent in signals. So this
can be removed. Pressed status is sent as argument to the registered
method.

refs #83
2014-03-11 21:50:22 +01:00
Klaus Basan
34320ad3e1 refs #140, changed CValueObject classes to tupel concept
Remarks: Changes looking like an added file result from the shift of namespace voice -> audio
2014-03-10 14:48:56 +01:00
Klaus Basan
f4d1eadbe5 refs #139 , allows to store the native scan code and the virtual key code. Adjusted list to use changed constructor. 2014-02-26 03:38:33 +01:00
Klaus Basan
141706158f refs #139 , based on RW's class added a platform independent CKeyboardKey class
* Key value stored similar to Qt::Key
* 2 modifiers
2014-02-26 03:38:25 +01:00