eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitFetchDialog.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.vcsGit.GitFetchDialog</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.vcsGit.GitFetchDialog</h1>
24
25 <p>
26 Module implementing a dialog to enter data for a Fetch operation.
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="#GitFetchDialog">GitFetchDialog</a></td>
39 <td>Class implementing a dialog to enter data for a Fetch operation.</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="GitFetchDialog" ID="GitFetchDialog"></a>
50 <h2>GitFetchDialog</h2>
51
52 <p>
53 Class implementing a dialog to enter data for a Fetch operation.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_GitFetchDialog
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="#GitFetchDialog.__init__">GitFetchDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#GitFetchDialog.__okButtonEnable">__okButtonEnable</a></td>
77 <td>Private slot to set the enabled state of the OK button.</td>
78 </tr>
79 <tr>
80 <td><a href="#GitFetchDialog.__updateButtonEnable">__updateButtonEnable</a></td>
81 <td>Private slot to set the enabled state of the update button.</td>
82 </tr>
83 <tr>
84 <td><a href="#GitFetchDialog.getData">getData</a></td>
85 <td>Public method to get the entered data.</td>
86 </tr>
87 <tr>
88 <td><a href="#GitFetchDialog.on_remoteBranchesList_itemSelectionChanged">on_remoteBranchesList_itemSelectionChanged</a></td>
89 <td>Private slot to handle a change of selected remote branches.</td>
90 </tr>
91 <tr>
92 <td><a href="#GitFetchDialog.on_remoteEdit_textChanged">on_remoteEdit_textChanged</a></td>
93 <td>Private slot to handle changes of the URL edit.</td>
94 </tr>
95 <tr>
96 <td><a href="#GitFetchDialog.on_remotesComboBox_currentTextChanged">on_remotesComboBox_currentTextChanged</a></td>
97 <td>Private slot to handle changes of the selected repository.</td>
98 </tr>
99 <tr>
100 <td><a href="#GitFetchDialog.on_updateButton_clicked">on_updateButton_clicked</a></td>
101 <td>Private slot to update the list of remote branches.</td>
102 </tr>
103 </table>
104 <h3>Static Methods</h3>
105
106 <table>
107 <tr><td>None</td></tr>
108 </table>
109
110 <a NAME="GitFetchDialog.__init__" ID="GitFetchDialog.__init__"></a>
111 <h4>GitFetchDialog (Constructor)</h4>
112 <b>GitFetchDialog</b>(<i>vcs, repodir, parent=None</i>)
113
114 <p>
115 Constructor
116 </p>
117 <dl>
118
119 <dt><i>vcs</i></dt>
120 <dd>
121 reference to the git object
122 </dd>
123 <dt><i>repodir</i></dt>
124 <dd>
125 directory name of the local repository (string)
126 </dd>
127 <dt><i>parent</i></dt>
128 <dd>
129 reference to the parent widget (QWidget)
130 </dd>
131 </dl>
132 <a NAME="GitFetchDialog.__okButtonEnable" ID="GitFetchDialog.__okButtonEnable"></a>
133 <h4>GitFetchDialog.__okButtonEnable</h4>
134 <b>__okButtonEnable</b>(<i></i>)
135
136 <p>
137 Private slot to set the enabled state of the OK button.
138 </p>
139 <a NAME="GitFetchDialog.__updateButtonEnable" ID="GitFetchDialog.__updateButtonEnable"></a>
140 <h4>GitFetchDialog.__updateButtonEnable</h4>
141 <b>__updateButtonEnable</b>(<i></i>)
142
143 <p>
144 Private slot to set the enabled state of the update button.
145 </p>
146 <a NAME="GitFetchDialog.getData" ID="GitFetchDialog.getData"></a>
147 <h4>GitFetchDialog.getData</h4>
148 <b>getData</b>(<i></i>)
149
150 <p>
151 Public method to get the entered data.
152 </p>
153 <dl>
154 <dt>Return:</dt>
155 <dd>
156 tuple of remote name, remote url (for custom remotes),
157 remote branches, local branch, a flag indicating to fetch from
158 all repositories, a flag indicating to remove obsolete tracking
159 references and a flag indicating to fetch tags as well
160 (string, string, list of strings, string, boolean, boolean,
161 boolean)
162 </dd>
163 </dl>
164 <a NAME="GitFetchDialog.on_remoteBranchesList_itemSelectionChanged" ID="GitFetchDialog.on_remoteBranchesList_itemSelectionChanged"></a>
165 <h4>GitFetchDialog.on_remoteBranchesList_itemSelectionChanged</h4>
166 <b>on_remoteBranchesList_itemSelectionChanged</b>(<i></i>)
167
168 <p>
169 Private slot to handle a change of selected remote branches.
170 </p>
171 <a NAME="GitFetchDialog.on_remoteEdit_textChanged" ID="GitFetchDialog.on_remoteEdit_textChanged"></a>
172 <h4>GitFetchDialog.on_remoteEdit_textChanged</h4>
173 <b>on_remoteEdit_textChanged</b>(<i>txt</i>)
174
175 <p>
176 Private slot to handle changes of the URL edit.
177 </p>
178 <dl>
179
180 <dt><i>txt</i></dt>
181 <dd>
182 current text of the URL edit (string)
183 </dd>
184 </dl>
185 <a NAME="GitFetchDialog.on_remotesComboBox_currentTextChanged" ID="GitFetchDialog.on_remotesComboBox_currentTextChanged"></a>
186 <h4>GitFetchDialog.on_remotesComboBox_currentTextChanged</h4>
187 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>)
188
189 <p>
190 Private slot to handle changes of the selected repository.
191 </p>
192 <dl>
193
194 <dt><i>txt</i></dt>
195 <dd>
196 current text of the combo box (string)
197 </dd>
198 </dl>
199 <a NAME="GitFetchDialog.on_updateButton_clicked" ID="GitFetchDialog.on_updateButton_clicked"></a>
200 <h4>GitFetchDialog.on_updateButton_clicked</h4>
201 <b>on_updateButton_clicked</b>(<i></i>)
202
203 <p>
204 Private slot to update the list of remote branches.
205 </p>
206 <div align="right"><a href="#top">Up</a></div>
207 <hr />
208 </body></html>

eric ide

mercurial