5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsGit.GitFetchDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsGit.GitFetchDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter data for a Fetch operation. |
11 Module implementing a dialog to enter data for a Fetch operation. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#GitFetchDialog">GitFetchDialog</a></td> |
22 <td><a href="#GitFetchDialog">GitFetchDialog</a></td> |
25 <td>Class implementing a dialog to enter data for a Fetch operation.</td> |
23 <td>Class implementing a dialog to enter data for a Fetch operation.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="GitFetchDialog" ID="GitFetchDialog"></a> |
34 <a NAME="GitFetchDialog" ID="GitFetchDialog"></a> |
36 <h2>GitFetchDialog</h2> |
35 <h2>GitFetchDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to enter data for a Fetch operation. |
37 Class implementing a dialog to enter data for a Fetch operation. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_GitFetchDialog |
41 QDialog, Ui_GitFetchDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </table> |
|
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
|
55 <table> |
53 <table> |
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#GitFetchDialog.__init__">GitFetchDialog</a></td> |
55 <td><a href="#GitFetchDialog.__init__">GitFetchDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
85 <tr> |
82 <tr> |
86 <td><a href="#GitFetchDialog.on_updateButton_clicked">on_updateButton_clicked</a></td> |
83 <td><a href="#GitFetchDialog.on_updateButton_clicked">on_updateButton_clicked</a></td> |
87 <td>Private slot to update the list of remote branches.</td> |
84 <td>Private slot to update the list of remote branches.</td> |
88 </tr> |
85 </tr> |
89 </table> |
86 </table> |
|
87 |
90 <h3>Static Methods</h3> |
88 <h3>Static Methods</h3> |
91 |
|
92 <table> |
89 <table> |
93 <tr><td>None</td></tr> |
90 <tr><td>None</td></tr> |
94 </table> |
91 </table> |
95 |
92 |
|
93 |
96 <a NAME="GitFetchDialog.__init__" ID="GitFetchDialog.__init__"></a> |
94 <a NAME="GitFetchDialog.__init__" ID="GitFetchDialog.__init__"></a> |
97 <h4>GitFetchDialog (Constructor)</h4> |
95 <h4>GitFetchDialog (Constructor)</h4> |
98 <b>GitFetchDialog</b>(<i>vcs, repodir, parent=None</i>) |
96 <b>GitFetchDialog</b>(<i>vcs, repodir, parent=None</i>) |
99 |
|
100 <p> |
97 <p> |
101 Constructor |
98 Constructor |
102 </p> |
99 </p> |
|
100 |
103 <dl> |
101 <dl> |
104 |
102 |
105 <dt><i>vcs</i> (Git)</dt> |
103 <dt><i>vcs</i> (Git)</dt> |
106 <dd> |
104 <dd> |
107 reference to the git object |
105 reference to the git object |
116 </dd> |
114 </dd> |
117 </dl> |
115 </dl> |
118 <a NAME="GitFetchDialog.__okButtonEnable" ID="GitFetchDialog.__okButtonEnable"></a> |
116 <a NAME="GitFetchDialog.__okButtonEnable" ID="GitFetchDialog.__okButtonEnable"></a> |
119 <h4>GitFetchDialog.__okButtonEnable</h4> |
117 <h4>GitFetchDialog.__okButtonEnable</h4> |
120 <b>__okButtonEnable</b>(<i></i>) |
118 <b>__okButtonEnable</b>(<i></i>) |
121 |
|
122 <p> |
119 <p> |
123 Private slot to set the enabled state of the OK button. |
120 Private slot to set the enabled state of the OK button. |
124 </p> |
121 </p> |
|
122 |
125 <a NAME="GitFetchDialog.__updateButtonEnable" ID="GitFetchDialog.__updateButtonEnable"></a> |
123 <a NAME="GitFetchDialog.__updateButtonEnable" ID="GitFetchDialog.__updateButtonEnable"></a> |
126 <h4>GitFetchDialog.__updateButtonEnable</h4> |
124 <h4>GitFetchDialog.__updateButtonEnable</h4> |
127 <b>__updateButtonEnable</b>(<i></i>) |
125 <b>__updateButtonEnable</b>(<i></i>) |
128 |
|
129 <p> |
126 <p> |
130 Private slot to set the enabled state of the update button. |
127 Private slot to set the enabled state of the update button. |
131 </p> |
128 </p> |
|
129 |
132 <a NAME="GitFetchDialog.getData" ID="GitFetchDialog.getData"></a> |
130 <a NAME="GitFetchDialog.getData" ID="GitFetchDialog.getData"></a> |
133 <h4>GitFetchDialog.getData</h4> |
131 <h4>GitFetchDialog.getData</h4> |
134 <b>getData</b>(<i></i>) |
132 <b>getData</b>(<i></i>) |
135 |
|
136 <p> |
133 <p> |
137 Public method to get the entered data. |
134 Public method to get the entered data. |
138 </p> |
135 </p> |
|
136 |
139 <dl> |
137 <dl> |
140 <dt>Return:</dt> |
138 <dt>Return:</dt> |
141 <dd> |
139 <dd> |
142 tuple of remote name, remote url (for custom remotes), |
140 tuple of remote name, remote url (for custom remotes), |
143 remote branches, local branch, a flag indicating to fetch from |
141 remote branches, local branch, a flag indicating to fetch from |
152 </dd> |
150 </dd> |
153 </dl> |
151 </dl> |
154 <a NAME="GitFetchDialog.on_remoteBranchesList_itemSelectionChanged" ID="GitFetchDialog.on_remoteBranchesList_itemSelectionChanged"></a> |
152 <a NAME="GitFetchDialog.on_remoteBranchesList_itemSelectionChanged" ID="GitFetchDialog.on_remoteBranchesList_itemSelectionChanged"></a> |
155 <h4>GitFetchDialog.on_remoteBranchesList_itemSelectionChanged</h4> |
153 <h4>GitFetchDialog.on_remoteBranchesList_itemSelectionChanged</h4> |
156 <b>on_remoteBranchesList_itemSelectionChanged</b>(<i></i>) |
154 <b>on_remoteBranchesList_itemSelectionChanged</b>(<i></i>) |
157 |
|
158 <p> |
155 <p> |
159 Private slot to handle a change of selected remote branches. |
156 Private slot to handle a change of selected remote branches. |
160 </p> |
157 </p> |
|
158 |
161 <a NAME="GitFetchDialog.on_remoteEdit_textChanged" ID="GitFetchDialog.on_remoteEdit_textChanged"></a> |
159 <a NAME="GitFetchDialog.on_remoteEdit_textChanged" ID="GitFetchDialog.on_remoteEdit_textChanged"></a> |
162 <h4>GitFetchDialog.on_remoteEdit_textChanged</h4> |
160 <h4>GitFetchDialog.on_remoteEdit_textChanged</h4> |
163 <b>on_remoteEdit_textChanged</b>(<i>txt</i>) |
161 <b>on_remoteEdit_textChanged</b>(<i>txt</i>) |
164 |
|
165 <p> |
162 <p> |
166 Private slot to handle changes of the URL edit. |
163 Private slot to handle changes of the URL edit. |
167 </p> |
164 </p> |
|
165 |
168 <dl> |
166 <dl> |
169 |
167 |
170 <dt><i>txt</i> (str)</dt> |
168 <dt><i>txt</i> (str)</dt> |
171 <dd> |
169 <dd> |
172 current text of the URL edit |
170 current text of the URL edit |
173 </dd> |
171 </dd> |
174 </dl> |
172 </dl> |
175 <a NAME="GitFetchDialog.on_remotesComboBox_currentTextChanged" ID="GitFetchDialog.on_remotesComboBox_currentTextChanged"></a> |
173 <a NAME="GitFetchDialog.on_remotesComboBox_currentTextChanged" ID="GitFetchDialog.on_remotesComboBox_currentTextChanged"></a> |
176 <h4>GitFetchDialog.on_remotesComboBox_currentTextChanged</h4> |
174 <h4>GitFetchDialog.on_remotesComboBox_currentTextChanged</h4> |
177 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>) |
175 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>) |
178 |
|
179 <p> |
176 <p> |
180 Private slot to handle changes of the selected repository. |
177 Private slot to handle changes of the selected repository. |
181 </p> |
178 </p> |
|
179 |
182 <dl> |
180 <dl> |
183 |
181 |
184 <dt><i>txt</i> (str)</dt> |
182 <dt><i>txt</i> (str)</dt> |
185 <dd> |
183 <dd> |
186 current text of the combo box |
184 current text of the combo box |
187 </dd> |
185 </dd> |
188 </dl> |
186 </dl> |
189 <a NAME="GitFetchDialog.on_updateButton_clicked" ID="GitFetchDialog.on_updateButton_clicked"></a> |
187 <a NAME="GitFetchDialog.on_updateButton_clicked" ID="GitFetchDialog.on_updateButton_clicked"></a> |
190 <h4>GitFetchDialog.on_updateButton_clicked</h4> |
188 <h4>GitFetchDialog.on_updateButton_clicked</h4> |
191 <b>on_updateButton_clicked</b>(<i></i>) |
189 <b>on_updateButton_clicked</b>(<i></i>) |
192 |
|
193 <p> |
190 <p> |
194 Private slot to update the list of remote branches. |
191 Private slot to update the list of remote branches. |
195 </p> |
192 </p> |
|
193 |
196 <div align="right"><a href="#top">Up</a></div> |
194 <div align="right"><a href="#top">Up</a></div> |
197 <hr /> |
195 <hr /> |
198 </body></html> |
196 </body></html> |