|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric4.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.Plugins.VcsPlugins.vcsPySvn.SvnCommitDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to enter the commit message. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#SvnCommitDialog">SvnCommitDialog</a></td> |
|
35 <td>Class implementing a dialog to enter the commit message.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="SvnCommitDialog" ID="SvnCommitDialog"></a> |
|
44 <h2>SvnCommitDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to enter the commit message. |
|
47 </p><h4>Signals</h4> |
|
48 <dl> |
|
49 <dt>accepted()</dt> |
|
50 <dd> |
|
51 emitted, if the dialog was accepted |
|
52 </dd><dt>rejected()</dt> |
|
53 <dd> |
|
54 emitted, if the dialog was rejected |
|
55 </dd> |
|
56 </dl> |
|
57 <h3>Derived from</h3> |
|
58 QWidget, Ui_SvnCommitDialog |
|
59 <h3>Class Attributes</h3> |
|
60 <table> |
|
61 <tr><td>None</td></tr> |
|
62 </table> |
|
63 <h3>Methods</h3> |
|
64 <table> |
|
65 <tr> |
|
66 <td><a href="#SvnCommitDialog.__init__">SvnCommitDialog</a></td> |
|
67 <td>Constructor</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SvnCommitDialog.changelistsData">changelistsData</a></td> |
|
70 <td>Public method to retrieve the changelists data.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SvnCommitDialog.hasChangelists">hasChangelists</a></td> |
|
73 <td>Public method to check, if the user entered some changelists.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SvnCommitDialog.logMessage">logMessage</a></td> |
|
76 <td>Public method to retrieve the log message.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#SvnCommitDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td> |
|
79 <td>Private slot called by the buttonBox accepted signal.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#SvnCommitDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
82 <td>Private slot called by a button of the button box clicked.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#SvnCommitDialog.on_buttonBox_rejected">on_buttonBox_rejected</a></td> |
|
85 <td>Private slot called by the buttonBox rejected signal.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#SvnCommitDialog.on_recentComboBox_activated">on_recentComboBox_activated</a></td> |
|
88 <td>Private slot to select a commit message from recent ones.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#SvnCommitDialog.showEvent">showEvent</a></td> |
|
91 <td>Public method called when the dialog is about to be shown.</td> |
|
92 </tr> |
|
93 </table> |
|
94 <a NAME="SvnCommitDialog.__init__" ID="SvnCommitDialog.__init__"></a> |
|
95 <h4>SvnCommitDialog (Constructor)</h4> |
|
96 <b>SvnCommitDialog</b>(<i>parent = None</i>) |
|
97 <p> |
|
98 Constructor |
|
99 </p><dl> |
|
100 <dt><i>parent</i></dt> |
|
101 <dd> |
|
102 parent widget (QWidget) |
|
103 </dd> |
|
104 </dl><a NAME="SvnCommitDialog.changelistsData" ID="SvnCommitDialog.changelistsData"></a> |
|
105 <h4>SvnCommitDialog.changelistsData</h4> |
|
106 <b>changelistsData</b>(<i></i>) |
|
107 <p> |
|
108 Public method to retrieve the changelists data. |
|
109 </p><dl> |
|
110 <dt>Returns:</dt> |
|
111 <dd> |
|
112 tuple containing the changelists (list of strings) and a flag |
|
113 indicating to keep changelists (boolean) |
|
114 </dd> |
|
115 </dl><a NAME="SvnCommitDialog.hasChangelists" ID="SvnCommitDialog.hasChangelists"></a> |
|
116 <h4>SvnCommitDialog.hasChangelists</h4> |
|
117 <b>hasChangelists</b>(<i></i>) |
|
118 <p> |
|
119 Public method to check, if the user entered some changelists. |
|
120 </p><dl> |
|
121 <dt>Returns:</dt> |
|
122 <dd> |
|
123 flag indicating availability of changelists (boolean) |
|
124 </dd> |
|
125 </dl><a NAME="SvnCommitDialog.logMessage" ID="SvnCommitDialog.logMessage"></a> |
|
126 <h4>SvnCommitDialog.logMessage</h4> |
|
127 <b>logMessage</b>(<i></i>) |
|
128 <p> |
|
129 Public method to retrieve the log message. |
|
130 </p><p> |
|
131 This method has the side effect of saving the 20 most recent |
|
132 commit messages for reuse. |
|
133 </p><dl> |
|
134 <dt>Returns:</dt> |
|
135 <dd> |
|
136 the log message (string) |
|
137 </dd> |
|
138 </dl><a NAME="SvnCommitDialog.on_buttonBox_accepted" ID="SvnCommitDialog.on_buttonBox_accepted"></a> |
|
139 <h4>SvnCommitDialog.on_buttonBox_accepted</h4> |
|
140 <b>on_buttonBox_accepted</b>(<i></i>) |
|
141 <p> |
|
142 Private slot called by the buttonBox accepted signal. |
|
143 </p><a NAME="SvnCommitDialog.on_buttonBox_clicked" ID="SvnCommitDialog.on_buttonBox_clicked"></a> |
|
144 <h4>SvnCommitDialog.on_buttonBox_clicked</h4> |
|
145 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
146 <p> |
|
147 Private slot called by a button of the button box clicked. |
|
148 </p><dl> |
|
149 <dt><i>button</i></dt> |
|
150 <dd> |
|
151 button that was clicked (QAbstractButton) |
|
152 </dd> |
|
153 </dl><a NAME="SvnCommitDialog.on_buttonBox_rejected" ID="SvnCommitDialog.on_buttonBox_rejected"></a> |
|
154 <h4>SvnCommitDialog.on_buttonBox_rejected</h4> |
|
155 <b>on_buttonBox_rejected</b>(<i></i>) |
|
156 <p> |
|
157 Private slot called by the buttonBox rejected signal. |
|
158 </p><a NAME="SvnCommitDialog.on_recentComboBox_activated" ID="SvnCommitDialog.on_recentComboBox_activated"></a> |
|
159 <h4>SvnCommitDialog.on_recentComboBox_activated</h4> |
|
160 <b>on_recentComboBox_activated</b>(<i>txt</i>) |
|
161 <p> |
|
162 Private slot to select a commit message from recent ones. |
|
163 </p><dl> |
|
164 <dt><i>txt</i></dt> |
|
165 <dd> |
|
166 selected recent commit message (string) |
|
167 </dd> |
|
168 </dl><a NAME="SvnCommitDialog.showEvent" ID="SvnCommitDialog.showEvent"></a> |
|
169 <h4>SvnCommitDialog.showEvent</h4> |
|
170 <b>showEvent</b>(<i>evt</i>) |
|
171 <p> |
|
172 Public method called when the dialog is about to be shown. |
|
173 </p><dl> |
|
174 <dt><i>evt</i></dt> |
|
175 <dd> |
|
176 the event (QShowEvent) |
|
177 </dd> |
|
178 </dl> |
|
179 <div align="right"><a href="#top">Up</a></div> |
|
180 <hr /> |
|
181 </body></html> |