1 |
|
2003-04-14 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/dock.py: Fixes some window resizing problems most |
4 |
|
noticable under windows. Always assume the button bitmaps will |
5 |
|
be there. Code clean up. |
6 |
|
(DockabelWindow.Dock, DockableWindow.UnDock): Force all the |
7 |
|
images for the dock/undock button to the same images. |
8 |
|
Work around for RTbug #1801. |
9 |
|
|
10 |
|
* Thuban/UI/legend.py (LegendPanel.__init__): The toolbar should |
11 |
|
be allowed to grow within the sizer. Fixes a bug under Windows |
12 |
|
where the toolbar wasn't being drawn. |
13 |
|
|
14 |
|
2003-04-14 Frank Koormann <[email protected]> |
15 |
|
|
16 |
|
* Resources/Bitmaps/dock_12.xpm, Resources/Bitmaps/undock_12.xpm: |
17 |
|
Updated design to try to make the button functionality more |
18 |
|
transparent. |
19 |
|
|
20 |
|
2003-04-14 Jonathan Coles <[email protected]> |
21 |
|
|
22 |
|
* Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to |
23 |
|
finalize the intialization of the panel. |
24 |
|
|
25 |
|
* Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the |
26 |
|
creation of the panel. Should be the last thing called in the |
27 |
|
initializer of a subclass. |
28 |
|
|
29 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively |
30 |
|
set the current selections in the combo boxes. This is needed |
31 |
|
under Windows. |
32 |
|
|
33 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Add a top |
34 |
|
level panel to the dialog so that the background colors are |
35 |
|
consistent under Windows. |
36 |
|
|
37 |
|
2003-04-11 Jonathan Coles <[email protected]> |
38 |
|
|
39 |
|
* Thuban/UI/classgen.py: Change color ramps to start at white |
40 |
|
not black. |
41 |
|
|
42 |
|
* Thuban/UI/legend.py: Enable/disable the legend buttons when |
43 |
|
the legend changes. Fixes RTbug #1793. |
44 |
|
|
45 |
|
* test/test_classification.py: Added test for copying of |
46 |
|
classifications. |
47 |
|
|
48 |
|
2003-04-11 Jonathan Coles <[email protected]> |
49 |
|
|
50 |
|
* Thuban/UI/resource.py: New. Centralize the loading of resources |
51 |
|
such as bitmaps. |
52 |
|
|
53 |
|
* Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons, |
54 |
|
added images to the move buttons, added 'reverse' button. |
55 |
|
(CustomRampPanel.__init__): Added images to the move buttons. |
56 |
|
(GreyRamp): New. Generates a ramp from white to black. |
57 |
|
(HotToColdRamp): New. Generates a ramp from cold to hot colors. |
58 |
|
|
59 |
|
* Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to |
60 |
|
ID_PROPERTY_*. |
61 |
|
(Classifier.__init__): Minor changes to the layout. |
62 |
|
(Classifier._OnTitleChanged): Listen for when the user edits the |
63 |
|
title and update the dialog's title and the layer's title. |
64 |
|
|
65 |
|
* Thuban/UI/dock.py: Use new bitmaps for the control buttons. |
66 |
|
|
67 |
|
* Thuban/UI/legend.py: Use new bitmaps for the control buttons. |
68 |
|
(LegendTree._OnMsgLayerTitleChanged): Change the displayed title |
69 |
|
if the layer's title changes. |
70 |
|
|
71 |
|
* Thuban/UI/mainwindow.py: Added new menu item and associated code |
72 |
|
to open a dialog to rename the map. |
73 |
|
(MainWindow): Use new resource class to import bitmaps. |
74 |
|
|
75 |
|
2003-04-11 Jonathan Coles <[email protected]> |
76 |
|
|
77 |
|
* Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm, |
78 |
|
Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm, |
79 |
|
Resources/Bitmaps/group_use_none.xpm, |
80 |
|
Resources/Bitmaps/group_use_not.xpm, |
81 |
|
Resources/Bitmaps/hide_layer.xpm, |
82 |
|
Resources/Bitmaps/layer_properties.xpm, |
83 |
|
Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm, |
84 |
|
Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm: |
85 |
|
New. |
86 |
|
|
87 |
|
2003-04-10 Jonathan Coles <[email protected]> |
88 |
|
|
89 |
|
* Thuban/Model/classification.py: (ClassGroupRange.__init__): |
90 |
|
Should pass group to ClassGroup constructor. |
91 |
|
|
92 |
|
2003-04-10 Jonathan Coles <[email protected]> |
93 |
|
|
94 |
|
* Thuban/Model/classification.py: (ClassGroup): Move all the common |
95 |
|
methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__) |
96 |
|
here. Implement SetVisible(), IsVisible(). |
97 |
|
(ClassGroup.__init__): Add group parameter which acts as a copy |
98 |
|
constructor. |
99 |
|
|
100 |
|
* Thuban/UI/classifier.py (ClassTable): Add a new column for the |
101 |
|
"Visible" check boxes. |
102 |
|
(Classifier): Rename the buttons and refactor the code to match |
103 |
|
the new labels. |
104 |
|
|
105 |
|
* Thuban/UI/legend.py: Classify button is now called "Properties". |
106 |
|
Refactored the code to change variable names. |
107 |
|
(LegendTree.__FillTreeLayer): Only list a group if it is visible. |
108 |
|
|
109 |
|
* Thuban/UI/mainwindow.py: MainWindow.OpenClassifier renamed to |
110 |
|
MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties |
111 |
|
renamed to MainWindow.LayerEditProperties. |
112 |
|
(MainWindow.ToggleLegend): Don't include map name in legend title. |
113 |
|
(MainWindow.SetMap): Added the map name to the window title. |
114 |
|
(MainWindow.LayerFillColor, MainWindow.LayerTransparentFill, |
115 |
|
MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed. |
116 |
|
Functionality is found in the layer properties dialog. |
117 |
|
|
118 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only |
119 |
|
draw visible groups. |
120 |
|
|
121 |
|
2003-04-09 Jonathan Coles <[email protected]> |
122 |
|
|
123 |
|
* Thuban/UI/classgen.py: Modifications to allow simple |
124 |
|
addition and selection of new color schemes. |
125 |
|
(MonochromaticRamp): New. Generates a ramp between two colors. |
126 |
|
(RedRamp): New. Generates a ramp of all red. |
127 |
|
(GreenRamp): New. Generates a ramp of all green. |
128 |
|
(BlueRamp): New. Generates a ramp of all blue. |
129 |
|
|
130 |
2003-04-09 Jonathan Coles <[email protected]> |
2003-04-09 Jonathan Coles <[email protected]> |
131 |
|
|
132 |
* Thuban/Model/classification.py (Classification.__deepcopy__): |
* Thuban/Model/classification.py (Classification.__deepcopy__): |