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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitPushDialog</h1> 23 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitPushDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to enter data for a Push operation. 26 Module implementing a dialog to enter data for a Push operation.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#GitPushDialog">GitPushDialog</a></td> 38 <td><a href="#GitPushDialog">GitPushDialog</a></td>
34 <td>Class implementing a dialog to enter data for a Push operation.</td> 39 <td>Class implementing a dialog to enter data for a Push operation.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="GitPushDialog" ID="GitPushDialog"></a> 49 <a NAME="GitPushDialog" ID="GitPushDialog"></a>
43 <h2>GitPushDialog</h2> 50 <h2>GitPushDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to enter data for a Push operation. 53 Class implementing a dialog to enter data for a Push operation.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_GitPushDialog 56 QDialog, Ui_GitPushDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>ForceColumn</td></tr><tr><td>LocalBranchColumn</td></tr><tr><td>PushColumn</td></tr><tr><td>RemoteBranchColumn</td></tr> 60 <tr><td>ForceColumn</td></tr><tr><td>LocalBranchColumn</td></tr><tr><td>PushColumn</td></tr><tr><td>RemoteBranchColumn</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#GitPushDialog.__init__">GitPushDialog</a></td> 72 <td><a href="#GitPushDialog.__init__">GitPushDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#GitPushDialog.__resizeColumns">__resizeColumns</a></td> 76 <td><a href="#GitPushDialog.__resizeColumns">__resizeColumns</a></td>
64 <td>Private slot to adjust the column sizes.</td> 77 <td>Private slot to adjust the column sizes.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#GitPushDialog.getData">getData</a></td> 80 <td><a href="#GitPushDialog.getData">getData</a></td>
67 <td>Public method to get the entered data.</td> 81 <td>Public method to get the entered data.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#GitPushDialog.on_branchesTree_itemChanged">on_branchesTree_itemChanged</a></td> 84 <td><a href="#GitPushDialog.on_branchesTree_itemChanged">on_branchesTree_itemChanged</a></td>
70 <td>Private slot handling changes of a branch item.</td> 85 <td>Private slot handling changes of a branch item.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#GitPushDialog.on_remotesComboBox_currentTextChanged">on_remotesComboBox_currentTextChanged</a></td> 88 <td><a href="#GitPushDialog.on_remotesComboBox_currentTextChanged">on_remotesComboBox_currentTextChanged</a></td>
73 <td>Private slot to handle changes of the selected repository.</td> 89 <td>Private slot to handle changes of the selected repository.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#GitPushDialog.on_selectAllCheckBox_stateChanged">on_selectAllCheckBox_stateChanged</a></td> 92 <td><a href="#GitPushDialog.on_selectAllCheckBox_stateChanged">on_selectAllCheckBox_stateChanged</a></td>
76 <td>Private slot to select/deselect all branch items.</td> 93 <td>Private slot to select/deselect all branch items.</td>
77 </tr> 94 </tr>
78 </table> 95 </table>
79 <h3>Static Methods</h3> 96 <h3>Static Methods</h3>
80 <table> 97
81 <tr><td>None</td></tr> 98 <table>
82 </table> 99 <tr><td>None</td></tr>
100 </table>
101
83 <a NAME="GitPushDialog.__init__" ID="GitPushDialog.__init__"></a> 102 <a NAME="GitPushDialog.__init__" ID="GitPushDialog.__init__"></a>
84 <h4>GitPushDialog (Constructor)</h4> 103 <h4>GitPushDialog (Constructor)</h4>
85 <b>GitPushDialog</b>(<i>vcs, repodir, parent=None</i>) 104 <b>GitPushDialog</b>(<i>vcs, repodir, parent=None</i>)
105
86 <p> 106 <p>
87 Constructor 107 Constructor
88 </p><dl> 108 </p>
109 <dl>
110
89 <dt><i>vcs</i></dt> 111 <dt><i>vcs</i></dt>
90 <dd> 112 <dd>
91 reference to the git object 113 reference to the git object
92 </dd><dt><i>repodir</i></dt> 114 </dd>
115 <dt><i>repodir</i></dt>
93 <dd> 116 <dd>
94 directory name of the local repository (string) 117 directory name of the local repository (string)
95 </dd><dt><i>parent</i></dt> 118 </dd>
119 <dt><i>parent</i></dt>
96 <dd> 120 <dd>
97 reference to the parent widget (QWidget) 121 reference to the parent widget (QWidget)
98 </dd> 122 </dd>
99 </dl><a NAME="GitPushDialog.__resizeColumns" ID="GitPushDialog.__resizeColumns"></a> 123 </dl>
124 <a NAME="GitPushDialog.__resizeColumns" ID="GitPushDialog.__resizeColumns"></a>
100 <h4>GitPushDialog.__resizeColumns</h4> 125 <h4>GitPushDialog.__resizeColumns</h4>
101 <b>__resizeColumns</b>(<i></i>) 126 <b>__resizeColumns</b>(<i></i>)
127
102 <p> 128 <p>
103 Private slot to adjust the column sizes. 129 Private slot to adjust the column sizes.
104 </p><a NAME="GitPushDialog.getData" ID="GitPushDialog.getData"></a> 130 </p>
131 <a NAME="GitPushDialog.getData" ID="GitPushDialog.getData"></a>
105 <h4>GitPushDialog.getData</h4> 132 <h4>GitPushDialog.getData</h4>
106 <b>getData</b>(<i></i>) 133 <b>getData</b>(<i></i>)
134
107 <p> 135 <p>
108 Public method to get the entered data. 136 Public method to get the entered data.
109 </p><dl> 137 </p>
138 <dl>
110 <dt>Returns:</dt> 139 <dt>Returns:</dt>
111 <dd> 140 <dd>
112 remote name, list of branches to be pushed, 141 remote name, list of branches to be pushed,
113 a flag indicating to push tags as well, a flag indicating 142 a flag indicating to push tags as well, a flag indicating
114 to set tracking information and the push method for submodules 143 to set tracking information and the push method for submodules
115 </dd> 144 </dd>
116 </dl><dl> 145 </dl>
146 <dl>
117 <dt>Return Type:</dt> 147 <dt>Return Type:</dt>
118 <dd> 148 <dd>
119 tuple of (str, list of str, bool, bool, str) 149 tuple of (str, list of str, bool, bool, str)
120 </dd> 150 </dd>
121 </dl><a NAME="GitPushDialog.on_branchesTree_itemChanged" ID="GitPushDialog.on_branchesTree_itemChanged"></a> 151 </dl>
152 <a NAME="GitPushDialog.on_branchesTree_itemChanged" ID="GitPushDialog.on_branchesTree_itemChanged"></a>
122 <h4>GitPushDialog.on_branchesTree_itemChanged</h4> 153 <h4>GitPushDialog.on_branchesTree_itemChanged</h4>
123 <b>on_branchesTree_itemChanged</b>(<i>item, column</i>) 154 <b>on_branchesTree_itemChanged</b>(<i>item, column</i>)
155
124 <p> 156 <p>
125 Private slot handling changes of a branch item. 157 Private slot handling changes of a branch item.
126 </p><dl> 158 </p>
159 <dl>
160
127 <dt><i>item</i></dt> 161 <dt><i>item</i></dt>
128 <dd> 162 <dd>
129 reference to the changed item (QTreeWidgetItem) 163 reference to the changed item (QTreeWidgetItem)
130 </dd><dt><i>column</i></dt> 164 </dd>
165 <dt><i>column</i></dt>
131 <dd> 166 <dd>
132 changed column (integer) 167 changed column (integer)
133 </dd> 168 </dd>
134 </dl><a NAME="GitPushDialog.on_remotesComboBox_currentTextChanged" ID="GitPushDialog.on_remotesComboBox_currentTextChanged"></a> 169 </dl>
170 <a NAME="GitPushDialog.on_remotesComboBox_currentTextChanged" ID="GitPushDialog.on_remotesComboBox_currentTextChanged"></a>
135 <h4>GitPushDialog.on_remotesComboBox_currentTextChanged</h4> 171 <h4>GitPushDialog.on_remotesComboBox_currentTextChanged</h4>
136 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>) 172 <b>on_remotesComboBox_currentTextChanged</b>(<i>txt</i>)
173
137 <p> 174 <p>
138 Private slot to handle changes of the selected repository. 175 Private slot to handle changes of the selected repository.
139 </p><dl> 176 </p>
177 <dl>
178
140 <dt><i>txt</i></dt> 179 <dt><i>txt</i></dt>
141 <dd> 180 <dd>
142 current text of the combo box (string) 181 current text of the combo box (string)
143 </dd> 182 </dd>
144 </dl><a NAME="GitPushDialog.on_selectAllCheckBox_stateChanged" ID="GitPushDialog.on_selectAllCheckBox_stateChanged"></a> 183 </dl>
184 <a NAME="GitPushDialog.on_selectAllCheckBox_stateChanged" ID="GitPushDialog.on_selectAllCheckBox_stateChanged"></a>
145 <h4>GitPushDialog.on_selectAllCheckBox_stateChanged</h4> 185 <h4>GitPushDialog.on_selectAllCheckBox_stateChanged</h4>
146 <b>on_selectAllCheckBox_stateChanged</b>(<i>state</i>) 186 <b>on_selectAllCheckBox_stateChanged</b>(<i>state</i>)
187
147 <p> 188 <p>
148 Private slot to select/deselect all branch items. 189 Private slot to select/deselect all branch items.
149 </p><dl> 190 </p>
191 <dl>
192
150 <dt><i>state</i></dt> 193 <dt><i>state</i></dt>
151 <dd> 194 <dd>
152 check state of the check box (Qt.CheckState) 195 check state of the check box (Qt.CheckState)
153 </dd> 196 </dd>
154 </dl> 197 </dl>

eric ide

mercurial