|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.Sync.SyncCheckPage</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.WebBrowser.Sync.SyncCheckPage</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing the synchronization status wizard page. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#SyncCheckPage">SyncCheckPage</a></td> |
|
39 <td>Class implementing the synchronization status wizard page.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="SyncCheckPage" ID="SyncCheckPage"></a> |
|
50 <h2>SyncCheckPage</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing the synchronization status wizard page. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QWizardPage, Ui_SyncCheckPage |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#SyncCheckPage.__init__">SyncCheckPage</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#SyncCheckPage.__makeAnimatedLabel">__makeAnimatedLabel</a></td> |
|
77 <td>Private slot to create an animated label.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#SyncCheckPage.__syncError">__syncError</a></td> |
|
81 <td>Private slot to handle general synchronization issues.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#SyncCheckPage.__updateLabels">__updateLabels</a></td> |
|
85 <td>Private slot to handle a finished synchronization event.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#SyncCheckPage.__updateMessages">__updateMessages</a></td> |
|
89 <td>Private slot to update the synchronization status info.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#SyncCheckPage.initializePage">initializePage</a></td> |
|
93 <td>Public method to initialize the page.</td> |
|
94 </tr> |
|
95 </table> |
|
96 <h3>Static Methods</h3> |
|
97 |
|
98 <table> |
|
99 <tr><td>None</td></tr> |
|
100 </table> |
|
101 |
|
102 <a NAME="SyncCheckPage.__init__" ID="SyncCheckPage.__init__"></a> |
|
103 <h4>SyncCheckPage (Constructor)</h4> |
|
104 <b>SyncCheckPage</b>(<i>parent=None</i>) |
|
105 |
|
106 <p> |
|
107 Constructor |
|
108 </p> |
|
109 <dl> |
|
110 |
|
111 <dt><i>parent</i></dt> |
|
112 <dd> |
|
113 reference to the parent widget (QWidget) |
|
114 </dd> |
|
115 </dl> |
|
116 <a NAME="SyncCheckPage.__makeAnimatedLabel" ID="SyncCheckPage.__makeAnimatedLabel"></a> |
|
117 <h4>SyncCheckPage.__makeAnimatedLabel</h4> |
|
118 <b>__makeAnimatedLabel</b>(<i>fileName, label</i>) |
|
119 |
|
120 <p> |
|
121 Private slot to create an animated label. |
|
122 </p> |
|
123 <dl> |
|
124 |
|
125 <dt><i>fileName</i> (str)</dt> |
|
126 <dd> |
|
127 name of the file containing the animation |
|
128 </dd> |
|
129 <dt><i>label</i> (EricAnimatedLabel)</dt> |
|
130 <dd> |
|
131 reference to the label to be animated |
|
132 </dd> |
|
133 </dl> |
|
134 <a NAME="SyncCheckPage.__syncError" ID="SyncCheckPage.__syncError"></a> |
|
135 <h4>SyncCheckPage.__syncError</h4> |
|
136 <b>__syncError</b>(<i>message</i>) |
|
137 |
|
138 <p> |
|
139 Private slot to handle general synchronization issues. |
|
140 </p> |
|
141 <dl> |
|
142 |
|
143 <dt><i>message</i></dt> |
|
144 <dd> |
|
145 error message (string) |
|
146 </dd> |
|
147 </dl> |
|
148 <a NAME="SyncCheckPage.__updateLabels" ID="SyncCheckPage.__updateLabels"></a> |
|
149 <h4>SyncCheckPage.__updateLabels</h4> |
|
150 <b>__updateLabels</b>(<i>type_, status, download</i>) |
|
151 |
|
152 <p> |
|
153 Private slot to handle a finished synchronization event. |
|
154 </p> |
|
155 <dl> |
|
156 |
|
157 <dt><i>type_</i></dt> |
|
158 <dd> |
|
159 type of the synchronization event (string one |
|
160 of "bookmarks", "history", "passwords", "useragents" or |
|
161 "speeddial") |
|
162 </dd> |
|
163 <dt><i>status</i></dt> |
|
164 <dd> |
|
165 flag indicating success (boolean) |
|
166 </dd> |
|
167 <dt><i>download</i></dt> |
|
168 <dd> |
|
169 flag indicating a download of a file (boolean) |
|
170 </dd> |
|
171 </dl> |
|
172 <a NAME="SyncCheckPage.__updateMessages" ID="SyncCheckPage.__updateMessages"></a> |
|
173 <h4>SyncCheckPage.__updateMessages</h4> |
|
174 <b>__updateMessages</b>(<i>type_, msg</i>) |
|
175 |
|
176 <p> |
|
177 Private slot to update the synchronization status info. |
|
178 </p> |
|
179 <dl> |
|
180 |
|
181 <dt><i>type_</i></dt> |
|
182 <dd> |
|
183 type of synchronization data (string) |
|
184 </dd> |
|
185 <dt><i>msg</i></dt> |
|
186 <dd> |
|
187 synchronization message (string) |
|
188 </dd> |
|
189 </dl> |
|
190 <a NAME="SyncCheckPage.initializePage" ID="SyncCheckPage.initializePage"></a> |
|
191 <h4>SyncCheckPage.initializePage</h4> |
|
192 <b>initializePage</b>(<i></i>) |
|
193 |
|
194 <p> |
|
195 Public method to initialize the page. |
|
196 </p> |
|
197 <div align="right"><a href="#top">Up</a></div> |
|
198 <hr /> |
|
199 </body></html> |