|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostFingerprintDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to edit a host fingerprint. |
|
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="#HgUserConfigHostFingerprintDialog">HgUserConfigHostFingerprintDialog</a></td> |
|
34 <td>Class implementing a dialog to edit a host fingerprint.</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="HgUserConfigHostFingerprintDialog" ID="HgUserConfigHostFingerprintDialog"></a> |
|
43 <h2>HgUserConfigHostFingerprintDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to edit a host fingerprint. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_HgUserConfigHostFingerprintDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>fingerprintLength</td></tr><tr><td>supportedHashes</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="#HgUserConfigHostFingerprintDialog.__init__">HgUserConfigHostFingerprintDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgUserConfigHostFingerprintDialog.__updateOkButton">__updateOkButton</a></td> |
|
64 <td>Private method to update the status of the Ok button.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgUserConfigHostFingerprintDialog.getData">getData</a></td> |
|
67 <td>Public method to retrieve the data.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged">on_fingerprintEdit_textChanged</a></td> |
|
70 <td>Private slot to handle changes of the fingerprint edit.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged">on_hashComboBox_currentIndexChanged</a></td> |
|
73 <td>Private slot to handle changes of the hash combo.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td> |
|
76 <td>Private slot to handle changes of the host edit.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <h3>Static Methods</h3> |
|
80 <table> |
|
81 <tr><td>None</td></tr> |
|
82 </table> |
|
83 <a NAME="HgUserConfigHostFingerprintDialog.__init__" ID="HgUserConfigHostFingerprintDialog.__init__"></a> |
|
84 <h4>HgUserConfigHostFingerprintDialog (Constructor)</h4> |
|
85 <b>HgUserConfigHostFingerprintDialog</b>(<i>parent=None, host="", fingerprint="", version=(0, 0, 0)</i>) |
|
86 <p> |
|
87 Constructor |
|
88 </p><dl> |
|
89 <dt><i>parent</i> (QWidget)</dt> |
|
90 <dd> |
|
91 reference to the parent widget |
|
92 </dd><dt><i>host</i> (str)</dt> |
|
93 <dd> |
|
94 host name |
|
95 </dd><dt><i>fingerprint</i> (str)</dt> |
|
96 <dd> |
|
97 fingerprint for the host |
|
98 </dd><dt><i>version</i> (tuple of three integers)</dt> |
|
99 <dd> |
|
100 Mercurial version info |
|
101 </dd> |
|
102 </dl><a NAME="HgUserConfigHostFingerprintDialog.__updateOkButton" ID="HgUserConfigHostFingerprintDialog.__updateOkButton"></a> |
|
103 <h4>HgUserConfigHostFingerprintDialog.__updateOkButton</h4> |
|
104 <b>__updateOkButton</b>(<i></i>) |
|
105 <p> |
|
106 Private method to update the status of the Ok button. |
|
107 </p><a NAME="HgUserConfigHostFingerprintDialog.getData" ID="HgUserConfigHostFingerprintDialog.getData"></a> |
|
108 <h4>HgUserConfigHostFingerprintDialog.getData</h4> |
|
109 <b>getData</b>(<i></i>) |
|
110 <p> |
|
111 Public method to retrieve the data. |
|
112 </p><dl> |
|
113 <dt>Returns:</dt> |
|
114 <dd> |
|
115 tuple containig the host name and the fingerprint |
|
116 </dd> |
|
117 </dl><dl> |
|
118 <dt>Return Type:</dt> |
|
119 <dd> |
|
120 tuple of two str |
|
121 </dd> |
|
122 </dl><a NAME="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged"></a> |
|
123 <h4>HgUserConfigHostFingerprintDialog.on_fingerprintEdit_textChanged</h4> |
|
124 <b>on_fingerprintEdit_textChanged</b>(<i>txt</i>) |
|
125 <p> |
|
126 Private slot to handle changes of the fingerprint edit. |
|
127 </p><dl> |
|
128 <dt><i>txt</i> (str)</dt> |
|
129 <dd> |
|
130 current text |
|
131 </dd> |
|
132 </dl><a NAME="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged" ID="HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged"></a> |
|
133 <h4>HgUserConfigHostFingerprintDialog.on_hashComboBox_currentIndexChanged</h4> |
|
134 <b>on_hashComboBox_currentIndexChanged</b>(<i>txt</i>) |
|
135 <p> |
|
136 Private slot to handle changes of the hash combo. |
|
137 </p><dl> |
|
138 <dt><i>txt</i> (str)</dt> |
|
139 <dd> |
|
140 current text |
|
141 </dd> |
|
142 </dl><a NAME="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged" ID="HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged"></a> |
|
143 <h4>HgUserConfigHostFingerprintDialog.on_hostEdit_textChanged</h4> |
|
144 <b>on_hostEdit_textChanged</b>(<i>txt</i>) |
|
145 <p> |
|
146 Private slot to handle changes of the host edit. |
|
147 </p><dl> |
|
148 <dt><i>txt</i> (str)</dt> |
|
149 <dd> |
|
150 current text |
|
151 </dd> |
|
152 </dl> |
|
153 <div align="right"><a href="#top">Up</a></div> |
|
154 <hr /> |
|
155 </body></html> |