|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.HgImportDialog</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.HgImportDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to enter data for the Mercurial import 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="#HgImportDialog">HgImportDialog</a></td> |
|
34 <td>Class implementing a dialog to enter data for the Mercurial import 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="HgImportDialog" ID="HgImportDialog"></a> |
|
43 <h2>HgImportDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to enter data for the Mercurial import command. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_HgImportDialog |
|
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="#HgImportDialog.__init__">HgImportDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgImportDialog.__updateOK">__updateOK</a></td> |
|
64 <td>Private slot to update the OK button.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgImportDialog.getParameters">getParameters</a></td> |
|
67 <td>Public method to retrieve the import data.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgImportDialog.on_patchFileButton_clicked">on_patchFileButton_clicked</a></td> |
|
70 <td>Private slot called by pressing the file selection button.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HgImportDialog.on_patchFileEdit_textChanged">on_patchFileEdit_textChanged</a></td> |
|
73 <td>Private slot to react on changes of the patch file edit.</td> |
|
74 </tr> |
|
75 </table> |
|
76 <h3>Static Methods</h3> |
|
77 <table> |
|
78 <tr><td>None</td></tr> |
|
79 </table> |
|
80 <a NAME="HgImportDialog.__init__" ID="HgImportDialog.__init__"></a> |
|
81 <h4>HgImportDialog (Constructor)</h4> |
|
82 <b>HgImportDialog</b>(<i>parent=None</i>) |
|
83 <p> |
|
84 Constructor |
|
85 </p><dl> |
|
86 <dt><i>parent</i></dt> |
|
87 <dd> |
|
88 reference to the parent widget (QWidget) |
|
89 </dd> |
|
90 </dl><a NAME="HgImportDialog.__updateOK" ID="HgImportDialog.__updateOK"></a> |
|
91 <h4>HgImportDialog.__updateOK</h4> |
|
92 <b>__updateOK</b>(<i></i>) |
|
93 <p> |
|
94 Private slot to update the OK button. |
|
95 </p><a NAME="HgImportDialog.getParameters" ID="HgImportDialog.getParameters"></a> |
|
96 <h4>HgImportDialog.getParameters</h4> |
|
97 <b>getParameters</b>(<i></i>) |
|
98 <p> |
|
99 Public method to retrieve the import data. |
|
100 </p><dl> |
|
101 <dt>Returns:</dt> |
|
102 <dd> |
|
103 tuple naming the patch file, a flag indicating to not commit, |
|
104 a commit message, a commit date, a commit user, a strip count and |
|
105 a flag indicating to enforce the import |
|
106 (string, boolean, string, string, string, integer, boolean) |
|
107 </dd> |
|
108 </dl><a NAME="HgImportDialog.on_patchFileButton_clicked" ID="HgImportDialog.on_patchFileButton_clicked"></a> |
|
109 <h4>HgImportDialog.on_patchFileButton_clicked</h4> |
|
110 <b>on_patchFileButton_clicked</b>(<i></i>) |
|
111 <p> |
|
112 Private slot called by pressing the file selection button. |
|
113 </p><a NAME="HgImportDialog.on_patchFileEdit_textChanged" ID="HgImportDialog.on_patchFileEdit_textChanged"></a> |
|
114 <h4>HgImportDialog.on_patchFileEdit_textChanged</h4> |
|
115 <b>on_patchFileEdit_textChanged</b>(<i>txt</i>) |
|
116 <p> |
|
117 Private slot to react on changes of the patch file edit. |
|
118 </p><dl> |
|
119 <dt><i>txt</i></dt> |
|
120 <dd> |
|
121 contents of the line edit (string) |
|
122 </dd> |
|
123 </dl> |
|
124 <div align="right"><a href="#top">Up</a></div> |
|
125 <hr /> |
|
126 </body></html> |