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

Public Member Functions

def __init__
 Graphical modeler module search window. More...
 
def GetPanel
 Get dialog panel. More...
 
def GetCmd
 Get command. More...
 
def OnOk
 Button 'OK' pressed. More...
 
def OnCancel
 
def OnText
 Text in prompt changed. More...
 
def Reset
 Reset dialog. More...
 

Data Fields

 parent
 
 panel
 
 cmdBox
 
 cmd_prompt
 
 search
 
 btnCancel
 
 btnOk
 

Detailed Description

Definition at line 117 of file gmodeler/dialogs.py.

Constructor & Destructor Documentation

def dialogs.ModelSearchDialog.__init__ (   self,
  parent,
  id = wx.ID_ANY,
  title = _("Add new GRASS module to the model"),
  style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER,
  kwargs 
)

Graphical modeler module search window.

Parameters
parentparent window
idwindow id
titlewindow title
kwargswx.Dialogs' arguments

Definition at line 119 of file gmodeler/dialogs.py.

Member Function Documentation

def dialogs.ModelSearchDialog.GetCmd (   self)

Get command.

Definition at line 186 of file gmodeler/dialogs.py.

References utils.EncodeString(), and utils.split().

Referenced by wxnviz.ImageTexture.Corresponds(), and dialogs.ModelSearchDialog.OnOk().

def dialogs.ModelSearchDialog.GetPanel (   self)
def dialogs.ModelSearchDialog.OnOk (   self,
  event 
)

Button 'OK' pressed.

Definition at line 199 of file gmodeler/dialogs.py.

References dialogs.ModelSearchDialog.GetCmd(), and render.Layer.GetCmd().

def dialogs.ModelSearchDialog.OnText (   self,
  event 
)

Text in prompt changed.

Definition at line 230 of file gmodeler/dialogs.py.

Referenced by widgets.BaseValidator.__init__().

def dialogs.ModelSearchDialog.Reset (   self)

Reset dialog.

Definition at line 250 of file gmodeler/dialogs.py.

Field Documentation

dialogs.ModelSearchDialog.btnCancel

Definition at line 145 of file gmodeler/dialogs.py.

dialogs.ModelSearchDialog.btnOk

Definition at line 146 of file gmodeler/dialogs.py.

dialogs.ModelSearchDialog.cmd_prompt

Definition at line 138 of file gmodeler/dialogs.py.

dialogs.ModelSearchDialog.cmdBox

Definition at line 135 of file gmodeler/dialogs.py.

dialogs.ModelSearchDialog.search

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