Menu

Commit [r26303]  Maximize  Restore  History

Merged revisions 26293-26296 via svnmerge from

svn+ssh://bugman@.../svn/relax/trunk

........
r26293 | bugman | 2014-10-15 19:32:18 +0200 (Wed, 15 Oct 2014) | 7 lines

Modified the behaviour of the relax controller window so that pressing escape closes the window.

This involves setting the initial focus on the LogCtrl, and catching the ESC key press in the
LogCtrl as well as all relax controller read only wx.Field elements and calling the parent
controller handle_close() method.
........
r26294 | bugman | 2014-10-15 23:57:44 +0200 (Wed, 15 Oct 2014) | 5 lines

Replaced the hardcoded integer keycodes in the relax controller with the wx variables.

This is for the LogCtrl.capture_keys() handler method for dealing with key presses.
........
r26295 | bugman | 2014-10-16 10:46:02 +0200 (Thu, 16 Oct 2014) | 8 lines

Improvement for all wizards and user functions in the relax GUI.

The focus is now set on the currently displayed page of the wizard. This allows the keyboard to be
active without requiring a mouse click. Now text can be instantly input into the first text control
and the tab key can jump between elements. As the GUI user functions are wizards with a single
page, this is a significant usability improvement for the GUI.
........
r26296 | bugman | 2014-10-16 10:49:18 +0200 (Thu, 16 Oct 2014) | 7 lines

The ESC character now closes all wizards and user functions in the relax GUI.

By using an accelerator table set to the entire wizard window to catch the ESC keyboard event, the
ESC key will cause the _handler_escape() method to be called which then calls the windows Close()
method to close the window.
........

bugman 2014-10-16

changed /branches/space_mapping_refactor
changed /branches/space_mapping_refactor/gui/controller.py
changed /branches/space_mapping_refactor/gui/wizards/wiz_objects.py
/branches/space_mapping_refactor/gui/controller.py Diff Switch to side-by-side view
Loading...
/branches/space_mapping_refactor/gui/wizards/wiz_objects.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.