53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#SearchWidget.__init__">SearchWidget</a></td> |
57 <td><a href="#SearchWidget.__init__">SearchWidget</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#SearchWidget.__findByReturnPressed">__findByReturnPressed</a></td> |
60 <td><a href="#SearchWidget.__findByReturnPressed">__findByReturnPressed</a></td> |
61 <td>Private slot to handle the returnPressed signal of the findtext combobox.</td> |
61 <td>Private slot to handle the returnPressed signal of the findtext combobox.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#SearchWidget.__findNextPrev">__findNextPrev</a></td> |
63 <td><a href="#SearchWidget.__findNextPrev">__findNextPrev</a></td> |
64 <td>Private slot to find the next occurrence of text.</td> |
64 <td>Private slot to find the next occurrence of text.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#SearchWidget.__setFindtextComboBackground">__setFindtextComboBackground</a></td> |
66 <td><a href="#SearchWidget.__setFindtextComboBackground">__setFindtextComboBackground</a></td> |
67 <td>Private slot to change the findtext combo background to indicate errors.</td> |
67 <td>Private slot to change the findtext combo background to indicate errors.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#SearchWidget.findNext">findNext</a></td> |
69 <td><a href="#SearchWidget.findNext">findNext</a></td> |
70 <td>Public slot to find the next occurrence.</td> |
70 <td>Public slot to find the next occurrence.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#SearchWidget.findPrevious">findPrevious</a></td> |
72 <td><a href="#SearchWidget.findPrevious">findPrevious</a></td> |
73 <td>Public slot to find the previous occurrence.</td> |
73 <td>Public slot to find the previous occurrence.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#SearchWidget.keyPressEvent">keyPressEvent</a></td> |
75 <td><a href="#SearchWidget.keyPressEvent">keyPressEvent</a></td> |
76 <td>Protected slot to handle key press events.</td> |
76 <td>Protected slot to handle key press events.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#SearchWidget.on_closeButton_clicked">on_closeButton_clicked</a></td> |
78 <td><a href="#SearchWidget.on_closeButton_clicked">on_closeButton_clicked</a></td> |
79 <td>Private slot to close the widget.</td> |
79 <td>Private slot to close the widget.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#SearchWidget.on_findNextButton_clicked">on_findNextButton_clicked</a></td> |
81 <td><a href="#SearchWidget.on_findNextButton_clicked">on_findNextButton_clicked</a></td> |
82 <td>Private slot to find the next occurrence.</td> |
82 <td>Private slot to find the next occurrence.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#SearchWidget.on_findPrevButton_clicked">on_findPrevButton_clicked</a></td> |
84 <td><a href="#SearchWidget.on_findPrevButton_clicked">on_findPrevButton_clicked</a></td> |
85 <td>Private slot to find the previous occurrence.</td> |
85 <td>Private slot to find the previous occurrence.</td> |
86 </tr><tr> |
86 </tr><tr> |
87 <td><a href="#SearchWidget.on_findtextCombo_editTextChanged">on_findtextCombo_editTextChanged</a></td> |
87 <td><a href="#SearchWidget.on_findtextCombo_editTextChanged">on_findtextCombo_editTextChanged</a></td> |
88 <td>Private slot to enable/disable the find buttons.</td> |
88 <td>Private slot to enable/disable the find buttons.</td> |
89 </tr><tr> |
89 </tr><tr> |
90 <td><a href="#SearchWidget.showFind">showFind</a></td> |
90 <td><a href="#SearchWidget.showFind">showFind</a></td> |
91 <td>Public method to display this dialog.</td> |
91 <td>Public method to display this dialog.</td> |
92 </tr> |
92 </tr> |
93 </table> |
93 </table> |
94 <a NAME="SearchWidget.__init__" ID="SearchWidget.__init__"></a> |
94 <a NAME="SearchWidget.__init__" ID="SearchWidget.__init__"></a> |
95 <h4>SearchWidget (Constructor)</h4> |
95 <h4>SearchWidget (Constructor)</h4> |
96 <b>SearchWidget</b>(<i>mainWindow, parent = None</i>) |
96 <b>SearchWidget</b>(<i>mainWindow, parent = None</i>) |
97 <p> |
97 <p> |
98 Constructor |
98 Constructor |
99 </p><dl> |
99 </p><dl> |
100 <dt><i>mainWindow</i></dt> |
100 <dt><i>mainWindow</i></dt> |
101 <dd> |
101 <dd> |
102 reference to the main window (QMainWindow) |
102 reference to the main window (QMainWindow) |
103 </dd><dt><i>parent</i></dt> |
103 </dd><dt><i>parent</i></dt> |
104 <dd> |
104 <dd> |
105 parent widget of this dialog (QWidget) |
105 parent widget of this dialog (QWidget) |
106 </dd> |
106 </dd> |
107 </dl><a NAME="SearchWidget.__findByReturnPressed" ID="SearchWidget.__findByReturnPressed"></a> |
107 </dl><a NAME="SearchWidget.__findByReturnPressed" ID="SearchWidget.__findByReturnPressed"></a> |
108 <h4>SearchWidget.__findByReturnPressed</h4> |
108 <h4>SearchWidget.__findByReturnPressed</h4> |
109 <b>__findByReturnPressed</b>(<i></i>) |
109 <b>__findByReturnPressed</b>(<i></i>) |
110 <p> |
110 <p> |
111 Private slot to handle the returnPressed signal of the findtext combobox. |
111 Private slot to handle the returnPressed signal of the findtext combobox. |
112 </p><a NAME="SearchWidget.__findNextPrev" ID="SearchWidget.__findNextPrev"></a> |
112 </p><a NAME="SearchWidget.__findNextPrev" ID="SearchWidget.__findNextPrev"></a> |
113 <h4>SearchWidget.__findNextPrev</h4> |
113 <h4>SearchWidget.__findNextPrev</h4> |
114 <b>__findNextPrev</b>(<i></i>) |
114 <b>__findNextPrev</b>(<i></i>) |
115 <p> |
115 <p> |
116 Private slot to find the next occurrence of text. |
116 Private slot to find the next occurrence of text. |
117 </p><a NAME="SearchWidget.__setFindtextComboBackground" ID="SearchWidget.__setFindtextComboBackground"></a> |
117 </p><a NAME="SearchWidget.__setFindtextComboBackground" ID="SearchWidget.__setFindtextComboBackground"></a> |
118 <h4>SearchWidget.__setFindtextComboBackground</h4> |
118 <h4>SearchWidget.__setFindtextComboBackground</h4> |
119 <b>__setFindtextComboBackground</b>(<i>error</i>) |
119 <b>__setFindtextComboBackground</b>(<i>error</i>) |
120 <p> |
120 <p> |
121 Private slot to change the findtext combo background to indicate errors. |
121 Private slot to change the findtext combo background to indicate errors. |
122 </p><dl> |
122 </p><dl> |
123 <dt><i>error</i></dt> |
123 <dt><i>error</i></dt> |
124 <dd> |
124 <dd> |
125 flag indicating an error condition (boolean) |
125 flag indicating an error condition (boolean) |
126 </dd> |
126 </dd> |
127 </dl><a NAME="SearchWidget.findNext" ID="SearchWidget.findNext"></a> |
127 </dl><a NAME="SearchWidget.findNext" ID="SearchWidget.findNext"></a> |
128 <h4>SearchWidget.findNext</h4> |
128 <h4>SearchWidget.findNext</h4> |
129 <b>findNext</b>(<i></i>) |
129 <b>findNext</b>(<i></i>) |
130 <p> |
130 <p> |
131 Public slot to find the next occurrence. |
131 Public slot to find the next occurrence. |
132 </p><a NAME="SearchWidget.findPrevious" ID="SearchWidget.findPrevious"></a> |
132 </p><a NAME="SearchWidget.findPrevious" ID="SearchWidget.findPrevious"></a> |
133 <h4>SearchWidget.findPrevious</h4> |
133 <h4>SearchWidget.findPrevious</h4> |
134 <b>findPrevious</b>(<i></i>) |
134 <b>findPrevious</b>(<i></i>) |
135 <p> |
135 <p> |
136 Public slot to find the previous occurrence. |
136 Public slot to find the previous occurrence. |
137 </p><a NAME="SearchWidget.keyPressEvent" ID="SearchWidget.keyPressEvent"></a> |
137 </p><a NAME="SearchWidget.keyPressEvent" ID="SearchWidget.keyPressEvent"></a> |
138 <h4>SearchWidget.keyPressEvent</h4> |
138 <h4>SearchWidget.keyPressEvent</h4> |
139 <b>keyPressEvent</b>(<i>event</i>) |
139 <b>keyPressEvent</b>(<i>event</i>) |
140 <p> |
140 <p> |
141 Protected slot to handle key press events. |
141 Protected slot to handle key press events. |
142 </p><dl> |
142 </p><dl> |
143 <dt><i>event</i></dt> |
143 <dt><i>event</i></dt> |
144 <dd> |
144 <dd> |
145 reference to the key press event (QKeyEvent) |
145 reference to the key press event (QKeyEvent) |
146 </dd> |
146 </dd> |
147 </dl><a NAME="SearchWidget.on_closeButton_clicked" ID="SearchWidget.on_closeButton_clicked"></a> |
147 </dl><a NAME="SearchWidget.on_closeButton_clicked" ID="SearchWidget.on_closeButton_clicked"></a> |
148 <h4>SearchWidget.on_closeButton_clicked</h4> |
148 <h4>SearchWidget.on_closeButton_clicked</h4> |
149 <b>on_closeButton_clicked</b>(<i></i>) |
149 <b>on_closeButton_clicked</b>(<i></i>) |
150 <p> |
150 <p> |
151 Private slot to close the widget. |
151 Private slot to close the widget. |
152 </p><a NAME="SearchWidget.on_findNextButton_clicked" ID="SearchWidget.on_findNextButton_clicked"></a> |
152 </p><a NAME="SearchWidget.on_findNextButton_clicked" ID="SearchWidget.on_findNextButton_clicked"></a> |
153 <h4>SearchWidget.on_findNextButton_clicked</h4> |
153 <h4>SearchWidget.on_findNextButton_clicked</h4> |
154 <b>on_findNextButton_clicked</b>(<i></i>) |
154 <b>on_findNextButton_clicked</b>(<i></i>) |
155 <p> |
155 <p> |
156 Private slot to find the next occurrence. |
156 Private slot to find the next occurrence. |
157 </p><a NAME="SearchWidget.on_findPrevButton_clicked" ID="SearchWidget.on_findPrevButton_clicked"></a> |
157 </p><a NAME="SearchWidget.on_findPrevButton_clicked" ID="SearchWidget.on_findPrevButton_clicked"></a> |
158 <h4>SearchWidget.on_findPrevButton_clicked</h4> |
158 <h4>SearchWidget.on_findPrevButton_clicked</h4> |
159 <b>on_findPrevButton_clicked</b>(<i></i>) |
159 <b>on_findPrevButton_clicked</b>(<i></i>) |
160 <p> |
160 <p> |
161 Private slot to find the previous occurrence. |
161 Private slot to find the previous occurrence. |
162 </p><a NAME="SearchWidget.on_findtextCombo_editTextChanged" ID="SearchWidget.on_findtextCombo_editTextChanged"></a> |
162 </p><a NAME="SearchWidget.on_findtextCombo_editTextChanged" ID="SearchWidget.on_findtextCombo_editTextChanged"></a> |
163 <h4>SearchWidget.on_findtextCombo_editTextChanged</h4> |
163 <h4>SearchWidget.on_findtextCombo_editTextChanged</h4> |
164 <b>on_findtextCombo_editTextChanged</b>(<i>txt</i>) |
164 <b>on_findtextCombo_editTextChanged</b>(<i>txt</i>) |
165 <p> |
165 <p> |
166 Private slot to enable/disable the find buttons. |
166 Private slot to enable/disable the find buttons. |
167 </p><dl> |
167 </p><dl> |
168 <dt><i>txt</i></dt> |
168 <dt><i>txt</i></dt> |
169 <dd> |
169 <dd> |
170 text of the combobox (string) |
170 text of the combobox (string) |
171 </dd> |
171 </dd> |
172 </dl><a NAME="SearchWidget.showFind" ID="SearchWidget.showFind"></a> |
172 </dl><a NAME="SearchWidget.showFind" ID="SearchWidget.showFind"></a> |
173 <h4>SearchWidget.showFind</h4> |
173 <h4>SearchWidget.showFind</h4> |
174 <b>showFind</b>(<i></i>) |
174 <b>showFind</b>(<i></i>) |
175 <p> |
175 <p> |
176 Public method to display this dialog. |
176 Public method to display this dialog. |
177 </p> |
177 </p> |
178 <div align="right"><a href="#top">Up</a></div> |
178 <div align="right"><a href="#top">Up</a></div> |
179 <hr /> |
179 <hr /> |
180 </body></html> |
180 </body></html> |