Documentation/Source/eric6.E5Gui.E5TextEditSearchWidget.html

branch
maintenance
changeset 5948
6f958d5765f4
parent 4039
661167a99aef
child 5959
4c716b02e10d
equal deleted inserted replaced
5937:cc296ba99a3f 5948:6f958d5765f4
64 <td>Private method to search the associated text edit.</td> 64 <td>Private method to search the associated text edit.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#E5TextEditSearchWidget.__findByReturnPressed">__findByReturnPressed</a></td> 66 <td><a href="#E5TextEditSearchWidget.__findByReturnPressed">__findByReturnPressed</a></td>
67 <td>Private slot to handle the returnPressed signal of the findtext combobox.</td> 67 <td>Private slot to handle the returnPressed signal of the findtext combobox.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#E5TextEditSearchWidget.__findNextPrevCallback">__findNextPrevCallback</a></td>
70 <td>Private method to process the result of the last search.</td>
71 </tr><tr>
72 <td><a href="#E5TextEditSearchWidget.__findPrevNextQTextEdit">__findPrevNextQTextEdit</a></td>
73 <td>Private method to to search the associated edit widget of type QTextEdit.</td>
74 </tr><tr>
75 <td><a href="#E5TextEditSearchWidget.__findPrevNextQWebEngineView">__findPrevNextQWebEngineView</a></td>
76 <td>Private method to to search the associated edit widget of type QWebEngineView.</td>
77 </tr><tr>
78 <td><a href="#E5TextEditSearchWidget.__findPrevNextQWebView">__findPrevNextQWebView</a></td>
79 <td>Private method to to search the associated edit widget of type QWebView.</td>
80 </tr><tr>
81 <td><a href="#E5TextEditSearchWidget.__setFindtextComboBackground">__setFindtextComboBackground</a></td>
82 <td>Private slot to change the findtext combo background to indicate errors.</td>
83 </tr><tr>
69 <td><a href="#E5TextEditSearchWidget.__setSearchButtons">__setSearchButtons</a></td> 84 <td><a href="#E5TextEditSearchWidget.__setSearchButtons">__setSearchButtons</a></td>
70 <td>Private slot to set the state of the search buttons.</td> 85 <td>Private slot to set the state of the search buttons.</td>
71 </tr><tr> 86 </tr><tr>
72 <td><a href="#E5TextEditSearchWidget.attachTextEdit">attachTextEdit</a></td> 87 <td><a href="#E5TextEditSearchWidget.attachTextEdit">attachTextEdit</a></td>
73 <td>Public method to attach a QTextEdit widget.</td> 88 <td>Public method to attach a QTextEdit widget.</td>
113 <h4>E5TextEditSearchWidget.__findByReturnPressed</h4> 128 <h4>E5TextEditSearchWidget.__findByReturnPressed</h4>
114 <b>__findByReturnPressed</b>(<i></i>) 129 <b>__findByReturnPressed</b>(<i></i>)
115 <p> 130 <p>
116 Private slot to handle the returnPressed signal of the findtext 131 Private slot to handle the returnPressed signal of the findtext
117 combobox. 132 combobox.
118 </p><a NAME="E5TextEditSearchWidget.__setSearchButtons" ID="E5TextEditSearchWidget.__setSearchButtons"></a> 133 </p><a NAME="E5TextEditSearchWidget.__findNextPrevCallback" ID="E5TextEditSearchWidget.__findNextPrevCallback"></a>
134 <h4>E5TextEditSearchWidget.__findNextPrevCallback</h4>
135 <b>__findNextPrevCallback</b>(<i>found</i>)
136 <p>
137 Private method to process the result of the last search.
138 </p><dl>
139 <dt><i>found</i> (bool)</dt>
140 <dd>
141 flag indicating if the last search succeeded
142 </dd>
143 </dl><a NAME="E5TextEditSearchWidget.__findPrevNextQTextEdit" ID="E5TextEditSearchWidget.__findPrevNextQTextEdit"></a>
144 <h4>E5TextEditSearchWidget.__findPrevNextQTextEdit</h4>
145 <b>__findPrevNextQTextEdit</b>(<i>backwards</i>)
146 <p>
147 Private method to to search the associated edit widget of
148 type QTextEdit.
149 </p><dl>
150 <dt><i>backwards</i> (bool)</dt>
151 <dd>
152 flag indicating a backwards search
153 </dd>
154 </dl><dl>
155 <dt>Returns:</dt>
156 <dd>
157 flag indicating the search result
158 </dd>
159 </dl><dl>
160 <dt>Return Type:</dt>
161 <dd>
162 bool
163 </dd>
164 </dl><a NAME="E5TextEditSearchWidget.__findPrevNextQWebEngineView" ID="E5TextEditSearchWidget.__findPrevNextQWebEngineView"></a>
165 <h4>E5TextEditSearchWidget.__findPrevNextQWebEngineView</h4>
166 <b>__findPrevNextQWebEngineView</b>(<i>backwards</i>)
167 <p>
168 Private method to to search the associated edit widget of
169 type QWebEngineView.
170 </p><dl>
171 <dt><i>backwards</i> (bool)</dt>
172 <dd>
173 flag indicating a backwards search
174 </dd>
175 </dl><a NAME="E5TextEditSearchWidget.__findPrevNextQWebView" ID="E5TextEditSearchWidget.__findPrevNextQWebView"></a>
176 <h4>E5TextEditSearchWidget.__findPrevNextQWebView</h4>
177 <b>__findPrevNextQWebView</b>(<i>backwards</i>)
178 <p>
179 Private method to to search the associated edit widget of
180 type QWebView.
181 </p><dl>
182 <dt><i>backwards</i> (bool)</dt>
183 <dd>
184 flag indicating a backwards search
185 </dd>
186 </dl><dl>
187 <dt>Returns:</dt>
188 <dd>
189 flag indicating the search result
190 </dd>
191 </dl><dl>
192 <dt>Return Type:</dt>
193 <dd>
194 bool
195 </dd>
196 </dl><a NAME="E5TextEditSearchWidget.__setFindtextComboBackground" ID="E5TextEditSearchWidget.__setFindtextComboBackground"></a>
197 <h4>E5TextEditSearchWidget.__setFindtextComboBackground</h4>
198 <b>__setFindtextComboBackground</b>(<i>error</i>)
199 <p>
200 Private slot to change the findtext combo background to indicate
201 errors.
202 </p><dl>
203 <dt><i>error</i></dt>
204 <dd>
205 flag indicating an error condition (boolean)
206 </dd>
207 </dl><a NAME="E5TextEditSearchWidget.__setSearchButtons" ID="E5TextEditSearchWidget.__setSearchButtons"></a>
119 <h4>E5TextEditSearchWidget.__setSearchButtons</h4> 208 <h4>E5TextEditSearchWidget.__setSearchButtons</h4>
120 <b>__setSearchButtons</b>(<i>enabled</i>) 209 <b>__setSearchButtons</b>(<i>enabled</i>)
121 <p> 210 <p>
122 Private slot to set the state of the search buttons. 211 Private slot to set the state of the search buttons.
123 </p><dl> 212 </p><dl>
125 <dd> 214 <dd>
126 flag indicating the state (boolean) 215 flag indicating the state (boolean)
127 </dd> 216 </dd>
128 </dl><a NAME="E5TextEditSearchWidget.attachTextEdit" ID="E5TextEditSearchWidget.attachTextEdit"></a> 217 </dl><a NAME="E5TextEditSearchWidget.attachTextEdit" ID="E5TextEditSearchWidget.attachTextEdit"></a>
129 <h4>E5TextEditSearchWidget.attachTextEdit</h4> 218 <h4>E5TextEditSearchWidget.attachTextEdit</h4>
130 <b>attachTextEdit</b>(<i>textedit</i>) 219 <b>attachTextEdit</b>(<i>textedit, editType="QTextEdit"</i>)
131 <p> 220 <p>
132 Public method to attach a QTextEdit widget. 221 Public method to attach a QTextEdit widget.
133 </p><dl> 222 </p><dl>
134 <dt><i>textedit</i></dt> 223 <dt><i>textedit</i> (QTextEdit, QWebEngineView or QWebView)</dt>
135 <dd> 224 <dd>
136 reference to the QTextEdit to be attached (QTextEdit) 225 reference to the edit widget to be attached
226 </dd><dt><i>editType</i> (str (one of "QTextEdit", "QWebEngineView" or "QWebView"))</dt>
227 <dd>
228 type of the attached edit widget
137 </dd> 229 </dd>
138 </dl><a NAME="E5TextEditSearchWidget.keyPressEvent" ID="E5TextEditSearchWidget.keyPressEvent"></a> 230 </dl><a NAME="E5TextEditSearchWidget.keyPressEvent" ID="E5TextEditSearchWidget.keyPressEvent"></a>
139 <h4>E5TextEditSearchWidget.keyPressEvent</h4> 231 <h4>E5TextEditSearchWidget.keyPressEvent</h4>
140 <b>keyPressEvent</b>(<i>event</i>) 232 <b>keyPressEvent</b>(<i>event</i>)
141 <p> 233 <p>

eric ide

mercurial