1 |
|
2003-04-01 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/session.py: Use LAYER_CHANGED instead of |
4 |
|
LAYER_LEGEND_CHANGED |
5 |
|
|
6 |
|
* Thuban/UI/dock.py (DockableWindow._OnButtonClose): Call |
7 |
|
self.Destroy() to close the window after yesterday's changes. |
8 |
|
|
9 |
|
* test/test_map.py, test/test_session.py: Fix messages that |
10 |
|
are sent from maps and layers. |
11 |
|
|
12 |
|
2003-03-31 Jonathan Coles <[email protected]> |
13 |
|
|
14 |
|
* Thuban/UI/classifier.py: Commented out some debugging statements. |
15 |
|
(ClassDataPreviewer.Draw): Draw rectangles for polygon layers per |
16 |
|
RTbug #1769. |
17 |
|
|
18 |
|
* Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and |
19 |
|
position (although position doesn't work yet under GTK). |
20 |
|
(DockableWindow.Destroy): New. Called when the window must be |
21 |
|
closed. Namely needed when the DockFrame closes and must close |
22 |
|
its children. |
23 |
|
(DockFrame): Listen for EVT_CLOSE and destroy all children. |
24 |
|
|
25 |
|
* Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up |
26 |
|
when then window is told to close. |
27 |
|
(LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See |
28 |
|
comment in source for more info. |
29 |
|
|
30 |
|
* Thuban/UI/main.py: Show the legend by default when Thuban starts. |
31 |
|
|
32 |
|
* Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for |
33 |
|
symmetry with other such methods. |
34 |
|
(MainWindow.ShowLegend): Show the legend docked by default. |
35 |
|
|
36 |
|
2003-03-28 Jonathan Coles <[email protected]> |
37 |
|
|
38 |
|
* Thuban/UI/classifier.py: Support for highlighting a specific |
39 |
|
group within the grid when the classification dialog is opened. |
40 |
|
Also contains a lot of debugging printouts which will later |
41 |
|
be removed. |
42 |
|
|
43 |
|
* Thuban/UI/dock.py: Complete rework on the dock code so that |
44 |
|
that it is fairly removed from the rest of the Thuban application. |
45 |
|
It is easy to add new docks which the rest of the program having |
46 |
|
to be aware of them. |
47 |
|
|
48 |
|
* Thuban/UI/legend.py: Modifications to support selecting a |
49 |
|
specific group in the classification dialog. Changed how layers |
50 |
|
are drawn when the layer is visible/invisible. |
51 |
|
|
52 |
|
* Thuban/UI/mainwindow.py: Removed legend specific code and |
53 |
|
replaced it with calls to the new dock code. |
54 |
|
|
55 |
|
* Thuban/UI/renderer.py (MapRenderer.__init__): Added assert |
56 |
|
to check if scale > 0. Trying to track down a divide by zero. |
57 |
|
|
58 |
|
2003-03-26 Jonathan Coles <[email protected]> |
59 |
|
|
60 |
|
* Thuban/UI/legend.py: Removed unnecessary LegendDialog class. |
61 |
|
(LegendPanel): Removed _OnDock()/_OnUnDock() methods which are |
62 |
|
now part of DockableWindow. |
63 |
|
(LegendPanel.DoOnSelChanged): Select the current layer in the |
64 |
|
map. |
65 |
|
(LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged() |
66 |
|
with the selected layer and/or group. |
67 |
|
|
68 |
|
2003-03-26 Jonathan Coles <[email protected]> |
69 |
|
|
70 |
|
This putback contains the code for dockable windows. There is |
71 |
|
no support in wxWindows as of this date for windows that can |
72 |
|
attach themselves to other windows. |
73 |
|
|
74 |
|
The current model contains a DockableWindow which has a parent |
75 |
|
window for when it is detached and a dock window that it puts |
76 |
|
its contents in when it is docked. The contents of a DockableWindow |
77 |
|
must be a DockPanel. DockPanel itself derives from wxPanel. |
78 |
|
|
79 |
|
* Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED |
80 |
|
message, not a LAYER_LEGEND_CHANGED message. |
81 |
|
|
82 |
|
* Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages. |
83 |
|
|
84 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE |
85 |
|
as one of the style properties for the fieldTypeText item to |
86 |
|
be sure that its size is correct when the text changes. |
87 |
|
|
88 |
|
* Thuban/UI/dock.py: New. Classes for the DockPanel and |
89 |
|
DockableWindow. |
90 |
|
|
91 |
|
* Thuban/UI/legend.py: Added some more buttons and made the |
92 |
|
LegendPanel a DockPanel. |
93 |
|
|
94 |
|
* Thuban/UI/mainwindow.py: Added sash windows to the main window |
95 |
|
and supporting functions for manipulating the sashes. |
96 |
|
(MainWindow.ShowLegend): Create a DockableWindow with the |
97 |
|
LegendPanel as the contents. |
98 |
|
|
99 |
|
* Thuban/UI/messages.py: Added DOCKABLE_* messages |
100 |
|
|
101 |
|
* Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED, |
102 |
|
not LAYER_LEGEND_CHANGED, messages. |
103 |
|
|
104 |
2003-03-25 Jonathan Coles <[email protected]> |
2003-03-25 Jonathan Coles <[email protected]> |
105 |
|
|
106 |
* setup.py: Added custom script bdist_rpm_build_script so that |
* setup.py: Added custom script bdist_rpm_build_script so that |