5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to edit a host fingerprint. |
11 Module implementing a dialog to edit a host fingerprint. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#HgUserConfigHostFingerprintDialog">HgUserConfigHostFingerprintDialog</a></td> |
22 <td><a href="#HgUserConfigHostFingerprintDialog">HgUserConfigHostFingerprintDialog</a></td> |
25 <td>Class implementing a dialog to edit a host fingerprint.</td> |
23 <td>Class implementing a dialog to edit a host fingerprint.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="HgUserConfigHostFingerprintDialog" ID="HgUserConfigHostFingerprintDialog"></a> |
34 <a NAME="HgUserConfigHostFingerprintDialog" ID="HgUserConfigHostFingerprintDialog"></a> |
36 <h2>HgUserConfigHostFingerprintDialog</h2> |
35 <h2>HgUserConfigHostFingerprintDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to edit a host fingerprint. |
37 Class implementing a dialog to edit a host fingerprint. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_HgUserConfigHostFingerprintDialog |
41 QDialog, Ui_HgUserConfigHostFingerprintDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
|
43 <table> |
|
44 <tr><td>fingerprintLength</td></tr> |
|
45 <tr><td>supportedHashes</td></tr> |
|
46 </table> |
44 |
47 |
45 <table> |
|
46 <tr><td>fingerprintLength</td></tr><tr><td>supportedHashes</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
48 <h3>Class Methods</h3> |
49 |
|
50 <table> |
49 <table> |
51 <tr><td>None</td></tr> |
50 <tr><td>None</td></tr> |
52 </table> |
51 </table> |
|
52 |
53 <h3>Methods</h3> |
53 <h3>Methods</h3> |
54 |
|
55 <table> |
54 <table> |
56 |
|
57 <tr> |
55 <tr> |
58 <td><a href="#HgUserConfigHostFingerprintDialog.__init__">HgUserConfigHostFingerprintDialog</a></td> |
56 <td><a href="#HgUserConfigHostFingerprintDialog.__init__">HgUserConfigHostFingerprintDialog</a></td> |
59 <td>Constructor</td> |
57 <td>Constructor</td> |
60 </tr> |
58 </tr> |
61 <tr> |
59 <tr> |
77 <tr> |
75 <tr> |
78 <td><a href="#HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td> |
76 <td><a href="#HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td> |
79 <td>Private slot to handle changes of the host edit.</td> |
77 <td>Private slot to handle changes of the host edit.</td> |
80 </tr> |
78 </tr> |
81 </table> |
79 </table> |
|
80 |
82 <h3>Static Methods</h3> |
81 <h3>Static Methods</h3> |
83 |
|
84 <table> |
82 <table> |
85 <tr><td>None</td></tr> |
83 <tr><td>None</td></tr> |
86 </table> |
84 </table> |
87 |
85 |
|
86 |
88 <a NAME="HgUserConfigHostFingerprintDialog.__init__" ID="HgUserConfigHostFingerprintDialog.__init__"></a> |
87 <a NAME="HgUserConfigHostFingerprintDialog.__init__" ID="HgUserConfigHostFingerprintDialog.__init__"></a> |
89 <h4>HgUserConfigHostFingerprintDialog (Constructor)</h4> |
88 <h4>HgUserConfigHostFingerprintDialog (Constructor)</h4> |
90 <b>HgUserConfigHostFingerprintDialog</b>(<i>parent=None, host="", fingerprint="", version=(0, 0, 0)</i>) |
89 <b>HgUserConfigHostFingerprintDialog</b>(<i>parent=None, host="", fingerprint="", version=(0, 0, 0)</i>) |
91 |
|
92 <p> |
90 <p> |
93 Constructor |
91 Constructor |
94 </p> |
92 </p> |
|
93 |
95 <dl> |
94 <dl> |
96 |
95 |
97 <dt><i>parent</i> (QWidget)</dt> |
96 <dt><i>parent</i> (QWidget)</dt> |
98 <dd> |
97 <dd> |
99 reference to the parent widget |
98 reference to the parent widget |
112 </dd> |
111 </dd> |
113 </dl> |
112 </dl> |
114 <a NAME="HgUserConfigHostFingerprintDialog.__updateOkButton" ID="HgUserConfigHostFingerprintDialog.__updateOkButton"></a> |
113 <a NAME="HgUserConfigHostFingerprintDialog.__updateOkButton" ID="HgUserConfigHostFingerprintDialog.__updateOkButton"></a> |
115 <h4>HgUserConfigHostFingerprintDialog.__updateOkButton</h4> |
114 <h4>HgUserConfigHostFingerprintDialog.__updateOkButton</h4> |
116 <b>__updateOkButton</b>(<i></i>) |
115 <b>__updateOkButton</b>(<i></i>) |
117 |
|
118 <p> |
116 <p> |
119 Private method to update the status of the Ok button. |
117 Private method to update the status of the Ok button. |
120 </p> |
118 </p> |
|
119 |
121 <a NAME="HgUserConfigHostFingerprintDialog.getData" ID="HgUserConfigHostFingerprintDialog.getData"></a> |
120 <a NAME="HgUserConfigHostFingerprintDialog.getData" ID="HgUserConfigHostFingerprintDialog.getData"></a> |
122 <h4>HgUserConfigHostFingerprintDialog.getData</h4> |
121 <h4>HgUserConfigHostFingerprintDialog.getData</h4> |
123 <b>getData</b>(<i></i>) |
122 <b>getData</b>(<i></i>) |
124 |
|
125 <p> |
123 <p> |
126 Public method to retrieve the data. |
124 Public method to retrieve the data. |
127 </p> |
125 </p> |
|
126 |
128 <dl> |
127 <dl> |
129 <dt>Return:</dt> |
128 <dt>Return:</dt> |
130 <dd> |
129 <dd> |
131 tuple containig the host name and the fingerprint |
130 tuple containig the host name and the fingerprint |
132 </dd> |
131 </dd> |
138 </dd> |
137 </dd> |
139 </dl> |
138 </dl> |
140 <a NAME="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged"></a> |
139 <a NAME="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged"></a> |
141 <h4>HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged</h4> |
140 <h4>HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged</h4> |
142 <b>on_fingerprintEdit_textChanged</b>(<i>txt</i>) |
141 <b>on_fingerprintEdit_textChanged</b>(<i>txt</i>) |
143 |
|
144 <p> |
142 <p> |
145 Private slot to handle changes of the fingerprint edit. |
143 Private slot to handle changes of the fingerprint edit. |
146 </p> |
144 </p> |
|
145 |
147 <dl> |
146 <dl> |
148 |
147 |
149 <dt><i>txt</i> (str)</dt> |
148 <dt><i>txt</i> (str)</dt> |
150 <dd> |
149 <dd> |
151 current text |
150 current text |
152 </dd> |
151 </dd> |
153 </dl> |
152 </dl> |
154 <a NAME="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged" ID="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged"></a> |
153 <a NAME="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged" ID="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged"></a> |
155 <h4>HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged</h4> |
154 <h4>HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged</h4> |
156 <b>on_hashComboBox_currentIndexChanged</b>(<i>index</i>) |
155 <b>on_hashComboBox_currentIndexChanged</b>(<i>index</i>) |
157 |
|
158 <p> |
156 <p> |
159 Private slot to handle changes of the hash combo. |
157 Private slot to handle changes of the hash combo. |
160 </p> |
158 </p> |
|
159 |
161 <dl> |
160 <dl> |
162 |
161 |
163 <dt><i>index</i> (int)</dt> |
162 <dt><i>index</i> (int)</dt> |
164 <dd> |
163 <dd> |
165 current index |
164 current index |
166 </dd> |
165 </dd> |
167 </dl> |
166 </dl> |
168 <a NAME="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged"></a> |
167 <a NAME="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged"></a> |
169 <h4>HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged</h4> |
168 <h4>HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged</h4> |
170 <b>on_hostEdit_textChanged</b>(<i>txt</i>) |
169 <b>on_hostEdit_textChanged</b>(<i>txt</i>) |
171 |
|
172 <p> |
170 <p> |
173 Private slot to handle changes of the host edit. |
171 Private slot to handle changes of the host edit. |
174 </p> |
172 </p> |
|
173 |
175 <dl> |
174 <dl> |
176 |
175 |
177 <dt><i>txt</i> (str)</dt> |
176 <dt><i>txt</i> (str)</dt> |
178 <dd> |
177 <dd> |
179 current text |
178 current text |