5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsGit.GitPushDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsGit.GitPushDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter data for a Push operation. |
11 Module implementing a dialog to enter data for a Push operation. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#GitPushDialog">GitPushDialog</a></td> |
22 <td><a href="#GitPushDialog">GitPushDialog</a></td> |
25 <td>Class implementing a dialog to enter data for a Push operation.</td> |
23 <td>Class implementing a dialog to enter data for a Push operation.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="GitPushDialog" ID="GitPushDialog"></a> |
34 <a NAME="GitPushDialog" ID="GitPushDialog"></a> |
36 <h2>GitPushDialog</h2> |
35 <h2>GitPushDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to enter data for a Push operation. |
37 Class implementing a dialog to enter data for a Push operation. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_GitPushDialog |
41 QDialog, Ui_GitPushDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
|
43 <table> |
|
44 <tr><td>ForceColumn</td></tr> |
|
45 <tr><td>LocalBranchColumn</td></tr> |
|
46 <tr><td>PushColumn</td></tr> |
|
47 <tr><td>RemoteBranchColumn</td></tr> |
|
48 </table> |
44 |
49 |
45 <table> |
|
46 <tr><td>ForceColumn</td></tr><tr><td>LocalBranchColumn</td></tr><tr><td>PushColumn</td></tr><tr><td>RemoteBranchColumn</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
50 <h3>Class Methods</h3> |
49 |
|
50 <table> |
51 <table> |
51 <tr><td>None</td></tr> |
52 <tr><td>None</td></tr> |
52 </table> |
53 </table> |
|
54 |
53 <h3>Methods</h3> |
55 <h3>Methods</h3> |
54 |
|
55 <table> |
56 <table> |
56 |
|
57 <tr> |
57 <tr> |
58 <td><a href="#GitPushDialog.__init__">GitPushDialog</a></td> |
58 <td><a href="#GitPushDialog.__init__">GitPushDialog</a></td> |
59 <td>Constructor</td> |
59 <td>Constructor</td> |
60 </tr> |
60 </tr> |
61 <tr> |
61 <tr> |
77 <tr> |
77 <tr> |
78 <td><a href="#GitPushDialog.on_selectAllCheckBox_stateChanged">on_selectAllCheckBox_stateChanged</a></td> |
78 <td><a href="#GitPushDialog.on_selectAllCheckBox_stateChanged">on_selectAllCheckBox_stateChanged</a></td> |
79 <td>Private slot to select/deselect all branch items.</td> |
79 <td>Private slot to select/deselect all branch items.</td> |
80 </tr> |
80 </tr> |
81 </table> |
81 </table> |
|
82 |
82 <h3>Static Methods</h3> |
83 <h3>Static Methods</h3> |
83 |
|
84 <table> |
84 <table> |
85 <tr><td>None</td></tr> |
85 <tr><td>None</td></tr> |
86 </table> |
86 </table> |
87 |
87 |
|
88 |
88 <a NAME="GitPushDialog.__init__" ID="GitPushDialog.__init__"></a> |
89 <a NAME="GitPushDialog.__init__" ID="GitPushDialog.__init__"></a> |
89 <h4>GitPushDialog (Constructor)</h4> |
90 <h4>GitPushDialog (Constructor)</h4> |
90 <b>GitPushDialog</b>(<i>vcs, repodir, parent=None</i>) |
91 <b>GitPushDialog</b>(<i>vcs, repodir, parent=None</i>) |
91 |
|
92 <p> |
92 <p> |
93 Constructor |
93 Constructor |
94 </p> |
94 </p> |
|
95 |
95 <dl> |
96 <dl> |
96 |
97 |
97 <dt><i>vcs</i> (Git)</dt> |
98 <dt><i>vcs</i> (Git)</dt> |
98 <dd> |
99 <dd> |
99 reference to the git object |
100 reference to the git object |
108 </dd> |
109 </dd> |
109 </dl> |
110 </dl> |
110 <a NAME="GitPushDialog.__resizeColumns" ID="GitPushDialog.__resizeColumns"></a> |
111 <a NAME="GitPushDialog.__resizeColumns" ID="GitPushDialog.__resizeColumns"></a> |
111 <h4>GitPushDialog.__resizeColumns</h4> |
112 <h4>GitPushDialog.__resizeColumns</h4> |
112 <b>__resizeColumns</b>(<i></i>) |
113 <b>__resizeColumns</b>(<i></i>) |
113 |
|
114 <p> |
114 <p> |
115 Private slot to adjust the column sizes. |
115 Private slot to adjust the column sizes. |
116 </p> |
116 </p> |
|
117 |
117 <a NAME="GitPushDialog.getData" ID="GitPushDialog.getData"></a> |
118 <a NAME="GitPushDialog.getData" ID="GitPushDialog.getData"></a> |
118 <h4>GitPushDialog.getData</h4> |
119 <h4>GitPushDialog.getData</h4> |
119 <b>getData</b>(<i></i>) |
120 <b>getData</b>(<i></i>) |
120 |
|
121 <p> |
121 <p> |
122 Public method to get the entered data. |
122 Public method to get the entered data. |
123 </p> |
123 </p> |
|
124 |
124 <dl> |
125 <dl> |
125 <dt>Return:</dt> |
126 <dt>Return:</dt> |
126 <dd> |
127 <dd> |
127 remote name, list of branches to be pushed, |
128 remote name, list of branches to be pushed, |
128 a flag indicating to push tags as well, a flag indicating |
129 a flag indicating to push tags as well, a flag indicating |
136 </dd> |
137 </dd> |
137 </dl> |
138 </dl> |
138 <a NAME="GitPushDialog.on_branchesTree_itemChanged" ID="GitPushDialog.on_branchesTree_itemChanged"></a> |
139 <a NAME="GitPushDialog.on_branchesTree_itemChanged" ID="GitPushDialog.on_branchesTree_itemChanged"></a> |
139 <h4>GitPushDialog.on_branchesTree_itemChanged</h4> |
140 <h4>GitPushDialog.on_branchesTree_itemChanged</h4> |
140 <b>on_branchesTree_itemChanged</b>(<i>item, column</i>) |
141 <b>on_branchesTree_itemChanged</b>(<i>item, column</i>) |
141 |
|
142 <p> |
142 <p> |
143 Private slot handling changes of a branch item. |
143 Private slot handling changes of a branch item. |
144 </p> |
144 </p> |
|
145 |
145 <dl> |
146 <dl> |
146 |
147 |
147 <dt><i>item</i> (QTreeWidgetItem)</dt> |
148 <dt><i>item</i> (QTreeWidgetItem)</dt> |
148 <dd> |
149 <dd> |
149 reference to the changed item |
150 reference to the changed item |
154 </dd> |
155 </dd> |
155 </dl> |
156 </dl> |
156 <a NAME="GitPushDialog.on_remotesComboBox_currentTextChanged" ID="GitPushDialog.on_remotesComboBox_currentTextChanged"></a> |
157 <a NAME="GitPushDialog.on_remotesComboBox_currentTextChanged" ID="GitPushDialog.on_remotesComboBox_currentTextChanged"></a> |
157 <h4>GitPushDialog.on_remotesComboBox_currentTextChanged</h4> |
158 <h4>GitPushDialog.on_remotesComboBox_currentTextChanged</h4> |
158 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>) |
159 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>) |
159 |
|
160 <p> |
160 <p> |
161 Private slot to handle changes of the selected repository. |
161 Private slot to handle changes of the selected repository. |
162 </p> |
162 </p> |
|
163 |
163 <dl> |
164 <dl> |
164 |
165 |
165 <dt><i>txt</i> (str)</dt> |
166 <dt><i>txt</i> (str)</dt> |
166 <dd> |
167 <dd> |
167 current text of the combo box |
168 current text of the combo box |
168 </dd> |
169 </dd> |
169 </dl> |
170 </dl> |
170 <a NAME="GitPushDialog.on_selectAllCheckBox_stateChanged" ID="GitPushDialog.on_selectAllCheckBox_stateChanged"></a> |
171 <a NAME="GitPushDialog.on_selectAllCheckBox_stateChanged" ID="GitPushDialog.on_selectAllCheckBox_stateChanged"></a> |
171 <h4>GitPushDialog.on_selectAllCheckBox_stateChanged</h4> |
172 <h4>GitPushDialog.on_selectAllCheckBox_stateChanged</h4> |
172 <b>on_selectAllCheckBox_stateChanged</b>(<i>state</i>) |
173 <b>on_selectAllCheckBox_stateChanged</b>(<i>state</i>) |
173 |
|
174 <p> |
174 <p> |
175 Private slot to select/deselect all branch items. |
175 Private slot to select/deselect all branch items. |
176 </p> |
176 </p> |
|
177 |
177 <dl> |
178 <dl> |
178 |
179 |
179 <dt><i>state</i> (Qt.CheckState)</dt> |
180 <dt><i>state</i> (Qt.CheckState)</dt> |
180 <dd> |
181 <dd> |
181 check state of the check box |
182 check state of the check box |