|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog</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.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to edit a host fingerprint. |
|
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="#HgUserConfigHostFingerprintDialog">HgUserConfigHostFingerprintDialog</a></td> |
|
39 <td>Class implementing a dialog to edit a host fingerprint.</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="HgUserConfigHostFingerprintDialog" ID="HgUserConfigHostFingerprintDialog"></a> |
|
50 <h2>HgUserConfigHostFingerprintDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to edit a host fingerprint. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_HgUserConfigHostFingerprintDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>fingerprintLength</td></tr><tr><td>supportedHashes</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="#HgUserConfigHostFingerprintDialog.__init__">HgUserConfigHostFingerprintDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#HgUserConfigHostFingerprintDialog.__updateOkButton">__updateOkButton</a></td> |
|
77 <td>Private method to update the status of the Ok button.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#HgUserConfigHostFingerprintDialog.getData">getData</a></td> |
|
81 <td>Public method to retrieve the data.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged">on_fingerprintEdit_textChanged</a></td> |
|
85 <td>Private slot to handle changes of the fingerprint edit.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged">on_hashComboBox_currentIndexChanged</a></td> |
|
89 <td>Private slot to handle changes of the hash combo.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td> |
|
93 <td>Private slot to handle changes of the host edit.</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="HgUserConfigHostFingerprintDialog.__init__" ID="HgUserConfigHostFingerprintDialog.__init__"></a> |
|
103 <h4>HgUserConfigHostFingerprintDialog (Constructor)</h4> |
|
104 <b>HgUserConfigHostFingerprintDialog</b>(<i>parent=None, host="", fingerprint="", version=(0, 0, 0)</i>) |
|
105 |
|
106 <p> |
|
107 Constructor |
|
108 </p> |
|
109 <dl> |
|
110 |
|
111 <dt><i>parent</i> (QWidget)</dt> |
|
112 <dd> |
|
113 reference to the parent widget |
|
114 </dd> |
|
115 <dt><i>host</i> (str)</dt> |
|
116 <dd> |
|
117 host name |
|
118 </dd> |
|
119 <dt><i>fingerprint</i> (str)</dt> |
|
120 <dd> |
|
121 fingerprint for the host |
|
122 </dd> |
|
123 <dt><i>version</i> (tuple of three integers)</dt> |
|
124 <dd> |
|
125 Mercurial version info |
|
126 </dd> |
|
127 </dl> |
|
128 <a NAME="HgUserConfigHostFingerprintDialog.__updateOkButton" ID="HgUserConfigHostFingerprintDialog.__updateOkButton"></a> |
|
129 <h4>HgUserConfigHostFingerprintDialog.__updateOkButton</h4> |
|
130 <b>__updateOkButton</b>(<i></i>) |
|
131 |
|
132 <p> |
|
133 Private method to update the status of the Ok button. |
|
134 </p> |
|
135 <a NAME="HgUserConfigHostFingerprintDialog.getData" ID="HgUserConfigHostFingerprintDialog.getData"></a> |
|
136 <h4>HgUserConfigHostFingerprintDialog.getData</h4> |
|
137 <b>getData</b>(<i></i>) |
|
138 |
|
139 <p> |
|
140 Public method to retrieve the data. |
|
141 </p> |
|
142 <dl> |
|
143 <dt>Return:</dt> |
|
144 <dd> |
|
145 tuple containig the host name and the fingerprint |
|
146 </dd> |
|
147 </dl> |
|
148 <dl> |
|
149 <dt>Return Type:</dt> |
|
150 <dd> |
|
151 tuple of two str |
|
152 </dd> |
|
153 </dl> |
|
154 <a NAME="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged"></a> |
|
155 <h4>HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged</h4> |
|
156 <b>on_fingerprintEdit_textChanged</b>(<i>txt</i>) |
|
157 |
|
158 <p> |
|
159 Private slot to handle changes of the fingerprint edit. |
|
160 </p> |
|
161 <dl> |
|
162 |
|
163 <dt><i>txt</i> (str)</dt> |
|
164 <dd> |
|
165 current text |
|
166 </dd> |
|
167 </dl> |
|
168 <a NAME="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged" ID="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged"></a> |
|
169 <h4>HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged</h4> |
|
170 <b>on_hashComboBox_currentIndexChanged</b>(<i>index</i>) |
|
171 |
|
172 <p> |
|
173 Private slot to handle changes of the hash combo. |
|
174 </p> |
|
175 <dl> |
|
176 |
|
177 <dt><i>index</i> (int)</dt> |
|
178 <dd> |
|
179 current index |
|
180 </dd> |
|
181 </dl> |
|
182 <a NAME="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged"></a> |
|
183 <h4>HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged</h4> |
|
184 <b>on_hostEdit_textChanged</b>(<i>txt</i>) |
|
185 |
|
186 <p> |
|
187 Private slot to handle changes of the host edit. |
|
188 </p> |
|
189 <dl> |
|
190 |
|
191 <dt><i>txt</i> (str)</dt> |
|
192 <dd> |
|
193 current text |
|
194 </dd> |
|
195 </dl> |
|
196 <div align="right"><a href="#top">Up</a></div> |
|
197 <hr /> |
|
198 </body></html> |