GRASS Programmer's Manual  6.4.4(2014)-r
dialogs.VDigitCategoryDialog Class Reference
Inheritance diagram for dialogs.VDigitCategoryDialog:
Collaboration diagram for dialogs.VDigitCategoryDialog:

Public Member Functions

def __init__ (self, parent, title, vectorName, query=None, cats=None, style=wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER, kwargs)
 Dialog used to display/modify categories of vector objects. More...
 
def GetListCtrl (self)
 Used by ColumnSorterMixin. More...
 
def OnColClick (self, event)
 Click on column header (order by) More...
 
def OnBeginEdit (self, event)
 Editing of item started. More...
 
def OnEndEdit (self, event)
 Finish editing of item. More...
 
def OnRightDown (self, event)
 Mouse right button down. More...
 
def OnRightUp (self, event)
 Mouse right button up. More...
 
def OnItemSelected (self, event)
 Item selected. More...
 
def OnItemDelete (self, event)
 Delete selected item(s) from the list (layer/category pair) More...
 
def OnItemDeleteAll (self, event)
 Delete all items from the list. More...
 
def OnFeature (self, event)
 Feature id changed (on duplicates) More...
 
def OnReload (self, event)
 Reload button pressed. More...
 
def OnCancel (self, event)
 Cancel button pressed. More...
 
def OnApply (self, event)
 Apply button pressed. More...
 
def ApplyChanges (self, fid)
 Apply changes. More...
 
def OnOK (self, event)
 OK button pressed. More...
 
def OnAddCat (self, event)
 Button 'Add' new category pressed. More...
 
def GetLine (self)
 Get id of selected line of 'None' if no line is selected. More...
 
def UpdateDialog
 Update dialog. More...
 

Data Fields

 parent
 
 digit
 
 vectorName
 
 cats
 
 cats_orig
 
 list
 
 fid
 
 itemDataMap
 
 fidMulti
 
 fidText
 
 layerNew
 
 catNew
 
 popupID1
 
 popupID2
 
 popupID3
 
 line
 

Detailed Description

Definition at line 31 of file vdigit/dialogs.py.

Constructor & Destructor Documentation

def dialogs.VDigitCategoryDialog.__init__ (   self,
  parent,
  title,
  vectorName,
  query = None,
  cats = None,
  style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER,
  kwargs 
)

Dialog used to display/modify categories of vector objects.

Parameters
parent
titledialog title
query{coordinates, qdist} - used by v.edit/v.what
catsdirectory of lines (layer/categories) - used by vdigit
styledialog style

Definition at line 34 of file vdigit/dialogs.py.

Member Function Documentation

def dialogs.VDigitCategoryDialog.ApplyChanges (   self,
  fid 
)
def dialogs.VDigitCategoryDialog.GetLine (   self)

Get id of selected line of 'None' if no line is selected.

Definition at line 478 of file vdigit/dialogs.py.

def dialogs.VDigitCategoryDialog.GetListCtrl (   self)
def dialogs.VDigitCategoryDialog.OnBeginEdit (   self,
  event 
)

Editing of item started.

Definition at line 208 of file vdigit/dialogs.py.

def dialogs.VDigitCategoryDialog.OnCancel (   self,
  event 
)
def dialogs.VDigitCategoryDialog.OnColClick (   self,
  event 
)

Click on column header (order by)

Definition at line 203 of file vdigit/dialogs.py.

def dialogs.VDigitCategoryDialog.OnEndEdit (   self,
  event 
)
def dialogs.VDigitCategoryDialog.OnItemDelete (   self,
  event 
)
def dialogs.VDigitCategoryDialog.OnItemDeleteAll (   self,
  event 
)
def dialogs.VDigitCategoryDialog.OnItemSelected (   self,
  event 
)

Item selected.

Definition at line 283 of file vdigit/dialogs.py.

def dialogs.VDigitCategoryDialog.OnRightDown (   self,
  event 
)

Mouse right button down.

Definition at line 246 of file vdigit/dialogs.py.

def dialogs.VDigitCategoryDialog.OnRightUp (   self,
  event 
)

Mouse right button up.

Definition at line 259 of file vdigit/dialogs.py.

Field Documentation

dialogs.VDigitCategoryDialog.catNew

Definition at line 124 of file vdigit/dialogs.py.

dialogs.VDigitCategoryDialog.fidMulti

Definition at line 86 of file vdigit/dialogs.py.

dialogs.VDigitCategoryDialog.fidText

Definition at line 89 of file vdigit/dialogs.py.

dialogs.VDigitCategoryDialog.layerNew

Definition at line 112 of file vdigit/dialogs.py.

dialogs.VDigitCategoryDialog.line

Definition at line 347 of file vdigit/dialogs.py.

dialogs.VDigitCategoryDialog.list
dialogs.VDigitCategoryDialog.popupID1

Definition at line 263 of file vdigit/dialogs.py.

dialogs.VDigitCategoryDialog.popupID2

Definition at line 264 of file vdigit/dialogs.py.

dialogs.VDigitCategoryDialog.popupID3

Definition at line 265 of file vdigit/dialogs.py.

dialogs.VDigitCategoryDialog.vectorName

Definition at line 47 of file vdigit/dialogs.py.

Referenced by dialogs.VDigitCategoryDialog.OnFeature().


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