20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.Project.AddFoundFilesDialog</h1> |
23 <h1>eric5.Project.AddFoundFilesDialog</h1> |
24 <p> |
24 <p> |
25 Module implementing a dialog to show the found files to the user. |
25 Module implementing a dialog to show the found files to the user. |
26 </p> |
26 </p> |
27 <h3>Global Attributes</h3> |
27 <h3>Global Attributes</h3> |
28 <table> |
28 <table> |
29 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
30 </table> |
30 </table> |
31 <h3>Classes</h3> |
31 <h3>Classes</h3> |
32 <table> |
32 <table> |
33 <tr> |
33 <tr> |
34 <td><a href="#AddFoundFilesDialog">AddFoundFilesDialog</a></td> |
34 <td><a href="#AddFoundFilesDialog">AddFoundFilesDialog</a></td> |
35 <td>Class implementing a dialog to show the found files to the user.</td> |
35 <td>Class implementing a dialog to show the found files to the user.</td> |
36 </tr> |
36 </tr> |
37 </table> |
37 </table> |
38 <h3>Functions</h3> |
38 <h3>Functions</h3> |
39 <table> |
39 <table> |
40 <tr><td>None</td></tr> |
40 <tr><td>None</td></tr> |
41 </table> |
41 </table> |
42 <hr /><hr /> |
42 <hr /><hr /> |
43 <a NAME="AddFoundFilesDialog" ID="AddFoundFilesDialog"></a> |
43 <a NAME="AddFoundFilesDialog" ID="AddFoundFilesDialog"></a> |
44 <h2>AddFoundFilesDialog</h2> |
44 <h2>AddFoundFilesDialog</h2> |
45 <p> |
45 <p> |
46 Class implementing a dialog to show the found files to the user. |
46 Class implementing a dialog to show the found files to the user. |
47 </p><p> |
47 </p><p> |
48 The found files are displayed in a listview. |
48 The found files are displayed in a listview. |
49 Pressing the 'Add All' button adds all files to the current project, |
49 Pressing the 'Add All' button adds all files to the current project, |
50 the 'Add Selected' button adds only the selected files and the 'Cancel' |
50 the 'Add Selected' button adds only the selected files and the 'Cancel' |
51 button cancels the operation. |
51 button cancels the operation. |
52 </p> |
52 </p> |
53 <h3>Derived from</h3> |
53 <h3>Derived from</h3> |
54 QDialog, Ui_AddFoundFilesDialog |
54 QDialog, Ui_AddFoundFilesDialog |
55 <h3>Class Attributes</h3> |
55 <h3>Class Attributes</h3> |
56 <table> |
56 <table> |
58 </table> |
58 </table> |
59 <h3>Methods</h3> |
59 <h3>Methods</h3> |
60 <table> |
60 <table> |
61 <tr> |
61 <tr> |
62 <td><a href="#AddFoundFilesDialog.__init__">AddFoundFilesDialog</a></td> |
62 <td><a href="#AddFoundFilesDialog.__init__">AddFoundFilesDialog</a></td> |
63 <td>Constructor</td> |
63 <td>Constructor</td> |
64 </tr><tr> |
64 </tr><tr> |
65 <td><a href="#AddFoundFilesDialog.getSelection">getSelection</a></td> |
65 <td><a href="#AddFoundFilesDialog.getSelection">getSelection</a></td> |
66 <td>Public method to return the selected items.</td> |
66 <td>Public method to return the selected items.</td> |
67 </tr><tr> |
67 </tr><tr> |
68 <td><a href="#AddFoundFilesDialog.on_addAllButton_clicked">on_addAllButton_clicked</a></td> |
68 <td><a href="#AddFoundFilesDialog.on_addAllButton_clicked">on_addAllButton_clicked</a></td> |
69 <td>Private slot to handle the 'Add All' button press.</td> |
69 <td>Private slot to handle the 'Add All' button press.</td> |
70 </tr><tr> |
70 </tr><tr> |
71 <td><a href="#AddFoundFilesDialog.on_addSelectedButton_clicked">on_addSelectedButton_clicked</a></td> |
71 <td><a href="#AddFoundFilesDialog.on_addSelectedButton_clicked">on_addSelectedButton_clicked</a></td> |
72 <td>Private slot to handle the 'Add Selected' button press.</td> |
72 <td>Private slot to handle the 'Add Selected' button press.</td> |
73 </tr><tr> |
73 </tr><tr> |
74 <td><a href="#AddFoundFilesDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
74 <td><a href="#AddFoundFilesDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
75 <td>Private slot called by a button of the button box clicked.</td> |
75 <td>Private slot called by a button of the button box clicked.</td> |
76 </tr> |
76 </tr> |
77 </table> |
77 </table> |
78 <a NAME="AddFoundFilesDialog.__init__" ID="AddFoundFilesDialog.__init__"></a> |
78 <a NAME="AddFoundFilesDialog.__init__" ID="AddFoundFilesDialog.__init__"></a> |
79 <h4>AddFoundFilesDialog (Constructor)</h4> |
79 <h4>AddFoundFilesDialog (Constructor)</h4> |
80 <b>AddFoundFilesDialog</b>(<i>files, parent = None, name = None</i>) |
80 <b>AddFoundFilesDialog</b>(<i>files, parent = None, name = None</i>) |
81 <p> |
81 <p> |
82 Constructor |
82 Constructor |
83 </p><dl> |
83 </p><dl> |
84 <dt><i>files</i></dt> |
84 <dt><i>files</i></dt> |
85 <dd> |
85 <dd> |
86 list of files, that have been found for addition (list of strings) |
86 list of files, that have been found for addition (list of strings) |
87 </dd><dt><i>parent</i></dt> |
87 </dd><dt><i>parent</i></dt> |
88 <dd> |
88 <dd> |
89 parent widget of this dialog (QWidget) |
89 parent widget of this dialog (QWidget) |
90 </dd><dt><i>name</i></dt> |
90 </dd><dt><i>name</i></dt> |
91 <dd> |
91 <dd> |
92 name of this dialog (string) |
92 name of this dialog (string) |
93 </dd> |
93 </dd> |
94 </dl><a NAME="AddFoundFilesDialog.getSelection" ID="AddFoundFilesDialog.getSelection"></a> |
94 </dl><a NAME="AddFoundFilesDialog.getSelection" ID="AddFoundFilesDialog.getSelection"></a> |
95 <h4>AddFoundFilesDialog.getSelection</h4> |
95 <h4>AddFoundFilesDialog.getSelection</h4> |
96 <b>getSelection</b>(<i></i>) |
96 <b>getSelection</b>(<i></i>) |
97 <p> |
97 <p> |
98 Public method to return the selected items. |
98 Public method to return the selected items. |
99 </p><dl> |
99 </p><dl> |
100 <dt>Returns:</dt> |
100 <dt>Returns:</dt> |
101 <dd> |
101 <dd> |
102 list of selected files (list of strings) |
102 list of selected files (list of strings) |
103 </dd> |
103 </dd> |
104 </dl><a NAME="AddFoundFilesDialog.on_addAllButton_clicked" ID="AddFoundFilesDialog.on_addAllButton_clicked"></a> |
104 </dl><a NAME="AddFoundFilesDialog.on_addAllButton_clicked" ID="AddFoundFilesDialog.on_addAllButton_clicked"></a> |
105 <h4>AddFoundFilesDialog.on_addAllButton_clicked</h4> |
105 <h4>AddFoundFilesDialog.on_addAllButton_clicked</h4> |
106 <b>on_addAllButton_clicked</b>(<i></i>) |
106 <b>on_addAllButton_clicked</b>(<i></i>) |
107 <p> |
107 <p> |
108 Private slot to handle the 'Add All' button press. |
108 Private slot to handle the 'Add All' button press. |
109 </p><dl> |
109 </p><dl> |
110 <dt>Returns:</dt> |
110 <dt>Returns:</dt> |
111 <dd> |
111 <dd> |
112 always 1 (int) |
112 always 1 (int) |
113 </dd> |
113 </dd> |
114 </dl><a NAME="AddFoundFilesDialog.on_addSelectedButton_clicked" ID="AddFoundFilesDialog.on_addSelectedButton_clicked"></a> |
114 </dl><a NAME="AddFoundFilesDialog.on_addSelectedButton_clicked" ID="AddFoundFilesDialog.on_addSelectedButton_clicked"></a> |
115 <h4>AddFoundFilesDialog.on_addSelectedButton_clicked</h4> |
115 <h4>AddFoundFilesDialog.on_addSelectedButton_clicked</h4> |
116 <b>on_addSelectedButton_clicked</b>(<i></i>) |
116 <b>on_addSelectedButton_clicked</b>(<i></i>) |
117 <p> |
117 <p> |
118 Private slot to handle the 'Add Selected' button press. |
118 Private slot to handle the 'Add Selected' button press. |
119 </p><dl> |
119 </p><dl> |
120 <dt>Returns:</dt> |
120 <dt>Returns:</dt> |
121 <dd> |
121 <dd> |
122 always 2 (int) |
122 always 2 (int) |
123 </dd> |
123 </dd> |
124 </dl><a NAME="AddFoundFilesDialog.on_buttonBox_clicked" ID="AddFoundFilesDialog.on_buttonBox_clicked"></a> |
124 </dl><a NAME="AddFoundFilesDialog.on_buttonBox_clicked" ID="AddFoundFilesDialog.on_buttonBox_clicked"></a> |
125 <h4>AddFoundFilesDialog.on_buttonBox_clicked</h4> |
125 <h4>AddFoundFilesDialog.on_buttonBox_clicked</h4> |
126 <b>on_buttonBox_clicked</b>(<i>button</i>) |
126 <b>on_buttonBox_clicked</b>(<i>button</i>) |
127 <p> |
127 <p> |
128 Private slot called by a button of the button box clicked. |
128 Private slot called by a button of the button box clicked. |
129 </p><dl> |
129 </p><dl> |
130 <dt><i>button</i></dt> |
130 <dt><i>button</i></dt> |
131 <dd> |
131 <dd> |
132 button that was clicked (QAbstractButton) |
132 button that was clicked (QAbstractButton) |
133 </dd> |
133 </dd> |
134 </dl> |
134 </dl> |
135 <div align="right"><a href="#top">Up</a></div> |
135 <div align="right"><a href="#top">Up</a></div> |
136 <hr /> |
136 <hr /> |
137 </body></html> |
137 </body></html> |