UI works with independent mode

This commit is contained in:
Tim Bentley 2010-10-30 12:09:36 +01:00
parent eacf6cc870
commit 7edae012dc
4 changed files with 12 additions and 11 deletions

View File

@ -808,7 +808,7 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
self.plugin_manager.finalise_plugins()
# Save settings
self.saveSettings()
#Close down the display
# Close down the display
self.LiveController.display.close()
def serviceChanged(self, reset=False, serviceName=None):
@ -904,6 +904,7 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
"""
Save the main window settings.
"""
print self.saveState()
log.debug(u'Saving QSettings')
settings = QtCore.QSettings()
settings.beginGroup(self.generalSettingsSection)

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'themedialog.ui'
#
# Created: Sun Oct 17 19:46:30 2010
# Created: Sat Oct 30 12:07:46 2010
# by: PyQt4 UI code generator 4.7.4
#
# WARNING! All changes made in this file will be lost!
@ -15,7 +15,7 @@ class Ui_ThemeDialog(object):
ThemeDialog.resize(550, 386)
ThemeDialog.setModal(True)
ThemeDialog.setWizardStyle(QtGui.QWizard.ModernStyle)
ThemeDialog.setOptions(QtGui.QWizard.NoBackButtonOnStartPage)
ThemeDialog.setOptions(QtGui.QWizard.IndependentPages|QtGui.QWizard.NoBackButtonOnStartPage)
self.welcomePage = QtGui.QWizardPage()
self.welcomePage.setTitle("")
self.welcomePage.setSubTitle("")

View File

@ -20,7 +20,7 @@
<enum>QWizard::ModernStyle</enum>
</property>
<property name="options">
<set>QWizard::NoBackButtonOnStartPage</set>
<set>QWizard::IndependentPages|QWizard::NoBackButtonOnStartPage</set>
</property>
<widget class="QWizardPage" name="welcomePage">
<property name="title">