|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesFoldDialog</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.QueuesExtension.HgQueuesFoldDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to enter data to fold patches. |
|
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="#HgQueuesFoldDialog">HgQueuesFoldDialog</a></td> |
|
34 <td>Class implementing a dialog to enter data to fold patches.</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="HgQueuesFoldDialog" ID="HgQueuesFoldDialog"></a> |
|
43 <h2>HgQueuesFoldDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to enter data to fold patches. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_HgQueuesFoldDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#HgQueuesFoldDialog.__init__">HgQueuesFoldDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgQueuesFoldDialog.__updateOkButton">__updateOkButton</a></td> |
|
64 <td>Private slot to update the status of the OK button.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgQueuesFoldDialog.getData">getData</a></td> |
|
67 <td>Public method to retrieve the entered data.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgQueuesFoldDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
70 <td>Private slot to add a patch to the list of selected patches.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HgQueuesFoldDialog.on_downButton_clicked">on_downButton_clicked</a></td> |
|
73 <td>Private slot to move a patch down in the list.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#HgQueuesFoldDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> |
|
76 <td>Private slot to remove a patch from the list of selected patches.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#HgQueuesFoldDialog.on_selectedPatches_currentItemChanged">on_selectedPatches_currentItemChanged</a></td> |
|
79 <td>Private slot to react on changes of the current item of selected patches.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#HgQueuesFoldDialog.on_sourcePatches_currentItemChanged">on_sourcePatches_currentItemChanged</a></td> |
|
82 <td>Private slot to react on changes of the current item of source patches.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#HgQueuesFoldDialog.on_upButton_clicked">on_upButton_clicked</a></td> |
|
85 <td>Private slot to move a patch up in the list.</td> |
|
86 </tr> |
|
87 </table> |
|
88 <h3>Static Methods</h3> |
|
89 <table> |
|
90 <tr><td>None</td></tr> |
|
91 </table> |
|
92 <a NAME="HgQueuesFoldDialog.__init__" ID="HgQueuesFoldDialog.__init__"></a> |
|
93 <h4>HgQueuesFoldDialog (Constructor)</h4> |
|
94 <b>HgQueuesFoldDialog</b>(<i>patchesList, parent=None</i>) |
|
95 <p> |
|
96 Constructor |
|
97 </p><dl> |
|
98 <dt><i>patchesList</i></dt> |
|
99 <dd> |
|
100 list of patches to select from (list of strings) |
|
101 </dd><dt><i>parent</i></dt> |
|
102 <dd> |
|
103 reference to the parent widget (QWidget) |
|
104 </dd> |
|
105 </dl><a NAME="HgQueuesFoldDialog.__updateOkButton" ID="HgQueuesFoldDialog.__updateOkButton"></a> |
|
106 <h4>HgQueuesFoldDialog.__updateOkButton</h4> |
|
107 <b>__updateOkButton</b>(<i></i>) |
|
108 <p> |
|
109 Private slot to update the status of the OK button. |
|
110 </p><a NAME="HgQueuesFoldDialog.getData" ID="HgQueuesFoldDialog.getData"></a> |
|
111 <h4>HgQueuesFoldDialog.getData</h4> |
|
112 <b>getData</b>(<i></i>) |
|
113 <p> |
|
114 Public method to retrieve the entered data. |
|
115 </p><dl> |
|
116 <dt>Returns:</dt> |
|
117 <dd> |
|
118 tuple of commit message and list of selected patches |
|
119 (string, list of strings) |
|
120 </dd> |
|
121 </dl><a NAME="HgQueuesFoldDialog.on_addButton_clicked" ID="HgQueuesFoldDialog.on_addButton_clicked"></a> |
|
122 <h4>HgQueuesFoldDialog.on_addButton_clicked</h4> |
|
123 <b>on_addButton_clicked</b>(<i></i>) |
|
124 <p> |
|
125 Private slot to add a patch to the list of selected patches. |
|
126 </p><a NAME="HgQueuesFoldDialog.on_downButton_clicked" ID="HgQueuesFoldDialog.on_downButton_clicked"></a> |
|
127 <h4>HgQueuesFoldDialog.on_downButton_clicked</h4> |
|
128 <b>on_downButton_clicked</b>(<i></i>) |
|
129 <p> |
|
130 Private slot to move a patch down in the list. |
|
131 </p><a NAME="HgQueuesFoldDialog.on_removeButton_clicked" ID="HgQueuesFoldDialog.on_removeButton_clicked"></a> |
|
132 <h4>HgQueuesFoldDialog.on_removeButton_clicked</h4> |
|
133 <b>on_removeButton_clicked</b>(<i></i>) |
|
134 <p> |
|
135 Private slot to remove a patch from the list of selected patches. |
|
136 </p><a NAME="HgQueuesFoldDialog.on_selectedPatches_currentItemChanged" ID="HgQueuesFoldDialog.on_selectedPatches_currentItemChanged"></a> |
|
137 <h4>HgQueuesFoldDialog.on_selectedPatches_currentItemChanged</h4> |
|
138 <b>on_selectedPatches_currentItemChanged</b>(<i>current, previous</i>) |
|
139 <p> |
|
140 Private slot to react on changes of the current item of selected |
|
141 patches. |
|
142 </p><dl> |
|
143 <dt><i>current</i></dt> |
|
144 <dd> |
|
145 reference to the new current item (QTreeWidgetItem) |
|
146 </dd><dt><i>previous</i></dt> |
|
147 <dd> |
|
148 reference to the previous current item |
|
149 (QTreeWidgetItem) |
|
150 </dd> |
|
151 </dl><a NAME="HgQueuesFoldDialog.on_sourcePatches_currentItemChanged" ID="HgQueuesFoldDialog.on_sourcePatches_currentItemChanged"></a> |
|
152 <h4>HgQueuesFoldDialog.on_sourcePatches_currentItemChanged</h4> |
|
153 <b>on_sourcePatches_currentItemChanged</b>(<i>current, previous</i>) |
|
154 <p> |
|
155 Private slot to react on changes of the current item of source patches. |
|
156 </p><dl> |
|
157 <dt><i>current</i></dt> |
|
158 <dd> |
|
159 reference to the new current item (QTreeWidgetItem) |
|
160 </dd><dt><i>previous</i></dt> |
|
161 <dd> |
|
162 reference to the previous current item |
|
163 (QTreeWidgetItem) |
|
164 </dd> |
|
165 </dl><a NAME="HgQueuesFoldDialog.on_upButton_clicked" ID="HgQueuesFoldDialog.on_upButton_clicked"></a> |
|
166 <h4>HgQueuesFoldDialog.on_upButton_clicked</h4> |
|
167 <b>on_upButton_clicked</b>(<i></i>) |
|
168 <p> |
|
169 Private slot to move a patch up in the list. |
|
170 </p> |
|
171 <div align="right"><a href="#top">Up</a></div> |
|
172 <hr /> |
|
173 </body></html> |