36 |
|
|
37 |
from context import Context |
from context import Context |
38 |
from command import registry, Command, ToolCommand |
from command import registry, Command, ToolCommand |
39 |
from messages import LAYER_SELECTED, SHAPES_SELECTED, VIEW_POSITION, DOCKABLE_DOCKED, DOCKABLE_UNDOCKED, DOCKABLE_CLOSED |
from messages import LAYER_SELECTED, SHAPES_SELECTED, VIEW_POSITION |
40 |
|
|
41 |
from Thuban.UI.dock import DockableWindow, DockFrame, DockPanel |
from Thuban.UI.dock import DockFrame |
42 |
|
|
43 |
import resource |
import resource |
44 |
|
|
45 |
|
|
|
# the directory where the toolbar icons are stored |
|
|
bitmapdir = os.path.join(Thuban.__path__[0], os.pardir, "Resources", "Bitmaps") |
|
|
bitmapext = ".xpm" |
|
|
|
|
|
ID_WINDOW_LEGEND = 4001 |
|
|
ID_WINDOW_CANVAS = 4002 |
|
|
|
|
46 |
|
|
47 |
class MainWindow(DockFrame): |
class MainWindow(DockFrame): |
48 |
|
|