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

Dialog for GRASS symbols selection. More...

Inheritance diagram for dialogs.SymbolDialog:
Collaboration diagram for dialogs.SymbolDialog:

Public Member Functions

def __init__
 Dialog constructor. More...
 
def OnFolderSelect
 Selected folder with symbols changed. More...
 
def SelectionChanged
 Selected symbol changed. More...
 
def GetSelectedSymbolName
 Returns currently selected symbol name (e.g. More...
 
def GetSelectedSymbolPath
 Returns currently selected symbol full path. More...
 

Data Fields

 symbolPath
 
 currentSymbol
 
 selected
 
 selectedDir
 
 folderChoice
 
 infoLabel
 
 panels
 
 btnCancel
 
 btnOK
 
 symbolPanels
 

Detailed Description

Dialog for GRASS symbols selection.

Dialog is called in gui_core::forms module.

Definition at line 2238 of file gui_core/dialogs.py.

Constructor & Destructor Documentation

def dialogs.SymbolDialog.__init__ (   self,
  parent,
  symbolPath,
  currentSymbol = None,
  title = _("Symbols") 
)

Dialog constructor.

It is assumed that symbolPath contains folders with symbols.

Parameters
parentdialog parent
symbolPathabsolute path to symbols
currentSymbolcurrently selected symbol (e.g. 'basic/x')
titledialog title

Definition at line 2243 of file gui_core/dialogs.py.

Member Function Documentation

def dialogs.SymbolDialog.GetSelectedSymbolName (   self)

Returns currently selected symbol name (e.g.

'basic/x').

Definition at line 2399 of file gui_core/dialogs.py.

References gis_set.GListBox.selected, manager.GCPList.selected, dialogs.SymbolDialog.selected, and dialogs.SymbolDialog.selectedDir.

def dialogs.SymbolDialog.GetSelectedSymbolPath (   self)
def dialogs.SymbolDialog.OnFolderSelect (   self,
  event 
)
def dialogs.SymbolDialog.SelectionChanged (   self,
  event 
)

Field Documentation

dialogs.SymbolDialog.btnCancel

Definition at line 2290 of file gui_core/dialogs.py.

dialogs.SymbolDialog.btnOK

Definition at line 2291 of file gui_core/dialogs.py.

dialogs.SymbolDialog.currentSymbol

Definition at line 2256 of file gui_core/dialogs.py.

dialogs.SymbolDialog.folderChoice

Definition at line 2267 of file gui_core/dialogs.py.

dialogs.SymbolDialog.infoLabel

Definition at line 2277 of file gui_core/dialogs.py.

dialogs.SymbolDialog.panels
dialogs.SymbolDialog.symbolPanels

Definition at line 2338 of file gui_core/dialogs.py.

Referenced by dialogs.SymbolDialog.SelectionChanged().

dialogs.SymbolDialog.symbolPath

Definition at line 2255 of file gui_core/dialogs.py.

Referenced by dialogs.SymbolDialog.GetSelectedSymbolPath().


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