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