1 |
|
2003-03-26 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
This putback contains the code for dockable windows. There is |
4 |
|
no support in wxWindows as of this date for windows that can |
5 |
|
attach themselves to other windows. |
6 |
|
|
7 |
|
The current model contains a DockableWindow which has a parent |
8 |
|
window for when it is detached and a dock window that it puts |
9 |
|
its contents in when it is docked. The contents of a DockableWindow |
10 |
|
must be a DockPanel. DockPanel itself derives from wxPanel. |
11 |
|
|
12 |
|
* Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED |
13 |
|
message, not a LAYER_LEGEND_CHANGED message. |
14 |
|
|
15 |
|
* Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages. |
16 |
|
|
17 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE |
18 |
|
as one of the style properties for the fieldTypeText item to |
19 |
|
be sure that its size is correct when the text changes. |
20 |
|
|
21 |
|
* Thuban/UI/dock.py: New. Classes for the DockPanel and |
22 |
|
DockableWindow. |
23 |
|
|
24 |
|
* Thuban/UI/legend.py: Added some more buttons and made the |
25 |
|
LegendPanel a DockPanel. |
26 |
|
|
27 |
|
* Thuban/UI/mainwindow.py: Added sash windows to the main window |
28 |
|
and supporting functions for manipulating the sashes. |
29 |
|
(MainWindow.ShowLegend): Create a DockableWindow with the |
30 |
|
LegendPanel as the contents. |
31 |
|
|
32 |
|
* Thuban/UI/messages.py: Added DOCKABLE_* messages |
33 |
|
|
34 |
|
* Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED, |
35 |
|
not LAYER_LEGEND_CHANGED, messages. |
36 |
|
|
37 |
2003-03-25 Jonathan Coles <[email protected]> |
2003-03-25 Jonathan Coles <[email protected]> |
38 |
|
|
39 |
* setup.py: Added custom script bdist_rpm_build_script so that |
* setup.py: Added custom script bdist_rpm_build_script so that |