GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
def | __init__ |
Dialog for creating new vector map. More... | |
def | OnMapName |
Name for vector map layer given. More... | |
def | OnTable |
def | GetName |
Get name of vector map to be created. More... | |
def | GetKey |
Get key column name. More... | |
def | IsChecked |
Get dialog properties. More... | |
Public Member Functions inherited from dialogs.ElementDialog | |
def | __init__ |
General dialog to choose given element (location, mapset, vector map, etc.) More... | |
def | PostInit |
def | OnType |
Select element type. More... | |
def | OnElement |
Name for vector map layer given. More... | |
def | GetElement |
Return (mapName, overwrite) More... | |
def | GetType |
Get element type. More... | |
Data Fields | |
element | |
table | |
keycol | |
addbox | |
Data Fields inherited from dialogs.ElementDialog | |
etype | |
label | |
panel | |
btnCancel | |
btnOK | |
typeSelect | |
element | |
sizer | |
dataSizer | |
Definition at line 223 of file gui_core/dialogs.py.
def dialogs.NewVectorDialog.__init__ | ( | self, | |
parent, | |||
id = wx.ID_ANY , |
|||
title = _('Create new vector map') , |
|||
disableAdd = False , |
|||
disableTable = False , |
|||
style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER , |
|||
kwargs | |||
) |
Dialog for creating new vector map.
parent | parent window |
id | window id |
title | window title |
disableAdd | disable 'add layer' checkbox |
disableTable | disable 'create table' checkbox |
style | window style |
kwargs | other argumentes for ElementDialog |
Definition at line 226 of file gui_core/dialogs.py.
def dialogs.NewVectorDialog.GetKey | ( | self | ) |
Get key column name.
Definition at line 318 of file gui_core/dialogs.py.
def dialogs.NewVectorDialog.GetName | ( | self, | |
full = False |
|||
) |
Get name of vector map to be created.
full | True to get fully qualified name |
Definition at line 304 of file gui_core/dialogs.py.
References dialogs.ElementDialog.GetElement(), and render.Layer.GetElement().
Referenced by dialogs.ItemCheckListCtrl.OnCheckItem(), widgets.SingleSymbolPanel.OnDoubleClick(), and widgets.SingleSymbolPanel.OnLeftDown().
def dialogs.NewVectorDialog.IsChecked | ( | self, | |
key | |||
) |
Get dialog properties.
key | window key ('add', 'table') |
Definition at line 322 of file gui_core/dialogs.py.
References dialogs.CreateNewVector().
Referenced by extensions.CheckListExtension.GetExtensions(), dialogs.ItemCheckListCtrl.GetItems(), and dialogs.LayersList.GetLayers().
def dialogs.NewVectorDialog.OnMapName | ( | self, | |
event | |||
) |
Name for vector map layer given.
Definition at line 271 of file gui_core/dialogs.py.
References dialogs.ElementDialog.OnElement().
def dialogs.NewVectorDialog.OnTable | ( | self, | |
event | |||
) |
Definition at line 275 of file gui_core/dialogs.py.
References dialogs.NewVectorDialog.addbox, dialogs.ModelDataDialog.element, dialogs.ElementDialog.element, dialogs.NewVectorDialog.keycol, sqlbuilder.SQLFrame.panel, dialogs.ElementDialog.panel, gis_set.GRASSStartup.panel, dialogs.ModelSearchDialog.panel, dialogs.ModelRelationDialog.panel, dialogs.ModelItemDialog.panel, manager.AttributeManager.panel, dialogs.ElementDialog.sizer, dialogs.NewVectorDialog.table, and manager.TableListCtrl.table.
dialogs.NewVectorDialog.addbox |
Definition at line 256 of file gui_core/dialogs.py.
Referenced by dialogs.NewVectorDialog.OnTable().
dialogs.NewVectorDialog.element |
Definition at line 241 of file gui_core/dialogs.py.
dialogs.NewVectorDialog.keycol |
Definition at line 250 of file gui_core/dialogs.py.
Referenced by dialogs.NewVectorDialog.OnTable().
dialogs.NewVectorDialog.table |
Definition at line 244 of file gui_core/dialogs.py.
Referenced by dialogs.NewVectorDialog.OnTable().