eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostMinimumProtocolDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HgUserConfigHostMinimumProtocolDialog</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.HgUserConfigHostMinimumProtocolDialog</h1>
24
25 <p>
26 Module implementing a dialog to enter the minimum protocol for a host.
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="#HgUserConfigHostMinimumProtocolDialog">HgUserConfigHostMinimumProtocolDialog</a></td>
39 <td>Class implementing a dialog to enter the minimum protocol for a host.</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="HgUserConfigHostMinimumProtocolDialog" ID="HgUserConfigHostMinimumProtocolDialog"></a>
50 <h2>HgUserConfigHostMinimumProtocolDialog</h2>
51
52 <p>
53 Class implementing a dialog to enter the minimum protocol for a host.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_HgUserConfigHostMinimumProtocolDialog
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</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="#HgUserConfigHostMinimumProtocolDialog.__init__">HgUserConfigHostMinimumProtocolDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#HgUserConfigHostMinimumProtocolDialog.__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="#HgUserConfigHostMinimumProtocolDialog.getData">getData</a></td>
81 <td>Public method to retrieve the data.</td>
82 </tr>
83 <tr>
84 <td><a href="#HgUserConfigHostMinimumProtocolDialog.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td>
85 <td>Private slot to handle changes of the host edit.</td>
86 </tr>
87 <tr>
88 <td><a href="#HgUserConfigHostMinimumProtocolDialog.on_minimumProtocolComboBox_currentIndexChanged">on_minimumProtocolComboBox_currentIndexChanged</a></td>
89 <td>Private slot to handle the selection of a minimum protocol.</td>
90 </tr>
91 </table>
92 <h3>Static Methods</h3>
93
94 <table>
95 <tr><td>None</td></tr>
96 </table>
97
98 <a NAME="HgUserConfigHostMinimumProtocolDialog.__init__" ID="HgUserConfigHostMinimumProtocolDialog.__init__"></a>
99 <h4>HgUserConfigHostMinimumProtocolDialog (Constructor)</h4>
100 <b>HgUserConfigHostMinimumProtocolDialog</b>(<i>allowedProtocols, parent=None, host="", protocol=""</i>)
101
102 <p>
103 Constructor
104 </p>
105 <dl>
106
107 <dt><i>allowedProtocols</i> (dict)</dt>
108 <dd>
109 dictionary containing the allowed protocols
110 with the value as key and the display string as value
111 </dd>
112 <dt><i>parent</i> (QWidget)</dt>
113 <dd>
114 reference to the parent widget
115 </dd>
116 <dt><i>host</i> (str)</dt>
117 <dd>
118 host name
119 </dd>
120 <dt><i>protocol</i> (str)</dt>
121 <dd>
122 name of the minimum protocol for the host
123 </dd>
124 </dl>
125 <a NAME="HgUserConfigHostMinimumProtocolDialog.__updateOkButton" ID="HgUserConfigHostMinimumProtocolDialog.__updateOkButton"></a>
126 <h4>HgUserConfigHostMinimumProtocolDialog.__updateOkButton</h4>
127 <b>__updateOkButton</b>(<i></i>)
128
129 <p>
130 Private method to update the status of the Ok button.
131 </p>
132 <a NAME="HgUserConfigHostMinimumProtocolDialog.getData" ID="HgUserConfigHostMinimumProtocolDialog.getData"></a>
133 <h4>HgUserConfigHostMinimumProtocolDialog.getData</h4>
134 <b>getData</b>(<i></i>)
135
136 <p>
137 Public method to retrieve the data.
138 </p>
139 <dl>
140 <dt>Return:</dt>
141 <dd>
142 tuple containig the host name and the minimum protocol
143 </dd>
144 </dl>
145 <dl>
146 <dt>Return Type:</dt>
147 <dd>
148 tuple of two str
149 </dd>
150 </dl>
151 <a NAME="HgUserConfigHostMinimumProtocolDialog.on_hostEdit_textChanged" ID="HgUserConfigHostMinimumProtocolDialog.on_hostEdit_textChanged"></a>
152 <h4>HgUserConfigHostMinimumProtocolDialog.on_hostEdit_textChanged</h4>
153 <b>on_hostEdit_textChanged</b>(<i>txt</i>)
154
155 <p>
156 Private slot to handle changes of the host edit.
157 </p>
158 <dl>
159
160 <dt><i>txt</i> (str)</dt>
161 <dd>
162 current text
163 </dd>
164 </dl>
165 <a NAME="HgUserConfigHostMinimumProtocolDialog.on_minimumProtocolComboBox_currentIndexChanged" ID="HgUserConfigHostMinimumProtocolDialog.on_minimumProtocolComboBox_currentIndexChanged"></a>
166 <h4>HgUserConfigHostMinimumProtocolDialog.on_minimumProtocolComboBox_currentIndexChanged</h4>
167 <b>on_minimumProtocolComboBox_currentIndexChanged</b>(<i>index</i>)
168
169 <p>
170 Private slot to handle the selection of a minimum protocol.
171 </p>
172 <dl>
173
174 <dt><i>index</i> (int)</dt>
175 <dd>
176 index of the selected entry
177 </dd>
178 </dl>
179 <div align="right"><a href="#top">Up</a></div>
180 <hr />
181 </body></html>

eric ide

mercurial