GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Dialog for GRASS symbols selection. More...
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 | |
Dialog for GRASS symbols selection.
Dialog is called in gui_core::forms module.
Definition at line 2238 of file gui_core/dialogs.py.
def dialogs.SymbolDialog.__init__ | ( | self, | |
parent, | |||
symbolPath, | |||
currentSymbol = None , |
|||
title = _("Symbols") |
|||
) |
Dialog constructor.
It is assumed that symbolPath contains folders with symbols.
parent | dialog parent |
symbolPath | absolute path to symbols |
currentSymbol | currently selected symbol (e.g. 'basic/x') |
title | dialog title |
Definition at line 2243 of file gui_core/dialogs.py.
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 | ) |
Returns currently selected symbol full path.
Definition at line 2405 of file gui_core/dialogs.py.
References gis_set.GListBox.selected, manager.GCPList.selected, dialogs.SymbolDialog.selected, dialogs.SymbolDialog.selectedDir, and dialogs.SymbolDialog.symbolPath.
def dialogs.SymbolDialog.OnFolderSelect | ( | self, | |
event | |||
) |
Selected folder with symbols changed.
Definition at line 2367 of file gui_core/dialogs.py.
References dialogs.SymbolDialog.panels, tools.range, gis_set.GListBox.selected, manager.GCPList.selected, dialogs.SymbolDialog.selected, and dialogs.SymbolDialog.selectedDir.
def dialogs.SymbolDialog.SelectionChanged | ( | self, | |
event | |||
) |
Selected symbol changed.
Definition at line 2382 of file gui_core/dialogs.py.
References dialogs.SymbolDialog.panels, tools.range, gis_set.GListBox.selected, manager.GCPList.selected, dialogs.SymbolDialog.selected, dialogs.SymbolDialog.selectedDir, and dialogs.SymbolDialog.symbolPanels.
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 |
Definition at line 2284 of file gui_core/dialogs.py.
Referenced by dialogs.SymbolDialog.OnFolderSelect(), and dialogs.SymbolDialog.SelectionChanged().
dialogs.SymbolDialog.selected |
Definition at line 2257 of file gui_core/dialogs.py.
Referenced by widgets.SingleSymbolPanel.Deselect(), wxdisplay.DisplayDriver.DrawMap(), wxdisplay.DisplayDriver.GetDuplicates(), wxdisplay.DisplayDriver.GetRegionSelected(), wxdisplay.DisplayDriver.GetSelected(), wxdisplay.DisplayDriver.GetSelectedIList(), dialogs.SymbolDialog.GetSelectedSymbolName(), dialogs.SymbolDialog.GetSelectedSymbolPath(), wxdisplay.DisplayDriver.GetSelectedVertex(), vclean.VectorCleaningFrame.OnClearTool(), dialogs.SymbolDialog.OnFolderSelect(), widgets.SingleSymbolPanel.OnLeftDown(), vclean.VectorCleaningFrame.OnMoveToolDown(), vclean.VectorCleaningFrame.OnMoveToolUp(), vclean.VectorCleaningFrame.OnSelect(), widgets.SingleSymbolPanel.Select(), dialogs.SymbolDialog.SelectionChanged(), wxdisplay.DisplayDriver.SelectLineByPoint(), wxdisplay.DisplayDriver.SelectLinesByBox(), wxdisplay.DisplayDriver.SetSelected(), and wxdisplay.DisplayDriver.UnSelect().
dialogs.SymbolDialog.selectedDir |
Definition at line 2258 of file gui_core/dialogs.py.
Referenced by dialogs.SymbolDialog.GetSelectedSymbolName(), dialogs.SymbolDialog.GetSelectedSymbolPath(), dialogs.SymbolDialog.OnFolderSelect(), and dialogs.SymbolDialog.SelectionChanged().
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().