~kissiel/checkbox/converged-keyboard-support

  • Committer: Maciej Kisielewski
  • Date: 2016-07-11 12:39:35 UTC
  • Revision ID: maciej.kisielewski@canonical.com-20160711123935-v2f90k00m4gewlnl
checkbox-touch:components: add KeysDelegator component

This patch adds a helper that aids capturing of keystrokes.

Example usage:
KeysDelegator {
    id: keysDelegator
}
Keys.onPressed: keysDelegator.keyPress(event)
(...)
kd.setHandler('ctrl+q', Qt.quit)

Once handlers are assigned, it's easy to 'unset' them all at once (e.g. when
application changes the state and is supposed to watch for a different set of
keystrokes), or to change them.

Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>
Filename Latest Rev Last Changed Committer Comment Size
..
cep 3513.2.1 9 years ago Zygmunt Krynicki cep: merge CEPs in to trunk This patch merges CEP Diff
checkbox-ng 2128.1.1 11 years ago Zygmunt Krynicki checkbox-ng: add CheckBoxNG sub-project CheckBoxN Diff
checkbox-support 2585.1.2 10 years ago Sylvain Pineau checkbox-support: Copy required modules from check Diff
checkbox-touch 3178.1.1 9 years ago Zygmunt Krynicki checkbox-touch: generate simple checkbox-touch app Diff
plainbox 0.1.26 11 years ago Zygmunt Krynicki Rename new-root to plainbox Diff
providers 2716.1.1 10 years ago Zygmunt Krynicki providers: add the meta-test provider PlainBox ca Diff
support 2145.1.8 11 years ago Zygmunt Krynicki support: add dependency support module This patch Diff
tools 3936.1.1 8 years ago Zygmunt Krynicki tools: move canonical-hw-collection Signed-off-by Diff
File .bzrignore 3623.3.4 9 years ago Zygmunt Krynicki providers:piglit: add new piglit provider This pa 1.5 KB Diff Download File
.coveragerc 2708.1.9 10 years ago Zygmunt Krynicki .coveragerc: sort entries 545 bytes Diff Download File
.gitignore 3589.5.10 9 years ago Maciej Kisielewski .gitignore: ignore build-cbt Signed-off-by: Macie 1.4 KB Diff Download File
.travis.yml 3391 9 years ago Daniel Manrique "Release_2014_Week45 [r=sylvain-pineau][bug=133130 3.2 KB Diff Download File
HACKING 4272.1.1 8 years ago Jonathan Cave HACKING doc spelling mistake 1.9 KB Diff Download File
Symlink mk-venv 2145.1.8 11 years ago Zygmunt Krynicki support: add dependency support module This patch .
README.md 4012.2.3 8 years ago Zygmunt Krynicki checkbox-gui: remove checkbox gui entirely This p 1.7 KB Diff Download File
File setup.py 2808.1.14 10 years ago Zygmunt Krynicki support: don't multiplex to checkbox-old 1.5 KB Diff Download File
File tarmac-verify 3026.1.1 10 years ago Daniel Manrique tarmac-verify: fix setting of KEEP_DATA environmen 1 KB Diff Download File
File test-in-lxc.sh 4041.1.1 8 years ago Sylvain Pineau test-in-lxc.sh: Install python3-dev with --package 10.1 KB Diff Download File
File test-in-vagrant.sh 2973.1.2 10 years ago Daniel Manrique test-in-vagrant: Use per-component mini-scripts fo 5.1 KB Diff Download File
Symlink test-with-coverage 2708.1.8 10 years ago Zygmunt Krynicki support: beef up test-with-coverage This patch ma .
Vagrantfile 3780.3.2 9 years ago Zygmunt Krynicki support: use fixed trusty image for vagrant+virtua 2 KB Diff Download File