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.vcsSubversion.SvnCommitDialog</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsSubversion.SvnCommitDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to enter the commit message. |
26 Module implementing a dialog to enter the commit message. |
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="#SvnCommitDialog">SvnCommitDialog</a></td> |
38 <td><a href="#SvnCommitDialog">SvnCommitDialog</a></td> |
34 <td>Class implementing a dialog to enter the commit message.</td> |
39 <td>Class implementing a dialog to enter the commit message.</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="SvnCommitDialog" ID="SvnCommitDialog"></a> |
49 <a NAME="SvnCommitDialog" ID="SvnCommitDialog"></a> |
43 <h2>SvnCommitDialog</h2> |
50 <h2>SvnCommitDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to enter the commit message. |
53 Class implementing a dialog to enter the commit message. |
46 </p><h3>Signals</h3> |
54 </p> |
47 <dl> |
55 <h3>Signals</h3> |
|
56 <dl> |
|
57 |
48 <dt>accepted()</dt> |
58 <dt>accepted()</dt> |
49 <dd> |
59 <dd> |
50 emitted, if the dialog was accepted |
60 emitted, if the dialog was accepted |
51 </dd><dt>rejected()</dt> |
61 </dd> |
|
62 <dt>rejected()</dt> |
52 <dd> |
63 <dd> |
53 emitted, if the dialog was rejected |
64 emitted, if the dialog was rejected |
54 </dd> |
65 </dd> |
55 </dl> |
66 </dl> |
56 <h3>Derived from</h3> |
67 <h3>Derived from</h3> |
57 QWidget, Ui_SvnCommitDialog |
68 QWidget, Ui_SvnCommitDialog |
58 <h3>Class Attributes</h3> |
69 <h3>Class Attributes</h3> |
|
70 |
59 <table> |
71 <table> |
60 <tr><td>None</td></tr> |
72 <tr><td>None</td></tr> |
61 </table> |
73 </table> |
62 <h3>Class Methods</h3> |
74 <h3>Class Methods</h3> |
|
75 |
63 <table> |
76 <table> |
64 <tr><td>None</td></tr> |
77 <tr><td>None</td></tr> |
65 </table> |
78 </table> |
66 <h3>Methods</h3> |
79 <h3>Methods</h3> |
67 <table> |
80 |
|
81 <table> |
|
82 |
68 <tr> |
83 <tr> |
69 <td><a href="#SvnCommitDialog.__init__">SvnCommitDialog</a></td> |
84 <td><a href="#SvnCommitDialog.__init__">SvnCommitDialog</a></td> |
70 <td>Constructor</td> |
85 <td>Constructor</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#SvnCommitDialog.changelistsData">changelistsData</a></td> |
88 <td><a href="#SvnCommitDialog.changelistsData">changelistsData</a></td> |
73 <td>Public method to retrieve the changelists data.</td> |
89 <td>Public method to retrieve the changelists data.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#SvnCommitDialog.hasChangelists">hasChangelists</a></td> |
92 <td><a href="#SvnCommitDialog.hasChangelists">hasChangelists</a></td> |
76 <td>Public method to check, if the user entered some changelists.</td> |
93 <td>Public method to check, if the user entered some changelists.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#SvnCommitDialog.logMessage">logMessage</a></td> |
96 <td><a href="#SvnCommitDialog.logMessage">logMessage</a></td> |
79 <td>Public method to retrieve the log message.</td> |
97 <td>Public method to retrieve the log message.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#SvnCommitDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td> |
100 <td><a href="#SvnCommitDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td> |
82 <td>Private slot called by the buttonBox accepted signal.</td> |
101 <td>Private slot called by the buttonBox accepted signal.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#SvnCommitDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
104 <td><a href="#SvnCommitDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
85 <td>Private slot called by a button of the button box clicked.</td> |
105 <td>Private slot called by a button of the button box clicked.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#SvnCommitDialog.on_buttonBox_rejected">on_buttonBox_rejected</a></td> |
108 <td><a href="#SvnCommitDialog.on_buttonBox_rejected">on_buttonBox_rejected</a></td> |
88 <td>Private slot called by the buttonBox rejected signal.</td> |
109 <td>Private slot called by the buttonBox rejected signal.</td> |
89 </tr><tr> |
110 </tr> |
|
111 <tr> |
90 <td><a href="#SvnCommitDialog.on_recentComboBox_activated">on_recentComboBox_activated</a></td> |
112 <td><a href="#SvnCommitDialog.on_recentComboBox_activated">on_recentComboBox_activated</a></td> |
91 <td>Private slot to select a commit message from recent ones.</td> |
113 <td>Private slot to select a commit message from recent ones.</td> |
92 </tr><tr> |
114 </tr> |
|
115 <tr> |
93 <td><a href="#SvnCommitDialog.showEvent">showEvent</a></td> |
116 <td><a href="#SvnCommitDialog.showEvent">showEvent</a></td> |
94 <td>Protected method called when the dialog is about to be shown.</td> |
117 <td>Protected method called when the dialog is about to be shown.</td> |
95 </tr> |
118 </tr> |
96 </table> |
119 </table> |
97 <h3>Static Methods</h3> |
120 <h3>Static Methods</h3> |
98 <table> |
121 |
99 <tr><td>None</td></tr> |
122 <table> |
100 </table> |
123 <tr><td>None</td></tr> |
|
124 </table> |
|
125 |
101 <a NAME="SvnCommitDialog.__init__" ID="SvnCommitDialog.__init__"></a> |
126 <a NAME="SvnCommitDialog.__init__" ID="SvnCommitDialog.__init__"></a> |
102 <h4>SvnCommitDialog (Constructor)</h4> |
127 <h4>SvnCommitDialog (Constructor)</h4> |
103 <b>SvnCommitDialog</b>(<i>vcs, parent=None</i>) |
128 <b>SvnCommitDialog</b>(<i>vcs, parent=None</i>) |
|
129 |
104 <p> |
130 <p> |
105 Constructor |
131 Constructor |
106 </p><dl> |
132 </p> |
|
133 <dl> |
|
134 |
107 <dt><i>vcs</i></dt> |
135 <dt><i>vcs</i></dt> |
108 <dd> |
136 <dd> |
109 reference to the vcs object |
137 reference to the vcs object |
110 </dd><dt><i>parent</i></dt> |
138 </dd> |
|
139 <dt><i>parent</i></dt> |
111 <dd> |
140 <dd> |
112 parent widget (QWidget) |
141 parent widget (QWidget) |
113 </dd> |
142 </dd> |
114 </dl><a NAME="SvnCommitDialog.changelistsData" ID="SvnCommitDialog.changelistsData"></a> |
143 </dl> |
|
144 <a NAME="SvnCommitDialog.changelistsData" ID="SvnCommitDialog.changelistsData"></a> |
115 <h4>SvnCommitDialog.changelistsData</h4> |
145 <h4>SvnCommitDialog.changelistsData</h4> |
116 <b>changelistsData</b>(<i></i>) |
146 <b>changelistsData</b>(<i></i>) |
|
147 |
117 <p> |
148 <p> |
118 Public method to retrieve the changelists data. |
149 Public method to retrieve the changelists data. |
119 </p><dl> |
150 </p> |
|
151 <dl> |
120 <dt>Returns:</dt> |
152 <dt>Returns:</dt> |
121 <dd> |
153 <dd> |
122 tuple containing the changelists (list of strings) and a flag |
154 tuple containing the changelists (list of strings) and a flag |
123 indicating to keep changelists (boolean) |
155 indicating to keep changelists (boolean) |
124 </dd> |
156 </dd> |
125 </dl><a NAME="SvnCommitDialog.hasChangelists" ID="SvnCommitDialog.hasChangelists"></a> |
157 </dl> |
|
158 <a NAME="SvnCommitDialog.hasChangelists" ID="SvnCommitDialog.hasChangelists"></a> |
126 <h4>SvnCommitDialog.hasChangelists</h4> |
159 <h4>SvnCommitDialog.hasChangelists</h4> |
127 <b>hasChangelists</b>(<i></i>) |
160 <b>hasChangelists</b>(<i></i>) |
|
161 |
128 <p> |
162 <p> |
129 Public method to check, if the user entered some changelists. |
163 Public method to check, if the user entered some changelists. |
130 </p><dl> |
164 </p> |
|
165 <dl> |
131 <dt>Returns:</dt> |
166 <dt>Returns:</dt> |
132 <dd> |
167 <dd> |
133 flag indicating availability of changelists (boolean) |
168 flag indicating availability of changelists (boolean) |
134 </dd> |
169 </dd> |
135 </dl><a NAME="SvnCommitDialog.logMessage" ID="SvnCommitDialog.logMessage"></a> |
170 </dl> |
|
171 <a NAME="SvnCommitDialog.logMessage" ID="SvnCommitDialog.logMessage"></a> |
136 <h4>SvnCommitDialog.logMessage</h4> |
172 <h4>SvnCommitDialog.logMessage</h4> |
137 <b>logMessage</b>(<i></i>) |
173 <b>logMessage</b>(<i></i>) |
|
174 |
138 <p> |
175 <p> |
139 Public method to retrieve the log message. |
176 Public method to retrieve the log message. |
140 </p><dl> |
177 </p> |
|
178 <dl> |
141 <dt>Returns:</dt> |
179 <dt>Returns:</dt> |
142 <dd> |
180 <dd> |
143 the log message (string) |
181 the log message (string) |
144 </dd> |
182 </dd> |
145 </dl><a NAME="SvnCommitDialog.on_buttonBox_accepted" ID="SvnCommitDialog.on_buttonBox_accepted"></a> |
183 </dl> |
|
184 <a NAME="SvnCommitDialog.on_buttonBox_accepted" ID="SvnCommitDialog.on_buttonBox_accepted"></a> |
146 <h4>SvnCommitDialog.on_buttonBox_accepted</h4> |
185 <h4>SvnCommitDialog.on_buttonBox_accepted</h4> |
147 <b>on_buttonBox_accepted</b>(<i></i>) |
186 <b>on_buttonBox_accepted</b>(<i></i>) |
|
187 |
148 <p> |
188 <p> |
149 Private slot called by the buttonBox accepted signal. |
189 Private slot called by the buttonBox accepted signal. |
150 </p><a NAME="SvnCommitDialog.on_buttonBox_clicked" ID="SvnCommitDialog.on_buttonBox_clicked"></a> |
190 </p> |
|
191 <a NAME="SvnCommitDialog.on_buttonBox_clicked" ID="SvnCommitDialog.on_buttonBox_clicked"></a> |
151 <h4>SvnCommitDialog.on_buttonBox_clicked</h4> |
192 <h4>SvnCommitDialog.on_buttonBox_clicked</h4> |
152 <b>on_buttonBox_clicked</b>(<i>button</i>) |
193 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
194 |
153 <p> |
195 <p> |
154 Private slot called by a button of the button box clicked. |
196 Private slot called by a button of the button box clicked. |
155 </p><dl> |
197 </p> |
|
198 <dl> |
|
199 |
156 <dt><i>button</i></dt> |
200 <dt><i>button</i></dt> |
157 <dd> |
201 <dd> |
158 button that was clicked (QAbstractButton) |
202 button that was clicked (QAbstractButton) |
159 </dd> |
203 </dd> |
160 </dl><a NAME="SvnCommitDialog.on_buttonBox_rejected" ID="SvnCommitDialog.on_buttonBox_rejected"></a> |
204 </dl> |
|
205 <a NAME="SvnCommitDialog.on_buttonBox_rejected" ID="SvnCommitDialog.on_buttonBox_rejected"></a> |
161 <h4>SvnCommitDialog.on_buttonBox_rejected</h4> |
206 <h4>SvnCommitDialog.on_buttonBox_rejected</h4> |
162 <b>on_buttonBox_rejected</b>(<i></i>) |
207 <b>on_buttonBox_rejected</b>(<i></i>) |
|
208 |
163 <p> |
209 <p> |
164 Private slot called by the buttonBox rejected signal. |
210 Private slot called by the buttonBox rejected signal. |
165 </p><a NAME="SvnCommitDialog.on_recentComboBox_activated" ID="SvnCommitDialog.on_recentComboBox_activated"></a> |
211 </p> |
|
212 <a NAME="SvnCommitDialog.on_recentComboBox_activated" ID="SvnCommitDialog.on_recentComboBox_activated"></a> |
166 <h4>SvnCommitDialog.on_recentComboBox_activated</h4> |
213 <h4>SvnCommitDialog.on_recentComboBox_activated</h4> |
167 <b>on_recentComboBox_activated</b>(<i>txt</i>) |
214 <b>on_recentComboBox_activated</b>(<i>txt</i>) |
|
215 |
168 <p> |
216 <p> |
169 Private slot to select a commit message from recent ones. |
217 Private slot to select a commit message from recent ones. |
170 </p><dl> |
218 </p> |
|
219 <dl> |
|
220 |
171 <dt><i>txt</i></dt> |
221 <dt><i>txt</i></dt> |
172 <dd> |
222 <dd> |
173 text of the combo (string) |
223 text of the combo (string) |
174 </dd> |
224 </dd> |
175 </dl><a NAME="SvnCommitDialog.showEvent" ID="SvnCommitDialog.showEvent"></a> |
225 </dl> |
|
226 <a NAME="SvnCommitDialog.showEvent" ID="SvnCommitDialog.showEvent"></a> |
176 <h4>SvnCommitDialog.showEvent</h4> |
227 <h4>SvnCommitDialog.showEvent</h4> |
177 <b>showEvent</b>(<i>evt</i>) |
228 <b>showEvent</b>(<i>evt</i>) |
|
229 |
178 <p> |
230 <p> |
179 Protected method called when the dialog is about to be shown. |
231 Protected method called when the dialog is about to be shown. |
180 </p><dl> |
232 </p> |
|
233 <dl> |
|
234 |
181 <dt><i>evt</i></dt> |
235 <dt><i>evt</i></dt> |
182 <dd> |
236 <dd> |
183 the event (QShowEvent) |
237 the event (QShowEvent) |
184 </dd> |
238 </dd> |
185 </dl> |
239 </dl> |