|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.WebBrowser.Sync.SyncCheckPage</h1> |
|
23 <p> |
|
24 Module implementing the synchronization status wizard page. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#SyncCheckPage">SyncCheckPage</a></td> |
|
34 <td>Class implementing the synchronization status wizard page.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="SyncCheckPage" ID="SyncCheckPage"></a> |
|
43 <h2>SyncCheckPage</h2> |
|
44 <p> |
|
45 Class implementing the synchronization status wizard page. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QWizardPage, Ui_SyncCheckPage |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#SyncCheckPage.__init__">SyncCheckPage</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SyncCheckPage.__makeAnimatedLabel">__makeAnimatedLabel</a></td> |
|
64 <td>Private slot to create an animated label.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SyncCheckPage.__syncError">__syncError</a></td> |
|
67 <td>Private slot to handle general synchronization issues.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SyncCheckPage.__updateLabels">__updateLabels</a></td> |
|
70 <td>Private slot to handle a finished synchronization event.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SyncCheckPage.__updateMessages">__updateMessages</a></td> |
|
73 <td>Private slot to update the synchronization status info.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SyncCheckPage.initializePage">initializePage</a></td> |
|
76 <td>Public method to initialize the page.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <h3>Static Methods</h3> |
|
80 <table> |
|
81 <tr><td>None</td></tr> |
|
82 </table> |
|
83 <a NAME="SyncCheckPage.__init__" ID="SyncCheckPage.__init__"></a> |
|
84 <h4>SyncCheckPage (Constructor)</h4> |
|
85 <b>SyncCheckPage</b>(<i>parent=None</i>) |
|
86 <p> |
|
87 Constructor |
|
88 </p><dl> |
|
89 <dt><i>parent</i></dt> |
|
90 <dd> |
|
91 reference to the parent widget (QWidget) |
|
92 </dd> |
|
93 </dl><a NAME="SyncCheckPage.__makeAnimatedLabel" ID="SyncCheckPage.__makeAnimatedLabel"></a> |
|
94 <h4>SyncCheckPage.__makeAnimatedLabel</h4> |
|
95 <b>__makeAnimatedLabel</b>(<i>fileName, label</i>) |
|
96 <p> |
|
97 Private slot to create an animated label. |
|
98 </p><dl> |
|
99 <dt><i>fileName</i></dt> |
|
100 <dd> |
|
101 name of the file containing the animation (string) |
|
102 </dd><dt><i>label</i></dt> |
|
103 <dd> |
|
104 reference to the label to be animated (QLabel) |
|
105 </dd> |
|
106 </dl><a NAME="SyncCheckPage.__syncError" ID="SyncCheckPage.__syncError"></a> |
|
107 <h4>SyncCheckPage.__syncError</h4> |
|
108 <b>__syncError</b>(<i>message</i>) |
|
109 <p> |
|
110 Private slot to handle general synchronization issues. |
|
111 </p><dl> |
|
112 <dt><i>message</i></dt> |
|
113 <dd> |
|
114 error message (string) |
|
115 </dd> |
|
116 </dl><a NAME="SyncCheckPage.__updateLabels" ID="SyncCheckPage.__updateLabels"></a> |
|
117 <h4>SyncCheckPage.__updateLabels</h4> |
|
118 <b>__updateLabels</b>(<i>type_, status, download</i>) |
|
119 <p> |
|
120 Private slot to handle a finished synchronization event. |
|
121 </p><dl> |
|
122 <dt><i>type_</i></dt> |
|
123 <dd> |
|
124 type of the synchronization event (string one |
|
125 of "bookmarks", "history", "passwords", "useragents" or |
|
126 "speeddial") |
|
127 </dd><dt><i>status</i></dt> |
|
128 <dd> |
|
129 flag indicating success (boolean) |
|
130 </dd><dt><i>download</i></dt> |
|
131 <dd> |
|
132 flag indicating a download of a file (boolean) |
|
133 </dd> |
|
134 </dl><a NAME="SyncCheckPage.__updateMessages" ID="SyncCheckPage.__updateMessages"></a> |
|
135 <h4>SyncCheckPage.__updateMessages</h4> |
|
136 <b>__updateMessages</b>(<i>type_, msg</i>) |
|
137 <p> |
|
138 Private slot to update the synchronization status info. |
|
139 </p><dl> |
|
140 <dt><i>type_</i></dt> |
|
141 <dd> |
|
142 type of synchronization data (string) |
|
143 </dd><dt><i>msg</i></dt> |
|
144 <dd> |
|
145 synchronization message (string) |
|
146 </dd> |
|
147 </dl><a NAME="SyncCheckPage.initializePage" ID="SyncCheckPage.initializePage"></a> |
|
148 <h4>SyncCheckPage.initializePage</h4> |
|
149 <b>initializePage</b>(<i></i>) |
|
150 <p> |
|
151 Public method to initialize the page. |
|
152 </p> |
|
153 <div align="right"><a href="#top">Up</a></div> |
|
154 <hr /> |
|
155 </body></html> |