GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.vdigit.VDigitCategoryDialog Class Reference

Public Member Functions

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

Data Fields

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

Detailed Description

Definition at line 817 of file vdigit.py.

Constructor & Destructor Documentation

def gui_modules.vdigit.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 820 of file vdigit.py.

Member Function Documentation

def gui_modules.vdigit.VDigitCategoryDialog.GetLine (   self)

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

Definition at line 1264 of file vdigit.py.

def gui_modules.vdigit.VDigitCategoryDialog.OnApply (   self,
  event 
)
def gui_modules.vdigit.VDigitCategoryDialog.OnBeginEdit (   self,
  event 
)

Editing of item started.

Definition at line 994 of file vdigit.py.

def gui_modules.vdigit.VDigitCategoryDialog.OnColClick (   self,
  event 
)

Click on column header (order by)

Definition at line 989 of file vdigit.py.

def gui_modules.vdigit.VDigitCategoryDialog.OnItemDelete (   self,
  event 
)
def gui_modules.vdigit.VDigitCategoryDialog.OnItemDeleteAll (   self,
  event 
)
def gui_modules.vdigit.VDigitCategoryDialog.OnItemSelected (   self,
  event 
)

Item selected.

Definition at line 1069 of file vdigit.py.

def gui_modules.vdigit.VDigitCategoryDialog.OnOK (   self,
  event 
)

OK button pressed.

Definition at line 1225 of file vdigit.py.

References gui_modules.nviz_preferences.NvizPreferencesDialog.OnApply(), gui_modules.sqlbuilder.SQLFrame.OnApply(), gui_modules.colorrules.ColorTable.OnApply(), gui_modules.menuform.mainFrame.OnApply(), gui_modules.vdigit.VDigitSettingsDialog.OnApply(), gui_modules.preferences.PreferencesBaseDialog.OnApply(), gui_modules.profile.TextDialog.OnApply(), gui_modules.vdigit.VDigitCategoryDialog.OnApply(), gui_modules.profile.OptDialog.OnApply(), gui_modules.psmap_dialogs.MapDialog.OnApply(), gui_modules.gcpmanager.GrSettingsDialog.OnApply(), gui_modules.psmap_dialogs.RasterDialog.OnApply(), gui_modules.psmap_dialogs.MainVectorDialog.OnApply(), gui_modules.nviz_tools.NvizPreferencesDialog.OnApply(), gui_modules.gmodeler.PreferencesDialog.OnApply(), gui_modules.ogc_services.WMSDialog.OnCancel(), gui_modules.dbm_dialogs.DisplayAttributesDialog.OnCancel(), gui_modules.colorrules.ColorTable.OnCancel(), gui_modules.gdialogs.DecorationDialog.OnCancel(), gui_modules.menuform.mainFrame.OnCancel(), gui_modules.vdigit.VDigitSettingsDialog.OnCancel(), gui_modules.preferences.PreferencesBaseDialog.OnCancel(), gui_modules.profile.TextDialog.OnCancel(), gui_modules.vdigit.VDigitCategoryDialog.OnCancel(), gui_modules.gdialogs.ImportDialog.OnCancel(), gui_modules.profile.OptDialog.OnCancel(), gui_modules.psmap_dialogs.MapDialog.OnCancel(), gui_modules.gmodeler.ModelDataDialog.OnCancel(), and gui_modules.location_wizard.RegionDef.OnCancel().

def gui_modules.vdigit.VDigitCategoryDialog.OnRightDown (   self,
  event 
)

Mouse right button down.

Definition at line 1032 of file vdigit.py.

def gui_modules.vdigit.VDigitCategoryDialog.OnRightUp (   self,
  event 
)

Mouse right button up.

Definition at line 1045 of file vdigit.py.

Field Documentation

gui_modules.vdigit.VDigitCategoryDialog.catNew

Definition at line 910 of file vdigit.py.

gui_modules.vdigit.VDigitCategoryDialog.digit

Definition at line 830 of file vdigit.py.

Referenced by gui_modules.vdigit.VDigitCategoryDialog.OnCancel().

gui_modules.vdigit.VDigitCategoryDialog.fidMulti

Definition at line 872 of file vdigit.py.

gui_modules.vdigit.VDigitCategoryDialog.fidText

Definition at line 875 of file vdigit.py.

gui_modules.vdigit.VDigitCategoryDialog.layerNew

Definition at line 898 of file vdigit.py.

gui_modules.vdigit.VDigitCategoryDialog.line

Definition at line 1133 of file vdigit.py.

gui_modules.vdigit.VDigitCategoryDialog.popupID1

Definition at line 1049 of file vdigit.py.

gui_modules.vdigit.VDigitCategoryDialog.popupID2

Definition at line 1050 of file vdigit.py.

gui_modules.vdigit.VDigitCategoryDialog.popupID3

Definition at line 1051 of file vdigit.py.

gui_modules.vdigit.VDigitCategoryDialog.vectorName

Definition at line 833 of file vdigit.py.

Referenced by gui_modules.vdigit.VDigitCategoryDialog.OnFeature().


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