Made wizard image bigger, and made Theme wizard bigger

This commit is contained in:
Raoul Snyman 2014-09-04 22:25:23 +02:00
parent 496c12b2db
commit 1f9c0a31f8
3 changed files with 1 additions and 2 deletions

View File

@ -170,7 +170,6 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard, RegistryProperties):
else: else:
pixmap_width = int(pixmap_height * self.display_aspect_ratio + 0.5) pixmap_width = int(pixmap_height * self.display_aspect_ratio + 0.5)
self.preview_box_label.setFixedSize(pixmap_width + 2 * frame_width, pixmap_height + 2 * frame_width) self.preview_box_label.setFixedSize(pixmap_width + 2 * frame_width, pixmap_height + 2 * frame_width)
print(self.size())
def validateCurrentPage(self): def validateCurrentPage(self):
""" """

View File

@ -52,7 +52,7 @@ class Ui_ThemeWizard(object):
QtGui.QWizard.NoBackButtonOnStartPage | QtGui.QWizard.HaveCustomButton1) QtGui.QWizard.NoBackButtonOnStartPage | QtGui.QWizard.HaveCustomButton1)
if is_macosx(): if is_macosx():
theme_wizard.setPixmap(QtGui.QWizard.BackgroundPixmap, QtGui.QPixmap(':/wizards/openlp-osx-wizard.png')) theme_wizard.setPixmap(QtGui.QWizard.BackgroundPixmap, QtGui.QPixmap(':/wizards/openlp-osx-wizard.png'))
theme_wizard.resize(646, 386) theme_wizard.resize(646, 400)
self.spacer = QtGui.QSpacerItem(10, 0, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum) self.spacer = QtGui.QSpacerItem(10, 0, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
# Welcome Page # Welcome Page
add_welcome_page(theme_wizard, ':/wizards/wizard_createtheme.bmp') add_welcome_page(theme_wizard, ':/wizards/wizard_createtheme.bmp')

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 39 KiB