|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.LargefilesExtension.LfConvertDataDialog</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.LargefilesExtension.LfConvertDataDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to enter the data for the repo conversion. |
|
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="#LfConvertDataDialog">LfConvertDataDialog</a></td> |
|
34 <td>Class implementing a dialog to enter the data for the repo conversion.</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="LfConvertDataDialog" ID="LfConvertDataDialog"></a> |
|
43 <h2>LfConvertDataDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to enter the data for the repo conversion. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_LfConvertDataDialog |
|
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="#LfConvertDataDialog.__init__">LfConvertDataDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#LfConvertDataDialog.getData">getData</a></td> |
|
64 <td>Public method to retrieve the entered data.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#LfConvertDataDialog.on_newProjectButton_clicked">on_newProjectButton_clicked</a></td> |
|
67 <td>Private slot to select the new project directory name via a directory selection dialog.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#LfConvertDataDialog.on_newProjectEdit_textChanged">on_newProjectEdit_textChanged</a></td> |
|
70 <td>Private slot to handle editing of the new project directory.</td> |
|
71 </tr> |
|
72 </table> |
|
73 <h3>Static Methods</h3> |
|
74 <table> |
|
75 <tr><td>None</td></tr> |
|
76 </table> |
|
77 <a NAME="LfConvertDataDialog.__init__" ID="LfConvertDataDialog.__init__"></a> |
|
78 <h4>LfConvertDataDialog (Constructor)</h4> |
|
79 <b>LfConvertDataDialog</b>(<i>currentPath, mode, parent=None</i>) |
|
80 <p> |
|
81 Constructor |
|
82 </p><dl> |
|
83 <dt><i>currentPath</i></dt> |
|
84 <dd> |
|
85 directory name of the current project (string) |
|
86 </dd><dt><i>mode</i></dt> |
|
87 <dd> |
|
88 dialog mode (string, one of 'largefiles' or 'normal') |
|
89 </dd><dt><i>parent</i></dt> |
|
90 <dd> |
|
91 reference to the parent widget (QWidget) |
|
92 </dd> |
|
93 </dl><a NAME="LfConvertDataDialog.getData" ID="LfConvertDataDialog.getData"></a> |
|
94 <h4>LfConvertDataDialog.getData</h4> |
|
95 <b>getData</b>(<i></i>) |
|
96 <p> |
|
97 Public method to retrieve the entered data. |
|
98 </p><dl> |
|
99 <dt>Returns:</dt> |
|
100 <dd> |
|
101 tuple containing the new project directory name (string), |
|
102 minimum file size (integer) and file patterns (list of string) |
|
103 </dd> |
|
104 </dl><a NAME="LfConvertDataDialog.on_newProjectButton_clicked" ID="LfConvertDataDialog.on_newProjectButton_clicked"></a> |
|
105 <h4>LfConvertDataDialog.on_newProjectButton_clicked</h4> |
|
106 <b>on_newProjectButton_clicked</b>(<i></i>) |
|
107 <p> |
|
108 Private slot to select the new project directory name via a directory |
|
109 selection dialog. |
|
110 </p><a NAME="LfConvertDataDialog.on_newProjectEdit_textChanged" ID="LfConvertDataDialog.on_newProjectEdit_textChanged"></a> |
|
111 <h4>LfConvertDataDialog.on_newProjectEdit_textChanged</h4> |
|
112 <b>on_newProjectEdit_textChanged</b>(<i>txt</i>) |
|
113 <p> |
|
114 Private slot to handle editing of the new project directory. |
|
115 </p><dl> |
|
116 <dt><i>txt</i></dt> |
|
117 <dd> |
|
118 new project directory name (string) |
|
119 </dd> |
|
120 </dl> |
|
121 <div align="right"><a href="#top">Up</a></div> |
|
122 <hr /> |
|
123 </body></html> |