GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
A panel containing a notebook dividing in tabs the different guisections of the GRASS cmd. More...
Public Member Functions | |
def | __init__ |
def | OnFileLoad |
Load file to interactive input. More... | |
def | OnFileSave |
Save interactive input to the file. More... | |
def | OnFileText |
def | OnUpdateDialog |
def | OnVerbosity |
Verbosity level changed. More... | |
def | OnPageChange |
def | OnColorChange |
def | OnUpdateValues |
If we were part of a richer interface, report back the current command being built. More... | |
def | OnCheckBoxMulti |
Fill the values as a ','-separated string according to current status of the checkboxes. More... | |
def | OnSetValue |
Retrieve the widget value and set the task value field accordingly. More... | |
def | OnSetSymbol |
Shows dialog for symbol selection. More... | |
def | OnUpdateSelection |
Update dialog (layers, tables, columns, etc.) More... | |
def | createCmd |
Produce a command line string (list) or feeding into GRASS. More... | |
def | OnSize |
Data Fields | |
parent | |
task | |
label_id | |
notebook | |
goutput | |
add 'command output' tab regardless standalone dialog More... | |
outpage | |
manualTab | |
panelMinHeight | |
constrained_size | |
A panel containing a notebook dividing in tabs the different guisections of the GRASS cmd.
def forms.CmdPanel.__init__ | ( | self, | |
parent, | |||
task, | |||
id = wx.ID_ANY , |
|||
frame = None , |
|||
args, | |||
kwargs | |||
) |
def forms.CmdPanel.createCmd | ( | self, | |
ignoreErrors = False , |
|||
ignoreRequired = False |
|||
) |
def forms.CmdPanel.OnCheckBoxMulti | ( | self, | |
event | |||
) |
def forms.CmdPanel.OnColorChange | ( | self, | |
event | |||
) |
Definition at line 1629 of file forms.py.
References widgets.GetValue(), and forms.CmdPanel.OnUpdateValues().
def forms.CmdPanel.OnFileLoad | ( | self, | |
event | |||
) |
Load file to interactive input.
Definition at line 1503 of file forms.py.
References widgets.GetValue(), and widgets.SetValue().
def forms.CmdPanel.OnFileSave | ( | self, | |
event | |||
) |
Save interactive input to the file.
Definition at line 1531 of file forms.py.
References widgets.GetValue(), and widgets.SetValue().
def forms.CmdPanel.OnFileText | ( | self, | |
event | |||
) |
def forms.CmdPanel.OnSetSymbol | ( | self, | |
event | |||
) |
Shows dialog for symbol selection.
Definition at line 1743 of file forms.py.
References forms.CmdPanel.OnUpdateValues().
def forms.CmdPanel.OnSetValue | ( | self, | |
event | |||
) |
Retrieve the widget value and set the task value field accordingly.
Use for widgets that have a proper GetValue() method, i.e. not for selectors.
Definition at line 1705 of file forms.py.
References forms.CmdPanel.OnUpdateValues().
def forms.CmdPanel.OnSize | ( | self, | |
event | |||
) |
Definition at line 1807 of file forms.py.
References forms.CmdPanel.label_id, and max.
def forms.CmdPanel.OnUpdateDialog | ( | self, | |
event | |||
) |
def forms.CmdPanel.OnUpdateSelection | ( | self, | |
event | |||
) |
Update dialog (layers, tables, columns, etc.)
Definition at line 1766 of file forms.py.
References sqlbuilder.SQLFrame.parent, dialogs.ModelDataDialog.parent, dialogs.DisplayAttributesDialog.parent, manager.Log.parent, frame.ModelFrame.parent, manager.VirtualAttributeList.parent, manager.GCPWizard.parent, dialogs.ModelSearchDialog.parent, forms.UpdateThread.parent, dialogs.ModelRelationDialog.parent, manager.LocationPage.parent, forms.UpdateQThread.parent, forms.TaskFrame.parent, dialogs.ModelItemDialog.parent, manager.GroupPage.parent, dialogs.DecorationDialog.parent, manager.AttributeManager.parent, dialogs.ModelListCtrl.parent, manager.DispMapPage.parent, dialogs.TextLayerDialog.parent, forms.CmdPanel.parent, manager.GCP.parent, model.ModelAction.parent, dialogs.GroupDialog.parent, dialogs.ItemCheckListCtrl.parent, frame.ModelCanvas.parent, model.ModelData.parent, dialogs.MapLayersDialog.parent, model.ModelRelation.parent, frame.VariablePanel.parent, model.ModelItem.parent, frame.ItemPanel.parent, dialogs.ImportDialog.parent, frame.PythonPanel.parent, dialogs.LayersList.parent, dialogs.SetOpacityDialog.parent, dialogs.ImageSizeDialog.parent, model.ModelParamDialog.parent, manager.TableListCtrl.parent, manager.LayerListCtrl.parent, manager.GrSettingsDialog.parent, manager.LayerBook.parent, forms.UpdateThread.task, forms.TaskFrame.task, forms.CmdPanel.task, and model.ModelAction.task.
def forms.CmdPanel.OnUpdateValues | ( | self, | |
event = None |
|||
) |
If we were part of a richer interface, report back the current command being built.
This method should be set by the parent of this panel if needed. It's a hook, actually. Beware of what is 'self' in the method def, though. It will be called with no arguments.
Definition at line 1662 of file forms.py.
Referenced by forms.CmdPanel.OnColorChange(), forms.CmdPanel.OnSetSymbol(), and forms.CmdPanel.OnSetValue().
def forms.CmdPanel.OnVerbosity | ( | self, | |
event | |||
) |
forms.CmdPanel.goutput |
add 'command output' tab regardless standalone dialog
Definition at line 787 of file forms.py.
Referenced by frame.GMFrame.GetLogWindow(), frame.GMFrame.OnDone(), frame.GMFrame.OnNewVector(), and frame.GMFrame.OnShowAttributeTable().
forms.CmdPanel.label_id |
Definition at line 742 of file forms.py.
Referenced by forms.CmdPanel.OnSize().
forms.CmdPanel.notebook |
Definition at line 771 of file forms.py.
Referenced by preferences.PreferencesDialog.__init__(), and frame.GMFrame.IsPaneShown().
forms.CmdPanel.parent |
Definition at line 730 of file forms.py.
Referenced by wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), colorrules.RulesPanel.LoadRules(), wxdigit.VDigitError.NoMap(), mapwindow.GLWindow.OnLeftUp(), mapwindow.BufferedWindow.OnLeftUp(), frame.PsMapBufferedWindow.OnLeftUp(), goutput.GMConsole.OnOutputSave(), toolbars.VDigitToolbar.OnSelectMap(), gselect.GdalSelect.OnSetDsn(), toolbars.LMNvizToolbar.OnSettings(), toolbars.VDigitToolbar.OnSettings(), toolbars.BaseToolbar.OnTool(), forms.CmdPanel.OnUpdateSelection(), toolbars.VDigitToolbar.OnZBulk(), wxdigit.VDigitError.ReadLine(), goutput.CmdThread.run(), goutput.GMConsole.RunCmd(), toolbars.VDigitToolbar.StopEditing(), colorrules.VectorColorTable.UpdateColorColumn(), mapwindow.BufferedWindow.UpdateMap(), and wxdigit.VDigitError.WriteLine().
forms.CmdPanel.task |
Definition at line 733 of file forms.py.
Referenced by python.task.processTask.get_task(), and forms.CmdPanel.OnUpdateSelection().