16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to edit a host fingerprint. |
26 Module implementing a dialog to edit a host fingerprint. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#HgUserConfigHostFingerprintDialog">HgUserConfigHostFingerprintDialog</a></td> |
38 <td><a href="#HgUserConfigHostFingerprintDialog">HgUserConfigHostFingerprintDialog</a></td> |
34 <td>Class implementing a dialog to edit a host fingerprint.</td> |
39 <td>Class implementing a dialog to edit a host fingerprint.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="HgUserConfigHostFingerprintDialog" ID="HgUserConfigHostFingerprintDialog"></a> |
49 <a NAME="HgUserConfigHostFingerprintDialog" ID="HgUserConfigHostFingerprintDialog"></a> |
43 <h2>HgUserConfigHostFingerprintDialog</h2> |
50 <h2>HgUserConfigHostFingerprintDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to edit a host fingerprint. |
53 Class implementing a dialog to edit a host fingerprint. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_HgUserConfigHostFingerprintDialog |
56 QDialog, Ui_HgUserConfigHostFingerprintDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>fingerprintLength</td></tr><tr><td>supportedHashes</td></tr> |
60 <tr><td>fingerprintLength</td></tr><tr><td>supportedHashes</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
|
68 |
58 <table> |
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#HgUserConfigHostFingerprintDialog.__init__">HgUserConfigHostFingerprintDialog</a></td> |
72 <td><a href="#HgUserConfigHostFingerprintDialog.__init__">HgUserConfigHostFingerprintDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#HgUserConfigHostFingerprintDialog.__updateOkButton">__updateOkButton</a></td> |
76 <td><a href="#HgUserConfigHostFingerprintDialog.__updateOkButton">__updateOkButton</a></td> |
64 <td>Private method to update the status of the Ok button.</td> |
77 <td>Private method to update the status of the Ok button.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#HgUserConfigHostFingerprintDialog.getData">getData</a></td> |
80 <td><a href="#HgUserConfigHostFingerprintDialog.getData">getData</a></td> |
67 <td>Public method to retrieve the data.</td> |
81 <td>Public method to retrieve the data.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged">on_fingerprintEdit_textChanged</a></td> |
84 <td><a href="#HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged">on_fingerprintEdit_textChanged</a></td> |
70 <td>Private slot to handle changes of the fingerprint edit.</td> |
85 <td>Private slot to handle changes of the fingerprint edit.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged">on_hashComboBox_currentIndexChanged</a></td> |
88 <td><a href="#HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged">on_hashComboBox_currentIndexChanged</a></td> |
73 <td>Private slot to handle changes of the hash combo.</td> |
89 <td>Private slot to handle changes of the hash combo.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td> |
92 <td><a href="#HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td> |
76 <td>Private slot to handle changes of the host edit.</td> |
93 <td>Private slot to handle changes of the host edit.</td> |
77 </tr> |
94 </tr> |
78 </table> |
95 </table> |
79 <h3>Static Methods</h3> |
96 <h3>Static Methods</h3> |
|
97 |
80 <table> |
98 <table> |
81 <tr><td>None</td></tr> |
99 <tr><td>None</td></tr> |
82 </table> |
100 </table> |
|
101 |
83 <a NAME="HgUserConfigHostFingerprintDialog.__init__" ID="HgUserConfigHostFingerprintDialog.__init__"></a> |
102 <a NAME="HgUserConfigHostFingerprintDialog.__init__" ID="HgUserConfigHostFingerprintDialog.__init__"></a> |
84 <h4>HgUserConfigHostFingerprintDialog (Constructor)</h4> |
103 <h4>HgUserConfigHostFingerprintDialog (Constructor)</h4> |
85 <b>HgUserConfigHostFingerprintDialog</b>(<i>parent=None, host="", fingerprint="", version=(0, 0, 0)</i>) |
104 <b>HgUserConfigHostFingerprintDialog</b>(<i>parent=None, host="", fingerprint="", version=(0, 0, 0)</i>) |
|
105 |
86 <p> |
106 <p> |
87 Constructor |
107 Constructor |
88 </p><dl> |
108 </p> |
|
109 <dl> |
|
110 |
89 <dt><i>parent</i> (QWidget)</dt> |
111 <dt><i>parent</i> (QWidget)</dt> |
90 <dd> |
112 <dd> |
91 reference to the parent widget |
113 reference to the parent widget |
92 </dd><dt><i>host</i> (str)</dt> |
114 </dd> |
|
115 <dt><i>host</i> (str)</dt> |
93 <dd> |
116 <dd> |
94 host name |
117 host name |
95 </dd><dt><i>fingerprint</i> (str)</dt> |
118 </dd> |
|
119 <dt><i>fingerprint</i> (str)</dt> |
96 <dd> |
120 <dd> |
97 fingerprint for the host |
121 fingerprint for the host |
98 </dd><dt><i>version</i> (tuple of three integers)</dt> |
122 </dd> |
|
123 <dt><i>version</i> (tuple of three integers)</dt> |
99 <dd> |
124 <dd> |
100 Mercurial version info |
125 Mercurial version info |
101 </dd> |
126 </dd> |
102 </dl><a NAME="HgUserConfigHostFingerprintDialog.__updateOkButton" ID="HgUserConfigHostFingerprintDialog.__updateOkButton"></a> |
127 </dl> |
|
128 <a NAME="HgUserConfigHostFingerprintDialog.__updateOkButton" ID="HgUserConfigHostFingerprintDialog.__updateOkButton"></a> |
103 <h4>HgUserConfigHostFingerprintDialog.__updateOkButton</h4> |
129 <h4>HgUserConfigHostFingerprintDialog.__updateOkButton</h4> |
104 <b>__updateOkButton</b>(<i></i>) |
130 <b>__updateOkButton</b>(<i></i>) |
|
131 |
105 <p> |
132 <p> |
106 Private method to update the status of the Ok button. |
133 Private method to update the status of the Ok button. |
107 </p><a NAME="HgUserConfigHostFingerprintDialog.getData" ID="HgUserConfigHostFingerprintDialog.getData"></a> |
134 </p> |
|
135 <a NAME="HgUserConfigHostFingerprintDialog.getData" ID="HgUserConfigHostFingerprintDialog.getData"></a> |
108 <h4>HgUserConfigHostFingerprintDialog.getData</h4> |
136 <h4>HgUserConfigHostFingerprintDialog.getData</h4> |
109 <b>getData</b>(<i></i>) |
137 <b>getData</b>(<i></i>) |
|
138 |
110 <p> |
139 <p> |
111 Public method to retrieve the data. |
140 Public method to retrieve the data. |
112 </p><dl> |
141 </p> |
|
142 <dl> |
113 <dt>Returns:</dt> |
143 <dt>Returns:</dt> |
114 <dd> |
144 <dd> |
115 tuple containig the host name and the fingerprint |
145 tuple containig the host name and the fingerprint |
116 </dd> |
146 </dd> |
117 </dl><dl> |
147 </dl> |
|
148 <dl> |
118 <dt>Return Type:</dt> |
149 <dt>Return Type:</dt> |
119 <dd> |
150 <dd> |
120 tuple of two str |
151 tuple of two str |
121 </dd> |
152 </dd> |
122 </dl><a NAME="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged"></a> |
153 </dl> |
|
154 <a NAME="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged"></a> |
123 <h4>HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged</h4> |
155 <h4>HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged</h4> |
124 <b>on_fingerprintEdit_textChanged</b>(<i>txt</i>) |
156 <b>on_fingerprintEdit_textChanged</b>(<i>txt</i>) |
|
157 |
125 <p> |
158 <p> |
126 Private slot to handle changes of the fingerprint edit. |
159 Private slot to handle changes of the fingerprint edit. |
127 </p><dl> |
160 </p> |
|
161 <dl> |
|
162 |
128 <dt><i>txt</i> (str)</dt> |
163 <dt><i>txt</i> (str)</dt> |
129 <dd> |
164 <dd> |
130 current text |
165 current text |
131 </dd> |
166 </dd> |
132 </dl><a NAME="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged" ID="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged"></a> |
167 </dl> |
|
168 <a NAME="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged" ID="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged"></a> |
133 <h4>HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged</h4> |
169 <h4>HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged</h4> |
134 <b>on_hashComboBox_currentIndexChanged</b>(<i>txt</i>) |
170 <b>on_hashComboBox_currentIndexChanged</b>(<i>txt</i>) |
|
171 |
135 <p> |
172 <p> |
136 Private slot to handle changes of the hash combo. |
173 Private slot to handle changes of the hash combo. |
137 </p><dl> |
174 </p> |
|
175 <dl> |
|
176 |
138 <dt><i>txt</i> (str)</dt> |
177 <dt><i>txt</i> (str)</dt> |
139 <dd> |
178 <dd> |
140 current text |
179 current text |
141 </dd> |
180 </dd> |
142 </dl><a NAME="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged"></a> |
181 </dl> |
|
182 <a NAME="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged"></a> |
143 <h4>HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged</h4> |
183 <h4>HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged</h4> |
144 <b>on_hostEdit_textChanged</b>(<i>txt</i>) |
184 <b>on_hostEdit_textChanged</b>(<i>txt</i>) |
|
185 |
145 <p> |
186 <p> |
146 Private slot to handle changes of the host edit. |
187 Private slot to handle changes of the host edit. |
147 </p><dl> |
188 </p> |
|
189 <dl> |
|
190 |
148 <dt><i>txt</i> (str)</dt> |
191 <dt><i>txt</i> (str)</dt> |
149 <dd> |
192 <dd> |
150 current text |
193 current text |
151 </dd> |
194 </dd> |
152 </dl> |
195 </dl> |