1 |
|
2003-03-28 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/classifier.py: Support for highlighting a specific |
4 |
|
group within the grid when the classification dialog is opened. |
5 |
|
Also contains a lot of debugging printouts which will later |
6 |
|
be removed. |
7 |
|
|
8 |
|
* Thuban/UI/dock.py: Complete rework on the dock code so that |
9 |
|
that it is fairly removed from the rest of the Thuban application. |
10 |
|
It is easy to add new docks which the rest of the program having |
11 |
|
to be aware of them. |
12 |
|
|
13 |
|
* Thuban/UI/legend.py: Modifications to support selecting a |
14 |
|
specific group in the classification dialog. Changed how layers |
15 |
|
are drawn when the layer is visible/invisible. |
16 |
|
|
17 |
|
* Thuban/UI/mainwindow.py: Removed legend specific code and |
18 |
|
replaced it with calls to the new dock code. |
19 |
|
|
20 |
|
* Thuban/UI/renderer.py (MapRenderer.__init__): Added assert |
21 |
|
to check if scale > 0. Trying to track down a divide by zero. |
22 |
|
|
23 |
|
2003-03-26 Jonathan Coles <[email protected]> |
24 |
|
|
25 |
|
* Thuban/UI/legend.py: Removed unnecessary LegendDialog class. |
26 |
|
(LegendPanel): Removed _OnDock()/_OnUnDock() methods which are |
27 |
|
now part of DockableWindow. |
28 |
|
(LegendPanel.DoOnSelChanged): Select the current layer in the |
29 |
|
map. |
30 |
|
(LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged() |
31 |
|
with the selected layer and/or group. |
32 |
|
|
33 |
|
2003-03-26 Jonathan Coles <[email protected]> |
34 |
|
|
35 |
|
This putback contains the code for dockable windows. There is |
36 |
|
no support in wxWindows as of this date for windows that can |
37 |
|
attach themselves to other windows. |
38 |
|
|
39 |
|
The current model contains a DockableWindow which has a parent |
40 |
|
window for when it is detached and a dock window that it puts |
41 |
|
its contents in when it is docked. The contents of a DockableWindow |
42 |
|
must be a DockPanel. DockPanel itself derives from wxPanel. |
43 |
|
|
44 |
|
* Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED |
45 |
|
message, not a LAYER_LEGEND_CHANGED message. |
46 |
|
|
47 |
|
* Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages. |
48 |
|
|
49 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE |
50 |
|
as one of the style properties for the fieldTypeText item to |
51 |
|
be sure that its size is correct when the text changes. |
52 |
|
|
53 |
|
* Thuban/UI/dock.py: New. Classes for the DockPanel and |
54 |
|
DockableWindow. |
55 |
|
|
56 |
|
* Thuban/UI/legend.py: Added some more buttons and made the |
57 |
|
LegendPanel a DockPanel. |
58 |
|
|
59 |
|
* Thuban/UI/mainwindow.py: Added sash windows to the main window |
60 |
|
and supporting functions for manipulating the sashes. |
61 |
|
(MainWindow.ShowLegend): Create a DockableWindow with the |
62 |
|
LegendPanel as the contents. |
63 |
|
|
64 |
|
* Thuban/UI/messages.py: Added DOCKABLE_* messages |
65 |
|
|
66 |
|
* Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED, |
67 |
|
not LAYER_LEGEND_CHANGED, messages. |
68 |
|
|
69 |
2003-03-25 Jonathan Coles <[email protected]> |
2003-03-25 Jonathan Coles <[email protected]> |
70 |
|
|
71 |
* setup.py: Added custom script bdist_rpm_build_script so that |
* setup.py: Added custom script bdist_rpm_build_script so that |