stratified_packager.gui.wdg_plugin_options_page
Plugin settings form integrated into QGIS ‘Options’ menu.
Classes
|
Settings form embedded into QGIS 'options' menu. |
|
Factory for options widget. |
- class stratified_packager.gui.wdg_plugin_options_page.PluginOptionsPageWidget(parent=None)[source]
Settings form embedded into QGIS ‘options’ menu.
- static _coerce_for_setting(spec, raw)[source]
Coerce an editor’s string token to the type its setting descriptor stores.
- __init__(parent=None)[source]
Initialize settings dialog.
- _build_defaults_editors()[source]
Build a concrete editor and an override-note label for each default field.
- Return type:
- _refresh_override_notes()[source]
Show, per field, whether the active project shadows the setting (SPEC §19).
- Return type:
- apply()[source]
Permanently apply settings shown in options page (e.g. save them to QgsSettings objects).
This is usually called when the options dialog is accepted. A rejected write is contained and reported here, as this is a QGIS-invoked boundary and the failure must not escape into the options dialog.
- Return type:
- on_reset_settings()[source]
Reset settings to default values (set in the settings module).
- Return type:
- btn_help: QPushButton
- btn_report: QPushButton
- btn_reset: QPushButton
- gridLayout: QGridLayout
- verticalLayout: QVBoxLayout
- class stratified_packager.gui.wdg_plugin_options_page.PluginOptionsPageWidgetFactory(*args, **kwargs)[source]
Factory for options widget.
- createWidget(parent=None)[source]
Create settings widget.