1 |
2003-04-29 Jonathan Coles <[email protected]> |
2003-04-29 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
Add a visible parameter in the layer XML tag. The default value is |
4 |
|
"true". If anything other than "false" is specified we also assume |
5 |
|
"true". |
6 |
|
|
7 |
|
* Doc/thuban.dtd: Add visible parameter to a layer. |
8 |
|
|
9 |
|
* Thuban/Model/layer.py (BaseLayer.__init__): Change default value |
10 |
|
of visible from 1 to True. |
11 |
|
(Layer.__init__): Change default value of visible from 1 to True. |
12 |
|
|
13 |
|
* Thuban/Model/load.py (SessionLoader.start_layer): Read visible |
14 |
|
parameter. |
15 |
|
|
16 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Save visible |
17 |
|
parameter. |
18 |
|
|
19 |
|
* test/test_load.py: Add new test data contents_test_visible. |
20 |
|
(LoadSessionTest.setUp): save test data. |
21 |
|
(LoadSessionTest.testLayerVisibility): Test if the visible flag |
22 |
|
is loaded correctly. |
23 |
|
|
24 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer): Add test |
25 |
|
for saving an invisible layer. |
26 |
|
|
27 |
|
2003-04-29 Jonathan Coles <[email protected]> |
28 |
|
|
29 |
* Thuban/UI/mainwindow.py (MainWindow.SetMap): Look up the |
* Thuban/UI/mainwindow.py (MainWindow.SetMap): Look up the |
30 |
legend dialog box and tell it to change its map to the one |
legend dialog box and tell it to change its map to the one |
31 |
supplied to SetMap(). Fixes RTbug #1770. |
supplied to SetMap(). Fixes RTbug #1770. |