src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HgRevisionsSelectionDialog.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 9029
14efd8fa5d8f
child 10479
856476537696
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HgRevisionsSelectionDialog</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.HgRevisionsSelectionDialog</h1>
10
11 <p>
12 Module implementing a dialog to enter the revisions for the hg diff command.
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="#HgRevisionsSelectionDialog">HgRevisionsSelectionDialog</a></td>
25 <td>Class implementing a dialog to enter the revisions for the hg diff command.</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="HgRevisionsSelectionDialog" ID="HgRevisionsSelectionDialog"></a>
36 <h2>HgRevisionsSelectionDialog</h2>
37
38 <p>
39 Class implementing a dialog to enter the revisions for the hg diff command.
40 </p>
41 <h3>Derived from</h3>
42 QDialog, Ui_HgRevisionsSelectionDialog
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="#HgRevisionsSelectionDialog.__init__">HgRevisionsSelectionDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#HgRevisionsSelectionDialog.__getRevision">__getRevision</a></td>
63 <td>Private method to generate the revision.</td>
64 </tr>
65 <tr>
66 <td><a href="#HgRevisionsSelectionDialog.__updateOK">__updateOK</a></td>
67 <td>Private slot to update the OK button.</td>
68 </tr>
69 <tr>
70 <td><a href="#HgRevisionsSelectionDialog.getRevisions">getRevisions</a></td>
71 <td>Public method to get the revisions.</td>
72 </tr>
73 </table>
74 <h3>Static Methods</h3>
75
76 <table>
77 <tr><td>None</td></tr>
78 </table>
79
80 <a NAME="HgRevisionsSelectionDialog.__init__" ID="HgRevisionsSelectionDialog.__init__"></a>
81 <h4>HgRevisionsSelectionDialog (Constructor)</h4>
82 <b>HgRevisionsSelectionDialog</b>(<i>tagsList, branchesList, bookmarksList=None, parent=None</i>)
83
84 <p>
85 Constructor
86 </p>
87 <dl>
88
89 <dt><i>tagsList</i> (list of str)</dt>
90 <dd>
91 list of tags
92 </dd>
93 <dt><i>branchesList</i> (list of str)</dt>
94 <dd>
95 list of branches
96 </dd>
97 <dt><i>bookmarksList</i> (list of str)</dt>
98 <dd>
99 list of bookmarks
100 </dd>
101 <dt><i>parent</i> (QWidget)</dt>
102 <dd>
103 parent widget of the dialog
104 </dd>
105 </dl>
106 <a NAME="HgRevisionsSelectionDialog.__getRevision" ID="HgRevisionsSelectionDialog.__getRevision"></a>
107 <h4>HgRevisionsSelectionDialog.__getRevision</h4>
108 <b>__getRevision</b>(<i>no</i>)
109
110 <p>
111 Private method to generate the revision.
112 </p>
113 <dl>
114
115 <dt><i>no</i> (int)</dt>
116 <dd>
117 revision number to generate (1 or 2)
118 </dd>
119 </dl>
120 <dl>
121 <dt>Return:</dt>
122 <dd>
123 revision
124 </dd>
125 </dl>
126 <dl>
127 <dt>Return Type:</dt>
128 <dd>
129 str
130 </dd>
131 </dl>
132 <a NAME="HgRevisionsSelectionDialog.__updateOK" ID="HgRevisionsSelectionDialog.__updateOK"></a>
133 <h4>HgRevisionsSelectionDialog.__updateOK</h4>
134 <b>__updateOK</b>(<i></i>)
135
136 <p>
137 Private slot to update the OK button.
138 </p>
139 <a NAME="HgRevisionsSelectionDialog.getRevisions" ID="HgRevisionsSelectionDialog.getRevisions"></a>
140 <h4>HgRevisionsSelectionDialog.getRevisions</h4>
141 <b>getRevisions</b>(<i></i>)
142
143 <p>
144 Public method to get the revisions.
145 </p>
146 <dl>
147 <dt>Return:</dt>
148 <dd>
149 list of two revisions
150 </dd>
151 </dl>
152 <dl>
153 <dt>Return Type:</dt>
154 <dd>
155 list of [str, str]
156 </dd>
157 </dl>
158 <div align="right"><a href="#top">Up</a></div>
159 <hr />
160 </body></html>

eric ide

mercurial