Mercurial > getan
view INTRODUCTION @ 197:2eb2bbf042b3
Inplement new State user input handling
Use a three phase user input handling.
1. Allow to filter keys in input_filter
2. Redirect keys to a view to use existing widget functions
3. Act on user input in handle_input
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 05 Apr 2013 19:14:03 +0200 |
parents | ecb8e422ead7 |
children | 435fa7386f51 |
line wrap: on
line source
This file gives some information about the available default keys in the 'getan' view. Some further keys are self-explanatory while working with 'getan'. | key | description ================================================================================ | up/down (arrows) | Navigate up/down in ProjectList and EntryList. | tab | Switch focus between ProjectList and EntryList | enter | start/stop a project (in ProjectList), mark an entry (in EntryList). | [project key] | Start the specified project. | space | Pause a running project (the time that will be inserted into database is the real running time without the break. | F1 | Switch time display mode in ProjectList. | F2 | Switch sorting of entries in ProjectList. | d | Delete marked entries (in EntryList). | m | Start the 'wizzard' to move selected entries to another project. | esc | Exit the application. This is only possible if no project is running (in ProjectList). | + | Start a dialog to add time to a running project. Only possible if there is a running project (in ProjectList). | - | Start a dialog to subtract time from running project. Only possible if there is a running project (in ProjectList). | ins | Create a new project (in ProjectList if no project is running). | backspace | Change key and description of a Project (in ProjectList if no project is running).