GRASS Programmer's Manual
6.4.2(2012)
|
Class representing colortable instruction. More...
Public Member Functions | |
def | __init__ |
def | __str__ |
Returns particular part of text instruction. | |
def | Read |
Read instruction and save information. | |
def | EstimateSize |
Estimate size to draw vector legend. | |
![]() | |
def | __getitem__ |
def | __setitem__ |
def | GetInstruction |
Get current values. | |
def | SetInstruction |
Set default values. |
Data Fields | |
type | |
defaultInstruction | |
instruction | |
![]() | |
id | |
unitConv |
Class representing colortable instruction.
Definition at line 1271 of file psmap_dialogs.py.
def gui_modules.psmap_dialogs.VectorLegend.__init__ | ( | self, | |
id | |||
) |
Reimplemented from gui_modules.psmap_dialogs.InstructionObject.
Definition at line 1273 of file psmap_dialogs.py.
def gui_modules.psmap_dialogs.VectorLegend.__str__ | ( | self | ) |
Returns particular part of text instruction.
Reimplemented from gui_modules.psmap_dialogs.InstructionObject.
Definition at line 1284 of file psmap_dialogs.py.
References gui_modules.psmap.PsMapFrame.instruction, gui_modules.psmap_dialogs.Instruction.instruction, gui_modules.psmap_dialogs.InstructionObject.instruction, and gui_modules.psmap.PsMapBufferedWindow.instruction.
def gui_modules.psmap_dialogs.VectorLegend.EstimateSize | ( | self, | |
vectorInstr, | |||
fontsize, | |||
width = None , |
|||
cols = None |
|||
) |
Estimate size to draw vector legend.
Definition at line 1324 of file psmap_dialogs.py.
References max.
def gui_modules.psmap_dialogs.VectorLegend.Read | ( | self, | |
instruction, | |||
text, | |||
kwargs | |||
) |
Read instruction and save information.
Reimplemented from gui_modules.psmap_dialogs.InstructionObject.
Definition at line 1295 of file psmap_dialogs.py.
References gui_modules.render.map.
gui_modules.psmap_dialogs.VectorLegend.defaultInstruction |
Reimplemented from gui_modules.psmap_dialogs.InstructionObject.
Definition at line 1277 of file psmap_dialogs.py.
gui_modules.psmap_dialogs.VectorLegend.instruction |
Reimplemented from gui_modules.psmap_dialogs.InstructionObject.
Definition at line 1282 of file psmap_dialogs.py.
Referenced by gui_modules.psmap_dialogs.MapDialog.OnApply(), gui_modules.psmap_dialogs.RasterDialog.OnApply(), gui_modules.psmap_dialogs.MainVectorDialog.OnApply(), gui_modules.psmap_dialogs.VectorPanel.OnProperties(), gui_modules.psmap_dialogs.RasterPanel.update(), gui_modules.psmap_dialogs.VectorPanel.update(), gui_modules.psmap_dialogs.MapinfoDialog.update(), gui_modules.psmap_dialogs.ScalebarDialog.update(), and gui_modules.psmap_dialogs.TextDialog.update().
gui_modules.psmap_dialogs.VectorLegend.type |
Definition at line 1275 of file psmap_dialogs.py.
Referenced by icons.icon.MetaIcon.__str__(), icons.icon.MetaIcon.GetBitmap(), gui_modules.render.Layer.GetCmd(), gui_modules.render.Layer.GetElement(), gui_modules.render.Layer.GetType(), gui_modules.render.Layer.Render(), gui_modules.render.Layer.SetCmd(), and gui_modules.render.Layer.SetType().