|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditCommitEditor</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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditCommitEditor</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to edit the commit message of a revision. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#HgHisteditCommitEditor">HgHisteditCommitEditor</a></td> |
|
39 <td>Class implementing a dialog to edit the commit message of a revision.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="HgHisteditCommitEditor" ID="HgHisteditCommitEditor"></a> |
|
50 <h2>HgHisteditCommitEditor</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to edit the commit message of a revision. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_HgHisteditCommitEditor |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#HgHisteditCommitEditor.__init__">HgHisteditCommitEditor</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#HgHisteditCommitEditor.__readFile">__readFile</a></td> |
|
77 <td>Private method to read the file containing the commit message and populate the dialog.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#HgHisteditCommitEditor.on_buttonBox_accepted">on_buttonBox_accepted</a></td> |
|
81 <td>Private slot called by the buttonBox accepted signal.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#HgHisteditCommitEditor.on_buttonBox_rejected">on_buttonBox_rejected</a></td> |
|
85 <td>Private slot called by the buttonBox rejected signal.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#HgHisteditCommitEditor.on_recentComboBox_activated">on_recentComboBox_activated</a></td> |
|
89 <td>Private slot to select a commit message from recent ones.</td> |
|
90 </tr> |
|
91 </table> |
|
92 <h3>Static Methods</h3> |
|
93 |
|
94 <table> |
|
95 <tr><td>None</td></tr> |
|
96 </table> |
|
97 |
|
98 <a NAME="HgHisteditCommitEditor.__init__" ID="HgHisteditCommitEditor.__init__"></a> |
|
99 <h4>HgHisteditCommitEditor (Constructor)</h4> |
|
100 <b>HgHisteditCommitEditor</b>(<i>fileName, parent=None</i>) |
|
101 |
|
102 <p> |
|
103 Constructor |
|
104 </p> |
|
105 <dl> |
|
106 |
|
107 <dt><i>fileName</i> (str)</dt> |
|
108 <dd> |
|
109 name of the file containing the commit message |
|
110 to be edited |
|
111 </dd> |
|
112 <dt><i>parent</i> (QWidget)</dt> |
|
113 <dd> |
|
114 reference to the parent widget |
|
115 </dd> |
|
116 </dl> |
|
117 <a NAME="HgHisteditCommitEditor.__readFile" ID="HgHisteditCommitEditor.__readFile"></a> |
|
118 <h4>HgHisteditCommitEditor.__readFile</h4> |
|
119 <b>__readFile</b>(<i></i>) |
|
120 |
|
121 <p> |
|
122 Private method to read the file containing the commit message and |
|
123 populate the dialog. |
|
124 </p> |
|
125 <a NAME="HgHisteditCommitEditor.on_buttonBox_accepted" ID="HgHisteditCommitEditor.on_buttonBox_accepted"></a> |
|
126 <h4>HgHisteditCommitEditor.on_buttonBox_accepted</h4> |
|
127 <b>on_buttonBox_accepted</b>(<i></i>) |
|
128 |
|
129 <p> |
|
130 Private slot called by the buttonBox accepted signal. |
|
131 </p> |
|
132 <a NAME="HgHisteditCommitEditor.on_buttonBox_rejected" ID="HgHisteditCommitEditor.on_buttonBox_rejected"></a> |
|
133 <h4>HgHisteditCommitEditor.on_buttonBox_rejected</h4> |
|
134 <b>on_buttonBox_rejected</b>(<i></i>) |
|
135 |
|
136 <p> |
|
137 Private slot called by the buttonBox rejected signal. |
|
138 </p> |
|
139 <a NAME="HgHisteditCommitEditor.on_recentComboBox_activated" ID="HgHisteditCommitEditor.on_recentComboBox_activated"></a> |
|
140 <h4>HgHisteditCommitEditor.on_recentComboBox_activated</h4> |
|
141 <b>on_recentComboBox_activated</b>(<i>index</i>) |
|
142 |
|
143 <p> |
|
144 Private slot to select a commit message from recent ones. |
|
145 </p> |
|
146 <dl> |
|
147 |
|
148 <dt><i>index</i> (int)</dt> |
|
149 <dd> |
|
150 index of the selected entry |
|
151 </dd> |
|
152 </dl> |
|
153 <div align="right"><a href="#top">Up</a></div> |
|
154 <hr /> |
|
155 </body></html> |