~tomasgroth/openlp/portable-path

« back to all changes in this revision

Viewing changes to openlp/core/ui/firsttimelanguagedialog.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:
25
25
from PyQt5 import QtWidgets
26
26
 
27
27
from openlp.core.common.i18n import translate
28
 
from openlp.core.lib import build_icon
29
28
from openlp.core.lib.ui import create_button_box
 
29
from openlp.core.ui.icons import UiIcons
30
30
 
31
31
 
32
32
class Ui_FirstTimeLanguageDialog(object):
38
38
        Set up the UI.
39
39
        """
40
40
        language_dialog.setObjectName('language_dialog')
41
 
        language_dialog.setWindowIcon(build_icon(':/icon/openlp-logo.svg'))
 
41
        language_dialog.setWindowIcon(UiIcons().main_icon)
42
42
        language_dialog.resize(300, 50)
43
43
        self.dialog_layout = QtWidgets.QVBoxLayout(language_dialog)
44
44
        self.dialog_layout.setContentsMargins(8, 8, 8, 8)