GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
dialogs.VDigitCategoryDialog Class Reference
Inheritance diagram for dialogs.VDigitCategoryDialog:
Collaboration diagram for dialogs.VDigitCategoryDialog:

Public Member Functions

def __init__
 Dialog used to display/modify categories of vector objects. More...
 
def GetListCtrl
 Used by ColumnSorterMixin. More...
 
def OnColClick
 Click on column header (order by) More...
 
def OnBeginEdit
 Editing of item started. More...
 
def OnEndEdit
 Finish editing of item. More...
 
def OnRightDown
 Mouse right button down. More...
 
def OnRightUp
 Mouse right button up. More...
 
def OnItemSelected
 Item selected. More...
 
def OnItemDelete
 Delete selected item(s) from the list (layer/category pair) More...
 
def OnItemDeleteAll
 Delete all items from the list. More...
 
def OnFeature
 Feature id changed (on duplicates) More...
 
def OnReload
 Reload button pressed. More...
 
def OnCancel
 Cancel button pressed. More...
 
def OnApply
 Apply button pressed. More...
 
def ApplyChanges
 Apply changes. More...
 
def OnOK
 OK button pressed. More...
 
def OnAddCat
 Button 'Add' new category pressed. More...
 
def GetLine
 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: