eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitPushDialog.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.GitPushDialog</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.GitPushDialog</h1>
24
25 <p>
26 Module implementing a dialog to enter data for a Push 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="#GitPushDialog">GitPushDialog</a></td>
39 <td>Class implementing a dialog to enter data for a Push 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="GitPushDialog" ID="GitPushDialog"></a>
50 <h2>GitPushDialog</h2>
51
52 <p>
53 Class implementing a dialog to enter data for a Push operation.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_GitPushDialog
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>ForceColumn</td></tr><tr><td>LocalBranchColumn</td></tr><tr><td>PushColumn</td></tr><tr><td>RemoteBranchColumn</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="#GitPushDialog.__init__">GitPushDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#GitPushDialog.__resizeColumns">__resizeColumns</a></td>
77 <td>Private slot to adjust the column sizes.</td>
78 </tr>
79 <tr>
80 <td><a href="#GitPushDialog.getData">getData</a></td>
81 <td>Public method to get the entered data.</td>
82 </tr>
83 <tr>
84 <td><a href="#GitPushDialog.on_branchesTree_itemChanged">on_branchesTree_itemChanged</a></td>
85 <td>Private slot handling changes of a branch item.</td>
86 </tr>
87 <tr>
88 <td><a href="#GitPushDialog.on_remotesComboBox_currentTextChanged">on_remotesComboBox_currentTextChanged</a></td>
89 <td>Private slot to handle changes of the selected repository.</td>
90 </tr>
91 <tr>
92 <td><a href="#GitPushDialog.on_selectAllCheckBox_stateChanged">on_selectAllCheckBox_stateChanged</a></td>
93 <td>Private slot to select/deselect all branch items.</td>
94 </tr>
95 </table>
96 <h3>Static Methods</h3>
97
98 <table>
99 <tr><td>None</td></tr>
100 </table>
101
102 <a NAME="GitPushDialog.__init__" ID="GitPushDialog.__init__"></a>
103 <h4>GitPushDialog (Constructor)</h4>
104 <b>GitPushDialog</b>(<i>vcs, repodir, parent=None</i>)
105
106 <p>
107 Constructor
108 </p>
109 <dl>
110
111 <dt><i>vcs</i></dt>
112 <dd>
113 reference to the git object
114 </dd>
115 <dt><i>repodir</i></dt>
116 <dd>
117 directory name of the local repository (string)
118 </dd>
119 <dt><i>parent</i></dt>
120 <dd>
121 reference to the parent widget (QWidget)
122 </dd>
123 </dl>
124 <a NAME="GitPushDialog.__resizeColumns" ID="GitPushDialog.__resizeColumns"></a>
125 <h4>GitPushDialog.__resizeColumns</h4>
126 <b>__resizeColumns</b>(<i></i>)
127
128 <p>
129 Private slot to adjust the column sizes.
130 </p>
131 <a NAME="GitPushDialog.getData" ID="GitPushDialog.getData"></a>
132 <h4>GitPushDialog.getData</h4>
133 <b>getData</b>(<i></i>)
134
135 <p>
136 Public method to get the entered data.
137 </p>
138 <dl>
139 <dt>Return:</dt>
140 <dd>
141 remote name, list of branches to be pushed,
142 a flag indicating to push tags as well, a flag indicating
143 to set tracking information and the push method for submodules
144 </dd>
145 </dl>
146 <dl>
147 <dt>Return Type:</dt>
148 <dd>
149 tuple of (str, list of str, bool, bool, str)
150 </dd>
151 </dl>
152 <a NAME="GitPushDialog.on_branchesTree_itemChanged" ID="GitPushDialog.on_branchesTree_itemChanged"></a>
153 <h4>GitPushDialog.on_branchesTree_itemChanged</h4>
154 <b>on_branchesTree_itemChanged</b>(<i>item, column</i>)
155
156 <p>
157 Private slot handling changes of a branch item.
158 </p>
159 <dl>
160
161 <dt><i>item</i></dt>
162 <dd>
163 reference to the changed item (QTreeWidgetItem)
164 </dd>
165 <dt><i>column</i></dt>
166 <dd>
167 changed column (integer)
168 </dd>
169 </dl>
170 <a NAME="GitPushDialog.on_remotesComboBox_currentTextChanged" ID="GitPushDialog.on_remotesComboBox_currentTextChanged"></a>
171 <h4>GitPushDialog.on_remotesComboBox_currentTextChanged</h4>
172 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>)
173
174 <p>
175 Private slot to handle changes of the selected repository.
176 </p>
177 <dl>
178
179 <dt><i>txt</i></dt>
180 <dd>
181 current text of the combo box (string)
182 </dd>
183 </dl>
184 <a NAME="GitPushDialog.on_selectAllCheckBox_stateChanged" ID="GitPushDialog.on_selectAllCheckBox_stateChanged"></a>
185 <h4>GitPushDialog.on_selectAllCheckBox_stateChanged</h4>
186 <b>on_selectAllCheckBox_stateChanged</b>(<i>state</i>)
187
188 <p>
189 Private slot to select/deselect all branch items.
190 </p>
191 <dl>
192
193 <dt><i>state</i></dt>
194 <dd>
195 check state of the check box (Qt.CheckState)
196 </dd>
197 </dl>
198 <div align="right"><a href="#top">Up</a></div>
199 <hr />
200 </body></html>

eric ide

mercurial