35 from .topic_widget
import TopicWidget
42 self.setObjectName(
'Topic')
47 if context.serial_number() > 1:
48 self._widget.setWindowTitle(self._widget.windowTitle() + (
' (%d)' % context.serial_number()))
49 context.add_widget(self.
_widget)
52 self._widget.shutdown_plugin()
55 self._widget.save_settings(plugin_settings, instance_settings)
58 self._widget.restore_settings(plugin_settings, instance_settings)
def __init__(self, context)
def restore_settings(self, plugin_settings, instance_settings)
def shutdown_plugin(self)
def save_settings(self, plugin_settings, instance_settings)