GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Panel for displaying one symbol. More...
Public Member Functions | |
def | __init__ |
Panel constructor. More... | |
def | OnLeftDown |
Panel selected, background changes. More... | |
def | OnDoubleClick |
def | Deselect |
Panel deselected, background changes back to default. More... | |
def | Select |
Select panel, no event emitted. More... | |
Data Fields | |
sBmp | |
selected | |
selectColor | |
deselectColor | |
Panel for displaying one symbol.
Changes background when selected. Assumes that parent will catch events emitted on mouse click. Used in gui_core::dialog::SymbolDialog.
Definition at line 463 of file widgets.py.
def widgets.SingleSymbolPanel.__init__ | ( | self, | |
parent, | |||
symbolPath | |||
) |
Panel constructor.
parent | parent (gui_core::dialog::SymbolDialog) |
symbolPath | absolute path to symbol |
Definition at line 469 of file widgets.py.
References render.Layer.SetName(), and model.ModelRelation.SetName().
def widgets.SingleSymbolPanel.Deselect | ( | self | ) |
Panel deselected, background changes back to default.
Definition at line 509 of file widgets.py.
References widgets.SingleSymbolPanel.deselectColor, widgets.SingleSymbolPanel.selected, gis_set.GListBox.selected, manager.GCPList.selected, and dialogs.SymbolDialog.selected.
def widgets.SingleSymbolPanel.OnDoubleClick | ( | self, | |
event | |||
) |
Definition at line 505 of file widgets.py.
References render.Layer.GetName(), dialogs.NewVectorDialog.GetName(), dialogs.SavedRegion.GetName(), gselect.VectorDBInfo.GetName(), model.ModelAction.GetName(), model.ModelData.GetName(), model.ModelRelation.GetName(), model.ModelLoop.GetName(), and model.ModelCondition.GetName().
def widgets.SingleSymbolPanel.OnLeftDown | ( | self, | |
event | |||
) |
Panel selected, background changes.
Definition at line 495 of file widgets.py.
References render.Layer.GetName(), dialogs.NewVectorDialog.GetName(), dialogs.SavedRegion.GetName(), gselect.VectorDBInfo.GetName(), model.ModelAction.GetName(), model.ModelData.GetName(), model.ModelRelation.GetName(), model.ModelLoop.GetName(), model.ModelCondition.GetName(), widgets.SingleSymbolPanel.selectColor, widgets.SingleSymbolPanel.selected, gis_set.GListBox.selected, manager.GCPList.selected, and dialogs.SymbolDialog.selected.
Referenced by mapwindow.BufferedWindow.MouseActions(), frame.PsMapBufferedWindow.MouseActions(), and mapwindow.GLWindow.OnMouseAction().
def widgets.SingleSymbolPanel.Select | ( | self | ) |
Select panel, no event emitted.
Definition at line 515 of file widgets.py.
References widgets.SingleSymbolPanel.selectColor, widgets.SingleSymbolPanel.selected, gis_set.GListBox.selected, manager.GCPList.selected, and dialogs.SymbolDialog.selected.
widgets.SingleSymbolPanel.deselectColor |
Definition at line 481 of file widgets.py.
Referenced by widgets.SingleSymbolPanel.Deselect().
widgets.SingleSymbolPanel.sBmp |
Definition at line 477 of file widgets.py.
widgets.SingleSymbolPanel.selectColor |
Definition at line 480 of file widgets.py.
Referenced by widgets.SingleSymbolPanel.OnLeftDown(), and widgets.SingleSymbolPanel.Select().
widgets.SingleSymbolPanel.selected |
Definition at line 479 of file widgets.py.
Referenced by widgets.SingleSymbolPanel.Deselect(), wxdisplay.DisplayDriver.DrawMap(), wxdisplay.DisplayDriver.GetDuplicates(), wxdisplay.DisplayDriver.GetRegionSelected(), wxdisplay.DisplayDriver.GetSelected(), wxdisplay.DisplayDriver.GetSelectedIList(), wxdisplay.DisplayDriver.GetSelectedVertex(), vclean.VectorCleaningFrame.OnClearTool(), widgets.SingleSymbolPanel.OnLeftDown(), vclean.VectorCleaningFrame.OnMoveToolDown(), vclean.VectorCleaningFrame.OnMoveToolUp(), vclean.VectorCleaningFrame.OnSelect(), widgets.SingleSymbolPanel.Select(), wxdisplay.DisplayDriver.SelectLineByPoint(), wxdisplay.DisplayDriver.SelectLinesByBox(), wxdisplay.DisplayDriver.SetSelected(), and wxdisplay.DisplayDriver.UnSelect().