|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
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. | |
| def | OnFileSave |
| Save interactive input to the file. | |
| def | OnFileText |
| def | OnUpdateDialog |
| def | OnVerbosity |
| Verbosity level changed. | |
| def | OnPageChange |
| def | OnColorChange |
| def | OnUpdateValues |
| If we were part of a richer interface, report back the current command being built. | |
| def | OnCheckBoxMulti |
| Fill the values as a ','-separated string according to current status of the checkboxes. | |
| def | OnSetValue |
| Retrieve the widget value and set the task value field accordingly. | |
| def | OnSetSymbol |
| Shows dialog for symbol selection. | |
| def | OnUpdateSelection |
| Update dialog (layers, tables, columns, etc.) | |
| def | createCmd |
| Produce a command line string (list) or feeding into GRASS. | |
| def | OnSize |
Data Fields | |
| parent | |
| task | |
| label_id | |
| notebook | |
| goutput | |
| add 'command output' tab regardless standalone dialog | |
| outpage | |
| manual_tab | |
| 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 1612 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 1486 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 1514 of file forms.py.
References widgets.GetValue(), and widgets.SetValue().
| def forms.CmdPanel.OnFileText | ( | self, | |
| event | |||
| ) |
| def forms.CmdPanel.OnPageChange | ( | self, | |
| event | |||
| ) |
| def forms.CmdPanel.OnSetSymbol | ( | self, | |
| event | |||
| ) |
Shows dialog for symbol selection.
Definition at line 1712 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 1674 of file forms.py.
References forms.CmdPanel.OnUpdateValues().
| def forms.CmdPanel.OnSize | ( | self, | |
| event | |||
| ) |
Definition at line 1776 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 1735 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, frame.PythonPanel.parent, dialogs.ImportDialog.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 1631 of file forms.py.
Referenced by forms.CmdPanel.OnColorChange(), forms.CmdPanel.OnSetSymbol(), and forms.CmdPanel.OnSetValue().
| def forms.CmdPanel.OnVerbosity | ( | self, | |
| event | |||
| ) |
add 'command output' tab regardless standalone dialog
Definition at line 783 of file forms.py.
Referenced by frame.GMFrame.GetLogWindow(), frame.GMFrame.OnDone(), frame.GMFrame.OnNewVector(), and frame.GMFrame.OnShowAttributeTable().
Definition at line 738 of file forms.py.
Referenced by forms.CmdPanel.OnSize().
Definition at line 767 of file forms.py.
Referenced by preferences.PreferencesDialog.__init__(), and frame.GMFrame.IsPaneShown().
Definition at line 726 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(), frame.PsMapBufferedWindow.OnLeftUp(), 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().
Definition at line 729 of file forms.py.
Referenced by python.task.processTask.get_task(), and forms.CmdPanel.OnUpdateSelection().