1 |
|
2002-05-29 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind |
4 |
|
the events for a comnmand. |
5 |
|
(MainWindow.add_toolbar_command, MainWindow.add_menu_command): |
6 |
|
Call bind_command_events to bind the events. add_toolbar_command |
7 |
|
can now bind events too so that it's possible to have commands |
8 |
|
that are only available through the toolbar. |
9 |
|
(MainWindow.init_ids): New instance variable events_bound to keep |
10 |
|
track of for which commands events have been bound. |
11 |
|
|
12 |
|
2002-05-28 Bernhard Herzog <[email protected]> |
13 |
|
|
14 |
|
* Thuban/UI/menu.py: New module to build and manage menus. |
15 |
|
|
16 |
|
* Thuban/UI/mainwindow.py: Remove some unused imports. |
17 |
|
(MainWindow.__init__, main_menu): move the definition of the main |
18 |
|
menu from __init__ to the Menu instance main_menu. |
19 |
|
(MainWindow.build_menu_bar, MainWindow.build_menu): New methods to |
20 |
|
build the menu bar and sub-menus from a menu description. |
21 |
|
|
22 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Read the |
23 |
|
startup file |
24 |
|
(ThubanApplication.read_startup_files): New method to run |
25 |
|
~/.thuban/thubanstart.py |
26 |
|
|
27 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar): |
28 |
|
Move the toolbar definition to the Menu instance main_toolbar. |
29 |
|
(MainWindow.build_toolbar): New method to build the toolbar |
30 |
|
similar to the build_menu methods |
31 |
|
|
32 |
2002-05-23 Bernhard Herzog <[email protected]> |
2002-05-23 Bernhard Herzog <[email protected]> |
33 |
|
|
34 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of |
35 |
|
layer_outline_color. Fix it in the definition of the command too. |
36 |
|
|
37 |
* Thuban/UI/command.py (Command): Fix typo in doc string |
* Thuban/UI/command.py (Command): Fix typo in doc string |
38 |
|
|
39 |
2002-05-22 Bernhard Herzog <[email protected]> |
2002-05-22 Bernhard Herzog <[email protected]> |