31 from python_qt_binding.QtGui
import QIcon
38 """`DockWidget` containing a main window acting as a container for other dock widgets."""
40 def __init__(self, container_manager, serial_number):
41 super(DockWidgetContainer, self).
__init__(container_manager)
47 self.setWindowIcon(QIcon.fromTheme(
'folder'))
57 mw_settings = settings.get_settings(
'mainwindow')
65 maximized = self.isMaximized()
68 settings.set_value(
'geometry', self.
main_window.saveGeometry())
78 mw_settings = settings.get_settings(
'mainwindow')
84 if settings.contains(
'geometry'):
85 self.
main_window.restoreGeometry(settings.value(
'geometry'))