|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.HgExportDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgExportDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to enter data for the Mercurial export command. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#HgExportDialog">HgExportDialog</a></td> |
|
34 <td>Class implementing a dialog to enter data for the Mercurial export command.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="HgExportDialog" ID="HgExportDialog"></a> |
|
43 <h2>HgExportDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to enter data for the Mercurial export command. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_HgExportDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#HgExportDialog.__init__">HgExportDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgExportDialog.__updateOK">__updateOK</a></td> |
|
64 <td>Private slot to update the OK button.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgExportDialog.getParameters">getParameters</a></td> |
|
67 <td>Public method to retrieve the export data.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgExportDialog.on_changesetsEdit_textChanged">on_changesetsEdit_textChanged</a></td> |
|
70 <td>Private slot to react on changes of the changesets edit.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HgExportDialog.on_directoryPicker_textChanged">on_directoryPicker_textChanged</a></td> |
|
73 <td>Private slot to react on changes of the export directory edit.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#HgExportDialog.on_patternEdit_textChanged">on_patternEdit_textChanged</a></td> |
|
76 <td>Private slot to react on changes of the export file name pattern edit.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <h3>Static Methods</h3> |
|
80 <table> |
|
81 <tr><td>None</td></tr> |
|
82 </table> |
|
83 <a NAME="HgExportDialog.__init__" ID="HgExportDialog.__init__"></a> |
|
84 <h4>HgExportDialog (Constructor)</h4> |
|
85 <b>HgExportDialog</b>(<i>bookmarksList, bookmarkAvailable, parent=None</i>) |
|
86 <p> |
|
87 Constructor |
|
88 </p><dl> |
|
89 <dt><i>bookmarksList</i> (list of str)</dt> |
|
90 <dd> |
|
91 list of defined bookmarks |
|
92 </dd><dt><i>bookmarkAvailable</i> (bool)</dt> |
|
93 <dd> |
|
94 flag indicating the availability of the |
|
95 "--bookmark" option |
|
96 </dd><dt><i>parent</i> (QWidget)</dt> |
|
97 <dd> |
|
98 reference to the parent widget |
|
99 </dd> |
|
100 </dl><a NAME="HgExportDialog.__updateOK" ID="HgExportDialog.__updateOK"></a> |
|
101 <h4>HgExportDialog.__updateOK</h4> |
|
102 <b>__updateOK</b>(<i></i>) |
|
103 <p> |
|
104 Private slot to update the OK button. |
|
105 </p><a NAME="HgExportDialog.getParameters" ID="HgExportDialog.getParameters"></a> |
|
106 <h4>HgExportDialog.getParameters</h4> |
|
107 <b>getParameters</b>(<i></i>) |
|
108 <p> |
|
109 Public method to retrieve the export data. |
|
110 </p><dl> |
|
111 <dt>Returns:</dt> |
|
112 <dd> |
|
113 tuple naming the output file name, the list of revisions to |
|
114 export, the name of a bookmarked branch and flags indicating to |
|
115 compare against the second parent, to treat all files as text, |
|
116 to omit dates in the diff headers and to use the git extended |
|
117 diff format |
|
118 </dd> |
|
119 </dl><dl> |
|
120 <dt>Return Type:</dt> |
|
121 <dd> |
|
122 tuple of (str, list of str, str, bool, bool, bool, bool) |
|
123 </dd> |
|
124 </dl><a NAME="HgExportDialog.on_changesetsEdit_textChanged" ID="HgExportDialog.on_changesetsEdit_textChanged"></a> |
|
125 <h4>HgExportDialog.on_changesetsEdit_textChanged</h4> |
|
126 <b>on_changesetsEdit_textChanged</b>(<i></i>) |
|
127 <p> |
|
128 Private slot to react on changes of the changesets edit. |
|
129 </p><a NAME="HgExportDialog.on_directoryPicker_textChanged" ID="HgExportDialog.on_directoryPicker_textChanged"></a> |
|
130 <h4>HgExportDialog.on_directoryPicker_textChanged</h4> |
|
131 <b>on_directoryPicker_textChanged</b>(<i>txt</i>) |
|
132 <p> |
|
133 Private slot to react on changes of the export directory edit. |
|
134 </p><dl> |
|
135 <dt><i>txt</i></dt> |
|
136 <dd> |
|
137 contents of the line edit (string) |
|
138 </dd> |
|
139 </dl><a NAME="HgExportDialog.on_patternEdit_textChanged" ID="HgExportDialog.on_patternEdit_textChanged"></a> |
|
140 <h4>HgExportDialog.on_patternEdit_textChanged</h4> |
|
141 <b>on_patternEdit_textChanged</b>(<i>txt</i>) |
|
142 <p> |
|
143 Private slot to react on changes of the export file name pattern edit. |
|
144 </p><dl> |
|
145 <dt><i>txt</i></dt> |
|
146 <dd> |
|
147 contents of the line edit (string) |
|
148 </dd> |
|
149 </dl> |
|
150 <div align="right"><a href="#top">Up</a></div> |
|
151 <hr /> |
|
152 </body></html> |