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.GitStatusDialog</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitStatusDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to show the output of the git status command |
26 Module implementing a dialog to show the output of the git status command |
25 process. |
27 process. |
26 </p> |
28 </p> |
27 <h3>Global Attributes</h3> |
29 <h3>Global Attributes</h3> |
|
30 |
28 <table> |
31 <table> |
29 <tr><td>None</td></tr> |
32 <tr><td>None</td></tr> |
30 </table> |
33 </table> |
31 <h3>Classes</h3> |
34 <h3>Classes</h3> |
|
35 |
32 <table> |
36 <table> |
|
37 |
33 <tr> |
38 <tr> |
34 <td><a href="#GitStatusDialog">GitStatusDialog</a></td> |
39 <td><a href="#GitStatusDialog">GitStatusDialog</a></td> |
35 <td>Class implementing a dialog to show the output of the git status command process.</td> |
40 <td>Class implementing a dialog to show the output of the git status command process.</td> |
36 </tr> |
41 </tr> |
37 </table> |
42 </table> |
38 <h3>Functions</h3> |
43 <h3>Functions</h3> |
|
44 |
39 <table> |
45 <table> |
40 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
41 </table> |
47 </table> |
42 <hr /><hr /> |
48 <hr /> |
|
49 <hr /> |
43 <a NAME="GitStatusDialog" ID="GitStatusDialog"></a> |
50 <a NAME="GitStatusDialog" ID="GitStatusDialog"></a> |
44 <h2>GitStatusDialog</h2> |
51 <h2>GitStatusDialog</h2> |
|
52 |
45 <p> |
53 <p> |
46 Class implementing a dialog to show the output of the git status command |
54 Class implementing a dialog to show the output of the git status command |
47 process. |
55 process. |
48 </p> |
56 </p> |
49 <h3>Derived from</h3> |
57 <h3>Derived from</h3> |
50 QWidget, Ui_GitStatusDialog |
58 QWidget, Ui_GitStatusDialog |
51 <h3>Class Attributes</h3> |
59 <h3>Class Attributes</h3> |
|
60 |
52 <table> |
61 <table> |
53 <tr><td>ConflictRole</td></tr><tr><td>ConflictStates</td></tr> |
62 <tr><td>ConflictRole</td></tr><tr><td>ConflictStates</td></tr> |
54 </table> |
63 </table> |
55 <h3>Class Methods</h3> |
64 <h3>Class Methods</h3> |
|
65 |
56 <table> |
66 <table> |
57 <tr><td>None</td></tr> |
67 <tr><td>None</td></tr> |
58 </table> |
68 </table> |
59 <h3>Methods</h3> |
69 <h3>Methods</h3> |
|
70 |
60 <table> |
71 <table> |
|
72 |
61 <tr> |
73 <tr> |
62 <td><a href="#GitStatusDialog.__init__">GitStatusDialog</a></td> |
74 <td><a href="#GitStatusDialog.__init__">GitStatusDialog</a></td> |
63 <td>Constructor</td> |
75 <td>Constructor</td> |
64 </tr><tr> |
76 </tr> |
|
77 <tr> |
65 <td><a href="#GitStatusDialog.__add">__add</a></td> |
78 <td><a href="#GitStatusDialog.__add">__add</a></td> |
66 <td>Private slot to handle the Add context menu entry.</td> |
79 <td>Private slot to handle the Add context menu entry.</td> |
67 </tr><tr> |
80 </tr> |
|
81 <tr> |
68 <td><a href="#GitStatusDialog.__amend">__amend</a></td> |
82 <td><a href="#GitStatusDialog.__amend">__amend</a></td> |
69 <td>Private slot to handle the Amend context menu entry.</td> |
83 <td>Private slot to handle the Amend context menu entry.</td> |
70 </tr><tr> |
84 </tr> |
|
85 <tr> |
71 <td><a href="#GitStatusDialog.__commit">__commit</a></td> |
86 <td><a href="#GitStatusDialog.__commit">__commit</a></td> |
72 <td>Private slot to handle the Commit context menu entry.</td> |
87 <td>Private slot to handle the Commit context menu entry.</td> |
73 </tr><tr> |
88 </tr> |
|
89 <tr> |
74 <td><a href="#GitStatusDialog.__commitDeselectAll">__commitDeselectAll</a></td> |
90 <td><a href="#GitStatusDialog.__commitDeselectAll">__commitDeselectAll</a></td> |
75 <td>Private slot to deselect all entries from commit.</td> |
91 <td>Private slot to deselect all entries from commit.</td> |
76 </tr><tr> |
92 </tr> |
|
93 <tr> |
77 <td><a href="#GitStatusDialog.__commitSelect">__commitSelect</a></td> |
94 <td><a href="#GitStatusDialog.__commitSelect">__commitSelect</a></td> |
78 <td>Private slot to select or deselect all entries.</td> |
95 <td>Private slot to select or deselect all entries.</td> |
79 </tr><tr> |
96 </tr> |
|
97 <tr> |
80 <td><a href="#GitStatusDialog.__commitSelectAll">__commitSelectAll</a></td> |
98 <td><a href="#GitStatusDialog.__commitSelectAll">__commitSelectAll</a></td> |
81 <td>Private slot to select all entries for commit.</td> |
99 <td>Private slot to select all entries for commit.</td> |
82 </tr><tr> |
100 </tr> |
|
101 <tr> |
83 <td><a href="#GitStatusDialog.__committed">__committed</a></td> |
102 <td><a href="#GitStatusDialog.__committed">__committed</a></td> |
84 <td>Private slot called after the commit has finished.</td> |
103 <td>Private slot called after the commit has finished.</td> |
85 </tr><tr> |
104 </tr> |
|
105 <tr> |
86 <td><a href="#GitStatusDialog.__diff">__diff</a></td> |
106 <td><a href="#GitStatusDialog.__diff">__diff</a></td> |
87 <td>Private slot to handle the Diff context menu entry.</td> |
107 <td>Private slot to handle the Diff context menu entry.</td> |
88 </tr><tr> |
108 </tr> |
|
109 <tr> |
89 <td><a href="#GitStatusDialog.__editConflict">__editConflict</a></td> |
110 <td><a href="#GitStatusDialog.__editConflict">__editConflict</a></td> |
90 <td>Private slot to handle the Edit file context menu entry.</td> |
111 <td>Private slot to handle the Edit file context menu entry.</td> |
91 </tr><tr> |
112 </tr> |
|
113 <tr> |
92 <td><a href="#GitStatusDialog.__finish">__finish</a></td> |
114 <td><a href="#GitStatusDialog.__finish">__finish</a></td> |
93 <td>Private slot called when the process finished or the user pressed the button.</td> |
115 <td>Private slot called when the process finished or the user pressed the button.</td> |
94 </tr><tr> |
116 </tr> |
|
117 <tr> |
95 <td><a href="#GitStatusDialog.__forget">__forget</a></td> |
118 <td><a href="#GitStatusDialog.__forget">__forget</a></td> |
96 <td>Private slot to handle the Forget Missing context menu entry.</td> |
119 <td>Private slot to handle the Forget Missing context menu entry.</td> |
97 </tr><tr> |
120 </tr> |
|
121 <tr> |
98 <td><a href="#GitStatusDialog.__generateDiffs">__generateDiffs</a></td> |
122 <td><a href="#GitStatusDialog.__generateDiffs">__generateDiffs</a></td> |
99 <td>Private slot to generate diff outputs for the selected item.</td> |
123 <td>Private slot to generate diff outputs for the selected item.</td> |
100 </tr><tr> |
124 </tr> |
|
125 <tr> |
101 <td><a href="#GitStatusDialog.__generateItem">__generateItem</a></td> |
126 <td><a href="#GitStatusDialog.__generateItem">__generateItem</a></td> |
102 <td>Private method to generate a status item in the status list.</td> |
127 <td>Private method to generate a status item in the status list.</td> |
103 </tr><tr> |
128 </tr> |
|
129 <tr> |
104 <td><a href="#GitStatusDialog.__generatorFinished">__generatorFinished</a></td> |
130 <td><a href="#GitStatusDialog.__generatorFinished">__generatorFinished</a></td> |
105 <td>Private slot connected to the finished signal of the diff generator.</td> |
131 <td>Private slot connected to the finished signal of the diff generator.</td> |
106 </tr><tr> |
132 </tr> |
|
133 <tr> |
107 <td><a href="#GitStatusDialog.__getCommitableItems">__getCommitableItems</a></td> |
134 <td><a href="#GitStatusDialog.__getCommitableItems">__getCommitableItems</a></td> |
108 <td>Private method to retrieve all entries the user wants to commit.</td> |
135 <td>Private method to retrieve all entries the user wants to commit.</td> |
109 </tr><tr> |
136 </tr> |
|
137 <tr> |
110 <td><a href="#GitStatusDialog.__getCommitableUnselectedItems">__getCommitableUnselectedItems</a></td> |
138 <td><a href="#GitStatusDialog.__getCommitableUnselectedItems">__getCommitableUnselectedItems</a></td> |
111 <td>Private method to retrieve all entries the user may commit but hasn't selected.</td> |
139 <td>Private method to retrieve all entries the user may commit but hasn't selected.</td> |
112 </tr><tr> |
140 </tr> |
|
141 <tr> |
113 <td><a href="#GitStatusDialog.__getConflictingItems">__getConflictingItems</a></td> |
142 <td><a href="#GitStatusDialog.__getConflictingItems">__getConflictingItems</a></td> |
114 <td>Private method to retrieve all entries, that have a conflict status.</td> |
143 <td>Private method to retrieve all entries, that have a conflict status.</td> |
115 </tr><tr> |
144 </tr> |
|
145 <tr> |
116 <td><a href="#GitStatusDialog.__getMissingItems">__getMissingItems</a></td> |
146 <td><a href="#GitStatusDialog.__getMissingItems">__getMissingItems</a></td> |
117 <td>Private method to retrieve all entries, that have a missing status.</td> |
147 <td>Private method to retrieve all entries, that have a missing status.</td> |
118 </tr><tr> |
148 </tr> |
|
149 <tr> |
119 <td><a href="#GitStatusDialog.__getModifiedItems">__getModifiedItems</a></td> |
150 <td><a href="#GitStatusDialog.__getModifiedItems">__getModifiedItems</a></td> |
120 <td>Private method to retrieve all entries, that have a modified status.</td> |
151 <td>Private method to retrieve all entries, that have a modified status.</td> |
121 </tr><tr> |
152 </tr> |
|
153 <tr> |
122 <td><a href="#GitStatusDialog.__getModifiedOnlyItems">__getModifiedOnlyItems</a></td> |
154 <td><a href="#GitStatusDialog.__getModifiedOnlyItems">__getModifiedOnlyItems</a></td> |
123 <td>Private method to retrieve all entries, that have a modified status.</td> |
155 <td>Private method to retrieve all entries, that have a modified status.</td> |
124 </tr><tr> |
156 </tr> |
|
157 <tr> |
125 <td><a href="#GitStatusDialog.__getStageableItems">__getStageableItems</a></td> |
158 <td><a href="#GitStatusDialog.__getStageableItems">__getStageableItems</a></td> |
126 <td>Private method to retrieve all entries, that have a stageable status.</td> |
159 <td>Private method to retrieve all entries, that have a stageable status.</td> |
127 </tr><tr> |
160 </tr> |
|
161 <tr> |
128 <td><a href="#GitStatusDialog.__getUnstageableItems">__getUnstageableItems</a></td> |
162 <td><a href="#GitStatusDialog.__getUnstageableItems">__getUnstageableItems</a></td> |
129 <td>Private method to retrieve all entries, that have an unstageable status.</td> |
163 <td>Private method to retrieve all entries, that have an unstageable status.</td> |
130 </tr><tr> |
164 </tr> |
|
165 <tr> |
131 <td><a href="#GitStatusDialog.__getUnversionedItems">__getUnversionedItems</a></td> |
166 <td><a href="#GitStatusDialog.__getUnversionedItems">__getUnversionedItems</a></td> |
132 <td>Private method to retrieve all entries, that have an unversioned status.</td> |
167 <td>Private method to retrieve all entries, that have an unversioned status.</td> |
133 </tr><tr> |
168 </tr> |
|
169 <tr> |
134 <td><a href="#GitStatusDialog.__initActionsMenu">__initActionsMenu</a></td> |
170 <td><a href="#GitStatusDialog.__initActionsMenu">__initActionsMenu</a></td> |
135 <td>Private method to initialize the actions menu.</td> |
171 <td>Private method to initialize the actions menu.</td> |
136 </tr><tr> |
172 </tr> |
|
173 <tr> |
137 <td><a href="#GitStatusDialog.__procFinished">__procFinished</a></td> |
174 <td><a href="#GitStatusDialog.__procFinished">__procFinished</a></td> |
138 <td>Private slot connected to the finished signal.</td> |
175 <td>Private slot connected to the finished signal.</td> |
139 </tr><tr> |
176 </tr> |
|
177 <tr> |
140 <td><a href="#GitStatusDialog.__readStderr">__readStderr</a></td> |
178 <td><a href="#GitStatusDialog.__readStderr">__readStderr</a></td> |
141 <td>Private slot to handle the readyReadStandardError signal.</td> |
179 <td>Private slot to handle the readyReadStandardError signal.</td> |
142 </tr><tr> |
180 </tr> |
|
181 <tr> |
143 <td><a href="#GitStatusDialog.__readStdout">__readStdout</a></td> |
182 <td><a href="#GitStatusDialog.__readStdout">__readStdout</a></td> |
144 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
183 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
145 </tr><tr> |
184 </tr> |
|
185 <tr> |
146 <td><a href="#GitStatusDialog.__refreshDiff">__refreshDiff</a></td> |
186 <td><a href="#GitStatusDialog.__refreshDiff">__refreshDiff</a></td> |
147 <td>Private method to refresh the diff output after a refresh.</td> |
187 <td>Private method to refresh the diff output after a refresh.</td> |
148 </tr><tr> |
188 </tr> |
|
189 <tr> |
149 <td><a href="#GitStatusDialog.__resizeColumns">__resizeColumns</a></td> |
190 <td><a href="#GitStatusDialog.__resizeColumns">__resizeColumns</a></td> |
150 <td>Private method to resize the list columns.</td> |
191 <td>Private method to resize the list columns.</td> |
151 </tr><tr> |
192 </tr> |
|
193 <tr> |
152 <td><a href="#GitStatusDialog.__resort">__resort</a></td> |
194 <td><a href="#GitStatusDialog.__resort">__resort</a></td> |
153 <td>Private method to resort the tree.</td> |
195 <td>Private method to resort the tree.</td> |
154 </tr><tr> |
196 </tr> |
|
197 <tr> |
155 <td><a href="#GitStatusDialog.__restoreMissing">__restoreMissing</a></td> |
198 <td><a href="#GitStatusDialog.__restoreMissing">__restoreMissing</a></td> |
156 <td>Private slot to handle the Restore Missing context menu entry.</td> |
199 <td>Private slot to handle the Restore Missing context menu entry.</td> |
157 </tr><tr> |
200 </tr> |
|
201 <tr> |
158 <td><a href="#GitStatusDialog.__revert">__revert</a></td> |
202 <td><a href="#GitStatusDialog.__revert">__revert</a></td> |
159 <td>Private slot to handle the Revert context menu entry.</td> |
203 <td>Private slot to handle the Revert context menu entry.</td> |
160 </tr><tr> |
204 </tr> |
|
205 <tr> |
161 <td><a href="#GitStatusDialog.__revertHunkOrLines">__revertHunkOrLines</a></td> |
206 <td><a href="#GitStatusDialog.__revertHunkOrLines">__revertHunkOrLines</a></td> |
162 <td>Private method to revert the selected lines or hunk.</td> |
207 <td>Private method to revert the selected lines or hunk.</td> |
163 </tr><tr> |
208 </tr> |
|
209 <tr> |
164 <td><a href="#GitStatusDialog.__sbsDiff">__sbsDiff</a></td> |
210 <td><a href="#GitStatusDialog.__sbsDiff">__sbsDiff</a></td> |
165 <td>Private slot to handle the Diff context menu entry.</td> |
211 <td>Private slot to handle the Diff context menu entry.</td> |
166 </tr><tr> |
212 </tr> |
|
213 <tr> |
167 <td><a href="#GitStatusDialog.__selectedLinesIndexes">__selectedLinesIndexes</a></td> |
214 <td><a href="#GitStatusDialog.__selectedLinesIndexes">__selectedLinesIndexes</a></td> |
168 <td>Private method to extract the indexes of the selected lines.</td> |
215 <td>Private method to extract the indexes of the selected lines.</td> |
169 </tr><tr> |
216 </tr> |
|
217 <tr> |
170 <td><a href="#GitStatusDialog.__showActionsMenu">__showActionsMenu</a></td> |
218 <td><a href="#GitStatusDialog.__showActionsMenu">__showActionsMenu</a></td> |
171 <td>Private slot to prepare the actions button menu before it is shown.</td> |
219 <td>Private slot to prepare the actions button menu before it is shown.</td> |
172 </tr><tr> |
220 </tr> |
|
221 <tr> |
173 <td><a href="#GitStatusDialog.__showLDiffContextMenu">__showLDiffContextMenu</a></td> |
222 <td><a href="#GitStatusDialog.__showLDiffContextMenu">__showLDiffContextMenu</a></td> |
174 <td>Private slot to show the context menu of the status list.</td> |
223 <td>Private slot to show the context menu of the status list.</td> |
175 </tr><tr> |
224 </tr> |
|
225 <tr> |
176 <td><a href="#GitStatusDialog.__showRDiffContextMenu">__showRDiffContextMenu</a></td> |
226 <td><a href="#GitStatusDialog.__showRDiffContextMenu">__showRDiffContextMenu</a></td> |
177 <td>Private slot to show the context menu of the status list.</td> |
227 <td>Private slot to show the context menu of the status list.</td> |
178 </tr><tr> |
228 </tr> |
|
229 <tr> |
179 <td><a href="#GitStatusDialog.__stage">__stage</a></td> |
230 <td><a href="#GitStatusDialog.__stage">__stage</a></td> |
180 <td>Private slot to handle the Stage context menu entry.</td> |
231 <td>Private slot to handle the Stage context menu entry.</td> |
181 </tr><tr> |
232 </tr> |
|
233 <tr> |
182 <td><a href="#GitStatusDialog.__stageHunkOrLines">__stageHunkOrLines</a></td> |
234 <td><a href="#GitStatusDialog.__stageHunkOrLines">__stageHunkOrLines</a></td> |
183 <td>Private method to stage the selected lines or hunk.</td> |
235 <td>Private method to stage the selected lines or hunk.</td> |
184 </tr><tr> |
236 </tr> |
|
237 <tr> |
185 <td><a href="#GitStatusDialog.__tmpPatchFileName">__tmpPatchFileName</a></td> |
238 <td><a href="#GitStatusDialog.__tmpPatchFileName">__tmpPatchFileName</a></td> |
186 <td>Private method to generate a temporary patch file.</td> |
239 <td>Private method to generate a temporary patch file.</td> |
187 </tr><tr> |
240 </tr> |
|
241 <tr> |
188 <td><a href="#GitStatusDialog.__unstage">__unstage</a></td> |
242 <td><a href="#GitStatusDialog.__unstage">__unstage</a></td> |
189 <td>Private slot to handle the Unstage context menu entry.</td> |
243 <td>Private slot to handle the Unstage context menu entry.</td> |
190 </tr><tr> |
244 </tr> |
|
245 <tr> |
191 <td><a href="#GitStatusDialog.__unstageHunkOrLines">__unstageHunkOrLines</a></td> |
246 <td><a href="#GitStatusDialog.__unstageHunkOrLines">__unstageHunkOrLines</a></td> |
192 <td>Private method to unstage the selected lines or hunk.</td> |
247 <td>Private method to unstage the selected lines or hunk.</td> |
193 </tr><tr> |
248 </tr> |
|
249 <tr> |
194 <td><a href="#GitStatusDialog.closeEvent">closeEvent</a></td> |
250 <td><a href="#GitStatusDialog.closeEvent">closeEvent</a></td> |
195 <td>Protected slot implementing a close event handler.</td> |
251 <td>Protected slot implementing a close event handler.</td> |
196 </tr><tr> |
252 </tr> |
|
253 <tr> |
197 <td><a href="#GitStatusDialog.keyPressEvent">keyPressEvent</a></td> |
254 <td><a href="#GitStatusDialog.keyPressEvent">keyPressEvent</a></td> |
198 <td>Protected slot to handle a key press event.</td> |
255 <td>Protected slot to handle a key press event.</td> |
199 </tr><tr> |
256 </tr> |
|
257 <tr> |
200 <td><a href="#GitStatusDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
258 <td><a href="#GitStatusDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
201 <td>Private slot called by a button of the button box clicked.</td> |
259 <td>Private slot called by a button of the button box clicked.</td> |
202 </tr><tr> |
260 </tr> |
|
261 <tr> |
203 <td><a href="#GitStatusDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
262 <td><a href="#GitStatusDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
204 <td>Private slot to handle the press of the return key in the input field.</td> |
263 <td>Private slot to handle the press of the return key in the input field.</td> |
205 </tr><tr> |
264 </tr> |
|
265 <tr> |
206 <td><a href="#GitStatusDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
266 <td><a href="#GitStatusDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
207 <td>Private slot to handle the password checkbox toggled.</td> |
267 <td>Private slot to handle the password checkbox toggled.</td> |
208 </tr><tr> |
268 </tr> |
|
269 <tr> |
209 <td><a href="#GitStatusDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
270 <td><a href="#GitStatusDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
210 <td>Private slot to refresh the status display.</td> |
271 <td>Private slot to refresh the status display.</td> |
211 </tr><tr> |
272 </tr> |
|
273 <tr> |
212 <td><a href="#GitStatusDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
274 <td><a href="#GitStatusDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
213 <td>Private slot to send the input to the git process.</td> |
275 <td>Private slot to send the input to the git process.</td> |
214 </tr><tr> |
276 </tr> |
|
277 <tr> |
215 <td><a href="#GitStatusDialog.on_statusFilterCombo_activated">on_statusFilterCombo_activated</a></td> |
278 <td><a href="#GitStatusDialog.on_statusFilterCombo_activated">on_statusFilterCombo_activated</a></td> |
216 <td>Private slot to react to the selection of a status filter.</td> |
279 <td>Private slot to react to the selection of a status filter.</td> |
217 </tr><tr> |
280 </tr> |
|
281 <tr> |
218 <td><a href="#GitStatusDialog.on_statusList_itemSelectionChanged">on_statusList_itemSelectionChanged</a></td> |
282 <td><a href="#GitStatusDialog.on_statusList_itemSelectionChanged">on_statusList_itemSelectionChanged</a></td> |
219 <td>Private slot to act upon changes of selected items.</td> |
283 <td>Private slot to act upon changes of selected items.</td> |
220 </tr><tr> |
284 </tr> |
|
285 <tr> |
221 <td><a href="#GitStatusDialog.show">show</a></td> |
286 <td><a href="#GitStatusDialog.show">show</a></td> |
222 <td>Public slot to show the dialog.</td> |
287 <td>Public slot to show the dialog.</td> |
223 </tr><tr> |
288 </tr> |
|
289 <tr> |
224 <td><a href="#GitStatusDialog.start">start</a></td> |
290 <td><a href="#GitStatusDialog.start">start</a></td> |
225 <td>Public slot to start the git status command.</td> |
291 <td>Public slot to start the git status command.</td> |
226 </tr> |
292 </tr> |
227 </table> |
293 </table> |
228 <h3>Static Methods</h3> |
294 <h3>Static Methods</h3> |
|
295 |
229 <table> |
296 <table> |
230 <tr><td>None</td></tr> |
297 <tr><td>None</td></tr> |
231 </table> |
298 </table> |
|
299 |
232 <a NAME="GitStatusDialog.__init__" ID="GitStatusDialog.__init__"></a> |
300 <a NAME="GitStatusDialog.__init__" ID="GitStatusDialog.__init__"></a> |
233 <h4>GitStatusDialog (Constructor)</h4> |
301 <h4>GitStatusDialog (Constructor)</h4> |
234 <b>GitStatusDialog</b>(<i>vcs, parent=None</i>) |
302 <b>GitStatusDialog</b>(<i>vcs, parent=None</i>) |
|
303 |
235 <p> |
304 <p> |
236 Constructor |
305 Constructor |
237 </p><dl> |
306 </p> |
|
307 <dl> |
|
308 |
238 <dt><i>vcs</i></dt> |
309 <dt><i>vcs</i></dt> |
239 <dd> |
310 <dd> |
240 reference to the vcs object |
311 reference to the vcs object |
241 </dd><dt><i>parent</i></dt> |
312 </dd> |
|
313 <dt><i>parent</i></dt> |
242 <dd> |
314 <dd> |
243 parent widget (QWidget) |
315 parent widget (QWidget) |
244 </dd> |
316 </dd> |
245 </dl><a NAME="GitStatusDialog.__add" ID="GitStatusDialog.__add"></a> |
317 </dl> |
|
318 <a NAME="GitStatusDialog.__add" ID="GitStatusDialog.__add"></a> |
246 <h4>GitStatusDialog.__add</h4> |
319 <h4>GitStatusDialog.__add</h4> |
247 <b>__add</b>(<i></i>) |
320 <b>__add</b>(<i></i>) |
|
321 |
248 <p> |
322 <p> |
249 Private slot to handle the Add context menu entry. |
323 Private slot to handle the Add context menu entry. |
250 </p><a NAME="GitStatusDialog.__amend" ID="GitStatusDialog.__amend"></a> |
324 </p> |
|
325 <a NAME="GitStatusDialog.__amend" ID="GitStatusDialog.__amend"></a> |
251 <h4>GitStatusDialog.__amend</h4> |
326 <h4>GitStatusDialog.__amend</h4> |
252 <b>__amend</b>(<i></i>) |
327 <b>__amend</b>(<i></i>) |
|
328 |
253 <p> |
329 <p> |
254 Private slot to handle the Amend context menu entry. |
330 Private slot to handle the Amend context menu entry. |
255 </p><a NAME="GitStatusDialog.__commit" ID="GitStatusDialog.__commit"></a> |
331 </p> |
|
332 <a NAME="GitStatusDialog.__commit" ID="GitStatusDialog.__commit"></a> |
256 <h4>GitStatusDialog.__commit</h4> |
333 <h4>GitStatusDialog.__commit</h4> |
257 <b>__commit</b>(<i>amend=False</i>) |
334 <b>__commit</b>(<i>amend=False</i>) |
|
335 |
258 <p> |
336 <p> |
259 Private slot to handle the Commit context menu entry. |
337 Private slot to handle the Commit context menu entry. |
260 </p><dl> |
338 </p> |
|
339 <dl> |
|
340 |
261 <dt><i>amend</i></dt> |
341 <dt><i>amend</i></dt> |
262 <dd> |
342 <dd> |
263 flag indicating to perform an amend operation (boolean) |
343 flag indicating to perform an amend operation (boolean) |
264 </dd> |
344 </dd> |
265 </dl><a NAME="GitStatusDialog.__commitDeselectAll" ID="GitStatusDialog.__commitDeselectAll"></a> |
345 </dl> |
|
346 <a NAME="GitStatusDialog.__commitDeselectAll" ID="GitStatusDialog.__commitDeselectAll"></a> |
266 <h4>GitStatusDialog.__commitDeselectAll</h4> |
347 <h4>GitStatusDialog.__commitDeselectAll</h4> |
267 <b>__commitDeselectAll</b>(<i></i>) |
348 <b>__commitDeselectAll</b>(<i></i>) |
|
349 |
268 <p> |
350 <p> |
269 Private slot to deselect all entries from commit. |
351 Private slot to deselect all entries from commit. |
270 </p><a NAME="GitStatusDialog.__commitSelect" ID="GitStatusDialog.__commitSelect"></a> |
352 </p> |
|
353 <a NAME="GitStatusDialog.__commitSelect" ID="GitStatusDialog.__commitSelect"></a> |
271 <h4>GitStatusDialog.__commitSelect</h4> |
354 <h4>GitStatusDialog.__commitSelect</h4> |
272 <b>__commitSelect</b>(<i>selected</i>) |
355 <b>__commitSelect</b>(<i>selected</i>) |
|
356 |
273 <p> |
357 <p> |
274 Private slot to select or deselect all entries. |
358 Private slot to select or deselect all entries. |
275 </p><dl> |
359 </p> |
|
360 <dl> |
|
361 |
276 <dt><i>selected</i></dt> |
362 <dt><i>selected</i></dt> |
277 <dd> |
363 <dd> |
278 commit selection state to be set (boolean) |
364 commit selection state to be set (boolean) |
279 </dd> |
365 </dd> |
280 </dl><a NAME="GitStatusDialog.__commitSelectAll" ID="GitStatusDialog.__commitSelectAll"></a> |
366 </dl> |
|
367 <a NAME="GitStatusDialog.__commitSelectAll" ID="GitStatusDialog.__commitSelectAll"></a> |
281 <h4>GitStatusDialog.__commitSelectAll</h4> |
368 <h4>GitStatusDialog.__commitSelectAll</h4> |
282 <b>__commitSelectAll</b>(<i></i>) |
369 <b>__commitSelectAll</b>(<i></i>) |
|
370 |
283 <p> |
371 <p> |
284 Private slot to select all entries for commit. |
372 Private slot to select all entries for commit. |
285 </p><a NAME="GitStatusDialog.__committed" ID="GitStatusDialog.__committed"></a> |
373 </p> |
|
374 <a NAME="GitStatusDialog.__committed" ID="GitStatusDialog.__committed"></a> |
286 <h4>GitStatusDialog.__committed</h4> |
375 <h4>GitStatusDialog.__committed</h4> |
287 <b>__committed</b>(<i></i>) |
376 <b>__committed</b>(<i></i>) |
|
377 |
288 <p> |
378 <p> |
289 Private slot called after the commit has finished. |
379 Private slot called after the commit has finished. |
290 </p><a NAME="GitStatusDialog.__diff" ID="GitStatusDialog.__diff"></a> |
380 </p> |
|
381 <a NAME="GitStatusDialog.__diff" ID="GitStatusDialog.__diff"></a> |
291 <h4>GitStatusDialog.__diff</h4> |
382 <h4>GitStatusDialog.__diff</h4> |
292 <b>__diff</b>(<i></i>) |
383 <b>__diff</b>(<i></i>) |
|
384 |
293 <p> |
385 <p> |
294 Private slot to handle the Diff context menu entry. |
386 Private slot to handle the Diff context menu entry. |
295 </p><a NAME="GitStatusDialog.__editConflict" ID="GitStatusDialog.__editConflict"></a> |
387 </p> |
|
388 <a NAME="GitStatusDialog.__editConflict" ID="GitStatusDialog.__editConflict"></a> |
296 <h4>GitStatusDialog.__editConflict</h4> |
389 <h4>GitStatusDialog.__editConflict</h4> |
297 <b>__editConflict</b>(<i></i>) |
390 <b>__editConflict</b>(<i></i>) |
|
391 |
298 <p> |
392 <p> |
299 Private slot to handle the Edit file context menu entry. |
393 Private slot to handle the Edit file context menu entry. |
300 </p><a NAME="GitStatusDialog.__finish" ID="GitStatusDialog.__finish"></a> |
394 </p> |
|
395 <a NAME="GitStatusDialog.__finish" ID="GitStatusDialog.__finish"></a> |
301 <h4>GitStatusDialog.__finish</h4> |
396 <h4>GitStatusDialog.__finish</h4> |
302 <b>__finish</b>(<i></i>) |
397 <b>__finish</b>(<i></i>) |
|
398 |
303 <p> |
399 <p> |
304 Private slot called when the process finished or the user pressed |
400 Private slot called when the process finished or the user pressed |
305 the button. |
401 the button. |
306 </p><a NAME="GitStatusDialog.__forget" ID="GitStatusDialog.__forget"></a> |
402 </p> |
|
403 <a NAME="GitStatusDialog.__forget" ID="GitStatusDialog.__forget"></a> |
307 <h4>GitStatusDialog.__forget</h4> |
404 <h4>GitStatusDialog.__forget</h4> |
308 <b>__forget</b>(<i></i>) |
405 <b>__forget</b>(<i></i>) |
|
406 |
309 <p> |
407 <p> |
310 Private slot to handle the Forget Missing context menu entry. |
408 Private slot to handle the Forget Missing context menu entry. |
311 </p><a NAME="GitStatusDialog.__generateDiffs" ID="GitStatusDialog.__generateDiffs"></a> |
409 </p> |
|
410 <a NAME="GitStatusDialog.__generateDiffs" ID="GitStatusDialog.__generateDiffs"></a> |
312 <h4>GitStatusDialog.__generateDiffs</h4> |
411 <h4>GitStatusDialog.__generateDiffs</h4> |
313 <b>__generateDiffs</b>(<i></i>) |
412 <b>__generateDiffs</b>(<i></i>) |
|
413 |
314 <p> |
414 <p> |
315 Private slot to generate diff outputs for the selected item. |
415 Private slot to generate diff outputs for the selected item. |
316 </p><a NAME="GitStatusDialog.__generateItem" ID="GitStatusDialog.__generateItem"></a> |
416 </p> |
|
417 <a NAME="GitStatusDialog.__generateItem" ID="GitStatusDialog.__generateItem"></a> |
317 <h4>GitStatusDialog.__generateItem</h4> |
418 <h4>GitStatusDialog.__generateItem</h4> |
318 <b>__generateItem</b>(<i>status, path</i>) |
419 <b>__generateItem</b>(<i>status, path</i>) |
|
420 |
319 <p> |
421 <p> |
320 Private method to generate a status item in the status list. |
422 Private method to generate a status item in the status list. |
321 </p><dl> |
423 </p> |
|
424 <dl> |
|
425 |
322 <dt><i>status</i></dt> |
426 <dt><i>status</i></dt> |
323 <dd> |
427 <dd> |
324 status indicator (string) |
428 status indicator (string) |
325 </dd><dt><i>path</i></dt> |
429 </dd> |
|
430 <dt><i>path</i></dt> |
326 <dd> |
431 <dd> |
327 path of the file or directory (string) |
432 path of the file or directory (string) |
328 </dd> |
433 </dd> |
329 </dl><a NAME="GitStatusDialog.__generatorFinished" ID="GitStatusDialog.__generatorFinished"></a> |
434 </dl> |
|
435 <a NAME="GitStatusDialog.__generatorFinished" ID="GitStatusDialog.__generatorFinished"></a> |
330 <h4>GitStatusDialog.__generatorFinished</h4> |
436 <h4>GitStatusDialog.__generatorFinished</h4> |
331 <b>__generatorFinished</b>(<i></i>) |
437 <b>__generatorFinished</b>(<i></i>) |
|
438 |
332 <p> |
439 <p> |
333 Private slot connected to the finished signal of the diff generator. |
440 Private slot connected to the finished signal of the diff generator. |
334 </p><a NAME="GitStatusDialog.__getCommitableItems" ID="GitStatusDialog.__getCommitableItems"></a> |
441 </p> |
|
442 <a NAME="GitStatusDialog.__getCommitableItems" ID="GitStatusDialog.__getCommitableItems"></a> |
335 <h4>GitStatusDialog.__getCommitableItems</h4> |
443 <h4>GitStatusDialog.__getCommitableItems</h4> |
336 <b>__getCommitableItems</b>(<i></i>) |
444 <b>__getCommitableItems</b>(<i></i>) |
|
445 |
337 <p> |
446 <p> |
338 Private method to retrieve all entries the user wants to commit. |
447 Private method to retrieve all entries the user wants to commit. |
339 </p><dl> |
448 </p> |
|
449 <dl> |
340 <dt>Returns:</dt> |
450 <dt>Returns:</dt> |
341 <dd> |
451 <dd> |
342 list of all items, the user has checked |
452 list of all items, the user has checked |
343 </dd> |
453 </dd> |
344 </dl><a NAME="GitStatusDialog.__getCommitableUnselectedItems" ID="GitStatusDialog.__getCommitableUnselectedItems"></a> |
454 </dl> |
|
455 <a NAME="GitStatusDialog.__getCommitableUnselectedItems" ID="GitStatusDialog.__getCommitableUnselectedItems"></a> |
345 <h4>GitStatusDialog.__getCommitableUnselectedItems</h4> |
456 <h4>GitStatusDialog.__getCommitableUnselectedItems</h4> |
346 <b>__getCommitableUnselectedItems</b>(<i></i>) |
457 <b>__getCommitableUnselectedItems</b>(<i></i>) |
|
458 |
347 <p> |
459 <p> |
348 Private method to retrieve all entries the user may commit but hasn't |
460 Private method to retrieve all entries the user may commit but hasn't |
349 selected. |
461 selected. |
350 </p><dl> |
462 </p> |
|
463 <dl> |
351 <dt>Returns:</dt> |
464 <dt>Returns:</dt> |
352 <dd> |
465 <dd> |
353 list of all items, the user has not checked |
466 list of all items, the user has not checked |
354 </dd> |
467 </dd> |
355 </dl><a NAME="GitStatusDialog.__getConflictingItems" ID="GitStatusDialog.__getConflictingItems"></a> |
468 </dl> |
|
469 <a NAME="GitStatusDialog.__getConflictingItems" ID="GitStatusDialog.__getConflictingItems"></a> |
356 <h4>GitStatusDialog.__getConflictingItems</h4> |
470 <h4>GitStatusDialog.__getConflictingItems</h4> |
357 <b>__getConflictingItems</b>(<i></i>) |
471 <b>__getConflictingItems</b>(<i></i>) |
|
472 |
358 <p> |
473 <p> |
359 Private method to retrieve all entries, that have a conflict status. |
474 Private method to retrieve all entries, that have a conflict status. |
360 </p><dl> |
475 </p> |
|
476 <dl> |
361 <dt>Returns:</dt> |
477 <dt>Returns:</dt> |
362 <dd> |
478 <dd> |
363 list of all items with a conflict status |
479 list of all items with a conflict status |
364 </dd> |
480 </dd> |
365 </dl><a NAME="GitStatusDialog.__getMissingItems" ID="GitStatusDialog.__getMissingItems"></a> |
481 </dl> |
|
482 <a NAME="GitStatusDialog.__getMissingItems" ID="GitStatusDialog.__getMissingItems"></a> |
366 <h4>GitStatusDialog.__getMissingItems</h4> |
483 <h4>GitStatusDialog.__getMissingItems</h4> |
367 <b>__getMissingItems</b>(<i></i>) |
484 <b>__getMissingItems</b>(<i></i>) |
|
485 |
368 <p> |
486 <p> |
369 Private method to retrieve all entries, that have a missing status. |
487 Private method to retrieve all entries, that have a missing status. |
370 </p><dl> |
488 </p> |
|
489 <dl> |
371 <dt>Returns:</dt> |
490 <dt>Returns:</dt> |
372 <dd> |
491 <dd> |
373 list of all items with a missing status |
492 list of all items with a missing status |
374 </dd> |
493 </dd> |
375 </dl><a NAME="GitStatusDialog.__getModifiedItems" ID="GitStatusDialog.__getModifiedItems"></a> |
494 </dl> |
|
495 <a NAME="GitStatusDialog.__getModifiedItems" ID="GitStatusDialog.__getModifiedItems"></a> |
376 <h4>GitStatusDialog.__getModifiedItems</h4> |
496 <h4>GitStatusDialog.__getModifiedItems</h4> |
377 <b>__getModifiedItems</b>(<i></i>) |
497 <b>__getModifiedItems</b>(<i></i>) |
|
498 |
378 <p> |
499 <p> |
379 Private method to retrieve all entries, that have a modified status. |
500 Private method to retrieve all entries, that have a modified status. |
380 </p><dl> |
501 </p> |
|
502 <dl> |
381 <dt>Returns:</dt> |
503 <dt>Returns:</dt> |
382 <dd> |
504 <dd> |
383 list of all items with a modified status |
505 list of all items with a modified status |
384 </dd> |
506 </dd> |
385 </dl><a NAME="GitStatusDialog.__getModifiedOnlyItems" ID="GitStatusDialog.__getModifiedOnlyItems"></a> |
507 </dl> |
|
508 <a NAME="GitStatusDialog.__getModifiedOnlyItems" ID="GitStatusDialog.__getModifiedOnlyItems"></a> |
386 <h4>GitStatusDialog.__getModifiedOnlyItems</h4> |
509 <h4>GitStatusDialog.__getModifiedOnlyItems</h4> |
387 <b>__getModifiedOnlyItems</b>(<i></i>) |
510 <b>__getModifiedOnlyItems</b>(<i></i>) |
|
511 |
388 <p> |
512 <p> |
389 Private method to retrieve all entries, that have a modified status. |
513 Private method to retrieve all entries, that have a modified status. |
390 </p><dl> |
514 </p> |
|
515 <dl> |
391 <dt>Returns:</dt> |
516 <dt>Returns:</dt> |
392 <dd> |
517 <dd> |
393 list of all items with a modified status |
518 list of all items with a modified status |
394 </dd> |
519 </dd> |
395 </dl><a NAME="GitStatusDialog.__getStageableItems" ID="GitStatusDialog.__getStageableItems"></a> |
520 </dl> |
|
521 <a NAME="GitStatusDialog.__getStageableItems" ID="GitStatusDialog.__getStageableItems"></a> |
396 <h4>GitStatusDialog.__getStageableItems</h4> |
522 <h4>GitStatusDialog.__getStageableItems</h4> |
397 <b>__getStageableItems</b>(<i></i>) |
523 <b>__getStageableItems</b>(<i></i>) |
|
524 |
398 <p> |
525 <p> |
399 Private method to retrieve all entries, that have a stageable |
526 Private method to retrieve all entries, that have a stageable |
400 status. |
527 status. |
401 </p><dl> |
528 </p> |
|
529 <dl> |
402 <dt>Returns:</dt> |
530 <dt>Returns:</dt> |
403 <dd> |
531 <dd> |
404 list of all items with a stageable status |
532 list of all items with a stageable status |
405 </dd> |
533 </dd> |
406 </dl><a NAME="GitStatusDialog.__getUnstageableItems" ID="GitStatusDialog.__getUnstageableItems"></a> |
534 </dl> |
|
535 <a NAME="GitStatusDialog.__getUnstageableItems" ID="GitStatusDialog.__getUnstageableItems"></a> |
407 <h4>GitStatusDialog.__getUnstageableItems</h4> |
536 <h4>GitStatusDialog.__getUnstageableItems</h4> |
408 <b>__getUnstageableItems</b>(<i></i>) |
537 <b>__getUnstageableItems</b>(<i></i>) |
|
538 |
409 <p> |
539 <p> |
410 Private method to retrieve all entries, that have an unstageable |
540 Private method to retrieve all entries, that have an unstageable |
411 status. |
541 status. |
412 </p><dl> |
542 </p> |
|
543 <dl> |
413 <dt>Returns:</dt> |
544 <dt>Returns:</dt> |
414 <dd> |
545 <dd> |
415 list of all items with an unstageable status |
546 list of all items with an unstageable status |
416 </dd> |
547 </dd> |
417 </dl><a NAME="GitStatusDialog.__getUnversionedItems" ID="GitStatusDialog.__getUnversionedItems"></a> |
548 </dl> |
|
549 <a NAME="GitStatusDialog.__getUnversionedItems" ID="GitStatusDialog.__getUnversionedItems"></a> |
418 <h4>GitStatusDialog.__getUnversionedItems</h4> |
550 <h4>GitStatusDialog.__getUnversionedItems</h4> |
419 <b>__getUnversionedItems</b>(<i></i>) |
551 <b>__getUnversionedItems</b>(<i></i>) |
|
552 |
420 <p> |
553 <p> |
421 Private method to retrieve all entries, that have an unversioned |
554 Private method to retrieve all entries, that have an unversioned |
422 status. |
555 status. |
423 </p><dl> |
556 </p> |
|
557 <dl> |
424 <dt>Returns:</dt> |
558 <dt>Returns:</dt> |
425 <dd> |
559 <dd> |
426 list of all items with an unversioned status |
560 list of all items with an unversioned status |
427 </dd> |
561 </dd> |
428 </dl><a NAME="GitStatusDialog.__initActionsMenu" ID="GitStatusDialog.__initActionsMenu"></a> |
562 </dl> |
|
563 <a NAME="GitStatusDialog.__initActionsMenu" ID="GitStatusDialog.__initActionsMenu"></a> |
429 <h4>GitStatusDialog.__initActionsMenu</h4> |
564 <h4>GitStatusDialog.__initActionsMenu</h4> |
430 <b>__initActionsMenu</b>(<i></i>) |
565 <b>__initActionsMenu</b>(<i></i>) |
|
566 |
431 <p> |
567 <p> |
432 Private method to initialize the actions menu. |
568 Private method to initialize the actions menu. |
433 </p><a NAME="GitStatusDialog.__procFinished" ID="GitStatusDialog.__procFinished"></a> |
569 </p> |
|
570 <a NAME="GitStatusDialog.__procFinished" ID="GitStatusDialog.__procFinished"></a> |
434 <h4>GitStatusDialog.__procFinished</h4> |
571 <h4>GitStatusDialog.__procFinished</h4> |
435 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
572 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
573 |
436 <p> |
574 <p> |
437 Private slot connected to the finished signal. |
575 Private slot connected to the finished signal. |
438 </p><dl> |
576 </p> |
|
577 <dl> |
|
578 |
439 <dt><i>exitCode</i></dt> |
579 <dt><i>exitCode</i></dt> |
440 <dd> |
580 <dd> |
441 exit code of the process (integer) |
581 exit code of the process (integer) |
442 </dd><dt><i>exitStatus</i></dt> |
582 </dd> |
|
583 <dt><i>exitStatus</i></dt> |
443 <dd> |
584 <dd> |
444 exit status of the process (QProcess.ExitStatus) |
585 exit status of the process (QProcess.ExitStatus) |
445 </dd> |
586 </dd> |
446 </dl><a NAME="GitStatusDialog.__readStderr" ID="GitStatusDialog.__readStderr"></a> |
587 </dl> |
|
588 <a NAME="GitStatusDialog.__readStderr" ID="GitStatusDialog.__readStderr"></a> |
447 <h4>GitStatusDialog.__readStderr</h4> |
589 <h4>GitStatusDialog.__readStderr</h4> |
448 <b>__readStderr</b>(<i></i>) |
590 <b>__readStderr</b>(<i></i>) |
|
591 |
449 <p> |
592 <p> |
450 Private slot to handle the readyReadStandardError signal. |
593 Private slot to handle the readyReadStandardError signal. |
451 </p><p> |
594 </p> |
|
595 <p> |
452 It reads the error output of the process and inserts it into the |
596 It reads the error output of the process and inserts it into the |
453 error pane. |
597 error pane. |
454 </p><a NAME="GitStatusDialog.__readStdout" ID="GitStatusDialog.__readStdout"></a> |
598 </p> |
|
599 <a NAME="GitStatusDialog.__readStdout" ID="GitStatusDialog.__readStdout"></a> |
455 <h4>GitStatusDialog.__readStdout</h4> |
600 <h4>GitStatusDialog.__readStdout</h4> |
456 <b>__readStdout</b>(<i></i>) |
601 <b>__readStdout</b>(<i></i>) |
|
602 |
457 <p> |
603 <p> |
458 Private slot to handle the readyReadStandardOutput signal. |
604 Private slot to handle the readyReadStandardOutput signal. |
459 </p><p> |
605 </p> |
|
606 <p> |
460 It reads the output of the process, formats it and inserts it into |
607 It reads the output of the process, formats it and inserts it into |
461 the contents pane. |
608 the contents pane. |
462 </p><a NAME="GitStatusDialog.__refreshDiff" ID="GitStatusDialog.__refreshDiff"></a> |
609 </p> |
|
610 <a NAME="GitStatusDialog.__refreshDiff" ID="GitStatusDialog.__refreshDiff"></a> |
463 <h4>GitStatusDialog.__refreshDiff</h4> |
611 <h4>GitStatusDialog.__refreshDiff</h4> |
464 <b>__refreshDiff</b>(<i></i>) |
612 <b>__refreshDiff</b>(<i></i>) |
|
613 |
465 <p> |
614 <p> |
466 Private method to refresh the diff output after a refresh. |
615 Private method to refresh the diff output after a refresh. |
467 </p><a NAME="GitStatusDialog.__resizeColumns" ID="GitStatusDialog.__resizeColumns"></a> |
616 </p> |
|
617 <a NAME="GitStatusDialog.__resizeColumns" ID="GitStatusDialog.__resizeColumns"></a> |
468 <h4>GitStatusDialog.__resizeColumns</h4> |
618 <h4>GitStatusDialog.__resizeColumns</h4> |
469 <b>__resizeColumns</b>(<i></i>) |
619 <b>__resizeColumns</b>(<i></i>) |
|
620 |
470 <p> |
621 <p> |
471 Private method to resize the list columns. |
622 Private method to resize the list columns. |
472 </p><a NAME="GitStatusDialog.__resort" ID="GitStatusDialog.__resort"></a> |
623 </p> |
|
624 <a NAME="GitStatusDialog.__resort" ID="GitStatusDialog.__resort"></a> |
473 <h4>GitStatusDialog.__resort</h4> |
625 <h4>GitStatusDialog.__resort</h4> |
474 <b>__resort</b>(<i></i>) |
626 <b>__resort</b>(<i></i>) |
|
627 |
475 <p> |
628 <p> |
476 Private method to resort the tree. |
629 Private method to resort the tree. |
477 </p><a NAME="GitStatusDialog.__restoreMissing" ID="GitStatusDialog.__restoreMissing"></a> |
630 </p> |
|
631 <a NAME="GitStatusDialog.__restoreMissing" ID="GitStatusDialog.__restoreMissing"></a> |
478 <h4>GitStatusDialog.__restoreMissing</h4> |
632 <h4>GitStatusDialog.__restoreMissing</h4> |
479 <b>__restoreMissing</b>(<i></i>) |
633 <b>__restoreMissing</b>(<i></i>) |
|
634 |
480 <p> |
635 <p> |
481 Private slot to handle the Restore Missing context menu entry. |
636 Private slot to handle the Restore Missing context menu entry. |
482 </p><a NAME="GitStatusDialog.__revert" ID="GitStatusDialog.__revert"></a> |
637 </p> |
|
638 <a NAME="GitStatusDialog.__revert" ID="GitStatusDialog.__revert"></a> |
483 <h4>GitStatusDialog.__revert</h4> |
639 <h4>GitStatusDialog.__revert</h4> |
484 <b>__revert</b>(<i></i>) |
640 <b>__revert</b>(<i></i>) |
|
641 |
485 <p> |
642 <p> |
486 Private slot to handle the Revert context menu entry. |
643 Private slot to handle the Revert context menu entry. |
487 </p><a NAME="GitStatusDialog.__revertHunkOrLines" ID="GitStatusDialog.__revertHunkOrLines"></a> |
644 </p> |
|
645 <a NAME="GitStatusDialog.__revertHunkOrLines" ID="GitStatusDialog.__revertHunkOrLines"></a> |
488 <h4>GitStatusDialog.__revertHunkOrLines</h4> |
646 <h4>GitStatusDialog.__revertHunkOrLines</h4> |
489 <b>__revertHunkOrLines</b>(<i></i>) |
647 <b>__revertHunkOrLines</b>(<i></i>) |
|
648 |
490 <p> |
649 <p> |
491 Private method to revert the selected lines or hunk. |
650 Private method to revert the selected lines or hunk. |
492 </p><a NAME="GitStatusDialog.__sbsDiff" ID="GitStatusDialog.__sbsDiff"></a> |
651 </p> |
|
652 <a NAME="GitStatusDialog.__sbsDiff" ID="GitStatusDialog.__sbsDiff"></a> |
493 <h4>GitStatusDialog.__sbsDiff</h4> |
653 <h4>GitStatusDialog.__sbsDiff</h4> |
494 <b>__sbsDiff</b>(<i></i>) |
654 <b>__sbsDiff</b>(<i></i>) |
|
655 |
495 <p> |
656 <p> |
496 Private slot to handle the Diff context menu entry. |
657 Private slot to handle the Diff context menu entry. |
497 </p><a NAME="GitStatusDialog.__selectedLinesIndexes" ID="GitStatusDialog.__selectedLinesIndexes"></a> |
658 </p> |
|
659 <a NAME="GitStatusDialog.__selectedLinesIndexes" ID="GitStatusDialog.__selectedLinesIndexes"></a> |
498 <h4>GitStatusDialog.__selectedLinesIndexes</h4> |
660 <h4>GitStatusDialog.__selectedLinesIndexes</h4> |
499 <b>__selectedLinesIndexes</b>(<i>diffEdit</i>) |
661 <b>__selectedLinesIndexes</b>(<i>diffEdit</i>) |
|
662 |
500 <p> |
663 <p> |
501 Private method to extract the indexes of the selected lines. |
664 Private method to extract the indexes of the selected lines. |
502 </p><dl> |
665 </p> |
|
666 <dl> |
|
667 |
503 <dt><i>diffEdit</i></dt> |
668 <dt><i>diffEdit</i></dt> |
504 <dd> |
669 <dd> |
505 reference to the edit widget (QTextEdit) |
670 reference to the edit widget (QTextEdit) |
506 </dd> |
671 </dd> |
507 </dl><dl> |
672 </dl> |
|
673 <dl> |
508 <dt>Returns:</dt> |
674 <dt>Returns:</dt> |
509 <dd> |
675 <dd> |
510 tuple of start and end indexes (integer, integer) |
676 tuple of start and end indexes (integer, integer) |
511 </dd> |
677 </dd> |
512 </dl><a NAME="GitStatusDialog.__showActionsMenu" ID="GitStatusDialog.__showActionsMenu"></a> |
678 </dl> |
|
679 <a NAME="GitStatusDialog.__showActionsMenu" ID="GitStatusDialog.__showActionsMenu"></a> |
513 <h4>GitStatusDialog.__showActionsMenu</h4> |
680 <h4>GitStatusDialog.__showActionsMenu</h4> |
514 <b>__showActionsMenu</b>(<i></i>) |
681 <b>__showActionsMenu</b>(<i></i>) |
|
682 |
515 <p> |
683 <p> |
516 Private slot to prepare the actions button menu before it is shown. |
684 Private slot to prepare the actions button menu before it is shown. |
517 </p><a NAME="GitStatusDialog.__showLDiffContextMenu" ID="GitStatusDialog.__showLDiffContextMenu"></a> |
685 </p> |
|
686 <a NAME="GitStatusDialog.__showLDiffContextMenu" ID="GitStatusDialog.__showLDiffContextMenu"></a> |
518 <h4>GitStatusDialog.__showLDiffContextMenu</h4> |
687 <h4>GitStatusDialog.__showLDiffContextMenu</h4> |
519 <b>__showLDiffContextMenu</b>(<i>coord</i>) |
688 <b>__showLDiffContextMenu</b>(<i>coord</i>) |
|
689 |
520 <p> |
690 <p> |
521 Private slot to show the context menu of the status list. |
691 Private slot to show the context menu of the status list. |
522 </p><dl> |
692 </p> |
|
693 <dl> |
|
694 |
523 <dt><i>coord</i></dt> |
695 <dt><i>coord</i></dt> |
524 <dd> |
696 <dd> |
525 position of the mouse pointer (QPoint) |
697 position of the mouse pointer (QPoint) |
526 </dd> |
698 </dd> |
527 </dl><a NAME="GitStatusDialog.__showRDiffContextMenu" ID="GitStatusDialog.__showRDiffContextMenu"></a> |
699 </dl> |
|
700 <a NAME="GitStatusDialog.__showRDiffContextMenu" ID="GitStatusDialog.__showRDiffContextMenu"></a> |
528 <h4>GitStatusDialog.__showRDiffContextMenu</h4> |
701 <h4>GitStatusDialog.__showRDiffContextMenu</h4> |
529 <b>__showRDiffContextMenu</b>(<i>coord</i>) |
702 <b>__showRDiffContextMenu</b>(<i>coord</i>) |
|
703 |
530 <p> |
704 <p> |
531 Private slot to show the context menu of the status list. |
705 Private slot to show the context menu of the status list. |
532 </p><dl> |
706 </p> |
|
707 <dl> |
|
708 |
533 <dt><i>coord</i></dt> |
709 <dt><i>coord</i></dt> |
534 <dd> |
710 <dd> |
535 position of the mouse pointer (QPoint) |
711 position of the mouse pointer (QPoint) |
536 </dd> |
712 </dd> |
537 </dl><a NAME="GitStatusDialog.__stage" ID="GitStatusDialog.__stage"></a> |
713 </dl> |
|
714 <a NAME="GitStatusDialog.__stage" ID="GitStatusDialog.__stage"></a> |
538 <h4>GitStatusDialog.__stage</h4> |
715 <h4>GitStatusDialog.__stage</h4> |
539 <b>__stage</b>(<i></i>) |
716 <b>__stage</b>(<i></i>) |
|
717 |
540 <p> |
718 <p> |
541 Private slot to handle the Stage context menu entry. |
719 Private slot to handle the Stage context menu entry. |
542 </p><a NAME="GitStatusDialog.__stageHunkOrLines" ID="GitStatusDialog.__stageHunkOrLines"></a> |
720 </p> |
|
721 <a NAME="GitStatusDialog.__stageHunkOrLines" ID="GitStatusDialog.__stageHunkOrLines"></a> |
543 <h4>GitStatusDialog.__stageHunkOrLines</h4> |
722 <h4>GitStatusDialog.__stageHunkOrLines</h4> |
544 <b>__stageHunkOrLines</b>(<i></i>) |
723 <b>__stageHunkOrLines</b>(<i></i>) |
|
724 |
545 <p> |
725 <p> |
546 Private method to stage the selected lines or hunk. |
726 Private method to stage the selected lines or hunk. |
547 </p><a NAME="GitStatusDialog.__tmpPatchFileName" ID="GitStatusDialog.__tmpPatchFileName"></a> |
727 </p> |
|
728 <a NAME="GitStatusDialog.__tmpPatchFileName" ID="GitStatusDialog.__tmpPatchFileName"></a> |
548 <h4>GitStatusDialog.__tmpPatchFileName</h4> |
729 <h4>GitStatusDialog.__tmpPatchFileName</h4> |
549 <b>__tmpPatchFileName</b>(<i></i>) |
730 <b>__tmpPatchFileName</b>(<i></i>) |
|
731 |
550 <p> |
732 <p> |
551 Private method to generate a temporary patch file. |
733 Private method to generate a temporary patch file. |
552 </p><dl> |
734 </p> |
|
735 <dl> |
553 <dt>Returns:</dt> |
736 <dt>Returns:</dt> |
554 <dd> |
737 <dd> |
555 name of the temporary file (string) |
738 name of the temporary file (string) |
556 </dd> |
739 </dd> |
557 </dl><a NAME="GitStatusDialog.__unstage" ID="GitStatusDialog.__unstage"></a> |
740 </dl> |
|
741 <a NAME="GitStatusDialog.__unstage" ID="GitStatusDialog.__unstage"></a> |
558 <h4>GitStatusDialog.__unstage</h4> |
742 <h4>GitStatusDialog.__unstage</h4> |
559 <b>__unstage</b>(<i></i>) |
743 <b>__unstage</b>(<i></i>) |
|
744 |
560 <p> |
745 <p> |
561 Private slot to handle the Unstage context menu entry. |
746 Private slot to handle the Unstage context menu entry. |
562 </p><a NAME="GitStatusDialog.__unstageHunkOrLines" ID="GitStatusDialog.__unstageHunkOrLines"></a> |
747 </p> |
|
748 <a NAME="GitStatusDialog.__unstageHunkOrLines" ID="GitStatusDialog.__unstageHunkOrLines"></a> |
563 <h4>GitStatusDialog.__unstageHunkOrLines</h4> |
749 <h4>GitStatusDialog.__unstageHunkOrLines</h4> |
564 <b>__unstageHunkOrLines</b>(<i></i>) |
750 <b>__unstageHunkOrLines</b>(<i></i>) |
|
751 |
565 <p> |
752 <p> |
566 Private method to unstage the selected lines or hunk. |
753 Private method to unstage the selected lines or hunk. |
567 </p><a NAME="GitStatusDialog.closeEvent" ID="GitStatusDialog.closeEvent"></a> |
754 </p> |
|
755 <a NAME="GitStatusDialog.closeEvent" ID="GitStatusDialog.closeEvent"></a> |
568 <h4>GitStatusDialog.closeEvent</h4> |
756 <h4>GitStatusDialog.closeEvent</h4> |
569 <b>closeEvent</b>(<i>e</i>) |
757 <b>closeEvent</b>(<i>e</i>) |
|
758 |
570 <p> |
759 <p> |
571 Protected slot implementing a close event handler. |
760 Protected slot implementing a close event handler. |
572 </p><dl> |
761 </p> |
|
762 <dl> |
|
763 |
573 <dt><i>e</i></dt> |
764 <dt><i>e</i></dt> |
574 <dd> |
765 <dd> |
575 close event (QCloseEvent) |
766 close event (QCloseEvent) |
576 </dd> |
767 </dd> |
577 </dl><a NAME="GitStatusDialog.keyPressEvent" ID="GitStatusDialog.keyPressEvent"></a> |
768 </dl> |
|
769 <a NAME="GitStatusDialog.keyPressEvent" ID="GitStatusDialog.keyPressEvent"></a> |
578 <h4>GitStatusDialog.keyPressEvent</h4> |
770 <h4>GitStatusDialog.keyPressEvent</h4> |
579 <b>keyPressEvent</b>(<i>evt</i>) |
771 <b>keyPressEvent</b>(<i>evt</i>) |
|
772 |
580 <p> |
773 <p> |
581 Protected slot to handle a key press event. |
774 Protected slot to handle a key press event. |
582 </p><dl> |
775 </p> |
|
776 <dl> |
|
777 |
583 <dt><i>evt</i></dt> |
778 <dt><i>evt</i></dt> |
584 <dd> |
779 <dd> |
585 the key press event (QKeyEvent) |
780 the key press event (QKeyEvent) |
586 </dd> |
781 </dd> |
587 </dl><a NAME="GitStatusDialog.on_buttonBox_clicked" ID="GitStatusDialog.on_buttonBox_clicked"></a> |
782 </dl> |
|
783 <a NAME="GitStatusDialog.on_buttonBox_clicked" ID="GitStatusDialog.on_buttonBox_clicked"></a> |
588 <h4>GitStatusDialog.on_buttonBox_clicked</h4> |
784 <h4>GitStatusDialog.on_buttonBox_clicked</h4> |
589 <b>on_buttonBox_clicked</b>(<i>button</i>) |
785 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
786 |
590 <p> |
787 <p> |
591 Private slot called by a button of the button box clicked. |
788 Private slot called by a button of the button box clicked. |
592 </p><dl> |
789 </p> |
|
790 <dl> |
|
791 |
593 <dt><i>button</i></dt> |
792 <dt><i>button</i></dt> |
594 <dd> |
793 <dd> |
595 button that was clicked (QAbstractButton) |
794 button that was clicked (QAbstractButton) |
596 </dd> |
795 </dd> |
597 </dl><a NAME="GitStatusDialog.on_input_returnPressed" ID="GitStatusDialog.on_input_returnPressed"></a> |
796 </dl> |
|
797 <a NAME="GitStatusDialog.on_input_returnPressed" ID="GitStatusDialog.on_input_returnPressed"></a> |
598 <h4>GitStatusDialog.on_input_returnPressed</h4> |
798 <h4>GitStatusDialog.on_input_returnPressed</h4> |
599 <b>on_input_returnPressed</b>(<i></i>) |
799 <b>on_input_returnPressed</b>(<i></i>) |
|
800 |
600 <p> |
801 <p> |
601 Private slot to handle the press of the return key in the input field. |
802 Private slot to handle the press of the return key in the input field. |
602 </p><a NAME="GitStatusDialog.on_passwordCheckBox_toggled" ID="GitStatusDialog.on_passwordCheckBox_toggled"></a> |
803 </p> |
|
804 <a NAME="GitStatusDialog.on_passwordCheckBox_toggled" ID="GitStatusDialog.on_passwordCheckBox_toggled"></a> |
603 <h4>GitStatusDialog.on_passwordCheckBox_toggled</h4> |
805 <h4>GitStatusDialog.on_passwordCheckBox_toggled</h4> |
604 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
806 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
|
807 |
605 <p> |
808 <p> |
606 Private slot to handle the password checkbox toggled. |
809 Private slot to handle the password checkbox toggled. |
607 </p><dl> |
810 </p> |
|
811 <dl> |
|
812 |
608 <dt><i>isOn</i></dt> |
813 <dt><i>isOn</i></dt> |
609 <dd> |
814 <dd> |
610 flag indicating the status of the check box (boolean) |
815 flag indicating the status of the check box (boolean) |
611 </dd> |
816 </dd> |
612 </dl><a NAME="GitStatusDialog.on_refreshButton_clicked" ID="GitStatusDialog.on_refreshButton_clicked"></a> |
817 </dl> |
|
818 <a NAME="GitStatusDialog.on_refreshButton_clicked" ID="GitStatusDialog.on_refreshButton_clicked"></a> |
613 <h4>GitStatusDialog.on_refreshButton_clicked</h4> |
819 <h4>GitStatusDialog.on_refreshButton_clicked</h4> |
614 <b>on_refreshButton_clicked</b>(<i></i>) |
820 <b>on_refreshButton_clicked</b>(<i></i>) |
|
821 |
615 <p> |
822 <p> |
616 Private slot to refresh the status display. |
823 Private slot to refresh the status display. |
617 </p><a NAME="GitStatusDialog.on_sendButton_clicked" ID="GitStatusDialog.on_sendButton_clicked"></a> |
824 </p> |
|
825 <a NAME="GitStatusDialog.on_sendButton_clicked" ID="GitStatusDialog.on_sendButton_clicked"></a> |
618 <h4>GitStatusDialog.on_sendButton_clicked</h4> |
826 <h4>GitStatusDialog.on_sendButton_clicked</h4> |
619 <b>on_sendButton_clicked</b>(<i></i>) |
827 <b>on_sendButton_clicked</b>(<i></i>) |
|
828 |
620 <p> |
829 <p> |
621 Private slot to send the input to the git process. |
830 Private slot to send the input to the git process. |
622 </p><a NAME="GitStatusDialog.on_statusFilterCombo_activated" ID="GitStatusDialog.on_statusFilterCombo_activated"></a> |
831 </p> |
|
832 <a NAME="GitStatusDialog.on_statusFilterCombo_activated" ID="GitStatusDialog.on_statusFilterCombo_activated"></a> |
623 <h4>GitStatusDialog.on_statusFilterCombo_activated</h4> |
833 <h4>GitStatusDialog.on_statusFilterCombo_activated</h4> |
624 <b>on_statusFilterCombo_activated</b>(<i>txt</i>) |
834 <b>on_statusFilterCombo_activated</b>(<i>txt</i>) |
|
835 |
625 <p> |
836 <p> |
626 Private slot to react to the selection of a status filter. |
837 Private slot to react to the selection of a status filter. |
627 </p><dl> |
838 </p> |
|
839 <dl> |
|
840 |
628 <dt><i>txt</i></dt> |
841 <dt><i>txt</i></dt> |
629 <dd> |
842 <dd> |
630 selected status filter (string) |
843 selected status filter (string) |
631 </dd> |
844 </dd> |
632 </dl><a NAME="GitStatusDialog.on_statusList_itemSelectionChanged" ID="GitStatusDialog.on_statusList_itemSelectionChanged"></a> |
845 </dl> |
|
846 <a NAME="GitStatusDialog.on_statusList_itemSelectionChanged" ID="GitStatusDialog.on_statusList_itemSelectionChanged"></a> |
633 <h4>GitStatusDialog.on_statusList_itemSelectionChanged</h4> |
847 <h4>GitStatusDialog.on_statusList_itemSelectionChanged</h4> |
634 <b>on_statusList_itemSelectionChanged</b>(<i></i>) |
848 <b>on_statusList_itemSelectionChanged</b>(<i></i>) |
|
849 |
635 <p> |
850 <p> |
636 Private slot to act upon changes of selected items. |
851 Private slot to act upon changes of selected items. |
637 </p><a NAME="GitStatusDialog.show" ID="GitStatusDialog.show"></a> |
852 </p> |
|
853 <a NAME="GitStatusDialog.show" ID="GitStatusDialog.show"></a> |
638 <h4>GitStatusDialog.show</h4> |
854 <h4>GitStatusDialog.show</h4> |
639 <b>show</b>(<i></i>) |
855 <b>show</b>(<i></i>) |
|
856 |
640 <p> |
857 <p> |
641 Public slot to show the dialog. |
858 Public slot to show the dialog. |
642 </p><a NAME="GitStatusDialog.start" ID="GitStatusDialog.start"></a> |
859 </p> |
|
860 <a NAME="GitStatusDialog.start" ID="GitStatusDialog.start"></a> |
643 <h4>GitStatusDialog.start</h4> |
861 <h4>GitStatusDialog.start</h4> |
644 <b>start</b>(<i>fn</i>) |
862 <b>start</b>(<i>fn</i>) |
|
863 |
645 <p> |
864 <p> |
646 Public slot to start the git status command. |
865 Public slot to start the git status command. |
647 </p><dl> |
866 </p> |
|
867 <dl> |
|
868 |
648 <dt><i>fn</i></dt> |
869 <dt><i>fn</i></dt> |
649 <dd> |
870 <dd> |
650 filename(s)/directoryname(s) to show the status of |
871 filename(s)/directoryname(s) to show the status of |
651 (string or list of strings) |
872 (string or list of strings) |
652 </dd> |
873 </dd> |