GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
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 | |
Definition at line 564 of file dbmgr/dialogs.py.
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.
data | a 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.
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.
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.cat |
Definition at line 595 of file dbmgr/dialogs.py.
Referenced by dialogs.PageSetupDialog.getCtrl(), dialogs.ModifyTableRecord.GetValues(), dialogs.PageSetupDialog.OnChoice(), and dialogs.PageSetupDialog.update().
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().