Documentation/Source/eric5.Helpviewer.HelpDocsInstaller.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Helpviewer.HelpDocsInstaller</h1> 23 <h1>eric5.Helpviewer.HelpDocsInstaller</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#116;&#104;&#114;&#101;&#97;&#100; &#99;&#108;&#97;&#115;&#115; &#112;&#111;&#112;&#117;&#108;&#97;&#116;&#105;&#110;&#103; &#97;&#110;&#100; &#117;&#112;&#100;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#81;&#116;&#72;&#101;&#108;&#112; 25 Module implementing a thread class populating and updating the QtHelp
26 &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#100;&#97;&#116;&#97;&#98;&#97;&#115;&#101;. 26 documentation database.
27 </p> 27 </p>
28 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29 <table> 29 <table>
30 <tr><td>None</td></tr> 30 <tr><td>None</td></tr>
31 </table> 31 </table>
32 <h3>Classes</h3> 32 <h3>Classes</h3>
33 <table> 33 <table>
34 <tr> 34 <tr>
35 <td><a href="#HelpDocsInstaller">HelpDocsInstaller</a></td> 35 <td><a href="#HelpDocsInstaller">HelpDocsInstaller</a></td>
36 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; w&#111;&#114;&#107;&#101;&#114; &#116;&#104;&#114;&#101;&#97;&#100; &#112;&#111;&#112;&#117;&#108;&#97;&#116;&#105;&#110;&#103; &#97;&#110;&#100; &#117;&#112;&#100;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#81;&#116;&#72;&#101;&#108;&#112; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#100;&#97;&#116;&#97;&#98;&#97;&#115;&#101;.</td> 36 <td>Class implementing the worker thread populating and updating the QtHelp documentation database.</td>
37 </tr> 37 </tr>
38 </table> 38 </table>
39 <h3>Functions</h3> 39 <h3>Functions</h3>
40 <table> 40 <table>
41 <tr><td>None</td></tr> 41 <tr><td>None</td></tr>
42 </table> 42 </table>
43 <hr /><hr /> 43 <hr /><hr />
44 <a NAME="HelpDocsInstaller" ID="HelpDocsInstaller"></a> 44 <a NAME="HelpDocsInstaller" ID="HelpDocsInstaller"></a>
45 <h2>HelpDocsInstaller</h2> 45 <h2>HelpDocsInstaller</h2>
46 <p> 46 <p>
47 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; w&#111;&#114;&#107;&#101;&#114; &#116;&#104;&#114;&#101;&#97;&#100; &#112;&#111;&#112;&#117;&#108;&#97;&#116;&#105;&#110;&#103; &#97;&#110;&#100; &#117;&#112;&#100;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#81;&#116;&#72;&#101;&#108;&#112; 47 Class implementing the worker thread populating and updating the QtHelp
48 &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#100;&#97;&#116;&#97;&#98;&#97;&#115;&#101;. 48 documentation database.
49 </p><h4>Signals</h4> 49 </p><h4>Signals</h4>
50 <dl> 50 <dl>
51 <dt>docsInstalled(bool)</dt> 51 <dt>docsInstalled(bool)</dt>
52 <dd> 52 <dd>
53 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#105;&#110;&#115;&#116;&#97;&#108;&#108;&#97;&#116;&#105;&#111;&#110; &#104;&#97;&#115; &#102;&#105;&#110;&#105;&#115;&#104;&#101;&#100; 53 emitted after the installation has finished
54 </dd><dt>errorMessage(const QString&)</dt> 54 </dd><dt>errorMessage(const QString&)</dt>
55 <dd> 55 <dd>
56 &#101;&#109;&#105;&#116;&#116;&#101;&#100;, &#105;&#102; &#97;&#110; &#101;&#114;&#114;&#111;&#114; &#111;&#99;&#99;&#117;&#114;&#114;&#101;&#100; &#100;&#117;&#114;&#105;&#110;&#103; 56 emitted, if an error occurred during
57 &#116;&#104;&#101; &#105;&#110;&#115;&#116;&#97;&#108;&#108;&#97;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; 57 the installation of the documentation
58 </dd> 58 </dd>
59 </dl> 59 </dl>
60 <h3>Derived from</h3> 60 <h3>Derived from</h3>
61 QThread 61 QThread
62 <h3>Class Attributes</h3> 62 <h3>Class Attributes</h3>
65 </table> 65 </table>
66 <h3>Methods</h3> 66 <h3>Methods</h3>
67 <table> 67 <table>
68 <tr> 68 <tr>
69 <td><a href="#HelpDocsInstaller.__init__">HelpDocsInstaller</a></td> 69 <td><a href="#HelpDocsInstaller.__init__">HelpDocsInstaller</a></td>
70 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 70 <td>Constructor</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#HelpDocsInstaller.__installEric5Doc">__installEric5Doc</a></td> 72 <td><a href="#HelpDocsInstaller.__installEric5Doc">__installEric5Doc</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#115;&#116;&#97;&#108;&#108;/&#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#101;&#114;&#105;&#99;&#53; &#104;&#101;&#108;&#112; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110;.</td> 73 <td>Private method to install/update the eric5 help documentation.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#HelpDocsInstaller.__installQtDoc">__installQtDoc</a></td> 75 <td><a href="#HelpDocsInstaller.__installQtDoc">__installQtDoc</a></td>
76 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#115;&#116;&#97;&#108;&#108;/&#117;&#112;&#100;&#97;&#116;&#101; &#97; &#81;&#116; &#104;&#101;&#108;&#112; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;.</td> 76 <td>Private method to install/update a Qt help document.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#HelpDocsInstaller.installDocs">installDocs</a></td> 78 <td><a href="#HelpDocsInstaller.installDocs">installDocs</a></td>
79 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#105;&#110;&#115;&#116;&#97;&#108;&#108;&#97;&#116;&#105;&#111;&#110; &#112;&#114;&#111;&#99;&#101;&#100;&#117;&#114;&#101;.</td> 79 <td>Public method to start the installation procedure.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#HelpDocsInstaller.run">run</a></td> 81 <td><a href="#HelpDocsInstaller.run">run</a></td>
82 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#101;x&#101;&#99;&#117;&#116;&#101;&#100; &#98;y &#116;&#104;&#101; &#116;&#104;&#114;&#101;&#97;&#100;.</td> 82 <td>Protected method executed by the thread.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#HelpDocsInstaller.stop">stop</a></td> 84 <td><a href="#HelpDocsInstaller.stop">stop</a></td>
85 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#111;&#112; &#116;&#104;&#101; &#105;&#110;&#115;&#116;&#97;&#108;&#108;&#97;&#116;&#105;&#111;&#110; &#112;&#114;&#111;&#99;&#101;&#100;&#117;&#114;&#101;.</td> 85 <td>Public slot to stop the installation procedure.</td>
86 </tr> 86 </tr>
87 </table> 87 </table>
88 <a NAME="HelpDocsInstaller.__init__" ID="HelpDocsInstaller.__init__"></a> 88 <a NAME="HelpDocsInstaller.__init__" ID="HelpDocsInstaller.__init__"></a>
89 <h4>HelpDocsInstaller (Constructor)</h4> 89 <h4>HelpDocsInstaller (Constructor)</h4>
90 <b>HelpDocsInstaller</b>(<i>collection</i>) 90 <b>HelpDocsInstaller</b>(<i>collection</i>)
91 <p> 91 <p>
92 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 92 Constructor
93 </p><dl> 93 </p><dl>
94 <dt><i>collection</i></dt> 94 <dt><i>collection</i></dt>
95 <dd> 95 <dd>
96 &#102;&#117;&#108;&#108; &#112;&#97;&#116;&#104;&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#99;&#111;&#108;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#102;&#105;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 96 full pathname of the collection file (string)
97 </dd> 97 </dd>
98 </dl><a NAME="HelpDocsInstaller.__installEric5Doc" ID="HelpDocsInstaller.__installEric5Doc"></a> 98 </dl><a NAME="HelpDocsInstaller.__installEric5Doc" ID="HelpDocsInstaller.__installEric5Doc"></a>
99 <h4>HelpDocsInstaller.__installEric5Doc</h4> 99 <h4>HelpDocsInstaller.__installEric5Doc</h4>
100 <b>__installEric5Doc</b>(<i>engine</i>) 100 <b>__installEric5Doc</b>(<i>engine</i>)
101 <p> 101 <p>
102 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#115;&#116;&#97;&#108;&#108;/&#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#101;&#114;&#105;&#99;&#53; &#104;&#101;&#108;&#112; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110;. 102 Private method to install/update the eric5 help documentation.
103 </p><dl> 103 </p><dl>
104 <dt><i>engine</i></dt> 104 <dt><i>engine</i></dt>
105 <dd> 105 <dd>
106 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#101;&#108;&#112; &#101;&#110;&#103;&#105;&#110;&#101; (&#81;&#72;&#101;&#108;&#112;&#69;&#110;&#103;&#105;&#110;&#101;&#67;&#111;&#114;&#101;) 106 reference to the help engine (QHelpEngineCore)
107 </dd> 107 </dd>
108 </dl><dl> 108 </dl><dl>
109 <dt>Returns:</dt> 109 <dt>Returns:</dt>
110 <dd> 110 <dd>
111 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 111 flag indicating success (boolean)
112 </dd> 112 </dd>
113 </dl><a NAME="HelpDocsInstaller.__installQtDoc" ID="HelpDocsInstaller.__installQtDoc"></a> 113 </dl><a NAME="HelpDocsInstaller.__installQtDoc" ID="HelpDocsInstaller.__installQtDoc"></a>
114 <h4>HelpDocsInstaller.__installQtDoc</h4> 114 <h4>HelpDocsInstaller.__installQtDoc</h4>
115 <b>__installQtDoc</b>(<i>name, engine</i>) 115 <b>__installQtDoc</b>(<i>name, engine</i>)
116 <p> 116 <p>
117 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#115;&#116;&#97;&#108;&#108;/&#117;&#112;&#100;&#97;&#116;&#101; &#97; &#81;&#116; &#104;&#101;&#108;&#112; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116;. 117 Private method to install/update a Qt help document.
118 </p><dl> 118 </p><dl>
119 <dt><i>name</i></dt> 119 <dt><i>name</i></dt>
120 <dd> 120 <dd>
121 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#81;&#116; &#104;&#101;&#108;&#112; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 121 name of the Qt help document (string)
122 </dd><dt><i>engine</i></dt> 122 </dd><dt><i>engine</i></dt>
123 <dd> 123 <dd>
124 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#101;&#108;&#112; &#101;&#110;&#103;&#105;&#110;&#101; (&#81;&#72;&#101;&#108;&#112;&#69;&#110;&#103;&#105;&#110;&#101;&#67;&#111;&#114;&#101;) 124 reference to the help engine (QHelpEngineCore)
125 </dd> 125 </dd>
126 </dl><dl> 126 </dl><dl>
127 <dt>Returns:</dt> 127 <dt>Returns:</dt>
128 <dd> 128 <dd>
129 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 129 flag indicating success (boolean)
130 </dd> 130 </dd>
131 </dl><a NAME="HelpDocsInstaller.installDocs" ID="HelpDocsInstaller.installDocs"></a> 131 </dl><a NAME="HelpDocsInstaller.installDocs" ID="HelpDocsInstaller.installDocs"></a>
132 <h4>HelpDocsInstaller.installDocs</h4> 132 <h4>HelpDocsInstaller.installDocs</h4>
133 <b>installDocs</b>(<i></i>) 133 <b>installDocs</b>(<i></i>)
134 <p> 134 <p>
135 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#97;&#114;&#116; &#116;&#104;&#101; &#105;&#110;&#115;&#116;&#97;&#108;&#108;&#97;&#116;&#105;&#111;&#110; &#112;&#114;&#111;&#99;&#101;&#100;&#117;&#114;&#101;. 135 Public method to start the installation procedure.
136 </p><a NAME="HelpDocsInstaller.run" ID="HelpDocsInstaller.run"></a> 136 </p><a NAME="HelpDocsInstaller.run" ID="HelpDocsInstaller.run"></a>
137 <h4>HelpDocsInstaller.run</h4> 137 <h4>HelpDocsInstaller.run</h4>
138 <b>run</b>(<i></i>) 138 <b>run</b>(<i></i>)
139 <p> 139 <p>
140 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#101;x&#101;&#99;&#117;&#116;&#101;&#100; &#98;y &#116;&#104;&#101; &#116;&#104;&#114;&#101;&#97;&#100;. 140 Protected method executed by the thread.
141 </p><a NAME="HelpDocsInstaller.stop" ID="HelpDocsInstaller.stop"></a> 141 </p><a NAME="HelpDocsInstaller.stop" ID="HelpDocsInstaller.stop"></a>
142 <h4>HelpDocsInstaller.stop</h4> 142 <h4>HelpDocsInstaller.stop</h4>
143 <b>stop</b>(<i></i>) 143 <b>stop</b>(<i></i>)
144 <p> 144 <p>
145 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#116;&#111;&#112; &#116;&#104;&#101; &#105;&#110;&#115;&#116;&#97;&#108;&#108;&#97;&#116;&#105;&#111;&#110; &#112;&#114;&#111;&#99;&#101;&#100;&#117;&#114;&#101;. 145 Public slot to stop the installation procedure.
146 </p> 146 </p>
147 <div align="right"><a href="#top">Up</a></div> 147 <div align="right"><a href="#top">Up</a></div>
148 <hr /> 148 <hr />
149 </body></html> 149 </body></html>

eric ide

mercurial