1 |
|
2003-04-11 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/resource.py: New. Centralize the loading of resources |
4 |
|
such as bitmaps. |
5 |
|
|
6 |
|
* Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons, |
7 |
|
added images to the move buttons, added 'reverse' button. |
8 |
|
(CustomRampPanel.__init__): Added images to the move buttons. |
9 |
|
(GreyRamp): New. Generates a ramp from white to black. |
10 |
|
(HotToColdRamp): New. Generates a ramp from cold to hot colors. |
11 |
|
|
12 |
|
* Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to |
13 |
|
ID_PROPERTY_*. |
14 |
|
(Classifier.__init__): Minor changes to the layout. |
15 |
|
(Classifier._OnTitleChanged): Listen for when the user edits the |
16 |
|
title and update the dialog's title and the layer's title. |
17 |
|
|
18 |
|
* Thuban/UI/dock.py: Use new bitmaps for the control buttons. |
19 |
|
|
20 |
|
* Thuban/UI/legend.py: Use new bitmaps for the control buttons. |
21 |
|
(LegendTree._OnMsgLayerTitleChanged): Change the displayed title |
22 |
|
if the layer's title changes. |
23 |
|
|
24 |
|
* Thuban/UI/mainwindow.py: Added new menu item and associated code |
25 |
|
to open a dialog to rename the map. |
26 |
|
(MainWindow): Use new resource class to import bitmaps. |
27 |
|
|
28 |
|
2003-04-11 Jonathan Coles <[email protected]> |
29 |
|
|
30 |
|
* Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm, |
31 |
|
Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm, |
32 |
|
Resources/Bitmaps/group_use_none.xpm, |
33 |
|
Resources/Bitmaps/group_use_not.xpm, |
34 |
|
Resources/Bitmaps/hide_layer.xpm, |
35 |
|
Resources/Bitmaps/layer_properties.xpm, |
36 |
|
Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm, |
37 |
|
Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm: |
38 |
|
New. |
39 |
|
|
40 |
|
2003-04-10 Jonathan Coles <[email protected]> |
41 |
|
|
42 |
|
* Thuban/Model/classification.py: (ClassGroupRange.__init__): |
43 |
|
Should pass group to ClassGroup constructor. |
44 |
|
|
45 |
|
2003-04-10 Jonathan Coles <[email protected]> |
46 |
|
|
47 |
|
* Thuban/Model/classification.py: (ClassGroup): Move all the common |
48 |
|
methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__) |
49 |
|
here. Implement SetVisible(), IsVisible(). |
50 |
|
(ClassGroup.__init__): Add group parameter which acts as a copy |
51 |
|
constructor. |
52 |
|
|
53 |
|
* Thuban/UI/classifier.py (ClassTable): Add a new column for the |
54 |
|
"Visible" check boxes. |
55 |
|
(Classifier): Rename the buttons and refactor the code to match |
56 |
|
the new labels. |
57 |
|
|
58 |
|
* Thuban/UI/legend.py: Classify button is now called "Properties". |
59 |
|
Refactored the code to change variable names. |
60 |
|
(LegendTree.__FillTreeLayer): Only list a group if it is visible. |
61 |
|
|
62 |
|
* Thuban/UI/mainwindow.py: MainWindow.OpenClassifier renamed to |
63 |
|
MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties |
64 |
|
renamed to MainWindow.LayerEditProperties. |
65 |
|
(MainWindow.ToggleLegend): Don't include map name in legend title. |
66 |
|
(MainWindow.SetMap): Added the map name to the window title. |
67 |
|
(MainWindow.LayerFillColor, MainWindow.LayerTransparentFill, |
68 |
|
MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed. |
69 |
|
Functionality is found in the layer properties dialog. |
70 |
|
|
71 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only |
72 |
|
draw visible groups. |
73 |
|
|
74 |
|
2003-04-09 Jonathan Coles <[email protected]> |
75 |
|
|
76 |
|
* Thuban/UI/classgen.py: Modifications to allow simple |
77 |
|
addition and selection of new color schemes. |
78 |
|
(MonochromaticRamp): New. Generates a ramp between two colors. |
79 |
|
(RedRamp): New. Generates a ramp of all red. |
80 |
|
(GreenRamp): New. Generates a ramp of all green. |
81 |
|
(BlueRamp): New. Generates a ramp of all blue. |
82 |
|
|
83 |
|
2003-04-09 Jonathan Coles <[email protected]> |
84 |
|
|
85 |
|
* Thuban/Model/classification.py (Classification.__deepcopy__): |
86 |
|
Need to copy over field and fieldType attributes. |
87 |
|
|
88 |
|
* Thuban/Model/table.py (Table.field_range): New. Retrive the |
89 |
|
maximum and minimum values over the entire table for a given |
90 |
|
field. |
91 |
|
(Table.GetUniqueValues): New. Retrieve all the unique values |
92 |
|
in the table for a given field. |
93 |
|
|
94 |
|
* Thuban/UI/classgen.py: Renamed GenRangePanel to GenUniformPanel. |
95 |
|
(GenUniquePanel): New. Controls to allow the user to select |
96 |
|
which unique field values they would like in the classification. |
97 |
|
(CustomRampPanel): Code that was in ClassGenDialog that allows |
98 |
|
the user to select the properties for a custom ramp. |
99 |
|
(ClassGenerator.GenUniformDistribution): Was called GenerateRanges. |
100 |
|
|
101 |
|
* Thuban/UI/classifier.py: Removed a lot of debugging code. |
102 |
|
(Classifier._SetClassification): Callback method so that the |
103 |
|
class generator can set the classification in the grid. |
104 |
|
(ClassGroupPropertiesCtrl): New. Encapsulates the drawing and |
105 |
|
editing of a group properties class into a wxWindows control. |
106 |
|
|
107 |
|
* Thuban/UI/dock.py: It was decided that if the user closes |
108 |
|
a dockable window the window should simply hide itself. That |
109 |
|
way if the user wants to show the dock again it appears in the |
110 |
|
same place as it was when it was closed. |
111 |
|
(DockableWindow.Destroy): Call renamed method OnDockDestroy(). |
112 |
|
(DockableWindow._OnButtonClose): Hide the window instead of |
113 |
|
destroying it. |
114 |
|
(DockableWindow._OnClose): Hide the window instead of |
115 |
|
destroying it. |
116 |
|
|
117 |
|
* Thuban/UI/legend.py (LegendTree): Use a private method to |
118 |
|
consistently set the font and style of the text. Fixes RTbug #1786. |
119 |
|
|
120 |
|
* Thuban/UI/mainwindow.py: Import just the Classifier class. |
121 |
|
|
122 |
2003-04-07 Bernhard Herzog <[email protected]> |
2003-04-07 Bernhard Herzog <[email protected]> |
123 |
|
|
124 |
* Thuban/UI/mainwindow.py (main_menu): Move the toggle_legend item |
* Thuban/UI/mainwindow.py (main_menu): Move the toggle_legend item |