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

branch
eric7
changeset 9209
b99e7fd55fd3
parent 9029
14efd8fa5d8f
child 9236
db53a9efe7ef
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HgRevisionSelectionDialog</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.HgRevisionSelectionDialog</h1>
10
11 <p>
12 Module implementing a dialog to select a revision.
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="#HgRevisionSelectionDialog">HgRevisionSelectionDialog</a></td>
25 <td>Class implementing a dialog to select a revision.</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="HgRevisionSelectionDialog" ID="HgRevisionSelectionDialog"></a>
36 <h2>HgRevisionSelectionDialog</h2>
37
38 <p>
39 Class implementing a dialog to select a revision.
40 </p>
41 <h3>Derived from</h3>
42 QDialog, Ui_HgRevisionSelectionDialog
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="#HgRevisionSelectionDialog.__init__">HgRevisionSelectionDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#HgRevisionSelectionDialog.__updateOK">__updateOK</a></td>
63 <td>Private slot to update the OK button.</td>
64 </tr>
65 <tr>
66 <td><a href="#HgRevisionSelectionDialog.getRevision">getRevision</a></td>
67 <td>Public method to retrieve the selected revision.</td>
68 </tr>
69 </table>
70 <h3>Static Methods</h3>
71
72 <table>
73 <tr><td>None</td></tr>
74 </table>
75
76 <a NAME="HgRevisionSelectionDialog.__init__" ID="HgRevisionSelectionDialog.__init__"></a>
77 <h4>HgRevisionSelectionDialog (Constructor)</h4>
78 <b>HgRevisionSelectionDialog</b>(<i>tagsList, branchesList, bookmarksList=None, noneLabel="", revset=True, parent=None</i>)
79
80 <p>
81 Constructor
82 </p>
83 <dl>
84
85 <dt><i>tagsList</i> (list of str)</dt>
86 <dd>
87 list of tags
88 </dd>
89 <dt><i>branchesList</i> (list of str)</dt>
90 <dd>
91 list of branches
92 </dd>
93 <dt><i>bookmarksList</i> (list of str)</dt>
94 <dd>
95 list of bookmarks
96 </dd>
97 <dt><i>noneLabel</i> (str)</dt>
98 <dd>
99 labeltext for "no revision selected"
100 </dd>
101 <dt><i>revset</i> (bool)</dt>
102 <dd>
103 flag indicating to allow the revision or ID given as a
104 revset
105 </dd>
106 <dt><i>parent</i> (QWidget)</dt>
107 <dd>
108 parent widget
109 </dd>
110 </dl>
111 <a NAME="HgRevisionSelectionDialog.__updateOK" ID="HgRevisionSelectionDialog.__updateOK"></a>
112 <h4>HgRevisionSelectionDialog.__updateOK</h4>
113 <b>__updateOK</b>(<i></i>)
114
115 <p>
116 Private slot to update the OK button.
117 </p>
118 <a NAME="HgRevisionSelectionDialog.getRevision" ID="HgRevisionSelectionDialog.getRevision"></a>
119 <h4>HgRevisionSelectionDialog.getRevision</h4>
120 <b>getRevision</b>(<i></i>)
121
122 <p>
123 Public method to retrieve the selected revision.
124 </p>
125 <dl>
126 <dt>Return:</dt>
127 <dd>
128 selected revision
129 </dd>
130 </dl>
131 <dl>
132 <dt>Return Type:</dt>
133 <dd>
134 str
135 </dd>
136 </dl>
137 <div align="right"><a href="#top">Up</a></div>
138 <hr />
139 </body></html>

eric ide

mercurial