GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
User preferences dialog. More...
Public Member Functions | |
def | __init__ |
def | OnApply |
Button 'Apply' pressed. More... | |
def | OnSave |
Button 'Save' pressed. More... | |
def | __init__ |
def | OnCheckColorTable |
Set/unset default color table. More... | |
def | OnLoadEpsgCodes |
Load EPSG codes from the file. More... | |
def | OnSetEpsgCode |
EPSG code selected. More... | |
def | OnSetFont |
def | OnSetOutputFont |
def | OnEnableWheelZoom |
Enable/disable wheel zoom mode control. More... | |
Public Member Functions inherited from preferences.PreferencesBaseDialog | |
def | __init__ |
def | OnDefault |
Button 'Set to default' pressed. More... | |
def | OnApply |
Button 'Apply' pressed Posts event EVT_SETTINGS_CHANGED. More... | |
def | OnCloseWindow |
def | OnCancel |
Button 'Cancel' pressed. More... | |
def | OnSave |
Button 'Save' pressed Posts event EVT_SETTINGS_CHANGED. More... | |
Data Fields | |
epsgCodeDict | |
Data Fields inherited from preferences.PreferencesBaseDialog | |
parent | |
title | |
size | |
settings | |
notebook | |
winId | |
btnDefault | |
btnSave | |
btnApply | |
btnCancel | |
User preferences dialog.
Definition at line 25 of file gmodeler/preferences.py.
def preferences.PreferencesDialog.__init__ | ( | self, | |
parent, | |||
settings = UserSettings , |
|||
title = _("Modeler settings") |
|||
) |
Definition at line 28 of file gmodeler/preferences.py.
References preferences.PreferencesDialog._createActionPage(), preferences.PreferencesDialog._createDataPage(), preferences.PreferencesDialog._createGeneralPage(), preferences.PreferencesDialog._createLoopPage(), preferences.PreferencesBaseDialog.notebook, dialogs.DisplayAttributesDialog.notebook, frame.ModelFrame.notebook, manager.AttributeManager.notebook, forms.CmdPanel.notebook, model.ModelParamDialog.notebook, preferences.PreferencesBaseDialog.size, model.ProcessModelFile.size, and preferences.PreferencesBaseDialog.winId.
def preferences.PreferencesDialog.__init__ | ( | self, | |
parent, | |||
title = _("GUI Settings") , |
|||
settings = UserSettings |
|||
) |
Definition at line 250 of file gui_core/preferences.py.
References preferences.PreferencesDialog._createAppearancePage(), preferences.PreferencesDialog._createAttributeManagerPage(), preferences.PreferencesDialog._createCmdPage(), preferences.PreferencesDialog._createDisplayPage(), preferences.PreferencesDialog._createGeneralPage(), preferences.PreferencesDialog._createProjectionPage(), globalvar.CheckWxVersion(), utils.GetColorTables(), preferences.PreferencesBaseDialog.notebook, dialogs.DisplayAttributesDialog.notebook, frame.ModelFrame.notebook, manager.AttributeManager.notebook, forms.CmdPanel.notebook, model.ModelParamDialog.notebook, preferences.PreferencesDialog.OnCheckColorTable(), preferences.PreferencesDialog.OnEnableWheelZoom(), preferences.PreferencesDialog.OnSetFont(), preferences.PreferencesDialog.OnSetOutputFont(), gcmd.RunCommand(), preferences.PreferencesBaseDialog.size, model.ProcessModelFile.size, and preferences.PreferencesBaseDialog.winId.
def preferences.PreferencesDialog.OnApply | ( | self, | |
event | |||
) |
Button 'Apply' pressed.
Definition at line 403 of file gmodeler/preferences.py.
Referenced by dialogs.VDigitCategoryDialog.OnOK(), dialogs.TextDialog.OnOk(), colorrules.ColorTable.OnOK(), forms.TaskFrame.OnOK(), dialogs.OptDialog.OnOk(), dialogs.TextDialog.OnSave(), preferences.NvizPreferencesDialog.OnSave(), and dialogs.OptDialog.OnSave().
def preferences.PreferencesDialog.OnCheckColorTable | ( | self, | |
event | |||
) |
Set/unset default color table.
Definition at line 1243 of file gui_core/preferences.py.
References preferences.PreferencesBaseDialog.winId.
Referenced by preferences.PreferencesDialog.__init__().
def preferences.PreferencesDialog.OnEnableWheelZoom | ( | self, | |
event | |||
) |
Enable/disable wheel zoom mode control.
Definition at line 1380 of file gui_core/preferences.py.
References preferences.PreferencesBaseDialog.winId.
Referenced by preferences.PreferencesDialog.__init__().
def preferences.PreferencesDialog.OnLoadEpsgCodes | ( | self, | |
event | |||
) |
Load EPSG codes from the file.
Definition at line 1251 of file gui_core/preferences.py.
References preferences.PreferencesDialog.epsgCodeDict, utils.ReadEpsgCodes(), widgets.SetValue(), dialogs.type, and preferences.PreferencesBaseDialog.winId.
def preferences.PreferencesDialog.OnSave | ( | self, | |
event | |||
) |
Button 'Save' pressed.
Definition at line 410 of file gmodeler/preferences.py.
def preferences.PreferencesDialog.OnSetEpsgCode | ( | self, | |
event | |||
) |
EPSG code selected.
Definition at line 1284 of file gui_core/preferences.py.
References preferences.PreferencesDialog.epsgCodeDict, and preferences.PreferencesBaseDialog.winId.
def preferences.PreferencesDialog.OnSetFont | ( | self, | |
event | |||
) |
'Set font' button pressed
Definition at line 1313 of file gui_core/preferences.py.
Referenced by preferences.PreferencesDialog.__init__().
def preferences.PreferencesDialog.OnSetOutputFont | ( | self, | |
event | |||
) |
'Set output font' button pressed
Definition at line 1337 of file gui_core/preferences.py.
Referenced by preferences.PreferencesDialog.__init__().
preferences.PreferencesDialog.epsgCodeDict |
Definition at line 1130 of file gui_core/preferences.py.
Referenced by wizard.EPSGPage.OnBrowseCodes(), preferences.PreferencesDialog.OnLoadEpsgCodes(), preferences.PreferencesDialog.OnSetEpsgCode(), and wizard.EPSGPage.OnText().