5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.RebaseExtension.HgRebaseDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.RebaseExtension.HgRebaseDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter the data for a rebase session. |
11 Module implementing a dialog to enter the data for a rebase session. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#HgRebaseDialog">HgRebaseDialog</a></td> |
22 <td><a href="#HgRebaseDialog">HgRebaseDialog</a></td> |
25 <td>Class implementing a dialog to enter the data for a rebase session.</td> |
23 <td>Class implementing a dialog to enter the data for a rebase session.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="HgRebaseDialog" ID="HgRebaseDialog"></a> |
34 <a NAME="HgRebaseDialog" ID="HgRebaseDialog"></a> |
36 <h2>HgRebaseDialog</h2> |
35 <h2>HgRebaseDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to enter the data for a rebase session. |
37 Class implementing a dialog to enter the data for a rebase session. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_HgRebaseDialog |
41 QDialog, Ui_HgRebaseDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </table> |
|
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
|
55 <table> |
53 <table> |
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#HgRebaseDialog.__init__">HgRebaseDialog</a></td> |
55 <td><a href="#HgRebaseDialog.__init__">HgRebaseDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
69 <tr> |
66 <tr> |
70 <td><a href="#HgRebaseDialog.getData">getData</a></td> |
67 <td><a href="#HgRebaseDialog.getData">getData</a></td> |
71 <td>Public method to retrieve the data for the rebase session.</td> |
68 <td>Public method to retrieve the data for the rebase session.</td> |
72 </tr> |
69 </tr> |
73 </table> |
70 </table> |
|
71 |
74 <h3>Static Methods</h3> |
72 <h3>Static Methods</h3> |
75 |
|
76 <table> |
73 <table> |
77 <tr><td>None</td></tr> |
74 <tr><td>None</td></tr> |
78 </table> |
75 </table> |
79 |
76 |
|
77 |
80 <a NAME="HgRebaseDialog.__init__" ID="HgRebaseDialog.__init__"></a> |
78 <a NAME="HgRebaseDialog.__init__" ID="HgRebaseDialog.__init__"></a> |
81 <h4>HgRebaseDialog (Constructor)</h4> |
79 <h4>HgRebaseDialog (Constructor)</h4> |
82 <b>HgRebaseDialog</b>(<i>tagsList, branchesList, bookmarksList, version, parent=None</i>) |
80 <b>HgRebaseDialog</b>(<i>tagsList, branchesList, bookmarksList, version, parent=None</i>) |
83 |
|
84 <p> |
81 <p> |
85 Constructor |
82 Constructor |
86 </p> |
83 </p> |
|
84 |
87 <dl> |
85 <dl> |
88 |
86 |
89 <dt><i>tagsList</i> (list of str)</dt> |
87 <dt><i>tagsList</i> (list of str)</dt> |
90 <dd> |
88 <dd> |
91 list of tags |
89 list of tags |
108 </dd> |
106 </dd> |
109 </dl> |
107 </dl> |
110 <a NAME="HgRebaseDialog.__getRevision" ID="HgRebaseDialog.__getRevision"></a> |
108 <a NAME="HgRebaseDialog.__getRevision" ID="HgRebaseDialog.__getRevision"></a> |
111 <h4>HgRebaseDialog.__getRevision</h4> |
109 <h4>HgRebaseDialog.__getRevision</h4> |
112 <b>__getRevision</b>(<i>no</i>) |
110 <b>__getRevision</b>(<i>no</i>) |
113 |
|
114 <p> |
111 <p> |
115 Private method to generate the revision. |
112 Private method to generate the revision. |
116 </p> |
113 </p> |
|
114 |
117 <dl> |
115 <dl> |
118 |
116 |
119 <dt><i>no</i> (int)</dt> |
117 <dt><i>no</i> (int)</dt> |
120 <dd> |
118 <dd> |
121 revision number to generate (1 or 2) |
119 revision number to generate (1 or 2) |
134 </dd> |
132 </dd> |
135 </dl> |
133 </dl> |
136 <a NAME="HgRebaseDialog.__updateOK" ID="HgRebaseDialog.__updateOK"></a> |
134 <a NAME="HgRebaseDialog.__updateOK" ID="HgRebaseDialog.__updateOK"></a> |
137 <h4>HgRebaseDialog.__updateOK</h4> |
135 <h4>HgRebaseDialog.__updateOK</h4> |
138 <b>__updateOK</b>(<i></i>) |
136 <b>__updateOK</b>(<i></i>) |
139 |
|
140 <p> |
137 <p> |
141 Private slot to update the OK button. |
138 Private slot to update the OK button. |
142 </p> |
139 </p> |
|
140 |
143 <a NAME="HgRebaseDialog.getData" ID="HgRebaseDialog.getData"></a> |
141 <a NAME="HgRebaseDialog.getData" ID="HgRebaseDialog.getData"></a> |
144 <h4>HgRebaseDialog.getData</h4> |
142 <h4>HgRebaseDialog.getData</h4> |
145 <b>getData</b>(<i></i>) |
143 <b>getData</b>(<i></i>) |
146 |
|
147 <p> |
144 <p> |
148 Public method to retrieve the data for the rebase session. |
145 Public method to retrieve the data for the rebase session. |
149 </p> |
146 </p> |
|
147 |
150 <dl> |
148 <dl> |
151 <dt>Return:</dt> |
149 <dt>Return:</dt> |
152 <dd> |
150 <dd> |
153 tuple with a source indicator of "S" or "B", the source |
151 tuple with a source indicator of "S" or "B", the source |
154 revision, the destination revision, a flag indicating to collapse, |
152 revision, the destination revision, a flag indicating to collapse, |