|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.HgArchiveDialog</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.HgArchiveDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to enter the archive data. |
|
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="#HgArchiveDialog">HgArchiveDialog</a></td> |
|
34 <td>Class implementing a dialog to enter the archive data.</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="HgArchiveDialog" ID="HgArchiveDialog"></a> |
|
43 <h2>HgArchiveDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to enter the archive data. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_HgArchiveDialog |
|
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="#HgArchiveDialog.__init__">HgArchiveDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HgArchiveDialog.getData">getData</a></td> |
|
64 <td>Public method to retrieve the data.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HgArchiveDialog.on_archiveButton_clicked">on_archiveButton_clicked</a></td> |
|
67 <td>Private slot to select the archive name via a file selection dialog.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HgArchiveDialog.on_archiveEdit_textChanged">on_archiveEdit_textChanged</a></td> |
|
70 <td>Private slot to handle changes of the archive name.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HgArchiveDialog.on_typeComboBox_activated">on_typeComboBox_activated</a></td> |
|
73 <td>Private slot to react on changes of the selected archive type.</td> |
|
74 </tr> |
|
75 </table> |
|
76 <h3>Static Methods</h3> |
|
77 <table> |
|
78 <tr><td>None</td></tr> |
|
79 </table> |
|
80 <a NAME="HgArchiveDialog.__init__" ID="HgArchiveDialog.__init__"></a> |
|
81 <h4>HgArchiveDialog (Constructor)</h4> |
|
82 <b>HgArchiveDialog</b>(<i>vcs, parent=None</i>) |
|
83 <p> |
|
84 Constructor |
|
85 </p><dl> |
|
86 <dt><i>vcs</i></dt> |
|
87 <dd> |
|
88 reference to the Mercurial object (Hg) |
|
89 </dd><dt><i>parent</i></dt> |
|
90 <dd> |
|
91 reference to the parent widget (QWidget) |
|
92 </dd> |
|
93 </dl><a NAME="HgArchiveDialog.getData" ID="HgArchiveDialog.getData"></a> |
|
94 <h4>HgArchiveDialog.getData</h4> |
|
95 <b>getData</b>(<i></i>) |
|
96 <p> |
|
97 Public method to retrieve the data. |
|
98 </p><dl> |
|
99 <dt>Returns:</dt> |
|
100 <dd> |
|
101 tuple giving the archive name (string), the archive type |
|
102 (string), the directory prefix 8string) and a flag indicating |
|
103 to recurse into subrepositories (boolean) |
|
104 </dd> |
|
105 </dl><a NAME="HgArchiveDialog.on_archiveButton_clicked" ID="HgArchiveDialog.on_archiveButton_clicked"></a> |
|
106 <h4>HgArchiveDialog.on_archiveButton_clicked</h4> |
|
107 <b>on_archiveButton_clicked</b>(<i></i>) |
|
108 <p> |
|
109 Private slot to select the archive name via a file selection dialog. |
|
110 </p><a NAME="HgArchiveDialog.on_archiveEdit_textChanged" ID="HgArchiveDialog.on_archiveEdit_textChanged"></a> |
|
111 <h4>HgArchiveDialog.on_archiveEdit_textChanged</h4> |
|
112 <b>on_archiveEdit_textChanged</b>(<i>archive</i>) |
|
113 <p> |
|
114 Private slot to handle changes of the archive name. |
|
115 </p><dl> |
|
116 <dt><i>archive</i></dt> |
|
117 <dd> |
|
118 name of the archive (string) |
|
119 </dd> |
|
120 </dl><a NAME="HgArchiveDialog.on_typeComboBox_activated" ID="HgArchiveDialog.on_typeComboBox_activated"></a> |
|
121 <h4>HgArchiveDialog.on_typeComboBox_activated</h4> |
|
122 <b>on_typeComboBox_activated</b>(<i>index</i>) |
|
123 <p> |
|
124 Private slot to react on changes of the selected archive type. |
|
125 </p><dl> |
|
126 <dt><i>index</i></dt> |
|
127 <dd> |
|
128 index of the selected type (integer) |
|
129 </dd> |
|
130 </dl> |
|
131 <div align="right"><a href="#top">Up</a></div> |
|
132 <hr /> |
|
133 </body></html> |