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