16 |
16 |
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> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitPullDialog</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitPullDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to enter data for a Pull operation. |
26 Module implementing a dialog to enter data for a Pull operation. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#GitPullDialog">GitPullDialog</a></td> |
38 <td><a href="#GitPullDialog">GitPullDialog</a></td> |
34 <td>Class implementing a dialog to enter data for a Pull operation.</td> |
39 <td>Class implementing a dialog to enter data for a Pull operation.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="GitPullDialog" ID="GitPullDialog"></a> |
49 <a NAME="GitPullDialog" ID="GitPullDialog"></a> |
43 <h2>GitPullDialog</h2> |
50 <h2>GitPullDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to enter data for a Pull operation. |
53 Class implementing a dialog to enter data for a Pull operation. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_GitPullDialog |
56 QDialog, Ui_GitPullDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
|
68 |
58 <table> |
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#GitPullDialog.__init__">GitPullDialog</a></td> |
72 <td><a href="#GitPullDialog.__init__">GitPullDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#GitPullDialog.__okButtonEnable">__okButtonEnable</a></td> |
76 <td><a href="#GitPullDialog.__okButtonEnable">__okButtonEnable</a></td> |
64 <td>Private slot to set the enabled state of the OK button.</td> |
77 <td>Private slot to set the enabled state of the OK button.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#GitPullDialog.__updateButtonEnable">__updateButtonEnable</a></td> |
80 <td><a href="#GitPullDialog.__updateButtonEnable">__updateButtonEnable</a></td> |
67 <td>Private slot to set the enabled state of the update button.</td> |
81 <td>Private slot to set the enabled state of the update button.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#GitPullDialog.getData">getData</a></td> |
84 <td><a href="#GitPullDialog.getData">getData</a></td> |
70 <td>Public method to get the entered data.</td> |
85 <td>Public method to get the entered data.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#GitPullDialog.on_remoteEdit_textChanged">on_remoteEdit_textChanged</a></td> |
88 <td><a href="#GitPullDialog.on_remoteEdit_textChanged">on_remoteEdit_textChanged</a></td> |
73 <td>Private slot to handle changes of the URL edit.</td> |
89 <td>Private slot to handle changes of the URL edit.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#GitPullDialog.on_remotesComboBox_currentTextChanged">on_remotesComboBox_currentTextChanged</a></td> |
92 <td><a href="#GitPullDialog.on_remotesComboBox_currentTextChanged">on_remotesComboBox_currentTextChanged</a></td> |
76 <td>Private slot to handle changes of the selected repository.</td> |
93 <td>Private slot to handle changes of the selected repository.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#GitPullDialog.on_updateButton_clicked">on_updateButton_clicked</a></td> |
96 <td><a href="#GitPullDialog.on_updateButton_clicked">on_updateButton_clicked</a></td> |
79 <td>Private slot to update the list of remote branches.</td> |
97 <td>Private slot to update the list of remote branches.</td> |
80 </tr> |
98 </tr> |
81 </table> |
99 </table> |
82 <h3>Static Methods</h3> |
100 <h3>Static Methods</h3> |
|
101 |
83 <table> |
102 <table> |
84 <tr><td>None</td></tr> |
103 <tr><td>None</td></tr> |
85 </table> |
104 </table> |
|
105 |
86 <a NAME="GitPullDialog.__init__" ID="GitPullDialog.__init__"></a> |
106 <a NAME="GitPullDialog.__init__" ID="GitPullDialog.__init__"></a> |
87 <h4>GitPullDialog (Constructor)</h4> |
107 <h4>GitPullDialog (Constructor)</h4> |
88 <b>GitPullDialog</b>(<i>vcs, repodir, parent=None</i>) |
108 <b>GitPullDialog</b>(<i>vcs, repodir, parent=None</i>) |
|
109 |
89 <p> |
110 <p> |
90 Constructor |
111 Constructor |
91 </p><dl> |
112 </p> |
|
113 <dl> |
|
114 |
92 <dt><i>vcs</i></dt> |
115 <dt><i>vcs</i></dt> |
93 <dd> |
116 <dd> |
94 reference to the git object |
117 reference to the git object |
95 </dd><dt><i>repodir</i></dt> |
118 </dd> |
|
119 <dt><i>repodir</i></dt> |
96 <dd> |
120 <dd> |
97 directory name of the local repository (string) |
121 directory name of the local repository (string) |
98 </dd><dt><i>parent</i></dt> |
122 </dd> |
|
123 <dt><i>parent</i></dt> |
99 <dd> |
124 <dd> |
100 reference to the parent widget (QWidget) |
125 reference to the parent widget (QWidget) |
101 </dd> |
126 </dd> |
102 </dl><a NAME="GitPullDialog.__okButtonEnable" ID="GitPullDialog.__okButtonEnable"></a> |
127 </dl> |
|
128 <a NAME="GitPullDialog.__okButtonEnable" ID="GitPullDialog.__okButtonEnable"></a> |
103 <h4>GitPullDialog.__okButtonEnable</h4> |
129 <h4>GitPullDialog.__okButtonEnable</h4> |
104 <b>__okButtonEnable</b>(<i></i>) |
130 <b>__okButtonEnable</b>(<i></i>) |
|
131 |
105 <p> |
132 <p> |
106 Private slot to set the enabled state of the OK button. |
133 Private slot to set the enabled state of the OK button. |
107 </p><a NAME="GitPullDialog.__updateButtonEnable" ID="GitPullDialog.__updateButtonEnable"></a> |
134 </p> |
|
135 <a NAME="GitPullDialog.__updateButtonEnable" ID="GitPullDialog.__updateButtonEnable"></a> |
108 <h4>GitPullDialog.__updateButtonEnable</h4> |
136 <h4>GitPullDialog.__updateButtonEnable</h4> |
109 <b>__updateButtonEnable</b>(<i></i>) |
137 <b>__updateButtonEnable</b>(<i></i>) |
|
138 |
110 <p> |
139 <p> |
111 Private slot to set the enabled state of the update button. |
140 Private slot to set the enabled state of the update button. |
112 </p><a NAME="GitPullDialog.getData" ID="GitPullDialog.getData"></a> |
141 </p> |
|
142 <a NAME="GitPullDialog.getData" ID="GitPullDialog.getData"></a> |
113 <h4>GitPullDialog.getData</h4> |
143 <h4>GitPullDialog.getData</h4> |
114 <b>getData</b>(<i></i>) |
144 <b>getData</b>(<i></i>) |
|
145 |
115 <p> |
146 <p> |
116 Public method to get the entered data. |
147 Public method to get the entered data. |
117 </p><dl> |
148 </p> |
|
149 <dl> |
118 <dt>Returns:</dt> |
150 <dt>Returns:</dt> |
119 <dd> |
151 <dd> |
120 tuple of remote name, remote url (for custom remotes), |
152 tuple of remote name, remote url (for custom remotes), |
121 remote branches, a flag indicating to pull from all repositories |
153 remote branches, a flag indicating to pull from all repositories |
122 and a flag indicating to remove obsolete tracking references |
154 and a flag indicating to remove obsolete tracking references |
123 (string, string, list of strings, boolean, boolean) |
155 (string, string, list of strings, boolean, boolean) |
124 </dd> |
156 </dd> |
125 </dl><a NAME="GitPullDialog.on_remoteEdit_textChanged" ID="GitPullDialog.on_remoteEdit_textChanged"></a> |
157 </dl> |
|
158 <a NAME="GitPullDialog.on_remoteEdit_textChanged" ID="GitPullDialog.on_remoteEdit_textChanged"></a> |
126 <h4>GitPullDialog.on_remoteEdit_textChanged</h4> |
159 <h4>GitPullDialog.on_remoteEdit_textChanged</h4> |
127 <b>on_remoteEdit_textChanged</b>(<i>txt</i>) |
160 <b>on_remoteEdit_textChanged</b>(<i>txt</i>) |
|
161 |
128 <p> |
162 <p> |
129 Private slot to handle changes of the URL edit. |
163 Private slot to handle changes of the URL edit. |
130 </p><dl> |
164 </p> |
|
165 <dl> |
|
166 |
131 <dt><i>txt</i></dt> |
167 <dt><i>txt</i></dt> |
132 <dd> |
168 <dd> |
133 current text of the URL edit (string) |
169 current text of the URL edit (string) |
134 </dd> |
170 </dd> |
135 </dl><a NAME="GitPullDialog.on_remotesComboBox_currentTextChanged" ID="GitPullDialog.on_remotesComboBox_currentTextChanged"></a> |
171 </dl> |
|
172 <a NAME="GitPullDialog.on_remotesComboBox_currentTextChanged" ID="GitPullDialog.on_remotesComboBox_currentTextChanged"></a> |
136 <h4>GitPullDialog.on_remotesComboBox_currentTextChanged</h4> |
173 <h4>GitPullDialog.on_remotesComboBox_currentTextChanged</h4> |
137 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>) |
174 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>) |
|
175 |
138 <p> |
176 <p> |
139 Private slot to handle changes of the selected repository. |
177 Private slot to handle changes of the selected repository. |
140 </p><dl> |
178 </p> |
|
179 <dl> |
|
180 |
141 <dt><i>txt</i></dt> |
181 <dt><i>txt</i></dt> |
142 <dd> |
182 <dd> |
143 current text of the combo box (string) |
183 current text of the combo box (string) |
144 </dd> |
184 </dd> |
145 </dl><a NAME="GitPullDialog.on_updateButton_clicked" ID="GitPullDialog.on_updateButton_clicked"></a> |
185 </dl> |
|
186 <a NAME="GitPullDialog.on_updateButton_clicked" ID="GitPullDialog.on_updateButton_clicked"></a> |
146 <h4>GitPullDialog.on_updateButton_clicked</h4> |
187 <h4>GitPullDialog.on_updateButton_clicked</h4> |
147 <b>on_updateButton_clicked</b>(<i></i>) |
188 <b>on_updateButton_clicked</b>(<i></i>) |
|
189 |
148 <p> |
190 <p> |
149 Private slot to update the list of remote branches. |
191 Private slot to update the list of remote branches. |
150 </p> |
192 </p> |
151 <div align="right"><a href="#top">Up</a></div> |
193 <div align="right"><a href="#top">Up</a></div> |
152 <hr /> |
194 <hr /> |