1 |
|
2003-05-05 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
This is namely a collection of UI updates to improve user interactivity. |
4 |
|
Tabbing between controls now exists and you can use ESC to close dialog |
5 |
|
boxes; ENTER will active the default button. |
6 |
|
|
7 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__): Rearrange the |
8 |
|
order that the controls are created so that tabbing works correctly. |
9 |
|
(ClassGenDialog.OnOK): Renamed from _OnGenerate() so that the |
10 |
|
wxDialog can handle the default button correctly. |
11 |
|
(ClassGenDialog.OnCancel): Renamed from _OnCloseBtn() for the |
12 |
|
same reasons as for OnOK. |
13 |
|
(GenUniformPanel._OnRetrieve): Call wxBeginBusyCursor/wxEndBusyCursor |
14 |
|
when we ask the table for the maximum/minimum values of a field |
15 |
|
which could take a very long time. |
16 |
|
|
17 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Rearrange the |
18 |
|
order that the controls are created so that tabbing works correctly. |
19 |
|
(SelectPropertiesDialog.__init__): Rearrange the order that the |
20 |
|
controls are created so that tabbing works correctly. |
21 |
|
|
22 |
|
* Thuban/UI/dialogs.py: Copied NonModalDialog box and changed it |
23 |
|
to derive from a wxDialog but behave like the original implementation |
24 |
|
which was derived from a wxFrame. wxDialog provides useful key |
25 |
|
handling functionality like ESC calling OnCancel and ENTER calling |
26 |
|
OnOK which is lost with wxFrame. |
27 |
|
|
28 |
|
* Thuban/UI/mainwindow.py: Add "..." to menu items that will open |
29 |
|
new dialogs. |
30 |
|
|
31 |
|
* Thuban/UI/projdialog.py (ProjFrame.__init__): Rearrange the |
32 |
|
order that the controls are created so that tabbing works correctly. |
33 |
|
(ProjFrame.OnApply): Renamed from _OnTry() to use wxDialog behaviour. |
34 |
|
(ProjFrame.OnOK): Renamed from _OnOK() to use wxDialog behaviour. |
35 |
|
(ProjFrame.OnCancel): Renamed from _OnClose() to use wxDialog behaviour. |
36 |
|
(ProjPanel.__init__): Add "Airy" to the list of ellipsoids so we |
37 |
|
can provide the "UK National Grid" as a default projection. |
38 |
|
(UTMPanel.__init__): Rearrange the order that the controls are |
39 |
|
created so that tabbing works correctly. |
40 |
|
|
41 |
2003-05-05 Bernhard Herzog <[email protected]> |
2003-05-05 Bernhard Herzog <[email protected]> |
42 |
|
|
43 |
* extensions/thuban/wxproj.cpp: Fix some of the comments. |
* extensions/thuban/wxproj.cpp: Fix some of the comments. |