13 |
|
|
14 |
__version__ = "$Revision$" |
__version__ = "$Revision$" |
15 |
|
|
16 |
__ThubanVersion__ = "0.2" #"$THUBAN_0_2$" |
__ThubanVersion__ = "0.8" #"$THUBAN_0_2$" |
17 |
#__BuildDate__ = "$Date$" |
#__BuildDate__ = "$Date$" |
18 |
|
|
19 |
import os |
import os |
107 |
|
|
108 |
self.init_dialogs() |
self.init_dialogs() |
109 |
|
|
110 |
|
self.ShowLegend() |
111 |
|
|
112 |
EVT_CLOSE(self, self.OnClose) |
EVT_CLOSE(self, self.OnClose) |
113 |
|
|
114 |
def Subscribe(self, channel, *args): |
def Subscribe(self, channel, *args): |
445 |
|
|
446 |
def About(self): |
def About(self): |
447 |
self.RunMessageBox(_("About"), |
self.RunMessageBox(_("About"), |
448 |
_("Thuban %s\n" |
_("Thuban %s\n\n" |
449 |
#"Build Date: %s\n" |
#"Build Date: %s\n" |
450 |
"using:\n" |
"Currently using:\n" |
451 |
" %s\n" |
" %s\n" |
452 |
" %s\n\n" |
" %s\n\n" |
453 |
"Thuban is a program for\n" |
"Thuban is a program for\n" |
579 |
def LayerShowTable(self): |
def LayerShowTable(self): |
580 |
layer = self.current_layer() |
layer = self.current_layer() |
581 |
if layer is not None: |
if layer is not None: |
582 |
table = layer.table |
table = layer.ShapeStore().Table() |
583 |
name = "table_view" + str(id(table)) |
name = "table_view" + str(id(table)) |
584 |
dialog = self.get_open_dialog(name) |
dialog = self.get_open_dialog(name) |
585 |
if dialog is None: |
if dialog is None: |
1142 |
"selected_full_extent", |
"selected_full_extent", |
1143 |
None, |
None, |
1144 |
"map_identify_tool", "map_label_tool"]) |
"map_identify_tool", "map_label_tool"]) |
1145 |
|
|