15 |
|
|
16 |
from Thuban.Model.resource import GetUserProjFiles, GetSystemProjFiles, \ |
from Thuban.Model.resource import GetUserProjFiles, GetSystemProjFiles, \ |
17 |
ReadProjFile, WriteProjFile |
ReadProjFile, WriteProjFile |
18 |
from Thuban.UI.dialogs import NonModalDialog |
from Thuban.UI.dialogs import NonModalNonParentDialog |
19 |
|
|
20 |
|
|
21 |
ID_PROJ_ADVANCED = 4001 |
ID_PROJ_ADVANCED = 4001 |
33 |
CLIENT_PROJ = 0 |
CLIENT_PROJ = 0 |
34 |
CLIENT_PROJFILE = 1 |
CLIENT_PROJFILE = 1 |
35 |
|
|
36 |
class ProjFrame(NonModalDialog): |
class ProjFrame(NonModalNonParentDialog): |
37 |
|
|
38 |
def __init__(self, parent, name, title, receiver): |
def __init__(self, parent, name, title, receiver): |
39 |
"""Initialize the projection dialog. |
"""Initialize the projection dialog. |
57 |
self.projPanels.append( |
self.projPanels.append( |
58 |
("latlong", _("Geographic"), GeoPanel)) |
("latlong", _("Geographic"), GeoPanel)) |
59 |
|
|
60 |
NonModalDialog.__init__(self, parent, name, title) |
NonModalNonParentDialog.__init__(self, parent, name, title) |
61 |
# originally generate by wxGlade |
# originally generate by wxGlade |
62 |
self.panel_1 = wxPanel(self, -1) |
self.panel_1 = wxPanel(self, -1) |
63 |
self.panel_edit = wxPanel(self, -1) |
self.panel_edit = wxPanel(self, -1) |