Documentation/Source/eric6.Plugins.VcsPlugins.vcsGit.GitFetchDialog.html

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

eric ide

mercurial