src/eric7/Documentation/Source/eric7.Project.AddFileDialog.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 9530
c30f02ea1b27
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Project.AddFileDialog</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.Project.AddFileDialog</h1>
10
11 <p>
12 Module implementing a dialog to add a file to the project.
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="#AddFileDialog">AddFileDialog</a></td>
25 <td>Class implementing a dialog to add a file to the project.</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="AddFileDialog" ID="AddFileDialog"></a>
36 <h2>AddFileDialog</h2>
37
38 <p>
39 Class implementing a dialog to add a file to the project.
40 </p>
41 <h3>Derived from</h3>
42 QDialog, Ui_AddFileDialog
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="#AddFileDialog.__init__">AddFileDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#AddFileDialog.getData">getData</a></td>
63 <td>Public slot to retrieve the dialogs data.</td>
64 </tr>
65 <tr>
66 <td><a href="#AddFileDialog.on_sourceFilesPicker_aboutToShowPathPickerDialog">on_sourceFilesPicker_aboutToShowPathPickerDialog</a></td>
67 <td>Private slot to perform actions before the source files selection dialog is shown.</td>
68 </tr>
69 <tr>
70 <td><a href="#AddFileDialog.on_sourceFilesPicker_textChanged">on_sourceFilesPicker_textChanged</a></td>
71 <td>Private slot to handle the source file text changed.</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="AddFileDialog.__init__" ID="AddFileDialog.__init__"></a>
81 <h4>AddFileDialog (Constructor)</h4>
82 <b>AddFileDialog</b>(<i>pro, parent=None, fileTypeFilter=None, name=None, startdir=None</i>)
83
84 <p>
85 Constructor
86 </p>
87 <dl>
88
89 <dt><i>pro</i></dt>
90 <dd>
91 reference to the project object
92 </dd>
93 <dt><i>parent</i></dt>
94 <dd>
95 parent widget of this dialog (QWidget)
96 </dd>
97 <dt><i>fileTypeFilter</i></dt>
98 <dd>
99 filter specification for the file to add (string)
100 </dd>
101 <dt><i>name</i></dt>
102 <dd>
103 name of this dialog (string)
104 </dd>
105 <dt><i>startdir</i></dt>
106 <dd>
107 start directory for the selection dialog
108 </dd>
109 </dl>
110 <a NAME="AddFileDialog.getData" ID="AddFileDialog.getData"></a>
111 <h4>AddFileDialog.getData</h4>
112 <b>getData</b>(<i></i>)
113
114 <p>
115 Public slot to retrieve the dialogs data.
116 </p>
117 <dl>
118 <dt>Return:</dt>
119 <dd>
120 tuple of three values (list of string, string, boolean)
121 giving the source files, the target directory and a flag
122 telling, whether the files shall be added as source code
123 </dd>
124 </dl>
125 <a NAME="AddFileDialog.on_sourceFilesPicker_aboutToShowPathPickerDialog" ID="AddFileDialog.on_sourceFilesPicker_aboutToShowPathPickerDialog"></a>
126 <h4>AddFileDialog.on_sourceFilesPicker_aboutToShowPathPickerDialog</h4>
127 <b>on_sourceFilesPicker_aboutToShowPathPickerDialog</b>(<i></i>)
128
129 <p>
130 Private slot to perform actions before the source files selection
131 dialog is shown.
132 </p>
133 <a NAME="AddFileDialog.on_sourceFilesPicker_textChanged" ID="AddFileDialog.on_sourceFilesPicker_textChanged"></a>
134 <h4>AddFileDialog.on_sourceFilesPicker_textChanged</h4>
135 <b>on_sourceFilesPicker_textChanged</b>(<i>sfile</i>)
136
137 <p>
138 Private slot to handle the source file text changed.
139 </p>
140 <p>
141 If the entered source directory is a subdirectory of the current
142 projects main directory, the target directory path is synchronized.
143 It is assumed, that the user wants to add a bunch of files to
144 the project in place.
145 </p>
146 <dl>
147
148 <dt><i>sfile</i></dt>
149 <dd>
150 the text of the source file picker (string)
151 </dd>
152 </dl>
153 <div align="right"><a href="#top">Up</a></div>
154 <hr />
155 </body></html>

eric ide

mercurial