25
25
from ubuntuone.controlpanel.gui.qt.ui import mainwindow_ui
31
28
class MainWindow(QtGui.QMainWindow):
32
29
"""The Main Window of the Control Panel."""
34
31
def __init__(self, close_callback=None):
35
32
"""Initialize this instance with the UI layout."""
37
34
self.ui = mainwindow_ui.Ui_MainWindow()
39
36
self.close_callback = close_callback
41
43
# Invalid name "closeEvent"