forked from openlp/openlp
UI works with independent mode
This commit is contained in:
parent
eacf6cc870
commit
7edae012dc
@ -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)
|
||||
|
@ -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("")
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user