53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#EricapiConfigDialog.__init__">EricapiConfigDialog</a></td> |
57 <td><a href="#EricapiConfigDialog.__init__">EricapiConfigDialog</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#EricapiConfigDialog.__initializeDefaults">__initializeDefaults</a></td> |
60 <td><a href="#EricapiConfigDialog.__initializeDefaults">__initializeDefaults</a></td> |
61 <td>Private method to set the default values.</td> |
61 <td>Private method to set the default values.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#EricapiConfigDialog.accept">accept</a></td> |
63 <td><a href="#EricapiConfigDialog.accept">accept</a></td> |
64 <td>Protected slot called by the Ok button.</td> |
64 <td>Protected slot called by the Ok button.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#EricapiConfigDialog.generateParameters">generateParameters</a></td> |
66 <td><a href="#EricapiConfigDialog.generateParameters">generateParameters</a></td> |
67 <td>Public method that generates the commandline parameters.</td> |
67 <td>Public method that generates the commandline parameters.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#EricapiConfigDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
69 <td><a href="#EricapiConfigDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
70 <td>Private slot to add the directory displayed to the listview.</td> |
70 <td>Private slot to add the directory displayed to the listview.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#EricapiConfigDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
72 <td><a href="#EricapiConfigDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
73 <td>Private slot to delete the currently selected directory of the listbox.</td> |
73 <td>Private slot to delete the currently selected directory of the listbox.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#EricapiConfigDialog.on_ignoreDirButton_clicked">on_ignoreDirButton_clicked</a></td> |
75 <td><a href="#EricapiConfigDialog.on_ignoreDirButton_clicked">on_ignoreDirButton_clicked</a></td> |
76 <td>Private slot to select a directory to be ignored.</td> |
76 <td>Private slot to select a directory to be ignored.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#EricapiConfigDialog.on_outputFileButton_clicked">on_outputFileButton_clicked</a></td> |
78 <td><a href="#EricapiConfigDialog.on_outputFileButton_clicked">on_outputFileButton_clicked</a></td> |
79 <td>Private slot to select the output file.</td> |
79 <td>Private slot to select the output file.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#EricapiConfigDialog.on_outputFileEdit_textChanged">on_outputFileEdit_textChanged</a></td> |
81 <td><a href="#EricapiConfigDialog.on_outputFileEdit_textChanged">on_outputFileEdit_textChanged</a></td> |
82 <td>Private slot to enable/disable the "OK" button.</td> |
82 <td>Private slot to enable/disable the "OK" button.</td> |
83 </tr> |
83 </tr> |
84 </table> |
84 </table> |
85 <a NAME="EricapiConfigDialog.__init__" ID="EricapiConfigDialog.__init__"></a> |
85 <a NAME="EricapiConfigDialog.__init__" ID="EricapiConfigDialog.__init__"></a> |
86 <h4>EricapiConfigDialog (Constructor)</h4> |
86 <h4>EricapiConfigDialog (Constructor)</h4> |
87 <b>EricapiConfigDialog</b>(<i>project, parms = None, parent = None</i>) |
87 <b>EricapiConfigDialog</b>(<i>project, parms = None, parent = None</i>) |
88 <p> |
88 <p> |
89 Constructor |
89 Constructor |
90 </p><dl> |
90 </p><dl> |
91 <dt><i>project</i></dt> |
91 <dt><i>project</i></dt> |
92 <dd> |
92 <dd> |
93 reference to the project object (Project.Project) |
93 reference to the project object (Project.Project) |
94 </dd><dt><i>parms</i></dt> |
94 </dd><dt><i>parms</i></dt> |
95 <dd> |
95 <dd> |
96 parameters to set in the dialog |
96 parameters to set in the dialog |
97 </dd><dt><i>parent</i></dt> |
97 </dd><dt><i>parent</i></dt> |
98 <dd> |
98 <dd> |
99 parent widget of this dialog |
99 parent widget of this dialog |
100 </dd> |
100 </dd> |
101 </dl><a NAME="EricapiConfigDialog.__initializeDefaults" ID="EricapiConfigDialog.__initializeDefaults"></a> |
101 </dl><a NAME="EricapiConfigDialog.__initializeDefaults" ID="EricapiConfigDialog.__initializeDefaults"></a> |
102 <h4>EricapiConfigDialog.__initializeDefaults</h4> |
102 <h4>EricapiConfigDialog.__initializeDefaults</h4> |
103 <b>__initializeDefaults</b>(<i></i>) |
103 <b>__initializeDefaults</b>(<i></i>) |
104 <p> |
104 <p> |
105 Private method to set the default values. |
105 Private method to set the default values. |
106 </p><p> |
106 </p><p> |
107 These are needed later on to generate the commandline |
107 These are needed later on to generate the commandline |
108 parameters. |
108 parameters. |
109 </p><a NAME="EricapiConfigDialog.accept" ID="EricapiConfigDialog.accept"></a> |
109 </p><a NAME="EricapiConfigDialog.accept" ID="EricapiConfigDialog.accept"></a> |
110 <h4>EricapiConfigDialog.accept</h4> |
110 <h4>EricapiConfigDialog.accept</h4> |
111 <b>accept</b>(<i></i>) |
111 <b>accept</b>(<i></i>) |
112 <p> |
112 <p> |
113 Protected slot called by the Ok button. |
113 Protected slot called by the Ok button. |
114 </p><p> |
114 </p><p> |
115 It saves the values in the parameters dictionary. |
115 It saves the values in the parameters dictionary. |
116 </p><a NAME="EricapiConfigDialog.generateParameters" ID="EricapiConfigDialog.generateParameters"></a> |
116 </p><a NAME="EricapiConfigDialog.generateParameters" ID="EricapiConfigDialog.generateParameters"></a> |
117 <h4>EricapiConfigDialog.generateParameters</h4> |
117 <h4>EricapiConfigDialog.generateParameters</h4> |
118 <b>generateParameters</b>(<i></i>) |
118 <b>generateParameters</b>(<i></i>) |
119 <p> |
119 <p> |
120 Public method that generates the commandline parameters. |
120 Public method that generates the commandline parameters. |
121 </p><p> |
121 </p><p> |
122 It generates a list of strings to be used |
122 It generates a list of strings to be used |
123 to set the QProcess arguments for the ericapi call and |
123 to set the QProcess arguments for the ericapi call and |
124 a dictionary containing the non default parameters. This |
124 a dictionary containing the non default parameters. This |
125 dictionary can be passed back upon object generation to overwrite |
125 dictionary can be passed back upon object generation to overwrite |
126 the default settings. |
126 the default settings. |
127 </p><dl> |
127 </p><dl> |
128 <dt>Returns:</dt> |
128 <dt>Returns:</dt> |
129 <dd> |
129 <dd> |
130 a tuple of the commandline parameters and non default parameters |
130 a tuple of the commandline parameters and non default parameters |
131 (list of strings, dictionary) |
131 (list of strings, dictionary) |
132 </dd> |
132 </dd> |
133 </dl><a NAME="EricapiConfigDialog.on_addButton_clicked" ID="EricapiConfigDialog.on_addButton_clicked"></a> |
133 </dl><a NAME="EricapiConfigDialog.on_addButton_clicked" ID="EricapiConfigDialog.on_addButton_clicked"></a> |
134 <h4>EricapiConfigDialog.on_addButton_clicked</h4> |
134 <h4>EricapiConfigDialog.on_addButton_clicked</h4> |
135 <b>on_addButton_clicked</b>(<i></i>) |
135 <b>on_addButton_clicked</b>(<i></i>) |
136 <p> |
136 <p> |
137 Private slot to add the directory displayed to the listview. |
137 Private slot to add the directory displayed to the listview. |
138 </p><p> |
138 </p><p> |
139 The directory in the ignore directories |
139 The directory in the ignore directories |
140 line edit is moved to the listbox above and the edit is cleared. |
140 line edit is moved to the listbox above and the edit is cleared. |
141 </p><a NAME="EricapiConfigDialog.on_deleteButton_clicked" ID="EricapiConfigDialog.on_deleteButton_clicked"></a> |
141 </p><a NAME="EricapiConfigDialog.on_deleteButton_clicked" ID="EricapiConfigDialog.on_deleteButton_clicked"></a> |
142 <h4>EricapiConfigDialog.on_deleteButton_clicked</h4> |
142 <h4>EricapiConfigDialog.on_deleteButton_clicked</h4> |
143 <b>on_deleteButton_clicked</b>(<i></i>) |
143 <b>on_deleteButton_clicked</b>(<i></i>) |
144 <p> |
144 <p> |
145 Private slot to delete the currently selected directory of the listbox. |
145 Private slot to delete the currently selected directory of the listbox. |
146 </p><a NAME="EricapiConfigDialog.on_ignoreDirButton_clicked" ID="EricapiConfigDialog.on_ignoreDirButton_clicked"></a> |
146 </p><a NAME="EricapiConfigDialog.on_ignoreDirButton_clicked" ID="EricapiConfigDialog.on_ignoreDirButton_clicked"></a> |
147 <h4>EricapiConfigDialog.on_ignoreDirButton_clicked</h4> |
147 <h4>EricapiConfigDialog.on_ignoreDirButton_clicked</h4> |
148 <b>on_ignoreDirButton_clicked</b>(<i></i>) |
148 <b>on_ignoreDirButton_clicked</b>(<i></i>) |
149 <p> |
149 <p> |
150 Private slot to select a directory to be ignored. |
150 Private slot to select a directory to be ignored. |
151 </p><p> |
151 </p><p> |
152 It displays a directory selection dialog to |
152 It displays a directory selection dialog to |
153 select a directory to be ignored. |
153 select a directory to be ignored. |
154 </p><a NAME="EricapiConfigDialog.on_outputFileButton_clicked" ID="EricapiConfigDialog.on_outputFileButton_clicked"></a> |
154 </p><a NAME="EricapiConfigDialog.on_outputFileButton_clicked" ID="EricapiConfigDialog.on_outputFileButton_clicked"></a> |
155 <h4>EricapiConfigDialog.on_outputFileButton_clicked</h4> |
155 <h4>EricapiConfigDialog.on_outputFileButton_clicked</h4> |
156 <b>on_outputFileButton_clicked</b>(<i></i>) |
156 <b>on_outputFileButton_clicked</b>(<i></i>) |
157 <p> |
157 <p> |
158 Private slot to select the output file. |
158 Private slot to select the output file. |
159 </p><p> |
159 </p><p> |
160 It displays a file selection dialog to |
160 It displays a file selection dialog to |
161 select the file the api is written to. |
161 select the file the api is written to. |
162 </p><a NAME="EricapiConfigDialog.on_outputFileEdit_textChanged" ID="EricapiConfigDialog.on_outputFileEdit_textChanged"></a> |
162 </p><a NAME="EricapiConfigDialog.on_outputFileEdit_textChanged" ID="EricapiConfigDialog.on_outputFileEdit_textChanged"></a> |
163 <h4>EricapiConfigDialog.on_outputFileEdit_textChanged</h4> |
163 <h4>EricapiConfigDialog.on_outputFileEdit_textChanged</h4> |
164 <b>on_outputFileEdit_textChanged</b>(<i>filename</i>) |
164 <b>on_outputFileEdit_textChanged</b>(<i>filename</i>) |
165 <p> |
165 <p> |
166 Private slot to enable/disable the "OK" button. |
166 Private slot to enable/disable the "OK" button. |
167 </p><dl> |
167 </p><dl> |
168 <dt><i>filename</i></dt> |
168 <dt><i>filename</i></dt> |
169 <dd> |
169 <dd> |
170 name of the file (string) |
170 name of the file (string) |
171 </dd> |
171 </dd> |
172 </dl> |
172 </dl> |
173 <div align="right"><a href="#top">Up</a></div> |
173 <div align="right"><a href="#top">Up</a></div> |
174 <hr /> |
174 <hr /> |
175 </body></html> |
175 </body></html> |