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