1 |
|
2003-03-07 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/classification.py: Implemented __copy__ and |
4 |
|
__deepcopy__ for ClassGroup* and ClassGroupProperites so |
5 |
|
they can easily be copied by the classifier dialog. |
6 |
|
(ClassGroupProperites.__init__): The default line color should |
7 |
|
have been Color.Black. |
8 |
|
|
9 |
|
* Thuban/UI/classifier.py: Setting and Getting table values now |
10 |
|
uses a consistent set of functions. |
11 |
|
(Classifier): Now non-modal. Has field type label which changes |
12 |
|
as the field changes. Keep track of buttons in a list so that |
13 |
|
we can enable/disable the buttons when the None field is selected. |
14 |
|
(SelectPropertiesDialog): Add buttons to make the colors transparent. |
15 |
|
|
16 |
|
* Thuban/UI/dialogs.py (NonModalDialog.Shutdown): New method which |
17 |
|
does what OnClose did, but can be called by the application to |
18 |
|
close a window. Needed when a session changes, and we have to |
19 |
|
close the classifier windows. |
20 |
|
|
21 |
|
* Thuban/UI/mainwindow.py (MainWindow.prepare_new_session): |
22 |
|
Shuts down open dialogs. Used when a new session is created |
23 |
|
or a session is opened. |
24 |
|
(MainWindow.SaveSession): Should only call application.SaveSession() |
25 |
|
if we don't call SaveSessionAs first. |
26 |
|
(MainWindow.Classify): Allow different classifier dialogs for |
27 |
|
different layers. |
28 |
|
|
29 |
|
* Thuban/UI/tree.py (SessionTreeView): Remove OnClose and let |
30 |
|
the parent class handle it. Add Shutdown() to unsubscibe from |
31 |
|
event notification and call the parent Shutdown(). This was |
32 |
|
necessary so the application can close the tree window. |
33 |
|
|
34 |
2003-03-06 Jonathan Coles <[email protected]> |
2003-03-06 Jonathan Coles <[email protected]> |
35 |
|
|
36 |
* Thuban/Model/classification.py: Minor documentation changes, |
* Thuban/Model/classification.py: Minor documentation changes, |