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><a NAME="top" ID="top"></a> |
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigDataDialog</h1> |
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgUserConfigDialog</h1> |
23 <p> |
23 <p> |
24 Module implementing a dialog to enter some user data. |
24 Module implementing a dialog to enter some user data. |
25 </p> |
25 </p> |
26 <h3>Global Attributes</h3> |
26 <h3>Global Attributes</h3> |
27 <table> |
27 <table> |
28 <tr><td>None</td></tr> |
28 <tr><td>None</td></tr> |
29 </table> |
29 </table> |
30 <h3>Classes</h3> |
30 <h3>Classes</h3> |
31 <table> |
31 <table> |
32 <tr> |
32 <tr> |
33 <td><a href="#HgUserConfigDataDialog">HgUserConfigDataDialog</a></td> |
33 <td><a href="#HgUserConfigDialog">HgUserConfigDialog</a></td> |
34 <td>Class implementing a dialog to enter some user data.</td> |
34 <td>Class implementing a dialog to enter some user data.</td> |
35 </tr> |
35 </tr> |
36 </table> |
36 </table> |
37 <h3>Functions</h3> |
37 <h3>Functions</h3> |
38 <table> |
38 <table> |
39 <tr><td>None</td></tr> |
39 <tr><td>None</td></tr> |
40 </table> |
40 </table> |
41 <hr /><hr /> |
41 <hr /><hr /> |
42 <a NAME="HgUserConfigDataDialog" ID="HgUserConfigDataDialog"></a> |
42 <a NAME="HgUserConfigDialog" ID="HgUserConfigDialog"></a> |
43 <h2>HgUserConfigDataDialog</h2> |
43 <h2>HgUserConfigDialog</h2> |
44 <p> |
44 <p> |
45 Class implementing a dialog to enter some user data. |
45 Class implementing a dialog to enter some user data. |
46 </p> |
46 </p> |
47 <h3>Derived from</h3> |
47 <h3>Derived from</h3> |
48 QDialog, Ui_HgUserConfigDataDialog |
48 QDialog, Ui_HgUserConfigDialog |
49 <h3>Class Attributes</h3> |
49 <h3>Class Attributes</h3> |
50 <table> |
50 <table> |
51 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
52 </table> |
52 </table> |
53 <h3>Class Methods</h3> |
53 <h3>Class Methods</h3> |
55 <tr><td>None</td></tr> |
55 <tr><td>None</td></tr> |
56 </table> |
56 </table> |
57 <h3>Methods</h3> |
57 <h3>Methods</h3> |
58 <table> |
58 <table> |
59 <tr> |
59 <tr> |
60 <td><a href="#HgUserConfigDataDialog.__init__">HgUserConfigDataDialog</a></td> |
60 <td><a href="#HgUserConfigDialog.__init__">HgUserConfigDialog</a></td> |
61 <td>Constructor</td> |
61 <td>Constructor</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#HgUserConfigDataDialog.getData">getData</a></td> |
63 <td><a href="#HgUserConfigDialog.__clearDialog">__clearDialog</a></td> |
64 <td>Public method to retrieve the entered data.</td> |
64 <td>Private method to clear the data of the dialog.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgUserConfigDialog.__finalizeFingerprintsColumns">__finalizeFingerprintsColumns</a></td> |
|
67 <td>Private method to resize and sort the host fingerprints columns.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgUserConfigDialog.__updateFingerprintsButtons">__updateFingerprintsButtons</a></td> |
|
70 <td>Private slot to update the host fingerprints edit buttons.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HgUserConfigDialog.accept">accept</a></td> |
|
73 <td>Public slot to accept the dialog.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#HgUserConfigDialog.eventFilter">eventFilter</a></td> |
|
76 <td>Public method called to filter the event queue.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#HgUserConfigDialog.on_editorButton_clicked">on_editorButton_clicked</a></td> |
|
79 <td>Private slot to open the user configuration file in a text editor.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#HgUserConfigDialog.on_fingerprintsList_currentItemChanged">on_fingerprintsList_currentItemChanged</a></td> |
|
82 <td>Private slot handling a change of the current fingerprints item.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#HgUserConfigDialog.on_fpAddButton_clicked">on_fpAddButton_clicked</a></td> |
|
85 <td>Private slot to add a fingerprints entry.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#HgUserConfigDialog.on_fpDeleteButton_clicked">on_fpDeleteButton_clicked</a></td> |
|
88 <td>Private slot to delete the current fingerprints item.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#HgUserConfigDialog.on_fpEditButton_clicked">on_fpEditButton_clicked</a></td> |
|
91 <td>Private slot to edit the current fingerprints item.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#HgUserConfigDialog.readUserConfig">readUserConfig</a></td> |
|
94 <td>Public method to read the user configuration file.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#HgUserConfigDialog.writeUserConfig">writeUserConfig</a></td> |
|
97 <td>Public method to write the user configuration file.</td> |
65 </tr> |
98 </tr> |
66 </table> |
99 </table> |
67 <h3>Static Methods</h3> |
100 <h3>Static Methods</h3> |
68 <table> |
101 <table> |
69 <tr><td>None</td></tr> |
102 <tr><td>None</td></tr> |
70 </table> |
103 </table> |
71 <a NAME="HgUserConfigDataDialog.__init__" ID="HgUserConfigDataDialog.__init__"></a> |
104 <a NAME="HgUserConfigDialog.__init__" ID="HgUserConfigDialog.__init__"></a> |
72 <h4>HgUserConfigDataDialog (Constructor)</h4> |
105 <h4>HgUserConfigDialog (Constructor)</h4> |
73 <b>HgUserConfigDataDialog</b>(<i>version=(0, 0), parent=None</i>) |
106 <b>HgUserConfigDialog</b>(<i>version=(0, 0), parent=None</i>) |
74 <p> |
107 <p> |
75 Constructor |
108 Constructor |
76 </p><dl> |
109 </p><dl> |
77 <dt><i>version</i></dt> |
110 <dt><i>version</i></dt> |
78 <dd> |
111 <dd> |
79 Mercurial version info (tuple of two integers) |
112 Mercurial version info (tuple of two integers) |
80 </dd><dt><i>parent</i></dt> |
113 </dd><dt><i>parent</i></dt> |
81 <dd> |
114 <dd> |
82 reference to the parent widget (QWidget) |
115 reference to the parent widget (QWidget) |
83 </dd> |
116 </dd> |
84 </dl><a NAME="HgUserConfigDataDialog.getData" ID="HgUserConfigDataDialog.getData"></a> |
117 </dl><a NAME="HgUserConfigDialog.__clearDialog" ID="HgUserConfigDialog.__clearDialog"></a> |
85 <h4>HgUserConfigDataDialog.getData</h4> |
118 <h4>HgUserConfigDialog.__clearDialog</h4> |
86 <b>getData</b>(<i></i>) |
119 <b>__clearDialog</b>(<i></i>) |
87 <p> |
120 <p> |
88 Public method to retrieve the entered data. |
121 Private method to clear the data of the dialog. |
|
122 </p><a NAME="HgUserConfigDialog.__finalizeFingerprintsColumns" ID="HgUserConfigDialog.__finalizeFingerprintsColumns"></a> |
|
123 <h4>HgUserConfigDialog.__finalizeFingerprintsColumns</h4> |
|
124 <b>__finalizeFingerprintsColumns</b>(<i></i>) |
|
125 <p> |
|
126 Private method to resize and sort the host fingerprints columns. |
|
127 </p><a NAME="HgUserConfigDialog.__updateFingerprintsButtons" ID="HgUserConfigDialog.__updateFingerprintsButtons"></a> |
|
128 <h4>HgUserConfigDialog.__updateFingerprintsButtons</h4> |
|
129 <b>__updateFingerprintsButtons</b>(<i></i>) |
|
130 <p> |
|
131 Private slot to update the host fingerprints edit buttons. |
|
132 </p><a NAME="HgUserConfigDialog.accept" ID="HgUserConfigDialog.accept"></a> |
|
133 <h4>HgUserConfigDialog.accept</h4> |
|
134 <b>accept</b>(<i></i>) |
|
135 <p> |
|
136 Public slot to accept the dialog. |
|
137 </p><a NAME="HgUserConfigDialog.eventFilter" ID="HgUserConfigDialog.eventFilter"></a> |
|
138 <h4>HgUserConfigDialog.eventFilter</h4> |
|
139 <b>eventFilter</b>(<i>watched, event</i>) |
|
140 <p> |
|
141 Public method called to filter the event queue. |
89 </p><dl> |
142 </p><dl> |
|
143 <dt><i>watched</i> (QObject)</dt> |
|
144 <dd> |
|
145 reference to the object being watched |
|
146 </dd><dt><i>event</i> (QEvent)</dt> |
|
147 <dd> |
|
148 event to be handled |
|
149 </dd> |
|
150 </dl><dl> |
90 <dt>Returns:</dt> |
151 <dt>Returns:</dt> |
91 <dd> |
152 <dd> |
92 tuple with user's first name, last name, email address, |
153 flag indicating, if we handled the event |
93 list of activated extensions and dictionary with extension data |
154 </dd> |
94 (tuple of three strings, a list of strings and a dictionary with |
155 </dl><dl> |
95 extension name as key) |
156 <dt>Return Type:</dt> |
96 </dd> |
157 <dd> |
97 </dl> |
158 bool |
|
159 </dd> |
|
160 </dl><a NAME="HgUserConfigDialog.on_editorButton_clicked" ID="HgUserConfigDialog.on_editorButton_clicked"></a> |
|
161 <h4>HgUserConfigDialog.on_editorButton_clicked</h4> |
|
162 <b>on_editorButton_clicked</b>(<i></i>) |
|
163 <p> |
|
164 Private slot to open the user configuration file in a text editor. |
|
165 </p><a NAME="HgUserConfigDialog.on_fingerprintsList_currentItemChanged" ID="HgUserConfigDialog.on_fingerprintsList_currentItemChanged"></a> |
|
166 <h4>HgUserConfigDialog.on_fingerprintsList_currentItemChanged</h4> |
|
167 <b>on_fingerprintsList_currentItemChanged</b>(<i>current, previous</i>) |
|
168 <p> |
|
169 Private slot handling a change of the current fingerprints item. |
|
170 </p><dl> |
|
171 <dt><i>current</i> (QTreeWidgetItem)</dt> |
|
172 <dd> |
|
173 reference to the current item |
|
174 </dd><dt><i>previous</i> (QTreeWidgetItem)</dt> |
|
175 <dd> |
|
176 reference to the previous current item |
|
177 </dd> |
|
178 </dl><a NAME="HgUserConfigDialog.on_fpAddButton_clicked" ID="HgUserConfigDialog.on_fpAddButton_clicked"></a> |
|
179 <h4>HgUserConfigDialog.on_fpAddButton_clicked</h4> |
|
180 <b>on_fpAddButton_clicked</b>(<i></i>) |
|
181 <p> |
|
182 Private slot to add a fingerprints entry. |
|
183 </p><a NAME="HgUserConfigDialog.on_fpDeleteButton_clicked" ID="HgUserConfigDialog.on_fpDeleteButton_clicked"></a> |
|
184 <h4>HgUserConfigDialog.on_fpDeleteButton_clicked</h4> |
|
185 <b>on_fpDeleteButton_clicked</b>(<i></i>) |
|
186 <p> |
|
187 Private slot to delete the current fingerprints item. |
|
188 </p><a NAME="HgUserConfigDialog.on_fpEditButton_clicked" ID="HgUserConfigDialog.on_fpEditButton_clicked"></a> |
|
189 <h4>HgUserConfigDialog.on_fpEditButton_clicked</h4> |
|
190 <b>on_fpEditButton_clicked</b>(<i></i>) |
|
191 <p> |
|
192 Private slot to edit the current fingerprints item. |
|
193 </p><a NAME="HgUserConfigDialog.readUserConfig" ID="HgUserConfigDialog.readUserConfig"></a> |
|
194 <h4>HgUserConfigDialog.readUserConfig</h4> |
|
195 <b>readUserConfig</b>(<i></i>) |
|
196 <p> |
|
197 Public method to read the user configuration file. |
|
198 </p><a NAME="HgUserConfigDialog.writeUserConfig" ID="HgUserConfigDialog.writeUserConfig"></a> |
|
199 <h4>HgUserConfigDialog.writeUserConfig</h4> |
|
200 <b>writeUserConfig</b>(<i></i>) |
|
201 <p> |
|
202 Public method to write the user configuration file. |
|
203 </p> |
98 <div align="right"><a href="#top">Up</a></div> |
204 <div align="right"><a href="#top">Up</a></div> |
99 <hr /> |
205 <hr /> |
100 </body></html> |
206 </body></html> |