1 |
|
2003-06-12 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/legend.py (ScaleBarBitmap.__SetScale): Don't draw |
4 |
|
the scalebar if the current map has no projection set. |
5 |
|
|
6 |
|
* Thuban/UI/projdialog.py (ProjFrame.__DoOnProjAvail): Set the |
7 |
|
projfilepath label to just the basename of the projection file |
8 |
|
rather than include the entire path. |
9 |
|
|
10 |
|
2003-06-11 Frank Koormann <[email protected]> |
11 |
|
|
12 |
|
* Thuban/Lib/fileutil.py (get_application_dir): Minor stability |
13 |
|
update. |
14 |
|
|
15 |
|
2003-06-11 Frank Koormann <[email protected]> |
16 |
|
|
17 |
|
* Thuban/Lib/fileutil.py (get_application_dir): New function to |
18 |
|
determine the absolute .thuban/thuban directory under |
19 |
|
"posix" (os.expanduser) and "nt" (read AppData registry key). |
20 |
|
|
21 |
|
* Thuban/Model/resource.py: Use get_application_dir |
22 |
|
|
23 |
|
* Thuban/UI/application.py (ThubanApplication.read_startup_files): |
24 |
|
Use get_application_dir. |
25 |
|
|
26 |
|
2003-06-10 Bernhard Herzog <[email protected]> |
27 |
|
|
28 |
|
* Thuban/UI/tableview.py (LayerTableFrame.__init__): Subscribe to |
29 |
|
the messages MAP_LAYERS_REMOVED messages |
30 |
|
(LayerTableFrame.OnClose): Unsubscribe from it. |
31 |
|
(LayerTableFrame.map_layers_removed): New. Receiver for |
32 |
|
MAP_LAYERS_REMOVED. Close the dialog when the layer whose the |
33 |
|
dialog is showing is removed. |
34 |
|
|
35 |
|
2003-06-10 Bernhard Herzog <[email protected]> |
36 |
|
|
37 |
|
* Thuban/Lib/connector.py (Connector.Issue): Iterate over a copy |
38 |
|
of the receivers list so that unsubscribing in a receiver doesn't |
39 |
|
modify it while iterating over it. |
40 |
|
|
41 |
|
* test/test_connector.py |
42 |
|
(ConnectorTest.test_disconnect_in_receiver): New. Test whether |
43 |
|
unsubscribing in a receiver works correctly. See docstring for |
44 |
|
details |
45 |
|
|
46 |
|
2003-06-10 Bernhard Herzog <[email protected]> |
47 |
|
|
48 |
|
* Thuban/Model/messages.py (LAYER_SHAPESTORE_REPLACED): New |
49 |
|
message. |
50 |
|
|
51 |
|
* Thuban/Model/layer.py (Layer.SetShapeStore): Send |
52 |
|
LAYER_SHAPESTORE_REPLACED when the shapestore changes. A |
53 |
|
LAYER_CHANGED will still be sent if the classification changes. |
54 |
|
|
55 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Add the map as |
56 |
|
parameter so we can subscribe to some of its messages |
57 |
|
(Classifier.__init__): Subscribe to the map's MAP_LAYERS_REMOVED |
58 |
|
and the layer's LAYER_SHAPESTORE_REPLACED |
59 |
|
(Classifier.unsubscribe_messages): New. Unsubscribe from message |
60 |
|
subscribed to in __init__ |
61 |
|
(Classifier.map_layers_removed) |
62 |
|
(Classifier.layer_shapestore_replaced): receivers for the messages |
63 |
|
subscribed to in __init__. Unsubscribe and close the dialog |
64 |
|
|
65 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): Pass |
66 |
|
the map to the Classifier dialog |
67 |
|
|
68 |
|
* test/test_layer.py (SetShapeStoreTests): Derive from |
69 |
|
SubscriberMixin as well so we can test messages |
70 |
|
(SetShapeStoreTests.setUp): Subscribe to some of the layer's |
71 |
|
messages |
72 |
|
(SetShapeStoreTests.tearDown): Clear the messages again |
73 |
|
(SetShapeStoreTests.test_sanity): Expand the doc-string and check |
74 |
|
for the modified flag too |
75 |
|
(SetShapeStoreTests.test_set_shape_store_modified_flag): New test |
76 |
|
to check whether SetShapeStore sets the modified flag |
77 |
|
(SetShapeStoreTests.test_set_shape_store_different_field_name) |
78 |
|
(SetShapeStoreTests.test_set_shape_store_same_field) |
79 |
|
(SetShapeStoreTests.test_set_shape_store_same_field_different_type): |
80 |
|
Add tests for the messages. This checks both the new |
81 |
|
LAYER_SHAPESTORE_REPLACED and the older LAYER_CHANGED |
82 |
|
|
83 |
|
2003-06-06 Jan-Oliver Wagner <[email protected]> |
84 |
|
|
85 |
|
* Thuban/UI/mainwindow.py: Improved and partly added help texts for |
86 |
|
the menu items. |
87 |
|
|
88 |
|
2003-06-05 Frank Koormann <[email protected]> |
89 |
|
|
90 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): |
91 |
|
Layout reimplemented without panel. Make life easier to fit the list |
92 |
|
in the dialog. |
93 |
|
|
94 |
|
2003-06-05 Frank Koormann <[email protected]> |
95 |
|
|
96 |
|
* Thuban/UI/projdialog.py (ProjFrame.__init__): Fill the projchoice |
97 |
|
once on initialisation (Former implementation resulted in multiple |
98 |
|
entries for each projection). |
99 |
|
(ProjFrame.__FillAvailList): selectProj as second optional parameter, |
100 |
|
if set, select the projection found under the specified name. This |
101 |
|
overwrites any other selection estimate. |
102 |
|
Removed projchoice filling from this method. |
103 |
|
(ProjFrame._OnSave, ProjFrame._OnAddToList): |
104 |
|
Updated call of ProjFrame.__FillAvailList |
105 |
|
(LCCPanel._DoLayout): Moved parameter controls in more common order. |
106 |
|
|
107 |
|
* Resources/Projections/defaults.proj: Extended defaults representing |
108 |
|
various common European projections. |
109 |
|
|
110 |
|
2003-06-05 Frank Koormann <[email protected]> |
111 |
|
|
112 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): |
113 |
|
Use ListCtrl instead of GridCtrl |
114 |
|
|
115 |
|
* Thuban/Model/resource.py: |
116 |
|
Guess location of .thuban directory from tempdir parent directory. |
117 |
|
|
118 |
|
* Thuban/UI/application.py (ThubanApplication.read_startup_files): |
119 |
|
Guess location of .thuban directory from tempdir parent directory. |
120 |
|
|
121 |
|
2003-06-04 Bernhard Herzog <[email protected]> |
122 |
|
|
123 |
|
Do not cache the values returned by the tree widget's |
124 |
|
GetFirstChild and GetNextChild methods because it led to lots of |
125 |
|
segfaults. The new way requires more brute force but is more |
126 |
|
reliable. |
127 |
|
|
128 |
|
* Thuban/UI/legend.py (LegendTree.__init__): Remove instance |
129 |
|
variable layer2id |
130 |
|
(LegendTree.find_layer): New method to do with brute force what |
131 |
|
layer2id tried to accomplish |
132 |
|
(LegendTree._OnMsgLayerChanged) |
133 |
|
(LegendTree._OnMsgLayerTitleChanged, LegendTree.__ShowHideLayer): |
134 |
|
Use find_layer instead of layer2id |
135 |
|
(LegendTree.__RemoveLayer, LegendTree.__AddLayer): No need to |
136 |
|
update layer2id anymore |
137 |
|
(LegendTree._OnMsgMapLayersRemoved) |
138 |
|
(LegendTree._OnMsgMapLayersAdded): Get by without layer2id. |
139 |
|
|
140 |
|
2003-06-03 Thomas Koester <[email protected]> |
141 |
|
|
142 |
|
* Thuban/Model/classgen.py (GenQuantiles0): New function. |
143 |
|
|
144 |
|
2003-06-02 Bernhard Herzog <[email protected]> |
145 |
|
|
146 |
|
* Thuban/UI/mainwindow.py (layer_rename command, table_rename command): |
147 |
|
New commands. |
148 |
|
(main_menu): Add the new commands. |
149 |
|
(MainWindow.TableRename): New. Implementation of the table_rename |
150 |
|
command. |
151 |
|
(MainWindow.RenameLayer): New. Implementation of the layer_rename |
152 |
|
command. |
153 |
|
|
154 |
|
* Thuban/Model/session.py (Session.AddTable): call self.changed to |
155 |
|
set the modified flag |
156 |
|
|
157 |
|
* test/test_session.py (TestSessionSimple.test_add_table): Test |
158 |
|
whether the modified flag is set properly |
159 |
|
|
160 |
|
* Thuban/Model/base.py (TitledObject.SetTitle): Call changed |
161 |
|
instead of issue so that the modified flags get updated. |
162 |
|
|
163 |
|
* test/test_base.py (SomeTitledObject): Derive from Modifiable |
164 |
|
instead of Publisher to reflect reality better and to accomodate |
165 |
|
the fact that SetTitle now calls changed instead of issue |
166 |
|
|
167 |
|
2003-06-02 Bernhard Herzog <[email protected]> |
168 |
|
|
169 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Resource |
170 |
|
acquisition has to happen before the try in a try-finally. |
171 |
|
|
172 |
|
2003-06-02 Bernhard Herzog <[email protected]> |
173 |
|
|
174 |
|
* Thuban/UI/legend.py (LegendTree._OnMsgMapLayersRemoved): It's |
175 |
|
possible that a layer is removed that is not currently selected in |
176 |
|
the legend so don't check for this. |
177 |
|
|
178 |
|
2003-05-30 Bernhard Herzog <[email protected]> |
179 |
|
|
180 |
|
* Thuban/Model/layer.py (Layer.Destroy): Set all instance |
181 |
|
variables to None that have direct or indirect references to |
182 |
|
shapefiles or dbf files to make sure that they do go away and the |
183 |
|
files are closed. |
184 |
|
|
185 |
|
2003-05-30 Bernhard Herzog <[email protected]> |
186 |
|
|
187 |
|
* Thuban/UI/legend.py (LegendTree.GetRootItem): Reset |
188 |
|
availImgListIndices when a new image list is created |
189 |
|
|
190 |
|
2003-05-30 Bernhard Herzog <[email protected]> |
191 |
|
|
192 |
|
* Thuban/UI/legend.py (LegendTree.__init__): New instance variable |
193 |
|
changing_selection to indicate whether the LegendTree code itself |
194 |
|
is currently changing the selection |
195 |
|
(LegendTree.normalize_selection): New method to normalize the |
196 |
|
selection by selecting the layer item even if the user clicked on |
197 |
|
the classification. |
198 |
|
(LegendTree._OnSelChanged): normalize the selection. This works |
199 |
|
around a bug in wx which doesn't keep track of the selection |
200 |
|
properly when subtrees are deleted. |
201 |
|
|
202 |
|
2003-05-30 Bernhard Herzog <[email protected]> |
203 |
|
|
204 |
|
* Thuban/UI/view.py (MapCanvas.set_view_transform): Limit the |
205 |
|
maximum and minimum scale factors. |
206 |
|
|
207 |
|
* test/test_classgen.py (ClassGenTest.test): Update to reflect the |
208 |
|
changes in classgen.py |
209 |
|
|
210 |
|
2003-05-30 Jonathan Coles <[email protected]> |
211 |
|
|
212 |
|
* Thuban/Model/classgen.py: Remove ClassGenerator class but make |
213 |
|
all the methods functions. Fixes RTBug #1903. |
214 |
|
|
215 |
|
* Thuban/Model/map.py (Map.TopLayer, Map.BottomLayer): Renamed |
216 |
|
to MoveLayerToTop and MoveLayerToBottom respectively. Fixes |
217 |
|
RTBug #1907. |
218 |
|
|
219 |
|
* Thuban/UI/classgen.py: Use classgen functions that were part |
220 |
|
of the ClassGenerator class. Put try/finally blocks around |
221 |
|
code that uses wxBeginBusyCursor()/wxEndBusyCursor(). Fixes |
222 |
|
RTBug #1904. |
223 |
|
|
224 |
|
* Thuban/UI/classifier.py: Remove unused import of ClassGenerator. |
225 |
|
|
226 |
|
* Thuban/UI/legend.py: The legend was cleared and repopulated any |
227 |
|
time something changed which caused some state to be lost such |
228 |
|
as which children were expanded or collapsed. Fixes RTBug #1901. |
229 |
|
(LegendTree._OnMsgMapLayersAdded): Add only new layers. |
230 |
|
(LegendTree.__OnMsgMapLayersRemoved): Remove layers that exist in |
231 |
|
the legend but not in the map. |
232 |
|
(LegendTree.__FillTree): Move main functionality out into smaller |
233 |
|
methods that can be used by other methods. |
234 |
|
(LegendTree.__FillTreeLayer): Reuse old slots in the image list |
235 |
|
if they are available. |
236 |
|
(LegendTree.DeleteAllItems): Renamed from __DeleteAllItems so |
237 |
|
that we override the wxTreeCtrl method. Iterate over children |
238 |
|
and call __RemoveLayer. |
239 |
|
(LegendTree.__AddLayer): New. Add a new layer to the legend. |
240 |
|
(LegendTree.__RemoveLayer): Remove a layer from the legend. |
241 |
|
(LegendTree.DeleteChildren): New, overrides wxTreeCtrl method. |
242 |
|
Should only be called with the id of a layer branch. |
243 |
|
(LegendTree.GetRootItem): New, overrides wxTreeCtrl method. |
244 |
|
Returns the root item or creates one if necessary. |
245 |
|
|
246 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_raster_layer): Call |
247 |
|
ProjectRasterFile with tuple arguments instead of strings. |
248 |
|
|
249 |
|
* Thuban/UI/tableview.py (QueryTableFrame.OnQuery): Wrap code |
250 |
|
with try/finally. Fixes RTBug #1904. |
251 |
|
|
252 |
|
* Thuban/UI/view.py (MapCanvas.OnPaint): Wrap code |
253 |
|
with try/finally. Fixes RTBug #1904. |
254 |
|
(MapCanvas.FitSelectedToWindow): If a single point is selected |
255 |
|
simply center it on the display. Fixes RTBug #1849. |
256 |
|
|
257 |
|
* extensions/thuban/gdalwarp.cpp: Removed code that allowed gdalwarp |
258 |
|
to be compiled as a standalone app. Now the code can only be |
259 |
|
called from Python which simplifies the parameter passing. |
260 |
|
(ProjectRasterFile): Handle Python arguments. Remove code that |
261 |
|
checks for a destination dataset. Add more clean up code. |
262 |
|
|
263 |
|
* test/test_map.py (TestMapWithContents.test_raise_layer_top, |
264 |
|
TestMapWithContents.test_lower_layer_bottom): |
265 |
|
Test Map.MoveLayerToTop() and Map.MoveLayerToBottom() respectively. |
266 |
|
Fixes RTBug #1907. |
267 |
|
|
268 |
|
* Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Apply a full |
269 |
|
extent to the map when the legend is toggled. Fixes RTBug #1881. |
270 |
|
|
271 |
|
2003-05-29 Jan-Oliver Wagner <[email protected]> |
272 |
|
|
273 |
|
* Thuban/UI/tableview.py (LayerTableFrame.OnClose): Bug-fix: Now |
274 |
|
unsubscribes all that is subcribed in __init__. |
275 |
|
|
276 |
|
2003-05-28 Bernhard Herzog <[email protected]> |
277 |
|
|
278 |
|
* Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer) |
279 |
|
(MainWindow.CanDuplicateLayer): New methods to implement the |
280 |
|
Layer/Duplicate command. |
281 |
|
(layer_duplicate command): New. |
282 |
|
(main_menu): Add layer_duplicate to the Layer menu. |
283 |
|
|
284 |
|
2003-05-28 Bernhard Herzog <[email protected]> |
285 |
|
|
286 |
|
* Thuban/UI/tableview.py (NullRenderer.Draw): New. Our own |
287 |
|
renderer so that NULL/None values get displayed differently (by a |
288 |
|
gray rectangle). |
289 |
|
(TableGrid.__init__): Override the default renderers |
290 |
|
|
291 |
|
2003-05-28 Bernhard Herzog <[email protected]> |
292 |
|
|
293 |
|
* Thuban/Model/layer.py (Layer.SetShapeStore): Set the |
294 |
|
classification to "None" if the type of the field has changed. |
295 |
|
|
296 |
|
* test/test_layer.py (SetShapeStoreTests): New. Class with a few |
297 |
|
test for the Layer.SetShapeStore method |
298 |
|
|
299 |
|
2003-05-28 Jan-Oliver Wagner <[email protected]> |
300 |
|
|
301 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Fixed a bug (a layer |
302 |
|
does not necessarily have a filename). |
303 |
|
|
304 |
|
2003-05-28 Jan-Oliver Wagner <[email protected]> |
305 |
|
|
306 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableClose, MainWindow.TableShow): |
307 |
|
sort the selection list for the dialog. |
308 |
|
|
309 |
|
2003-05-28 Frank Koormann <[email protected]> |
310 |
|
|
311 |
|
* extensions/thuban/wxproj.cpp |
312 |
|
(project_point): Removed cast to int for projected point coordinates. |
313 |
|
(shape_centroid): Return last point if all polygon vertices fall |
314 |
|
to one point. |
315 |
|
|
316 |
|
2003-05-28 Bernhard Herzog <[email protected]> |
317 |
|
|
318 |
|
* Thuban/UI/mainwindow.py (_can_unjoin): Add doc-string and cope |
319 |
|
with layers that don't have shapestores, i.e. raster layers. |
320 |
|
|
321 |
|
2003-05-28 Bernhard Herzog <[email protected]> |
322 |
|
|
323 |
|
* Thuban/Model/table.py (DBFTable.__init__): Omit the extension |
324 |
|
when determining the title from the filename. |
325 |
|
|
326 |
|
* test/test_dbf_table.py (TestDBFTable.test_title): Update to |
327 |
|
reflect changes in the way the title is derived from the filename |
328 |
|
|
329 |
|
2003-05-28 Frank Koormann <[email protected]> |
330 |
|
|
331 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableShow): |
332 |
|
Added wxDEFAULT_DIALOG_STYLE to show table dialog styles. |
333 |
|
|
334 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
335 |
|
|
336 |
|
* Thuban/UI/mainwindow.py (MainWindow.delegated_messages): Also |
337 |
|
delegate SelectedLayer. |
338 |
|
(MainWindow.LayerUnjoinTable): Implement. |
339 |
|
(_can_unjoin): New. Helper function for the sensitivity of the |
340 |
|
layer/unjoin command. |
341 |
|
|
342 |
|
* Thuban/Model/data.py (ShapefileStore.OrigShapeStore) |
343 |
|
(DerivedShapeStore.OrigShapeStore): New. Return the original |
344 |
|
shapestore. Used to figure out how to unjoin. |
345 |
|
(DerivedShapeStore.Shapefile): Fix a typo. |
346 |
|
|
347 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
348 |
|
|
349 |
|
* Thuban/UI/join.py (JoinDialog): Extend to handle layer joins as |
350 |
|
well |
351 |
|
(JoinDialog.__init__): Use the layer parameter and only build the |
352 |
|
left choice when a layer is given |
353 |
|
(JoinDialog.OnJoin): Handle layer joins as well |
354 |
|
(JoinDialog.OnLeftTable, JoinDialog.OnRightTable): Handle the case |
355 |
|
that the user selects the "Select..." item. The sensitivitly |
356 |
|
updating is now in update_sensitivity |
357 |
|
(JoinDialog.y): New method to refactor the sensitivity update of |
358 |
|
the join button into its own method. |
359 |
|
|
360 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerJoinTable): Implement. |
361 |
|
|
362 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
363 |
|
|
364 |
|
* Thuban/UI/mainwindow.py (table_close command): Make it sensitive |
365 |
|
iff there are unreferenced tables in the session |
366 |
|
|
367 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
368 |
|
|
369 |
|
* Thuban/Model/messages.py (TABLE_REMOVED): New message. |
370 |
|
|
371 |
|
* Thuban/Model/session.py (Session.UnreferencedTables): New method |
372 |
|
to return tables that are not referenced by other tables or shape |
373 |
|
stores and can be removed. |
374 |
|
(Session.RemoveTable): Issue a TABLE_REMOVED message after |
375 |
|
removing the table |
376 |
|
|
377 |
|
* Thuban/UI/mainwindow.py: Remove unused imports |
378 |
|
(MainWindow.TableClose): Implement. |
379 |
|
|
380 |
|
* Thuban/UI/tableview.py (TableFrame.__init__): Subscribe to some |
381 |
|
messages so that the frame will be automatically closed when a new |
382 |
|
session is opened or the table is removed. |
383 |
|
(TableFrame.OnClose): Unsubscribe the Subscriptions made in |
384 |
|
__init__ |
385 |
|
(TableFrame.close_on_session_replaced) |
386 |
|
(TableFrame.close_on_table_removed): New. Subscribers that close |
387 |
|
the window |
388 |
|
|
389 |
|
* test/test_session.py (TestSessionMessages.test_remove_table) |
390 |
|
(TestSessionSimple.test_remove_table): Move the test to |
391 |
|
TestSessionSimple and add test for the TABLE_REMOVED message |
392 |
|
(TestSessionBase.setUp): Also subscribe to TABLE_REMOVED |
393 |
|
(TestSessionSimple.test_unreferenced_tables) New. Test for the |
394 |
|
UnreferencedTables method. |
395 |
|
(UnreferencedTablesTests): New. Class with some more sophisticated |
396 |
|
tests for UnreferencedTables. |
397 |
|
|
398 |
|
2003-05-27 Frank Koormann <[email protected]> |
399 |
|
|
400 |
|
* Thuban/UI/tableview.py (QueryTableFrame.__init__): The "_S_election" |
401 |
|
display has some unwanted side effects. Removed again. |
402 |
|
|
403 |
|
2003-05-27 Frank Koormann <[email protected]> |
404 |
|
|
405 |
|
* Resources/Bitmaps/legend_icon_layer.xpm: New, icon for legend. |
406 |
|
|
407 |
|
* Thuban/UI/legend.py (LegendTree.__FillTree): Use "legend_icon_layer" |
408 |
|
|
409 |
|
2003-05-27 Jan-Oliver Wagner <[email protected]> |
410 |
|
|
411 |
|
* test/test_menu.py (MenuTest.test): Added test for |
412 |
|
Menu.RemoveItem(). |
413 |
|
|
414 |
|
* Thuban/UI/menu.py (Menu.RemoveItem): New. Remove an item from |
415 |
|
the menu. |
416 |
|
|
417 |
|
2003-05-27 Frank Koormann <[email protected]> |
418 |
|
|
419 |
|
Nonmodal dialogs without parent (i.e. they can fall behind the main |
420 |
|
window) |
421 |
|
|
422 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Explicitly destroy |
423 |
|
all dialogs in the dialogs dictionary and the canvas. |
424 |
|
|
425 |
|
* Thuban/UI/dialogs.py (NonModalNonParentDialog): New class, without |
426 |
|
parent, i.e. can fall behind other windows. |
427 |
|
(NonModalDialog.OnClose): Check is dialog is in mainwindow.dialog |
428 |
|
dictionary before removing it. |
429 |
|
|
430 |
|
* Thuban/UI/classifier.py: Dialog derived from NonModalNonParentDialog |
431 |
|
|
432 |
|
* Thuban/UI/projdialog.py: Dialog derived from NonModalNonParentDialog |
433 |
|
* Thuban/UI/tableview.py: Dialog derived from NonModalNonParentDialog |
434 |
|
* Thuban/UI/tree.py: Dialog derived from NonModalNonParentDialog |
435 |
|
|
436 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
437 |
|
|
438 |
|
* Thuban/UI/mainwindow.py (MainWindow.ShowTableView): New. Open a |
439 |
|
tableview dialog |
440 |
|
(MainWindow.TableShow): Use ShowTableView to open the dialogs. |
441 |
|
Also, don't use the table's titles as the dialog names. The titles |
442 |
|
aren't guaranteed to be unique. |
443 |
|
(MainWindow.TableOpen): Open a table view dialog after opening the |
444 |
|
table |
445 |
|
|
446 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
447 |
|
|
448 |
|
* Thuban/UI/mainwindow.py: Remove the Table/Hide menu item. Its |
449 |
|
effect can be achieved by simply closing the window showing the |
450 |
|
table. |
451 |
|
(MainWindow.TableHide): Removed. |
452 |
|
(main_menu): Removed "table_hide" |
453 |
|
|
454 |
|
2003-05-27 Frank Koormann <[email protected]> |
455 |
|
|
456 |
|
Fix legend tree display problems under Win32 |
457 |
|
|
458 |
|
* Thuban/UI/legend.py: BMP_SIZE_W = 15 |
459 |
|
(LegendTree.__FillTree): Display "legend_icon_map.xpm" with layer title. |
460 |
|
(LegendTree.__FillTreeLayer): Explicitely set SelectedImage. |
461 |
|
|
462 |
|
* Resources/Bitmaps/legend_icon_map.xpm: New icon for legend. |
463 |
|
|
464 |
2003-05-27 Jan-Oliver Wagner <[email protected]> |
2003-05-27 Jan-Oliver Wagner <[email protected]> |
465 |
|
|
466 |
* Thuban/UI/menu.py (Menu.InsertSeparator): Additional optional parameter |
* Thuban/UI/menu.py (Menu.InsertSeparator): Additional optional parameter |