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