1 |
|
2003-04-14 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to |
4 |
|
finalize the intialization of the panel. |
5 |
|
|
6 |
|
* Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the |
7 |
|
creation of the panel. Should be the last thing called in the |
8 |
|
initializer of a subclass. |
9 |
|
|
10 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively |
11 |
|
set the current selections in the combo boxes. This is needed |
12 |
|
under Windows. |
13 |
|
|
14 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Add a top |
15 |
|
level panel to the dialog so that the background colors are |
16 |
|
consistent under Windows. |
17 |
|
|
18 |
|
2003-04-11 Jonathan Coles <[email protected]> |
19 |
|
|
20 |
|
* Thuban/UI/classgen.py: Change color ramps to start at white |
21 |
|
not black. |
22 |
|
|
23 |
|
* Thuban/UI/legend.py: Enable/disable the legend buttons when |
24 |
|
the legend changes. Fixes RTbug #1793. |
25 |
|
|
26 |
|
* test/test_classification.py: Added test for copying of |
27 |
|
classifications. |
28 |
|
|
29 |
|
2003-04-11 Jonathan Coles <[email protected]> |
30 |
|
|
31 |
|
* Thuban/UI/resource.py: New. Centralize the loading of resources |
32 |
|
such as bitmaps. |
33 |
|
|
34 |
|
* Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons, |
35 |
|
added images to the move buttons, added 'reverse' button. |
36 |
|
(CustomRampPanel.__init__): Added images to the move buttons. |
37 |
|
(GreyRamp): New. Generates a ramp from white to black. |
38 |
|
(HotToColdRamp): New. Generates a ramp from cold to hot colors. |
39 |
|
|
40 |
|
* Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to |
41 |
|
ID_PROPERTY_*. |
42 |
|
(Classifier.__init__): Minor changes to the layout. |
43 |
|
(Classifier._OnTitleChanged): Listen for when the user edits the |
44 |
|
title and update the dialog's title and the layer's title. |
45 |
|
|
46 |
|
* Thuban/UI/dock.py: Use new bitmaps for the control buttons. |
47 |
|
|
48 |
|
* Thuban/UI/legend.py: Use new bitmaps for the control buttons. |
49 |
|
(LegendTree._OnMsgLayerTitleChanged): Change the displayed title |
50 |
|
if the layer's title changes. |
51 |
|
|
52 |
|
* Thuban/UI/mainwindow.py: Added new menu item and associated code |
53 |
|
to open a dialog to rename the map. |
54 |
|
(MainWindow): Use new resource class to import bitmaps. |
55 |
|
|
56 |
|
2003-04-11 Jonathan Coles <[email protected]> |
57 |
|
|
58 |
|
* Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm, |
59 |
|
Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm, |
60 |
|
Resources/Bitmaps/group_use_none.xpm, |
61 |
|
Resources/Bitmaps/group_use_not.xpm, |
62 |
|
Resources/Bitmaps/hide_layer.xpm, |
63 |
|
Resources/Bitmaps/layer_properties.xpm, |
64 |
|
Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm, |
65 |
|
Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm: |
66 |
|
New. |
67 |
|
|
68 |
|
2003-04-10 Jonathan Coles <[email protected]> |
69 |
|
|
70 |
|
* Thuban/Model/classification.py: (ClassGroupRange.__init__): |
71 |
|
Should pass group to ClassGroup constructor. |
72 |
|
|
73 |
|
2003-04-10 Jonathan Coles <[email protected]> |
74 |
|
|
75 |
|
* Thuban/Model/classification.py: (ClassGroup): Move all the common |
76 |
|
methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__) |
77 |
|
here. Implement SetVisible(), IsVisible(). |
78 |
|
(ClassGroup.__init__): Add group parameter which acts as a copy |
79 |
|
constructor. |
80 |
|
|
81 |
|
* Thuban/UI/classifier.py (ClassTable): Add a new column for the |
82 |
|
"Visible" check boxes. |
83 |
|
(Classifier): Rename the buttons and refactor the code to match |
84 |
|
the new labels. |
85 |
|
|
86 |
|
* Thuban/UI/legend.py: Classify button is now called "Properties". |
87 |
|
Refactored the code to change variable names. |
88 |
|
(LegendTree.__FillTreeLayer): Only list a group if it is visible. |
89 |
|
|
90 |
|
* Thuban/UI/mainwindow.py: MainWindow.OpenClassifier renamed to |
91 |
|
MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties |
92 |
|
renamed to MainWindow.LayerEditProperties. |
93 |
|
(MainWindow.ToggleLegend): Don't include map name in legend title. |
94 |
|
(MainWindow.SetMap): Added the map name to the window title. |
95 |
|
(MainWindow.LayerFillColor, MainWindow.LayerTransparentFill, |
96 |
|
MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed. |
97 |
|
Functionality is found in the layer properties dialog. |
98 |
|
|
99 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only |
100 |
|
draw visible groups. |
101 |
|
|
102 |
|
2003-04-09 Jonathan Coles <[email protected]> |
103 |
|
|
104 |
|
* Thuban/UI/classgen.py: Modifications to allow simple |
105 |
|
addition and selection of new color schemes. |
106 |
|
(MonochromaticRamp): New. Generates a ramp between two colors. |
107 |
|
(RedRamp): New. Generates a ramp of all red. |
108 |
|
(GreenRamp): New. Generates a ramp of all green. |
109 |
|
(BlueRamp): New. Generates a ramp of all blue. |
110 |
|
|
111 |
|
2003-04-09 Jonathan Coles <[email protected]> |
112 |
|
|
113 |
|
* Thuban/Model/classification.py (Classification.__deepcopy__): |
114 |
|
Need to copy over field and fieldType attributes. |
115 |
|
|
116 |
|
* Thuban/Model/table.py (Table.field_range): New. Retrive the |
117 |
|
maximum and minimum values over the entire table for a given |
118 |
|
field. |
119 |
|
(Table.GetUniqueValues): New. Retrieve all the unique values |
120 |
|
in the table for a given field. |
121 |
|
|
122 |
|
* Thuban/UI/classgen.py: Renamed GenRangePanel to GenUniformPanel. |
123 |
|
(GenUniquePanel): New. Controls to allow the user to select |
124 |
|
which unique field values they would like in the classification. |
125 |
|
(CustomRampPanel): Code that was in ClassGenDialog that allows |
126 |
|
the user to select the properties for a custom ramp. |
127 |
|
(ClassGenerator.GenUniformDistribution): Was called GenerateRanges. |
128 |
|
|
129 |
|
* Thuban/UI/classifier.py: Removed a lot of debugging code. |
130 |
|
(Classifier._SetClassification): Callback method so that the |
131 |
|
class generator can set the classification in the grid. |
132 |
|
(ClassGroupPropertiesCtrl): New. Encapsulates the drawing and |
133 |
|
editing of a group properties class into a wxWindows control. |
134 |
|
|
135 |
|
* Thuban/UI/dock.py: It was decided that if the user closes |
136 |
|
a dockable window the window should simply hide itself. That |
137 |
|
way if the user wants to show the dock again it appears in the |
138 |
|
same place as it was when it was closed. |
139 |
|
(DockableWindow.Destroy): Call renamed method OnDockDestroy(). |
140 |
|
(DockableWindow._OnButtonClose): Hide the window instead of |
141 |
|
destroying it. |
142 |
|
(DockableWindow._OnClose): Hide the window instead of |
143 |
|
destroying it. |
144 |
|
|
145 |
|
* Thuban/UI/legend.py (LegendTree): Use a private method to |
146 |
|
consistently set the font and style of the text. Fixes RTbug #1786. |
147 |
|
|
148 |
|
* Thuban/UI/mainwindow.py: Import just the Classifier class. |
149 |
|
|
150 |
|
2003-04-07 Bernhard Herzog <[email protected]> |
151 |
|
|
152 |
|
* Thuban/UI/mainwindow.py (main_menu): Move the toggle_legend item |
153 |
|
to the map module |
154 |
|
|
155 |
|
2003-04-07 Bernhard Herzog <[email protected]> |
156 |
|
|
157 |
|
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): Removed in |
158 |
|
favor of ToggleSessionTree |
159 |
|
(MainWindow.ToggleSessionTree): New method to toggle visibility of |
160 |
|
the session tree. |
161 |
|
(MainWindow.SessionTreeShown): New method to return whether the |
162 |
|
session tree is currently shown. |
163 |
|
(MainWindow.ToggleLegend): New method to toggle visibility of the |
164 |
|
legend |
165 |
|
(MainWindow.ShowLegend): Implement in terms of ToggleLegend and |
166 |
|
LegendShown |
167 |
|
(MainWindow.LegendShown): New method to return whether the legend |
168 |
|
is currently shown. |
169 |
|
(_method_command): Add checked parameter so we can define check |
170 |
|
menu items |
171 |
|
(_has_tree_window_shown, _has_legend_shown): Use the appropriate |
172 |
|
mainwindow methods. |
173 |
|
(show_session_tree, show_legend commands): Removed. |
174 |
|
(toggle_session_tree, toggle_legend commands): New commands to |
175 |
|
toggle the visibility of the dialogs |
176 |
|
|
177 |
2003-04-07 Jonathan Coles <[email protected]> |
2003-04-07 Jonathan Coles <[email protected]> |
178 |
|
|
179 |
* Thuban/UI/classgen.py: Fix Windows problem. |
* Thuban/UI/classgen.py: Fix Windows problem. |