16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Project.AddFoundFilesDialog</h1> |
23 <h1>eric6.Project.AddFoundFilesDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to show the found files to the user. |
26 Module implementing a dialog to show the found files to the user. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#AddFoundFilesDialog">AddFoundFilesDialog</a></td> |
38 <td><a href="#AddFoundFilesDialog">AddFoundFilesDialog</a></td> |
34 <td>Class implementing a dialog to show the found files to the user.</td> |
39 <td>Class implementing a dialog to show the found files to the user.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="AddFoundFilesDialog" ID="AddFoundFilesDialog"></a> |
49 <a NAME="AddFoundFilesDialog" ID="AddFoundFilesDialog"></a> |
43 <h2>AddFoundFilesDialog</h2> |
50 <h2>AddFoundFilesDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to show the found files to the user. |
53 Class implementing a dialog to show the found files to the user. |
46 </p><p> |
54 </p> |
|
55 <p> |
47 The found files are displayed in a listview. Pressing the 'Add All' button |
56 The found files are displayed in a listview. Pressing the 'Add All' button |
48 adds all files to the current project, the 'Add Selected' button adds only |
57 adds all files to the current project, the 'Add Selected' button adds only |
49 the selected files and the 'Cancel' button cancels the operation. |
58 the selected files and the 'Cancel' button cancels the operation. |
50 </p> |
59 </p> |
51 <h3>Derived from</h3> |
60 <h3>Derived from</h3> |
52 QDialog, Ui_AddFoundFilesDialog |
61 QDialog, Ui_AddFoundFilesDialog |
53 <h3>Class Attributes</h3> |
62 <h3>Class Attributes</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Class Methods</h3> |
67 <h3>Class Methods</h3> |
|
68 |
58 <table> |
69 <table> |
59 <tr><td>None</td></tr> |
70 <tr><td>None</td></tr> |
60 </table> |
71 </table> |
61 <h3>Methods</h3> |
72 <h3>Methods</h3> |
|
73 |
62 <table> |
74 <table> |
|
75 |
63 <tr> |
76 <tr> |
64 <td><a href="#AddFoundFilesDialog.__init__">AddFoundFilesDialog</a></td> |
77 <td><a href="#AddFoundFilesDialog.__init__">AddFoundFilesDialog</a></td> |
65 <td>Constructor</td> |
78 <td>Constructor</td> |
66 </tr><tr> |
79 </tr> |
|
80 <tr> |
67 <td><a href="#AddFoundFilesDialog.getSelection">getSelection</a></td> |
81 <td><a href="#AddFoundFilesDialog.getSelection">getSelection</a></td> |
68 <td>Public method to return the selected items.</td> |
82 <td>Public method to return the selected items.</td> |
69 </tr><tr> |
83 </tr> |
|
84 <tr> |
70 <td><a href="#AddFoundFilesDialog.on_addAllButton_clicked">on_addAllButton_clicked</a></td> |
85 <td><a href="#AddFoundFilesDialog.on_addAllButton_clicked">on_addAllButton_clicked</a></td> |
71 <td>Private slot to handle the 'Add All' button press.</td> |
86 <td>Private slot to handle the 'Add All' button press.</td> |
72 </tr><tr> |
87 </tr> |
|
88 <tr> |
73 <td><a href="#AddFoundFilesDialog.on_addSelectedButton_clicked">on_addSelectedButton_clicked</a></td> |
89 <td><a href="#AddFoundFilesDialog.on_addSelectedButton_clicked">on_addSelectedButton_clicked</a></td> |
74 <td>Private slot to handle the 'Add Selected' button press.</td> |
90 <td>Private slot to handle the 'Add Selected' button press.</td> |
75 </tr><tr> |
91 </tr> |
|
92 <tr> |
76 <td><a href="#AddFoundFilesDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
93 <td><a href="#AddFoundFilesDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
77 <td>Private slot called by a button of the button box clicked.</td> |
94 <td>Private slot called by a button of the button box clicked.</td> |
78 </tr> |
95 </tr> |
79 </table> |
96 </table> |
80 <h3>Static Methods</h3> |
97 <h3>Static Methods</h3> |
|
98 |
81 <table> |
99 <table> |
82 <tr><td>None</td></tr> |
100 <tr><td>None</td></tr> |
83 </table> |
101 </table> |
|
102 |
84 <a NAME="AddFoundFilesDialog.__init__" ID="AddFoundFilesDialog.__init__"></a> |
103 <a NAME="AddFoundFilesDialog.__init__" ID="AddFoundFilesDialog.__init__"></a> |
85 <h4>AddFoundFilesDialog (Constructor)</h4> |
104 <h4>AddFoundFilesDialog (Constructor)</h4> |
86 <b>AddFoundFilesDialog</b>(<i>files, parent=None, name=None</i>) |
105 <b>AddFoundFilesDialog</b>(<i>files, parent=None, name=None</i>) |
|
106 |
87 <p> |
107 <p> |
88 Constructor |
108 Constructor |
89 </p><dl> |
109 </p> |
|
110 <dl> |
|
111 |
90 <dt><i>files</i></dt> |
112 <dt><i>files</i></dt> |
91 <dd> |
113 <dd> |
92 list of files, that have been found for addition |
114 list of files, that have been found for addition |
93 (list of strings) |
115 (list of strings) |
94 </dd><dt><i>parent</i></dt> |
116 </dd> |
|
117 <dt><i>parent</i></dt> |
95 <dd> |
118 <dd> |
96 parent widget of this dialog (QWidget) |
119 parent widget of this dialog (QWidget) |
97 </dd><dt><i>name</i></dt> |
120 </dd> |
|
121 <dt><i>name</i></dt> |
98 <dd> |
122 <dd> |
99 name of this dialog (string) |
123 name of this dialog (string) |
100 </dd> |
124 </dd> |
101 </dl><a NAME="AddFoundFilesDialog.getSelection" ID="AddFoundFilesDialog.getSelection"></a> |
125 </dl> |
|
126 <a NAME="AddFoundFilesDialog.getSelection" ID="AddFoundFilesDialog.getSelection"></a> |
102 <h4>AddFoundFilesDialog.getSelection</h4> |
127 <h4>AddFoundFilesDialog.getSelection</h4> |
103 <b>getSelection</b>(<i></i>) |
128 <b>getSelection</b>(<i></i>) |
|
129 |
104 <p> |
130 <p> |
105 Public method to return the selected items. |
131 Public method to return the selected items. |
106 </p><dl> |
132 </p> |
|
133 <dl> |
107 <dt>Returns:</dt> |
134 <dt>Returns:</dt> |
108 <dd> |
135 <dd> |
109 list of selected files (list of strings) |
136 list of selected files (list of strings) |
110 </dd> |
137 </dd> |
111 </dl><a NAME="AddFoundFilesDialog.on_addAllButton_clicked" ID="AddFoundFilesDialog.on_addAllButton_clicked"></a> |
138 </dl> |
|
139 <a NAME="AddFoundFilesDialog.on_addAllButton_clicked" ID="AddFoundFilesDialog.on_addAllButton_clicked"></a> |
112 <h4>AddFoundFilesDialog.on_addAllButton_clicked</h4> |
140 <h4>AddFoundFilesDialog.on_addAllButton_clicked</h4> |
113 <b>on_addAllButton_clicked</b>(<i></i>) |
141 <b>on_addAllButton_clicked</b>(<i></i>) |
|
142 |
114 <p> |
143 <p> |
115 Private slot to handle the 'Add All' button press. |
144 Private slot to handle the 'Add All' button press. |
116 </p><p> |
145 </p> |
|
146 <p> |
117 Always returns the value 1 (integer). |
147 Always returns the value 1 (integer). |
118 </p><a NAME="AddFoundFilesDialog.on_addSelectedButton_clicked" ID="AddFoundFilesDialog.on_addSelectedButton_clicked"></a> |
148 </p> |
|
149 <a NAME="AddFoundFilesDialog.on_addSelectedButton_clicked" ID="AddFoundFilesDialog.on_addSelectedButton_clicked"></a> |
119 <h4>AddFoundFilesDialog.on_addSelectedButton_clicked</h4> |
150 <h4>AddFoundFilesDialog.on_addSelectedButton_clicked</h4> |
120 <b>on_addSelectedButton_clicked</b>(<i></i>) |
151 <b>on_addSelectedButton_clicked</b>(<i></i>) |
|
152 |
121 <p> |
153 <p> |
122 Private slot to handle the 'Add Selected' button press. |
154 Private slot to handle the 'Add Selected' button press. |
123 </p><p> |
155 </p> |
|
156 <p> |
124 Always returns the value 2 (integer). |
157 Always returns the value 2 (integer). |
125 </p><a NAME="AddFoundFilesDialog.on_buttonBox_clicked" ID="AddFoundFilesDialog.on_buttonBox_clicked"></a> |
158 </p> |
|
159 <a NAME="AddFoundFilesDialog.on_buttonBox_clicked" ID="AddFoundFilesDialog.on_buttonBox_clicked"></a> |
126 <h4>AddFoundFilesDialog.on_buttonBox_clicked</h4> |
160 <h4>AddFoundFilesDialog.on_buttonBox_clicked</h4> |
127 <b>on_buttonBox_clicked</b>(<i>button</i>) |
161 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
162 |
128 <p> |
163 <p> |
129 Private slot called by a button of the button box clicked. |
164 Private slot called by a button of the button box clicked. |
130 </p><dl> |
165 </p> |
|
166 <dl> |
|
167 |
131 <dt><i>button</i></dt> |
168 <dt><i>button</i></dt> |
132 <dd> |
169 <dd> |
133 button that was clicked (QAbstractButton) |
170 button that was clicked (QAbstractButton) |
134 </dd> |
171 </dd> |
135 </dl> |
172 </dl> |