74 if self._speedDialPage is None: |
74 if self._speedDialPage is None: |
75 htmlFile = QFile(":/html/speeddialPage.html") |
75 htmlFile = QFile(":/html/speeddialPage.html") |
76 htmlFile.open(QFile.ReadOnly) |
76 htmlFile.open(QFile.ReadOnly) |
77 html = bytes(htmlFile.readAll()).decode() |
77 html = bytes(htmlFile.readAll()).decode() |
78 |
78 |
79 html = (html.replace("@FAVICON@", "qrc:icons/ericWeb16.png") |
79 html = ( |
|
80 html.replace("@FAVICON@", "qrc:icons/ericWeb16.png") |
80 .replace("@IMG_PLUS@", "qrc:icons/plus.png") |
81 .replace("@IMG_PLUS@", "qrc:icons/plus.png") |
81 .replace("@IMG_CLOSE@", "qrc:icons/close.png") |
82 .replace("@IMG_CLOSE@", "qrc:icons/close.png") |
82 .replace("@IMG_EDIT@", "qrc:icons/edit.png") |
83 .replace("@IMG_EDIT@", "qrc:icons/edit.png") |
83 .replace("@IMG_RELOAD@", "qrc:icons/reload.png") |
84 .replace("@IMG_RELOAD@", "qrc:icons/reload.png") |
84 .replace("@IMG_SETTINGS@", "qrc:icons/setting.png") |
85 .replace("@IMG_SETTINGS@", "qrc:icons/setting.png") |