annotate INTRODUCTION @ 199:3fa4ab9146dd

Implement three phase user input handling First the state is able to filter keys. Afterwards the MainLoop widget is allowed to act on keypress. At last the state is allowed to react on keys.
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 05 Apr 2013 19:29:33 +0200
parents ecb8e422ead7
children 435fa7386f51
rev   line source
153
17dede6cb724 Update introduction file about the keys
Björn Ricks <bjoern.ricks@intevation.de>
parents: 142
diff changeset
1 This file gives some information about the available default keys in the 'getan'
17dede6cb724 Update introduction file about the keys
Björn Ricks <bjoern.ricks@intevation.de>
parents: 142
diff changeset
2 view. Some further keys are self-explanatory while working with 'getan'.
23
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
3
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
4 | key | description
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
5 ================================================================================
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
6 | up/down (arrows) | Navigate up/down in ProjectList and EntryList.
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
7 | tab | Switch focus between ProjectList and EntryList
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
8 | enter | start/stop a project (in ProjectList), mark an entry (in
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
9 EntryList).
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
10 | [project key] | Start the specified project.
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
11 | space | Pause a running project (the time that will be inserted
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
12 into database is the real running time without the break.
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
13 | F1 | Switch time display mode in ProjectList.
142
d88240a3a065 Add global key to switch sorting of the project list
Björn Ricks <bjoern.ricks@intevation.de>
parents: 123
diff changeset
14 | F2 | Switch sorting of entries in ProjectList.
23
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
15 | d | Delete marked entries (in EntryList).
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
16 | m | Start the 'wizzard' to move selected entries to another
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
17 project.
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
18 | esc | Exit the application. This is only possible if no project
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
19 is running (in ProjectList).
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
20 | + | Start a dialog to add time to a running project. Only
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
21 possible if there is a running project (in ProjectList).
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
22 | - | Start a dialog to subtract time from running project.
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
23 Only possible if there is a running project (in
9c4e8ba3c4fa Added a new implementation of 'getan' based on urwid, a python console user interface library.
Ingo Weinzierl <ingo_weinzierl@web.de>
parents:
diff changeset
24 ProjectList).
180
c043eaf163b6 Clarify insert key usage in introduction file
Björn Ricks <bjoern.ricks@intevation.de>
parents: 153
diff changeset
25 | ins | Create a new project (in ProjectList if no project is
c043eaf163b6 Clarify insert key usage in introduction file
Björn Ricks <bjoern.ricks@intevation.de>
parents: 153
diff changeset
26 running).
181
ecb8e422ead7 Add backspace usage explanation in introduction file
Björn Ricks <bjoern.ricks@intevation.de>
parents: 180
diff changeset
27 | backspace | Change key and description of a Project (in ProjectList
ecb8e422ead7 Add backspace usage explanation in introduction file
Björn Ricks <bjoern.ricks@intevation.de>
parents: 180
diff changeset
28 if no project is running).
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)