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

Public Member Functions

def __init__
 Dialog for inserting/updating table record. More...
 
def GetValues
 Return list of values (casted to string). More...
 

Data Fields

 keyId
 
 dataPanel
 
 btnCancel
 
 btnSubmit
 
 widgets
 
 usebox
 
 cat
 
 boxSizer
 

Detailed Description

Definition at line 564 of file dbmgr/dialogs.py.

Constructor & Destructor Documentation

def dialogs.ModifyTableRecord.__init__ (   self,
  parent,
  title,
  data,
  keyEditable = (-1, True,
  id = wx.ID_ANY,
  style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER 
)

Dialog for inserting/updating table record.

Parameters
dataa list: [(column, value)]
KeyEditable(id, editable?) indicates if textarea for key column is editable(True) or not

Definition at line 566 of file dbmgr/dialogs.py.

Member Function Documentation

def dialogs.ModifyTableRecord.GetValues (   self,
  columns = None 
)

Return list of values (casted to string).

If columns is given (list), return only values of given columns.

Definition at line 685 of file dbmgr/dialogs.py.

References dialogs.ModifyTableRecord.cat, widgets.GetValue(), dialogs.ModifyTableRecord.keyId, dialogs.ModifyTableRecord.usebox, and dialogs.ModifyTableRecord.widgets.

Field Documentation

dialogs.ModifyTableRecord.boxSizer

Definition at line 605 of file dbmgr/dialogs.py.

dialogs.ModifyTableRecord.btnCancel

Definition at line 587 of file dbmgr/dialogs.py.

dialogs.ModifyTableRecord.btnSubmit

Definition at line 588 of file dbmgr/dialogs.py.

dialogs.ModifyTableRecord.dataPanel

Definition at line 582 of file dbmgr/dialogs.py.

dialogs.ModifyTableRecord.keyId

Definition at line 578 of file dbmgr/dialogs.py.

Referenced by dialogs.ModifyTableRecord.GetValues().

dialogs.ModifyTableRecord.usebox

Definition at line 594 of file dbmgr/dialogs.py.

Referenced by dialogs.ModifyTableRecord.GetValues().

dialogs.ModifyTableRecord.widgets

Definition at line 592 of file dbmgr/dialogs.py.

Referenced by dialogs.ModifyTableRecord.GetValues().


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