5 |
5 |
6 """ |
6 """ |
7 Module implementing the synchronization status wizard page. |
7 Module implementing the synchronization status wizard page. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtCore import QTimer |
10 from PyQt6.QtCore import QTimer, pyqtSlot |
11 from PyQt6.QtWidgets import QWizardPage |
11 from PyQt6.QtWidgets import QWizardPage |
12 |
12 |
13 from eric7 import Preferences |
13 from eric7 import Preferences |
14 from eric7.EricGui import EricPixmapCache |
14 from eric7.EricGui import EricPixmapCache |
15 from eric7.WebBrowser.WebBrowserWindow import WebBrowserWindow |
15 from eric7.WebBrowser.WebBrowserWindow import WebBrowserWindow |
132 elif type_ == "useragents": |
132 elif type_ == "useragents": |
133 self.userAgentsMsgLabel.setText(msg) |
133 self.userAgentsMsgLabel.setText(msg) |
134 elif type_ == "speeddial": |
134 elif type_ == "speeddial": |
135 self.speedDialMsgLabel.setText(msg) |
135 self.speedDialMsgLabel.setText(msg) |
136 |
136 |
|
137 @pyqtSlot(str, bool, bool) |
137 def __updateLabels(self, type_, status, download): |
138 def __updateLabels(self, type_, status, download): |
138 """ |
139 """ |
139 Private slot to handle a finished synchronization event. |
140 Private slot to handle a finished synchronization event. |
140 |
141 |
141 @param type_ type of the synchronization event (string one |
142 @param type_ type of the synchronization event (string one |