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

changeset 6020
baf6da1ae288
equal deleted inserted replaced
6019:58ecdaf0b789 6020:baf6da1ae288
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Plugins.VcsPlugins.vcsGit.GitPullDialog</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.GitPullDialog</h1>
23 <p>
24 Module implementing a dialog to enter data for a Pull 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="#GitPullDialog">GitPullDialog</a></td>
34 <td>Class implementing a dialog to enter data for a Pull 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="GitPullDialog" ID="GitPullDialog"></a>
43 <h2>GitPullDialog</h2>
44 <p>
45 Class implementing a dialog to enter data for a Pull operation.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_GitPullDialog
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="#GitPullDialog.__init__">GitPullDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#GitPullDialog.__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="#GitPullDialog.__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="#GitPullDialog.getData">getData</a></td>
70 <td>Public method to get the entered data.</td>
71 </tr><tr>
72 <td><a href="#GitPullDialog.on_remoteEdit_textChanged">on_remoteEdit_textChanged</a></td>
73 <td>Private slot to handle changes of the URL edit.</td>
74 </tr><tr>
75 <td><a href="#GitPullDialog.on_remotesComboBox_currentTextChanged">on_remotesComboBox_currentTextChanged</a></td>
76 <td>Private slot to handle changes of the selected repository.</td>
77 </tr><tr>
78 <td><a href="#GitPullDialog.on_updateButton_clicked">on_updateButton_clicked</a></td>
79 <td>Private slot to update the list of remote branches.</td>
80 </tr>
81 </table>
82 <h3>Static Methods</h3>
83 <table>
84 <tr><td>None</td></tr>
85 </table>
86 <a NAME="GitPullDialog.__init__" ID="GitPullDialog.__init__"></a>
87 <h4>GitPullDialog (Constructor)</h4>
88 <b>GitPullDialog</b>(<i>vcs, repodir, parent=None</i>)
89 <p>
90 Constructor
91 </p><dl>
92 <dt><i>vcs</i></dt>
93 <dd>
94 reference to the git object
95 </dd><dt><i>repodir</i></dt>
96 <dd>
97 directory name of the local repository (string)
98 </dd><dt><i>parent</i></dt>
99 <dd>
100 reference to the parent widget (QWidget)
101 </dd>
102 </dl><a NAME="GitPullDialog.__okButtonEnable" ID="GitPullDialog.__okButtonEnable"></a>
103 <h4>GitPullDialog.__okButtonEnable</h4>
104 <b>__okButtonEnable</b>(<i></i>)
105 <p>
106 Private slot to set the enabled state of the OK button.
107 </p><a NAME="GitPullDialog.__updateButtonEnable" ID="GitPullDialog.__updateButtonEnable"></a>
108 <h4>GitPullDialog.__updateButtonEnable</h4>
109 <b>__updateButtonEnable</b>(<i></i>)
110 <p>
111 Private slot to set the enabled state of the update button.
112 </p><a NAME="GitPullDialog.getData" ID="GitPullDialog.getData"></a>
113 <h4>GitPullDialog.getData</h4>
114 <b>getData</b>(<i></i>)
115 <p>
116 Public method to get the entered data.
117 </p><dl>
118 <dt>Returns:</dt>
119 <dd>
120 tuple of remote name, remote url (for custom remotes),
121 remote branches, a flag indicating to pull from all repositories
122 and a flag indicating to remove obsolete tracking references
123 (string, string, list of strings, boolean, boolean)
124 </dd>
125 </dl><a NAME="GitPullDialog.on_remoteEdit_textChanged" ID="GitPullDialog.on_remoteEdit_textChanged"></a>
126 <h4>GitPullDialog.on_remoteEdit_textChanged</h4>
127 <b>on_remoteEdit_textChanged</b>(<i>txt</i>)
128 <p>
129 Private slot to handle changes of the URL edit.
130 </p><dl>
131 <dt><i>txt</i></dt>
132 <dd>
133 current text of the URL edit (string)
134 </dd>
135 </dl><a NAME="GitPullDialog.on_remotesComboBox_currentTextChanged" ID="GitPullDialog.on_remotesComboBox_currentTextChanged"></a>
136 <h4>GitPullDialog.on_remotesComboBox_currentTextChanged</h4>
137 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>)
138 <p>
139 Private slot to handle changes of the selected repository.
140 </p><dl>
141 <dt><i>txt</i></dt>
142 <dd>
143 current text of the combo box (string)
144 </dd>
145 </dl><a NAME="GitPullDialog.on_updateButton_clicked" ID="GitPullDialog.on_updateButton_clicked"></a>
146 <h4>GitPullDialog.on_updateButton_clicked</h4>
147 <b>on_updateButton_clicked</b>(<i></i>)
148 <p>
149 Private slot to update the list of remote branches.
150 </p>
151 <div align="right"><a href="#top">Up</a></div>
152 <hr />
153 </body></html>

eric ide

mercurial