19 |
""" |
""" |
20 |
Information dialog to display various information about a WMS layer. |
Information dialog to display various information about a WMS layer. |
21 |
|
|
22 |
class wmsInfoDialog(NonModalDialog): |
class wmsInfoDialog(ThubanFrame): |
23 |
__init__ |
__init__ |
24 |
|
|
25 |
dialog_layout(text) |
dialog_layout(text) |
48 |
This dialog will display the title of the WMS resource |
This dialog will display the title of the WMS resource |
49 |
""" |
""" |
50 |
|
|
51 |
def __init__(self, parent, name, title, layer): |
def __init__(self, parent, name, layer, *args, **kw): |
52 |
""" |
""" |
53 |
Build the information dialog |
Build the information dialog |
54 |
""" |
""" |
55 |
|
title = _("WMS Information") |
56 |
ThubanFrame.__init__(self, parent, name, title) |
ThubanFrame.__init__(self, parent, name, title) |
57 |
|
|
58 |
self.dialog_layout(self.calcText(layer)) |
self.dialog_layout(self.calcText(layer)) |