Public Member Functions | |
def | __init__ (self, context) |
def | restore_settings (self, plugin_settings, instance_settings) |
def | save_settings (self, plugin_settings, instance_settings) |
def | shutdown_plugin (self) |
Interface for Python plugins. User-defined plugins may either subclass `qt_gui.plugin.Plugin` or according to duck typing implement only the needed methods.
def qt_gui.plugin.Plugin.__init__ | ( | self, | |
context | |||
) |
def qt_gui.plugin.Plugin.restore_settings | ( | self, | |
plugin_settings, | |||
instance_settings | |||
) |
Restore the intrinsic state of the plugin from the plugin or instance specific `Settings`. @param plugin_settings: The plugin-specific settings @type plugin_settings: qt_gui.settings.Settings @param instance_settings: The instance-specific settings @type instance_settings: qt_gui.settings.Settings
def qt_gui.plugin.Plugin.save_settings | ( | self, | |
plugin_settings, | |||
instance_settings | |||
) |
Save the intrinsic state of the plugin to the plugin or instance specific `Settings`. @param plugin_settings: The plugin-specific settings @type plugin_settings: qt_gui.settings.Settings @param instance_settings: The instance-specific settings @type instance_settings: qt_gui.settings.Settings
def qt_gui.plugin.Plugin.shutdown_plugin | ( | self | ) |