eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog.html

changeset 6942
2602857055c5
parent 5330
381665763704
child 7156
c1b6bc83fc76
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgCommitDialog</h1>
23 <p>
24 Module implementing a dialog to enter the commit message.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#HgCommitDialog">HgCommitDialog</a></td>
34 <td>Class implementing a dialog to enter the commit message.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="HgCommitDialog" ID="HgCommitDialog"></a>
43 <h2>HgCommitDialog</h2>
44 <p>
45 Class implementing a dialog to enter the commit message.
46 </p><h3>Signals</h3>
47 <dl>
48 <dt>accepted()</dt>
49 <dd>
50 emitted, if the dialog was accepted
51 </dd><dt>rejected()</dt>
52 <dd>
53 emitted, if the dialog was rejected
54 </dd>
55 </dl>
56 <h3>Derived from</h3>
57 QWidget, Ui_HgCommitDialog
58 <h3>Class Attributes</h3>
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63 <table>
64 <tr><td>None</td></tr>
65 </table>
66 <h3>Methods</h3>
67 <table>
68 <tr>
69 <td><a href="#HgCommitDialog.__init__">HgCommitDialog</a></td>
70 <td>Constructor</td>
71 </tr><tr>
72 <td><a href="#HgCommitDialog.getCommitData">getCommitData</a></td>
73 <td>Public method to retrieve the entered data for the commit.</td>
74 </tr><tr>
75 <td><a href="#HgCommitDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td>
76 <td>Private slot called by the buttonBox accepted signal.</td>
77 </tr><tr>
78 <td><a href="#HgCommitDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
79 <td>Private slot called by a button of the button box clicked.</td>
80 </tr><tr>
81 <td><a href="#HgCommitDialog.on_buttonBox_rejected">on_buttonBox_rejected</a></td>
82 <td>Private slot called by the buttonBox rejected signal.</td>
83 </tr><tr>
84 <td><a href="#HgCommitDialog.on_recentComboBox_activated">on_recentComboBox_activated</a></td>
85 <td>Private slot to select a commit message from recent ones.</td>
86 </tr><tr>
87 <td><a href="#HgCommitDialog.showEvent">showEvent</a></td>
88 <td>Protected method called when the dialog is about to be shown.</td>
89 </tr>
90 </table>
91 <h3>Static Methods</h3>
92 <table>
93 <tr><td>None</td></tr>
94 </table>
95 <a NAME="HgCommitDialog.__init__" ID="HgCommitDialog.__init__"></a>
96 <h4>HgCommitDialog (Constructor)</h4>
97 <b>HgCommitDialog</b>(<i>vcs, msg, mq, parent=None</i>)
98 <p>
99 Constructor
100 </p><dl>
101 <dt><i>vcs</i></dt>
102 <dd>
103 reference to the vcs object
104 </dd><dt><i>msg</i></dt>
105 <dd>
106 initial message (string)
107 </dd><dt><i>mq</i></dt>
108 <dd>
109 flag indicating a queue commit (boolean)
110 </dd><dt><i>parent</i></dt>
111 <dd>
112 parent widget (QWidget)
113 </dd>
114 </dl><a NAME="HgCommitDialog.getCommitData" ID="HgCommitDialog.getCommitData"></a>
115 <h4>HgCommitDialog.getCommitData</h4>
116 <b>getCommitData</b>(<i></i>)
117 <p>
118 Public method to retrieve the entered data for the commit.
119 </p><dl>
120 <dt>Returns:</dt>
121 <dd>
122 tuple containing the log message, a flag indicating to amend
123 the last commit, a flag indicating to commit subrepositories as
124 well, name of the author and date/time of the commit
125 </dd>
126 </dl><dl>
127 <dt>Return Type:</dt>
128 <dd>
129 tuple of str, bool, bool, str, str
130 </dd>
131 </dl><a NAME="HgCommitDialog.on_buttonBox_accepted" ID="HgCommitDialog.on_buttonBox_accepted"></a>
132 <h4>HgCommitDialog.on_buttonBox_accepted</h4>
133 <b>on_buttonBox_accepted</b>(<i></i>)
134 <p>
135 Private slot called by the buttonBox accepted signal.
136 </p><a NAME="HgCommitDialog.on_buttonBox_clicked" ID="HgCommitDialog.on_buttonBox_clicked"></a>
137 <h4>HgCommitDialog.on_buttonBox_clicked</h4>
138 <b>on_buttonBox_clicked</b>(<i>button</i>)
139 <p>
140 Private slot called by a button of the button box clicked.
141 </p><dl>
142 <dt><i>button</i></dt>
143 <dd>
144 button that was clicked (QAbstractButton)
145 </dd>
146 </dl><a NAME="HgCommitDialog.on_buttonBox_rejected" ID="HgCommitDialog.on_buttonBox_rejected"></a>
147 <h4>HgCommitDialog.on_buttonBox_rejected</h4>
148 <b>on_buttonBox_rejected</b>(<i></i>)
149 <p>
150 Private slot called by the buttonBox rejected signal.
151 </p><a NAME="HgCommitDialog.on_recentComboBox_activated" ID="HgCommitDialog.on_recentComboBox_activated"></a>
152 <h4>HgCommitDialog.on_recentComboBox_activated</h4>
153 <b>on_recentComboBox_activated</b>(<i>txt</i>)
154 <p>
155 Private slot to select a commit message from recent ones.
156 </p><dl>
157 <dt><i>txt</i></dt>
158 <dd>
159 text of the selected entry (string)
160 </dd>
161 </dl><a NAME="HgCommitDialog.showEvent" ID="HgCommitDialog.showEvent"></a>
162 <h4>HgCommitDialog.showEvent</h4>
163 <b>showEvent</b>(<i>evt</i>)
164 <p>
165 Protected method called when the dialog is about to be shown.
166 </p><dl>
167 <dt><i>evt</i></dt>
168 <dd>
169 the event (QShowEvent)
170 </dd>
171 </dl>
172 <div align="right"><a href="#top">Up</a></div>
173 <hr />
174 </body></html>

eric ide

mercurial