|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HisteditExtension.HgHisteditConfigDialog</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.HisteditExtension.HgHisteditConfigDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to enter the histedit parameters. |
|
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="#HgHisteditConfigDialog">HgHisteditConfigDialog</a></td> |
|
25 <td>Class implementing a dialog to enter the histedit parameters.</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="HgHisteditConfigDialog" ID="HgHisteditConfigDialog"></a> |
|
36 <h2>HgHisteditConfigDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog to enter the histedit parameters. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_HgHisteditConfigDialog |
|
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="#HgHisteditConfigDialog.__init__">HgHisteditConfigDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#HgHisteditConfigDialog.__getRevision">__getRevision</a></td> |
|
63 <td>Private method to generate the revision.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#HgHisteditConfigDialog.__updateOK">__updateOK</a></td> |
|
67 <td>Private slot to update the OK button.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#HgHisteditConfigDialog.getData">getData</a></td> |
|
71 <td>Public method to retrieve the data for the strip action.</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="HgHisteditConfigDialog.__init__" ID="HgHisteditConfigDialog.__init__"></a> |
|
81 <h4>HgHisteditConfigDialog (Constructor)</h4> |
|
82 <b>HgHisteditConfigDialog</b>(<i>tagsList, branchesList, bookmarksList=None, rev="", 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>rev</i> (str)</dt> |
|
102 <dd> |
|
103 revision to strip from |
|
104 </dd> |
|
105 <dt><i>parent</i> (QWidget)</dt> |
|
106 <dd> |
|
107 reference to the parent widget |
|
108 </dd> |
|
109 </dl> |
|
110 <a NAME="HgHisteditConfigDialog.__getRevision" ID="HgHisteditConfigDialog.__getRevision"></a> |
|
111 <h4>HgHisteditConfigDialog.__getRevision</h4> |
|
112 <b>__getRevision</b>(<i></i>) |
|
113 |
|
114 <p> |
|
115 Private method to generate the revision. |
|
116 </p> |
|
117 <dl> |
|
118 <dt>Return:</dt> |
|
119 <dd> |
|
120 revision |
|
121 </dd> |
|
122 </dl> |
|
123 <dl> |
|
124 <dt>Return Type:</dt> |
|
125 <dd> |
|
126 str |
|
127 </dd> |
|
128 </dl> |
|
129 <a NAME="HgHisteditConfigDialog.__updateOK" ID="HgHisteditConfigDialog.__updateOK"></a> |
|
130 <h4>HgHisteditConfigDialog.__updateOK</h4> |
|
131 <b>__updateOK</b>(<i></i>) |
|
132 |
|
133 <p> |
|
134 Private slot to update the OK button. |
|
135 </p> |
|
136 <a NAME="HgHisteditConfigDialog.getData" ID="HgHisteditConfigDialog.getData"></a> |
|
137 <h4>HgHisteditConfigDialog.getData</h4> |
|
138 <b>getData</b>(<i></i>) |
|
139 |
|
140 <p> |
|
141 Public method to retrieve the data for the strip action. |
|
142 </p> |
|
143 <dl> |
|
144 <dt>Return:</dt> |
|
145 <dd> |
|
146 tuple with the revision, a flag indicating to to outgoing and a |
|
147 flag indicating to keep old nodes |
|
148 </dd> |
|
149 </dl> |
|
150 <dl> |
|
151 <dt>Return Type:</dt> |
|
152 <dd> |
|
153 tuple (str, bool, bool) |
|
154 </dd> |
|
155 </dl> |
|
156 <div align="right"><a href="#top">Up</a></div> |
|
157 <hr /> |
|
158 </body></html> |