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.GitStashBrowserDialog</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsGit.GitStashBrowserDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to show the stashes. |
26 Module implementing a dialog to show the stashes. |
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="#GitStashBrowserDialog">GitStashBrowserDialog</a></td> |
38 <td><a href="#GitStashBrowserDialog">GitStashBrowserDialog</a></td> |
34 <td>Class implementing a dialog to show the stashes.</td> |
39 <td>Class implementing a dialog to show the stashes.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="GitStashBrowserDialog" ID="GitStashBrowserDialog"></a> |
49 <a NAME="GitStashBrowserDialog" ID="GitStashBrowserDialog"></a> |
43 <h2>GitStashBrowserDialog</h2> |
50 <h2>GitStashBrowserDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to show the stashes. |
53 Class implementing a dialog to show the stashes. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QWidget, Ui_GitStashBrowserDialog |
56 QWidget, Ui_GitStashBrowserDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>DateColumn</td></tr><tr><td>FileStatisticsRole</td></tr><tr><td>MessageColumn</td></tr><tr><td>NameColumn</td></tr><tr><td>Separator</td></tr><tr><td>TotalStatisticsRole</td></tr> |
60 <tr><td>DateColumn</td></tr><tr><td>FileStatisticsRole</td></tr><tr><td>MessageColumn</td></tr><tr><td>NameColumn</td></tr><tr><td>Separator</td></tr><tr><td>TotalStatisticsRole</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="#GitStashBrowserDialog.__init__">GitStashBrowserDialog</a></td> |
72 <td><a href="#GitStashBrowserDialog.__init__">GitStashBrowserDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#GitStashBrowserDialog.__apply">__apply</a></td> |
76 <td><a href="#GitStashBrowserDialog.__apply">__apply</a></td> |
64 <td>Private slot to apply the selected stash but keep it.</td> |
77 <td>Private slot to apply the selected stash but keep it.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#GitStashBrowserDialog.__branch">__branch</a></td> |
80 <td><a href="#GitStashBrowserDialog.__branch">__branch</a></td> |
67 <td>Private slot to create a branch from the selected stash.</td> |
81 <td>Private slot to create a branch from the selected stash.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#GitStashBrowserDialog.__clear">__clear</a></td> |
84 <td><a href="#GitStashBrowserDialog.__clear">__clear</a></td> |
70 <td>Private slot to delete all stashes.</td> |
85 <td>Private slot to delete all stashes.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#GitStashBrowserDialog.__drop">__drop</a></td> |
88 <td><a href="#GitStashBrowserDialog.__drop">__drop</a></td> |
73 <td>Private slot to delete the selected stash.</td> |
89 <td>Private slot to delete the selected stash.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#GitStashBrowserDialog.__finish">__finish</a></td> |
92 <td><a href="#GitStashBrowserDialog.__finish">__finish</a></td> |
76 <td>Private slot called when the process finished or the user pressed the button.</td> |
93 <td>Private slot called when the process finished or the user pressed the button.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#GitStashBrowserDialog.__generateStashEntry">__generateStashEntry</a></td> |
96 <td><a href="#GitStashBrowserDialog.__generateStashEntry">__generateStashEntry</a></td> |
79 <td>Private method to generate the stash items.</td> |
97 <td>Private method to generate the stash items.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#GitStashBrowserDialog.__getStashEntries">__getStashEntries</a></td> |
100 <td><a href="#GitStashBrowserDialog.__getStashEntries">__getStashEntries</a></td> |
82 <td>Private method to retrieve the list of stashes.</td> |
101 <td>Private method to retrieve the list of stashes.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#GitStashBrowserDialog.__pop">__pop</a></td> |
104 <td><a href="#GitStashBrowserDialog.__pop">__pop</a></td> |
85 <td>Private slot to apply the selected stash and delete it.</td> |
105 <td>Private slot to apply the selected stash and delete it.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#GitStashBrowserDialog.__procFinished">__procFinished</a></td> |
108 <td><a href="#GitStashBrowserDialog.__procFinished">__procFinished</a></td> |
88 <td>Private slot connected to the finished signal.</td> |
109 <td>Private slot connected to the finished signal.</td> |
89 </tr><tr> |
110 </tr> |
|
111 <tr> |
90 <td><a href="#GitStashBrowserDialog.__processBuffer">__processBuffer</a></td> |
112 <td><a href="#GitStashBrowserDialog.__processBuffer">__processBuffer</a></td> |
91 <td>Private method to process the buffered output of the git stash command.</td> |
113 <td>Private method to process the buffered output of the git stash command.</td> |
92 </tr><tr> |
114 </tr> |
|
115 <tr> |
93 <td><a href="#GitStashBrowserDialog.__readStderr">__readStderr</a></td> |
116 <td><a href="#GitStashBrowserDialog.__readStderr">__readStderr</a></td> |
94 <td>Private slot to handle the readyReadStandardError signal.</td> |
117 <td>Private slot to handle the readyReadStandardError signal.</td> |
95 </tr><tr> |
118 </tr> |
|
119 <tr> |
96 <td><a href="#GitStashBrowserDialog.__readStdout">__readStdout</a></td> |
120 <td><a href="#GitStashBrowserDialog.__readStdout">__readStdout</a></td> |
97 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
121 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
98 </tr><tr> |
122 </tr> |
|
123 <tr> |
99 <td><a href="#GitStashBrowserDialog.__resetUI">__resetUI</a></td> |
124 <td><a href="#GitStashBrowserDialog.__resetUI">__resetUI</a></td> |
100 <td>Private method to reset the user interface.</td> |
125 <td>Private method to reset the user interface.</td> |
101 </tr><tr> |
126 </tr> |
|
127 <tr> |
102 <td><a href="#GitStashBrowserDialog.__resizeColumnsStashes">__resizeColumnsStashes</a></td> |
128 <td><a href="#GitStashBrowserDialog.__resizeColumnsStashes">__resizeColumnsStashes</a></td> |
103 <td>Private method to resize the shelve list columns.</td> |
129 <td>Private method to resize the shelve list columns.</td> |
104 </tr><tr> |
130 </tr> |
|
131 <tr> |
105 <td><a href="#GitStashBrowserDialog.__showPatch">__showPatch</a></td> |
132 <td><a href="#GitStashBrowserDialog.__showPatch">__showPatch</a></td> |
106 <td>Private slot to show the contents of the selected stash.</td> |
133 <td>Private slot to show the contents of the selected stash.</td> |
107 </tr><tr> |
134 </tr> |
|
135 <tr> |
108 <td><a href="#GitStashBrowserDialog.closeEvent">closeEvent</a></td> |
136 <td><a href="#GitStashBrowserDialog.closeEvent">closeEvent</a></td> |
109 <td>Protected slot implementing a close event handler.</td> |
137 <td>Protected slot implementing a close event handler.</td> |
110 </tr><tr> |
138 </tr> |
|
139 <tr> |
111 <td><a href="#GitStashBrowserDialog.keyPressEvent">keyPressEvent</a></td> |
140 <td><a href="#GitStashBrowserDialog.keyPressEvent">keyPressEvent</a></td> |
112 <td>Protected slot to handle a key press event.</td> |
141 <td>Protected slot to handle a key press event.</td> |
113 </tr><tr> |
142 </tr> |
|
143 <tr> |
114 <td><a href="#GitStashBrowserDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
144 <td><a href="#GitStashBrowserDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
115 <td>Private slot called by a button of the button box clicked.</td> |
145 <td>Private slot called by a button of the button box clicked.</td> |
116 </tr><tr> |
146 </tr> |
|
147 <tr> |
117 <td><a href="#GitStashBrowserDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
148 <td><a href="#GitStashBrowserDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
118 <td>Private slot to handle the press of the return key in the input field.</td> |
149 <td>Private slot to handle the press of the return key in the input field.</td> |
119 </tr><tr> |
150 </tr> |
|
151 <tr> |
120 <td><a href="#GitStashBrowserDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
152 <td><a href="#GitStashBrowserDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
121 <td>Private slot to handle the password checkbox toggled.</td> |
153 <td>Private slot to handle the password checkbox toggled.</td> |
122 </tr><tr> |
154 </tr> |
|
155 <tr> |
123 <td><a href="#GitStashBrowserDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
156 <td><a href="#GitStashBrowserDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
124 <td>Private slot to refresh the list of shelves.</td> |
157 <td>Private slot to refresh the list of shelves.</td> |
125 </tr><tr> |
158 </tr> |
|
159 <tr> |
126 <td><a href="#GitStashBrowserDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
160 <td><a href="#GitStashBrowserDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
127 <td>Private slot to send the input to the git process.</td> |
161 <td>Private slot to send the input to the git process.</td> |
128 </tr><tr> |
162 </tr> |
|
163 <tr> |
129 <td><a href="#GitStashBrowserDialog.on_stashList_currentItemChanged">on_stashList_currentItemChanged</a></td> |
164 <td><a href="#GitStashBrowserDialog.on_stashList_currentItemChanged">on_stashList_currentItemChanged</a></td> |
130 <td>Private slot called, when the current item of the stash list changes.</td> |
165 <td>Private slot called, when the current item of the stash list changes.</td> |
131 </tr><tr> |
166 </tr> |
|
167 <tr> |
132 <td><a href="#GitStashBrowserDialog.on_stashList_customContextMenuRequested">on_stashList_customContextMenuRequested</a></td> |
168 <td><a href="#GitStashBrowserDialog.on_stashList_customContextMenuRequested">on_stashList_customContextMenuRequested</a></td> |
133 <td>Private slot to show the context menu of the stash list.</td> |
169 <td>Private slot to show the context menu of the stash list.</td> |
134 </tr><tr> |
170 </tr> |
|
171 <tr> |
135 <td><a href="#GitStashBrowserDialog.show">show</a></td> |
172 <td><a href="#GitStashBrowserDialog.show">show</a></td> |
136 <td>Public slot to show the dialog.</td> |
173 <td>Public slot to show the dialog.</td> |
137 </tr><tr> |
174 </tr> |
|
175 <tr> |
138 <td><a href="#GitStashBrowserDialog.start">start</a></td> |
176 <td><a href="#GitStashBrowserDialog.start">start</a></td> |
139 <td>Public slot to start the git stash command.</td> |
177 <td>Public slot to start the git stash command.</td> |
140 </tr> |
178 </tr> |
141 </table> |
179 </table> |
142 <h3>Static Methods</h3> |
180 <h3>Static Methods</h3> |
|
181 |
143 <table> |
182 <table> |
144 <tr><td>None</td></tr> |
183 <tr><td>None</td></tr> |
145 </table> |
184 </table> |
|
185 |
146 <a NAME="GitStashBrowserDialog.__init__" ID="GitStashBrowserDialog.__init__"></a> |
186 <a NAME="GitStashBrowserDialog.__init__" ID="GitStashBrowserDialog.__init__"></a> |
147 <h4>GitStashBrowserDialog (Constructor)</h4> |
187 <h4>GitStashBrowserDialog (Constructor)</h4> |
148 <b>GitStashBrowserDialog</b>(<i>vcs, parent=None</i>) |
188 <b>GitStashBrowserDialog</b>(<i>vcs, parent=None</i>) |
|
189 |
149 <p> |
190 <p> |
150 Constructor |
191 Constructor |
151 </p><dl> |
192 </p> |
|
193 <dl> |
|
194 |
152 <dt><i>vcs</i></dt> |
195 <dt><i>vcs</i></dt> |
153 <dd> |
196 <dd> |
154 reference to the vcs object |
197 reference to the vcs object |
155 </dd><dt><i>parent</i></dt> |
198 </dd> |
|
199 <dt><i>parent</i></dt> |
156 <dd> |
200 <dd> |
157 reference to the parent widget (QWidget) |
201 reference to the parent widget (QWidget) |
158 </dd> |
202 </dd> |
159 </dl><a NAME="GitStashBrowserDialog.__apply" ID="GitStashBrowserDialog.__apply"></a> |
203 </dl> |
|
204 <a NAME="GitStashBrowserDialog.__apply" ID="GitStashBrowserDialog.__apply"></a> |
160 <h4>GitStashBrowserDialog.__apply</h4> |
205 <h4>GitStashBrowserDialog.__apply</h4> |
161 <b>__apply</b>(<i></i>) |
206 <b>__apply</b>(<i></i>) |
|
207 |
162 <p> |
208 <p> |
163 Private slot to apply the selected stash but keep it. |
209 Private slot to apply the selected stash but keep it. |
164 </p><a NAME="GitStashBrowserDialog.__branch" ID="GitStashBrowserDialog.__branch"></a> |
210 </p> |
|
211 <a NAME="GitStashBrowserDialog.__branch" ID="GitStashBrowserDialog.__branch"></a> |
165 <h4>GitStashBrowserDialog.__branch</h4> |
212 <h4>GitStashBrowserDialog.__branch</h4> |
166 <b>__branch</b>(<i></i>) |
213 <b>__branch</b>(<i></i>) |
|
214 |
167 <p> |
215 <p> |
168 Private slot to create a branch from the selected stash. |
216 Private slot to create a branch from the selected stash. |
169 </p><a NAME="GitStashBrowserDialog.__clear" ID="GitStashBrowserDialog.__clear"></a> |
217 </p> |
|
218 <a NAME="GitStashBrowserDialog.__clear" ID="GitStashBrowserDialog.__clear"></a> |
170 <h4>GitStashBrowserDialog.__clear</h4> |
219 <h4>GitStashBrowserDialog.__clear</h4> |
171 <b>__clear</b>(<i></i>) |
220 <b>__clear</b>(<i></i>) |
|
221 |
172 <p> |
222 <p> |
173 Private slot to delete all stashes. |
223 Private slot to delete all stashes. |
174 </p><a NAME="GitStashBrowserDialog.__drop" ID="GitStashBrowserDialog.__drop"></a> |
224 </p> |
|
225 <a NAME="GitStashBrowserDialog.__drop" ID="GitStashBrowserDialog.__drop"></a> |
175 <h4>GitStashBrowserDialog.__drop</h4> |
226 <h4>GitStashBrowserDialog.__drop</h4> |
176 <b>__drop</b>(<i></i>) |
227 <b>__drop</b>(<i></i>) |
|
228 |
177 <p> |
229 <p> |
178 Private slot to delete the selected stash. |
230 Private slot to delete the selected stash. |
179 </p><a NAME="GitStashBrowserDialog.__finish" ID="GitStashBrowserDialog.__finish"></a> |
231 </p> |
|
232 <a NAME="GitStashBrowserDialog.__finish" ID="GitStashBrowserDialog.__finish"></a> |
180 <h4>GitStashBrowserDialog.__finish</h4> |
233 <h4>GitStashBrowserDialog.__finish</h4> |
181 <b>__finish</b>(<i></i>) |
234 <b>__finish</b>(<i></i>) |
|
235 |
182 <p> |
236 <p> |
183 Private slot called when the process finished or the user pressed |
237 Private slot called when the process finished or the user pressed |
184 the button. |
238 the button. |
185 </p><a NAME="GitStashBrowserDialog.__generateStashEntry" ID="GitStashBrowserDialog.__generateStashEntry"></a> |
239 </p> |
|
240 <a NAME="GitStashBrowserDialog.__generateStashEntry" ID="GitStashBrowserDialog.__generateStashEntry"></a> |
186 <h4>GitStashBrowserDialog.__generateStashEntry</h4> |
241 <h4>GitStashBrowserDialog.__generateStashEntry</h4> |
187 <b>__generateStashEntry</b>(<i>name, date, message</i>) |
242 <b>__generateStashEntry</b>(<i>name, date, message</i>) |
|
243 |
188 <p> |
244 <p> |
189 Private method to generate the stash items. |
245 Private method to generate the stash items. |
190 </p><dl> |
246 </p> |
|
247 <dl> |
|
248 |
191 <dt><i>name</i></dt> |
249 <dt><i>name</i></dt> |
192 <dd> |
250 <dd> |
193 name of the stash (string) |
251 name of the stash (string) |
194 </dd><dt><i>date</i></dt> |
252 </dd> |
|
253 <dt><i>date</i></dt> |
195 <dd> |
254 <dd> |
196 date the stash was created (string) |
255 date the stash was created (string) |
197 </dd><dt><i>message</i></dt> |
256 </dd> |
|
257 <dt><i>message</i></dt> |
198 <dd> |
258 <dd> |
199 stash message (string) |
259 stash message (string) |
200 </dd> |
260 </dd> |
201 </dl><a NAME="GitStashBrowserDialog.__getStashEntries" ID="GitStashBrowserDialog.__getStashEntries"></a> |
261 </dl> |
|
262 <a NAME="GitStashBrowserDialog.__getStashEntries" ID="GitStashBrowserDialog.__getStashEntries"></a> |
202 <h4>GitStashBrowserDialog.__getStashEntries</h4> |
263 <h4>GitStashBrowserDialog.__getStashEntries</h4> |
203 <b>__getStashEntries</b>(<i></i>) |
264 <b>__getStashEntries</b>(<i></i>) |
|
265 |
204 <p> |
266 <p> |
205 Private method to retrieve the list of stashes. |
267 Private method to retrieve the list of stashes. |
206 </p><a NAME="GitStashBrowserDialog.__pop" ID="GitStashBrowserDialog.__pop"></a> |
268 </p> |
|
269 <a NAME="GitStashBrowserDialog.__pop" ID="GitStashBrowserDialog.__pop"></a> |
207 <h4>GitStashBrowserDialog.__pop</h4> |
270 <h4>GitStashBrowserDialog.__pop</h4> |
208 <b>__pop</b>(<i></i>) |
271 <b>__pop</b>(<i></i>) |
|
272 |
209 <p> |
273 <p> |
210 Private slot to apply the selected stash and delete it. |
274 Private slot to apply the selected stash and delete it. |
211 </p><a NAME="GitStashBrowserDialog.__procFinished" ID="GitStashBrowserDialog.__procFinished"></a> |
275 </p> |
|
276 <a NAME="GitStashBrowserDialog.__procFinished" ID="GitStashBrowserDialog.__procFinished"></a> |
212 <h4>GitStashBrowserDialog.__procFinished</h4> |
277 <h4>GitStashBrowserDialog.__procFinished</h4> |
213 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
278 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
279 |
214 <p> |
280 <p> |
215 Private slot connected to the finished signal. |
281 Private slot connected to the finished signal. |
216 </p><dl> |
282 </p> |
|
283 <dl> |
|
284 |
217 <dt><i>exitCode</i></dt> |
285 <dt><i>exitCode</i></dt> |
218 <dd> |
286 <dd> |
219 exit code of the process (integer) |
287 exit code of the process (integer) |
220 </dd><dt><i>exitStatus</i></dt> |
288 </dd> |
|
289 <dt><i>exitStatus</i></dt> |
221 <dd> |
290 <dd> |
222 exit status of the process (QProcess.ExitStatus) |
291 exit status of the process (QProcess.ExitStatus) |
223 </dd> |
292 </dd> |
224 </dl><a NAME="GitStashBrowserDialog.__processBuffer" ID="GitStashBrowserDialog.__processBuffer"></a> |
293 </dl> |
|
294 <a NAME="GitStashBrowserDialog.__processBuffer" ID="GitStashBrowserDialog.__processBuffer"></a> |
225 <h4>GitStashBrowserDialog.__processBuffer</h4> |
295 <h4>GitStashBrowserDialog.__processBuffer</h4> |
226 <b>__processBuffer</b>(<i></i>) |
296 <b>__processBuffer</b>(<i></i>) |
|
297 |
227 <p> |
298 <p> |
228 Private method to process the buffered output of the git stash command. |
299 Private method to process the buffered output of the git stash command. |
229 </p><a NAME="GitStashBrowserDialog.__readStderr" ID="GitStashBrowserDialog.__readStderr"></a> |
300 </p> |
|
301 <a NAME="GitStashBrowserDialog.__readStderr" ID="GitStashBrowserDialog.__readStderr"></a> |
230 <h4>GitStashBrowserDialog.__readStderr</h4> |
302 <h4>GitStashBrowserDialog.__readStderr</h4> |
231 <b>__readStderr</b>(<i></i>) |
303 <b>__readStderr</b>(<i></i>) |
|
304 |
232 <p> |
305 <p> |
233 Private slot to handle the readyReadStandardError signal. |
306 Private slot to handle the readyReadStandardError signal. |
234 </p><p> |
307 </p> |
|
308 <p> |
235 It reads the error output of the process and inserts it into the |
309 It reads the error output of the process and inserts it into the |
236 error pane. |
310 error pane. |
237 </p><a NAME="GitStashBrowserDialog.__readStdout" ID="GitStashBrowserDialog.__readStdout"></a> |
311 </p> |
|
312 <a NAME="GitStashBrowserDialog.__readStdout" ID="GitStashBrowserDialog.__readStdout"></a> |
238 <h4>GitStashBrowserDialog.__readStdout</h4> |
313 <h4>GitStashBrowserDialog.__readStdout</h4> |
239 <b>__readStdout</b>(<i></i>) |
314 <b>__readStdout</b>(<i></i>) |
|
315 |
240 <p> |
316 <p> |
241 Private slot to handle the readyReadStandardOutput signal. |
317 Private slot to handle the readyReadStandardOutput signal. |
242 </p><p> |
318 </p> |
|
319 <p> |
243 It reads the output of the process and inserts it into a buffer. |
320 It reads the output of the process and inserts it into a buffer. |
244 </p><a NAME="GitStashBrowserDialog.__resetUI" ID="GitStashBrowserDialog.__resetUI"></a> |
321 </p> |
|
322 <a NAME="GitStashBrowserDialog.__resetUI" ID="GitStashBrowserDialog.__resetUI"></a> |
245 <h4>GitStashBrowserDialog.__resetUI</h4> |
323 <h4>GitStashBrowserDialog.__resetUI</h4> |
246 <b>__resetUI</b>(<i></i>) |
324 <b>__resetUI</b>(<i></i>) |
|
325 |
247 <p> |
326 <p> |
248 Private method to reset the user interface. |
327 Private method to reset the user interface. |
249 </p><a NAME="GitStashBrowserDialog.__resizeColumnsStashes" ID="GitStashBrowserDialog.__resizeColumnsStashes"></a> |
328 </p> |
|
329 <a NAME="GitStashBrowserDialog.__resizeColumnsStashes" ID="GitStashBrowserDialog.__resizeColumnsStashes"></a> |
250 <h4>GitStashBrowserDialog.__resizeColumnsStashes</h4> |
330 <h4>GitStashBrowserDialog.__resizeColumnsStashes</h4> |
251 <b>__resizeColumnsStashes</b>(<i></i>) |
331 <b>__resizeColumnsStashes</b>(<i></i>) |
|
332 |
252 <p> |
333 <p> |
253 Private method to resize the shelve list columns. |
334 Private method to resize the shelve list columns. |
254 </p><a NAME="GitStashBrowserDialog.__showPatch" ID="GitStashBrowserDialog.__showPatch"></a> |
335 </p> |
|
336 <a NAME="GitStashBrowserDialog.__showPatch" ID="GitStashBrowserDialog.__showPatch"></a> |
255 <h4>GitStashBrowserDialog.__showPatch</h4> |
337 <h4>GitStashBrowserDialog.__showPatch</h4> |
256 <b>__showPatch</b>(<i></i>) |
338 <b>__showPatch</b>(<i></i>) |
|
339 |
257 <p> |
340 <p> |
258 Private slot to show the contents of the selected stash. |
341 Private slot to show the contents of the selected stash. |
259 </p><a NAME="GitStashBrowserDialog.closeEvent" ID="GitStashBrowserDialog.closeEvent"></a> |
342 </p> |
|
343 <a NAME="GitStashBrowserDialog.closeEvent" ID="GitStashBrowserDialog.closeEvent"></a> |
260 <h4>GitStashBrowserDialog.closeEvent</h4> |
344 <h4>GitStashBrowserDialog.closeEvent</h4> |
261 <b>closeEvent</b>(<i>e</i>) |
345 <b>closeEvent</b>(<i>e</i>) |
|
346 |
262 <p> |
347 <p> |
263 Protected slot implementing a close event handler. |
348 Protected slot implementing a close event handler. |
264 </p><dl> |
349 </p> |
|
350 <dl> |
|
351 |
265 <dt><i>e</i></dt> |
352 <dt><i>e</i></dt> |
266 <dd> |
353 <dd> |
267 close event (QCloseEvent) |
354 close event (QCloseEvent) |
268 </dd> |
355 </dd> |
269 </dl><a NAME="GitStashBrowserDialog.keyPressEvent" ID="GitStashBrowserDialog.keyPressEvent"></a> |
356 </dl> |
|
357 <a NAME="GitStashBrowserDialog.keyPressEvent" ID="GitStashBrowserDialog.keyPressEvent"></a> |
270 <h4>GitStashBrowserDialog.keyPressEvent</h4> |
358 <h4>GitStashBrowserDialog.keyPressEvent</h4> |
271 <b>keyPressEvent</b>(<i>evt</i>) |
359 <b>keyPressEvent</b>(<i>evt</i>) |
|
360 |
272 <p> |
361 <p> |
273 Protected slot to handle a key press event. |
362 Protected slot to handle a key press event. |
274 </p><dl> |
363 </p> |
|
364 <dl> |
|
365 |
275 <dt><i>evt</i></dt> |
366 <dt><i>evt</i></dt> |
276 <dd> |
367 <dd> |
277 the key press event (QKeyEvent) |
368 the key press event (QKeyEvent) |
278 </dd> |
369 </dd> |
279 </dl><a NAME="GitStashBrowserDialog.on_buttonBox_clicked" ID="GitStashBrowserDialog.on_buttonBox_clicked"></a> |
370 </dl> |
|
371 <a NAME="GitStashBrowserDialog.on_buttonBox_clicked" ID="GitStashBrowserDialog.on_buttonBox_clicked"></a> |
280 <h4>GitStashBrowserDialog.on_buttonBox_clicked</h4> |
372 <h4>GitStashBrowserDialog.on_buttonBox_clicked</h4> |
281 <b>on_buttonBox_clicked</b>(<i>button</i>) |
373 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
374 |
282 <p> |
375 <p> |
283 Private slot called by a button of the button box clicked. |
376 Private slot called by a button of the button box clicked. |
284 </p><dl> |
377 </p> |
|
378 <dl> |
|
379 |
285 <dt><i>button</i></dt> |
380 <dt><i>button</i></dt> |
286 <dd> |
381 <dd> |
287 button that was clicked (QAbstractButton) |
382 button that was clicked (QAbstractButton) |
288 </dd> |
383 </dd> |
289 </dl><a NAME="GitStashBrowserDialog.on_input_returnPressed" ID="GitStashBrowserDialog.on_input_returnPressed"></a> |
384 </dl> |
|
385 <a NAME="GitStashBrowserDialog.on_input_returnPressed" ID="GitStashBrowserDialog.on_input_returnPressed"></a> |
290 <h4>GitStashBrowserDialog.on_input_returnPressed</h4> |
386 <h4>GitStashBrowserDialog.on_input_returnPressed</h4> |
291 <b>on_input_returnPressed</b>(<i></i>) |
387 <b>on_input_returnPressed</b>(<i></i>) |
|
388 |
292 <p> |
389 <p> |
293 Private slot to handle the press of the return key in the input field. |
390 Private slot to handle the press of the return key in the input field. |
294 </p><a NAME="GitStashBrowserDialog.on_passwordCheckBox_toggled" ID="GitStashBrowserDialog.on_passwordCheckBox_toggled"></a> |
391 </p> |
|
392 <a NAME="GitStashBrowserDialog.on_passwordCheckBox_toggled" ID="GitStashBrowserDialog.on_passwordCheckBox_toggled"></a> |
295 <h4>GitStashBrowserDialog.on_passwordCheckBox_toggled</h4> |
393 <h4>GitStashBrowserDialog.on_passwordCheckBox_toggled</h4> |
296 <b>on_passwordCheckBox_toggled</b>(<i>checked</i>) |
394 <b>on_passwordCheckBox_toggled</b>(<i>checked</i>) |
|
395 |
297 <p> |
396 <p> |
298 Private slot to handle the password checkbox toggled. |
397 Private slot to handle the password checkbox toggled. |
299 </p><dl> |
398 </p> |
|
399 <dl> |
|
400 |
300 <dt><i>checked</i></dt> |
401 <dt><i>checked</i></dt> |
301 <dd> |
402 <dd> |
302 flag indicating the status of the check box (boolean) |
403 flag indicating the status of the check box (boolean) |
303 </dd> |
404 </dd> |
304 </dl><a NAME="GitStashBrowserDialog.on_refreshButton_clicked" ID="GitStashBrowserDialog.on_refreshButton_clicked"></a> |
405 </dl> |
|
406 <a NAME="GitStashBrowserDialog.on_refreshButton_clicked" ID="GitStashBrowserDialog.on_refreshButton_clicked"></a> |
305 <h4>GitStashBrowserDialog.on_refreshButton_clicked</h4> |
407 <h4>GitStashBrowserDialog.on_refreshButton_clicked</h4> |
306 <b>on_refreshButton_clicked</b>(<i></i>) |
408 <b>on_refreshButton_clicked</b>(<i></i>) |
|
409 |
307 <p> |
410 <p> |
308 Private slot to refresh the list of shelves. |
411 Private slot to refresh the list of shelves. |
309 </p><a NAME="GitStashBrowserDialog.on_sendButton_clicked" ID="GitStashBrowserDialog.on_sendButton_clicked"></a> |
412 </p> |
|
413 <a NAME="GitStashBrowserDialog.on_sendButton_clicked" ID="GitStashBrowserDialog.on_sendButton_clicked"></a> |
310 <h4>GitStashBrowserDialog.on_sendButton_clicked</h4> |
414 <h4>GitStashBrowserDialog.on_sendButton_clicked</h4> |
311 <b>on_sendButton_clicked</b>(<i></i>) |
415 <b>on_sendButton_clicked</b>(<i></i>) |
|
416 |
312 <p> |
417 <p> |
313 Private slot to send the input to the git process. |
418 Private slot to send the input to the git process. |
314 </p><a NAME="GitStashBrowserDialog.on_stashList_currentItemChanged" ID="GitStashBrowserDialog.on_stashList_currentItemChanged"></a> |
419 </p> |
|
420 <a NAME="GitStashBrowserDialog.on_stashList_currentItemChanged" ID="GitStashBrowserDialog.on_stashList_currentItemChanged"></a> |
315 <h4>GitStashBrowserDialog.on_stashList_currentItemChanged</h4> |
421 <h4>GitStashBrowserDialog.on_stashList_currentItemChanged</h4> |
316 <b>on_stashList_currentItemChanged</b>(<i>current, previous</i>) |
422 <b>on_stashList_currentItemChanged</b>(<i>current, previous</i>) |
|
423 |
317 <p> |
424 <p> |
318 Private slot called, when the current item of the stash list changes. |
425 Private slot called, when the current item of the stash list changes. |
319 </p><dl> |
426 </p> |
|
427 <dl> |
|
428 |
320 <dt><i>current</i></dt> |
429 <dt><i>current</i></dt> |
321 <dd> |
430 <dd> |
322 reference to the new current item (QTreeWidgetItem) |
431 reference to the new current item (QTreeWidgetItem) |
323 </dd><dt><i>previous</i></dt> |
432 </dd> |
|
433 <dt><i>previous</i></dt> |
324 <dd> |
434 <dd> |
325 reference to the old current item (QTreeWidgetItem) |
435 reference to the old current item (QTreeWidgetItem) |
326 </dd> |
436 </dd> |
327 </dl><a NAME="GitStashBrowserDialog.on_stashList_customContextMenuRequested" ID="GitStashBrowserDialog.on_stashList_customContextMenuRequested"></a> |
437 </dl> |
|
438 <a NAME="GitStashBrowserDialog.on_stashList_customContextMenuRequested" ID="GitStashBrowserDialog.on_stashList_customContextMenuRequested"></a> |
328 <h4>GitStashBrowserDialog.on_stashList_customContextMenuRequested</h4> |
439 <h4>GitStashBrowserDialog.on_stashList_customContextMenuRequested</h4> |
329 <b>on_stashList_customContextMenuRequested</b>(<i>pos</i>) |
440 <b>on_stashList_customContextMenuRequested</b>(<i>pos</i>) |
|
441 |
330 <p> |
442 <p> |
331 Private slot to show the context menu of the stash list. |
443 Private slot to show the context menu of the stash list. |
332 </p><dl> |
444 </p> |
|
445 <dl> |
|
446 |
333 <dt><i>pos</i></dt> |
447 <dt><i>pos</i></dt> |
334 <dd> |
448 <dd> |
335 position of the mouse pointer (QPoint) |
449 position of the mouse pointer (QPoint) |
336 </dd> |
450 </dd> |
337 </dl><a NAME="GitStashBrowserDialog.show" ID="GitStashBrowserDialog.show"></a> |
451 </dl> |
|
452 <a NAME="GitStashBrowserDialog.show" ID="GitStashBrowserDialog.show"></a> |
338 <h4>GitStashBrowserDialog.show</h4> |
453 <h4>GitStashBrowserDialog.show</h4> |
339 <b>show</b>(<i></i>) |
454 <b>show</b>(<i></i>) |
|
455 |
340 <p> |
456 <p> |
341 Public slot to show the dialog. |
457 Public slot to show the dialog. |
342 </p><a NAME="GitStashBrowserDialog.start" ID="GitStashBrowserDialog.start"></a> |
458 </p> |
|
459 <a NAME="GitStashBrowserDialog.start" ID="GitStashBrowserDialog.start"></a> |
343 <h4>GitStashBrowserDialog.start</h4> |
460 <h4>GitStashBrowserDialog.start</h4> |
344 <b>start</b>(<i>projectDir</i>) |
461 <b>start</b>(<i>projectDir</i>) |
|
462 |
345 <p> |
463 <p> |
346 Public slot to start the git stash command. |
464 Public slot to start the git stash command. |
347 </p><dl> |
465 </p> |
|
466 <dl> |
|
467 |
348 <dt><i>projectDir</i></dt> |
468 <dt><i>projectDir</i></dt> |
349 <dd> |
469 <dd> |
350 name of the project directory (string) |
470 name of the project directory (string) |
351 </dd> |
471 </dd> |
352 </dl> |
472 </dl> |