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.HgRevisionsSelectionDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgRevisionsSelectionDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to enter the revisions for the hg diff command. |
11 Module implementing a dialog to enter the revisions for the hg diff command. |
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="#HgRevisionsSelectionDialog">HgRevisionsSelectionDialog</a></td> |
22 <td><a href="#HgRevisionsSelectionDialog">HgRevisionsSelectionDialog</a></td> |
25 <td>Class implementing a dialog to enter the revisions for the hg diff command.</td> |
23 <td>Class implementing a dialog to enter the revisions for the hg diff command.</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="HgRevisionsSelectionDialog" ID="HgRevisionsSelectionDialog"></a> |
34 <a NAME="HgRevisionsSelectionDialog" ID="HgRevisionsSelectionDialog"></a> |
36 <h2>HgRevisionsSelectionDialog</h2> |
35 <h2>HgRevisionsSelectionDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to enter the revisions for the hg diff command. |
37 Class implementing a dialog to enter the revisions for the hg diff command. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_HgRevisionsSelectionDialog |
41 QDialog, Ui_HgRevisionsSelectionDialog |
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="#HgRevisionsSelectionDialog.__init__">HgRevisionsSelectionDialog</a></td> |
55 <td><a href="#HgRevisionsSelectionDialog.__init__">HgRevisionsSelectionDialog</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="#HgRevisionsSelectionDialog.getRevisions">getRevisions</a></td> |
67 <td><a href="#HgRevisionsSelectionDialog.getRevisions">getRevisions</a></td> |
71 <td>Public method to get the revisions.</td> |
68 <td>Public method to get the revisions.</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="HgRevisionsSelectionDialog.__init__" ID="HgRevisionsSelectionDialog.__init__"></a> |
78 <a NAME="HgRevisionsSelectionDialog.__init__" ID="HgRevisionsSelectionDialog.__init__"></a> |
81 <h4>HgRevisionsSelectionDialog (Constructor)</h4> |
79 <h4>HgRevisionsSelectionDialog (Constructor)</h4> |
82 <b>HgRevisionsSelectionDialog</b>(<i>tagsList, branchesList, bookmarksList=None, parent=None</i>) |
80 <b>HgRevisionsSelectionDialog</b>(<i>tagsList, branchesList, bookmarksList=None, 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 |
104 </dd> |
102 </dd> |
105 </dl> |
103 </dl> |
106 <a NAME="HgRevisionsSelectionDialog.__getRevision" ID="HgRevisionsSelectionDialog.__getRevision"></a> |
104 <a NAME="HgRevisionsSelectionDialog.__getRevision" ID="HgRevisionsSelectionDialog.__getRevision"></a> |
107 <h4>HgRevisionsSelectionDialog.__getRevision</h4> |
105 <h4>HgRevisionsSelectionDialog.__getRevision</h4> |
108 <b>__getRevision</b>(<i>no</i>) |
106 <b>__getRevision</b>(<i>no</i>) |
109 |
|
110 <p> |
107 <p> |
111 Private method to generate the revision. |
108 Private method to generate the revision. |
112 </p> |
109 </p> |
|
110 |
113 <dl> |
111 <dl> |
114 |
112 |
115 <dt><i>no</i> (int)</dt> |
113 <dt><i>no</i> (int)</dt> |
116 <dd> |
114 <dd> |
117 revision number to generate (1 or 2) |
115 revision number to generate (1 or 2) |
130 </dd> |
128 </dd> |
131 </dl> |
129 </dl> |
132 <a NAME="HgRevisionsSelectionDialog.__updateOK" ID="HgRevisionsSelectionDialog.__updateOK"></a> |
130 <a NAME="HgRevisionsSelectionDialog.__updateOK" ID="HgRevisionsSelectionDialog.__updateOK"></a> |
133 <h4>HgRevisionsSelectionDialog.__updateOK</h4> |
131 <h4>HgRevisionsSelectionDialog.__updateOK</h4> |
134 <b>__updateOK</b>(<i></i>) |
132 <b>__updateOK</b>(<i></i>) |
135 |
|
136 <p> |
133 <p> |
137 Private slot to update the OK button. |
134 Private slot to update the OK button. |
138 </p> |
135 </p> |
|
136 |
139 <a NAME="HgRevisionsSelectionDialog.getRevisions" ID="HgRevisionsSelectionDialog.getRevisions"></a> |
137 <a NAME="HgRevisionsSelectionDialog.getRevisions" ID="HgRevisionsSelectionDialog.getRevisions"></a> |
140 <h4>HgRevisionsSelectionDialog.getRevisions</h4> |
138 <h4>HgRevisionsSelectionDialog.getRevisions</h4> |
141 <b>getRevisions</b>(<i></i>) |
139 <b>getRevisions</b>(<i></i>) |
142 |
|
143 <p> |
140 <p> |
144 Public method to get the revisions. |
141 Public method to get the revisions. |
145 </p> |
142 </p> |
|
143 |
146 <dl> |
144 <dl> |
147 <dt>Return:</dt> |
145 <dt>Return:</dt> |
148 <dd> |
146 <dd> |
149 list of two revisions |
147 list of two revisions |
150 </dd> |
148 </dd> |