53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#SyntaxCheckerDialog.__init__">SyntaxCheckerDialog</a></td> |
57 <td><a href="#SyntaxCheckerDialog.__init__">SyntaxCheckerDialog</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#SyntaxCheckerDialog.__clearErrors">__clearErrors</a></td> |
60 <td><a href="#SyntaxCheckerDialog.__clearErrors">__clearErrors</a></td> |
61 <td>Private method to clear all error markers of open editors.</td> |
61 <td>Private method to clear all error markers of open editors.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#SyntaxCheckerDialog.__createResultItem">__createResultItem</a></td> |
63 <td><a href="#SyntaxCheckerDialog.__createResultItem">__createResultItem</a></td> |
64 <td>Private method to create an entry in the result list.</td> |
64 <td>Private method to create an entry in the result list.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#SyntaxCheckerDialog.__finish">__finish</a></td> |
66 <td><a href="#SyntaxCheckerDialog.__finish">__finish</a></td> |
67 <td>Private slot called when the syntax check finished or the user pressed the button.</td> |
67 <td>Private slot called when the syntax check finished or the user pressed the button.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#SyntaxCheckerDialog.__resort">__resort</a></td> |
69 <td><a href="#SyntaxCheckerDialog.__resort">__resort</a></td> |
70 <td>Private method to resort the tree.</td> |
70 <td>Private method to resort the tree.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#SyntaxCheckerDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
72 <td><a href="#SyntaxCheckerDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
73 <td>Private slot called by a button of the button box clicked.</td> |
73 <td>Private slot called by a button of the button box clicked.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#SyntaxCheckerDialog.on_resultList_itemActivated">on_resultList_itemActivated</a></td> |
75 <td><a href="#SyntaxCheckerDialog.on_resultList_itemActivated">on_resultList_itemActivated</a></td> |
76 <td>Private slot to handle the activation of an item.</td> |
76 <td>Private slot to handle the activation of an item.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#SyntaxCheckerDialog.on_showButton_clicked">on_showButton_clicked</a></td> |
78 <td><a href="#SyntaxCheckerDialog.on_showButton_clicked">on_showButton_clicked</a></td> |
79 <td>Private slot to handle the "Show" button press.</td> |
79 <td>Private slot to handle the "Show" button press.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#SyntaxCheckerDialog.start">start</a></td> |
81 <td><a href="#SyntaxCheckerDialog.start">start</a></td> |
82 <td>Public slot to start the syntax check.</td> |
82 <td>Public slot to start the syntax check.</td> |
83 </tr> |
83 </tr> |
84 </table> |
84 </table> |
85 <a NAME="SyntaxCheckerDialog.__init__" ID="SyntaxCheckerDialog.__init__"></a> |
85 <a NAME="SyntaxCheckerDialog.__init__" ID="SyntaxCheckerDialog.__init__"></a> |
86 <h4>SyntaxCheckerDialog (Constructor)</h4> |
86 <h4>SyntaxCheckerDialog (Constructor)</h4> |
87 <b>SyntaxCheckerDialog</b>(<i>parent = None</i>) |
87 <b>SyntaxCheckerDialog</b>(<i>parent = None</i>) |
88 <p> |
88 <p> |
89 Constructor |
89 Constructor |
90 </p><dl> |
90 </p><dl> |
91 <dt><i>parent</i></dt> |
91 <dt><i>parent</i></dt> |
92 <dd> |
92 <dd> |
93 The parent widget. (QWidget) |
93 The parent widget. (QWidget) |
94 </dd> |
94 </dd> |
95 </dl><a NAME="SyntaxCheckerDialog.__clearErrors" ID="SyntaxCheckerDialog.__clearErrors"></a> |
95 </dl><a NAME="SyntaxCheckerDialog.__clearErrors" ID="SyntaxCheckerDialog.__clearErrors"></a> |
96 <h4>SyntaxCheckerDialog.__clearErrors</h4> |
96 <h4>SyntaxCheckerDialog.__clearErrors</h4> |
97 <b>__clearErrors</b>(<i></i>) |
97 <b>__clearErrors</b>(<i></i>) |
98 <p> |
98 <p> |
99 Private method to clear all error markers of open editors. |
99 Private method to clear all error markers of open editors. |
100 </p><a NAME="SyntaxCheckerDialog.__createResultItem" ID="SyntaxCheckerDialog.__createResultItem"></a> |
100 </p><a NAME="SyntaxCheckerDialog.__createResultItem" ID="SyntaxCheckerDialog.__createResultItem"></a> |
101 <h4>SyntaxCheckerDialog.__createResultItem</h4> |
101 <h4>SyntaxCheckerDialog.__createResultItem</h4> |
102 <b>__createResultItem</b>(<i>file, line, error, sourcecode</i>) |
102 <b>__createResultItem</b>(<i>file, line, error, sourcecode</i>) |
103 <p> |
103 <p> |
104 Private method to create an entry in the result list. |
104 Private method to create an entry in the result list. |
105 </p><dl> |
105 </p><dl> |
106 <dt><i>file</i></dt> |
106 <dt><i>file</i></dt> |
107 <dd> |
107 <dd> |
108 filename of file (string) |
108 filename of file (string) |
109 </dd><dt><i>line</i></dt> |
109 </dd><dt><i>line</i></dt> |
110 <dd> |
110 <dd> |
111 linenumber of faulty source (integer or string) |
111 linenumber of faulty source (integer or string) |
112 </dd><dt><i>error</i></dt> |
112 </dd><dt><i>error</i></dt> |
113 <dd> |
113 <dd> |
114 error text (string) |
114 error text (string) |
115 </dd><dt><i>sourcecode</i></dt> |
115 </dd><dt><i>sourcecode</i></dt> |
116 <dd> |
116 <dd> |
117 faulty line of code (string) |
117 faulty line of code (string) |
118 </dd> |
118 </dd> |
119 </dl><a NAME="SyntaxCheckerDialog.__finish" ID="SyntaxCheckerDialog.__finish"></a> |
119 </dl><a NAME="SyntaxCheckerDialog.__finish" ID="SyntaxCheckerDialog.__finish"></a> |
120 <h4>SyntaxCheckerDialog.__finish</h4> |
120 <h4>SyntaxCheckerDialog.__finish</h4> |
121 <b>__finish</b>(<i></i>) |
121 <b>__finish</b>(<i></i>) |
122 <p> |
122 <p> |
123 Private slot called when the syntax check finished or the user pressed the button. |
123 Private slot called when the syntax check finished or the user pressed the button. |
124 </p><a NAME="SyntaxCheckerDialog.__resort" ID="SyntaxCheckerDialog.__resort"></a> |
124 </p><a NAME="SyntaxCheckerDialog.__resort" ID="SyntaxCheckerDialog.__resort"></a> |
125 <h4>SyntaxCheckerDialog.__resort</h4> |
125 <h4>SyntaxCheckerDialog.__resort</h4> |
126 <b>__resort</b>(<i></i>) |
126 <b>__resort</b>(<i></i>) |
127 <p> |
127 <p> |
128 Private method to resort the tree. |
128 Private method to resort the tree. |
129 </p><a NAME="SyntaxCheckerDialog.on_buttonBox_clicked" ID="SyntaxCheckerDialog.on_buttonBox_clicked"></a> |
129 </p><a NAME="SyntaxCheckerDialog.on_buttonBox_clicked" ID="SyntaxCheckerDialog.on_buttonBox_clicked"></a> |
130 <h4>SyntaxCheckerDialog.on_buttonBox_clicked</h4> |
130 <h4>SyntaxCheckerDialog.on_buttonBox_clicked</h4> |
131 <b>on_buttonBox_clicked</b>(<i>button</i>) |
131 <b>on_buttonBox_clicked</b>(<i>button</i>) |
132 <p> |
132 <p> |
133 Private slot called by a button of the button box clicked. |
133 Private slot called by a button of the button box clicked. |
134 </p><dl> |
134 </p><dl> |
135 <dt><i>button</i></dt> |
135 <dt><i>button</i></dt> |
136 <dd> |
136 <dd> |
137 button that was clicked (QAbstractButton) |
137 button that was clicked (QAbstractButton) |
138 </dd> |
138 </dd> |
139 </dl><a NAME="SyntaxCheckerDialog.on_resultList_itemActivated" ID="SyntaxCheckerDialog.on_resultList_itemActivated"></a> |
139 </dl><a NAME="SyntaxCheckerDialog.on_resultList_itemActivated" ID="SyntaxCheckerDialog.on_resultList_itemActivated"></a> |
140 <h4>SyntaxCheckerDialog.on_resultList_itemActivated</h4> |
140 <h4>SyntaxCheckerDialog.on_resultList_itemActivated</h4> |
141 <b>on_resultList_itemActivated</b>(<i>itm, col</i>) |
141 <b>on_resultList_itemActivated</b>(<i>itm, col</i>) |
142 <p> |
142 <p> |
143 Private slot to handle the activation of an item. |
143 Private slot to handle the activation of an item. |
144 </p><dl> |
144 </p><dl> |
145 <dt><i>itm</i></dt> |
145 <dt><i>itm</i></dt> |
146 <dd> |
146 <dd> |
147 reference to the activated item (QTreeWidgetItem) |
147 reference to the activated item (QTreeWidgetItem) |
148 </dd><dt><i>col</i></dt> |
148 </dd><dt><i>col</i></dt> |
149 <dd> |
149 <dd> |
150 column the item was activated in (integer) |
150 column the item was activated in (integer) |
151 </dd> |
151 </dd> |
152 </dl><a NAME="SyntaxCheckerDialog.on_showButton_clicked" ID="SyntaxCheckerDialog.on_showButton_clicked"></a> |
152 </dl><a NAME="SyntaxCheckerDialog.on_showButton_clicked" ID="SyntaxCheckerDialog.on_showButton_clicked"></a> |
153 <h4>SyntaxCheckerDialog.on_showButton_clicked</h4> |
153 <h4>SyntaxCheckerDialog.on_showButton_clicked</h4> |
154 <b>on_showButton_clicked</b>(<i></i>) |
154 <b>on_showButton_clicked</b>(<i></i>) |
155 <p> |
155 <p> |
156 Private slot to handle the "Show" button press. |
156 Private slot to handle the "Show" button press. |
157 </p><a NAME="SyntaxCheckerDialog.start" ID="SyntaxCheckerDialog.start"></a> |
157 </p><a NAME="SyntaxCheckerDialog.start" ID="SyntaxCheckerDialog.start"></a> |
158 <h4>SyntaxCheckerDialog.start</h4> |
158 <h4>SyntaxCheckerDialog.start</h4> |
159 <b>start</b>(<i>fn, codestring = ""</i>) |
159 <b>start</b>(<i>fn, codestring = ""</i>) |
160 <p> |
160 <p> |
161 Public slot to start the syntax check. |
161 Public slot to start the syntax check. |
162 </p><dl> |
162 </p><dl> |
163 <dt><i>fn</i></dt> |
163 <dt><i>fn</i></dt> |
164 <dd> |
164 <dd> |
165 file or list of files or directory to be checked |
165 file or list of files or directory to be checked |
166 (string or list of strings) |
166 (string or list of strings) |
167 </dd><dt><i>codestring</i></dt> |
167 </dd><dt><i>codestring</i></dt> |
168 <dd> |
168 <dd> |
169 string containing the code to be checked (string). |
169 string containing the code to be checked (string). |
170 If this is given, file must be a single file name. |
170 If this is given, file must be a single file name. |
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> |