~tomasgroth/openlp/portable-path

« back to all changes in this revision

Viewing changes to openlp/core/ui/themewizard.py

  • Committer: Tomas Groth
  • Author(s): tim.bentley at gmail
  • Date: 2018-08-04 21:11:51 UTC
  • mfrom: (2820.3.10 fonts)
  • Revision ID: tomasgroth@yahoo.dk-20180804211151-k681l5vd76zdq5gk
Replaced png icons with fonts
Added ability to have custom fonts

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
from openlp.core.common import is_macosx
28
28
from openlp.core.common.i18n import UiStrings, translate
29
 
from openlp.core.lib import build_icon
30
29
from openlp.core.lib.theme import HorizontalType, BackgroundType, BackgroundGradientType
31
30
from openlp.core.lib.ui import add_welcome_page, create_valign_selection_widgets
 
31
from openlp.core.ui.icons import UiIcons
32
32
from openlp.core.widgets.buttons import ColorButton
33
33
from openlp.core.widgets.edits import PathEdit
34
34
 
42
42
        Set up the UI
43
43
        """
44
44
        theme_wizard.setObjectName('OpenLP.ThemeWizard')
45
 
        theme_wizard.setWindowIcon(build_icon(':/icon/openlp-logo.svg'))
 
45
        theme_wizard.setWindowIcon(UiIcons().main_icon)
46
46
        theme_wizard.setModal(True)
47
47
        theme_wizard.setOptions(QtWidgets.QWizard.IndependentPages |
48
48
                                QtWidgets.QWizard.NoBackButtonOnStartPage | QtWidgets.QWizard.HaveCustomButton1)