GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ogc_services.WMSDialog Class Reference
Inheritance diagram for ogc_services.WMSDialog:
Collaboration diagram for ogc_services.WMSDialog:

Public Member Functions

def __init__
 Dialog to import data from WMS server. More...
 
def OnCancel
 Button 'Cancel' pressed -> close the dialog. More...
 
def OnConnect
 Button 'Connect' pressed. More...
 
def OnServer
 Server settings changed. More...
 
def GetLayers
 Get list of selected layers/styles to be imported. More...
 
def GetSettings
 Get connection settings. More...
 

Data Fields

 parent
 
 service
 
 panel
 
 settingsBox
 
 serverText
 
 server
 
 layersBox
 
 list
 
 add
 
 btn_cancel
 
 btn_connect
 
 btn_import
 

Detailed Description

Definition at line 28 of file ogc_services.py.

Constructor & Destructor Documentation

def ogc_services.WMSDialog.__init__ (   self,
  parent,
  service = 'wms',
  id = wx.ID_ANY,
  style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER 
)

Dialog to import data from WMS server.

Definition at line 31 of file ogc_services.py.

Member Function Documentation

def ogc_services.WMSDialog.GetLayers (   self)

Get list of selected layers/styles to be imported.

Definition at line 231 of file ogc_services.py.

def ogc_services.WMSDialog.GetSettings (   self)

Get connection settings.

Definition at line 235 of file ogc_services.py.

def ogc_services.WMSDialog.OnCancel (   self,
  event 
)

Button 'Cancel' pressed -> close the dialog.

Definition at line 158 of file ogc_services.py.

Referenced by dialogs.VDigitCategoryDialog.OnOK(), and dialogs.DxfImportDialog.OnRun().

def ogc_services.WMSDialog.OnConnect (   self,
  event 
)

Button 'Connect' pressed.

Definition at line 162 of file ogc_services.py.

References python.core.find_program(), and gcmd.RunCommand().

Referenced by toolbars.VDigitToolbar.OnAdditionalToolMenu().

def ogc_services.WMSDialog.OnServer (   self,
  event 
)

Server settings changed.

Definition at line 223 of file ogc_services.py.

Field Documentation

ogc_services.WMSDialog.add

Definition at line 68 of file ogc_services.py.

ogc_services.WMSDialog.btn_cancel

Definition at line 76 of file ogc_services.py.

ogc_services.WMSDialog.btn_connect

Definition at line 79 of file ogc_services.py.

ogc_services.WMSDialog.btn_import

Definition at line 85 of file ogc_services.py.

ogc_services.WMSDialog.layersBox

Definition at line 62 of file ogc_services.py.

ogc_services.WMSDialog.list
ogc_services.WMSDialog.panel

Definition at line 40 of file ogc_services.py.

ogc_services.WMSDialog.server

Definition at line 57 of file ogc_services.py.

ogc_services.WMSDialog.serverText

Definition at line 56 of file ogc_services.py.

ogc_services.WMSDialog.service

Definition at line 34 of file ogc_services.py.

ogc_services.WMSDialog.settingsBox

Definition at line 53 of file ogc_services.py.


The documentation for this class was generated from the following file: