43 <h2>SearchWidget</h2> |
43 <h2>SearchWidget</h2> |
44 <p> |
44 <p> |
45 Class implementing the search box for the shell, terminal and log viewer. |
45 Class implementing the search box for the shell, terminal and log viewer. |
46 </p><h3>Signals</h3> |
46 </p><h3>Signals</h3> |
47 <dl> |
47 <dl> |
48 <dt>searchNext(text, caseSensitive, wholeWord)</dt> |
48 <dt>searchNext(text, caseSensitive, wholeWord, regexp)</dt> |
49 <dd> |
|
50 emitted when the user |
|
51 pressed the next button (string, boolean, boolean) |
|
52 </dd><dt>searchPrevious(text, caseSensitive, wholeWord)</dt> |
|
53 <dd> |
49 <dd> |
54 emitted when the |
50 emitted when the |
55 user pressed the previous button (string, boolean, boolean) |
51 user pressed the next button (string, boolean, boolean) |
|
52 </dd><dt>searchPrevious(text, caseSensitive, wholeWord, regexp)</dt> |
|
53 <dd> |
|
54 emitted when |
|
55 the user pressed the previous button (string, boolean, boolean) |
56 </dd> |
56 </dd> |
57 </dl> |
57 </dl> |
58 <h3>Derived from</h3> |
58 <h3>Derived from</h3> |
59 QWidget |
59 QWidget |
60 <h3>Class Attributes</h3> |
60 <h3>Class Attributes</h3> |
103 <table> |
103 <table> |
104 <tr><td>None</td></tr> |
104 <tr><td>None</td></tr> |
105 </table> |
105 </table> |
106 <a NAME="SearchWidget.__init__" ID="SearchWidget.__init__"></a> |
106 <a NAME="SearchWidget.__init__" ID="SearchWidget.__init__"></a> |
107 <h4>SearchWidget (Constructor)</h4> |
107 <h4>SearchWidget (Constructor)</h4> |
108 <b>SearchWidget</b>(<i>mainWindow, parent=None, spacer=True, showLine=False</i>) |
108 <b>SearchWidget</b>(<i>mainWindow, parent=None, spacer=True, showLine=False, hideRegExp=False</i>) |
109 <p> |
109 <p> |
110 Constructor |
110 Constructor |
111 </p><dl> |
111 </p><dl> |
112 <dt><i>mainWindow</i></dt> |
112 <dt><i>mainWindow</i> (QWidget)</dt> |
113 <dd> |
113 <dd> |
114 reference to the main window (QWidget) |
114 reference to the main window |
115 </dd><dt><i>parent</i></dt> |
115 </dd><dt><i>parent</i> (QWidget)</dt> |
116 <dd> |
116 <dd> |
117 reference to the parent widget (QWidget) |
117 reference to the parent widget |
118 </dd><dt><i>spacer</i></dt> |
118 </dd><dt><i>spacer</i> (bool)</dt> |
119 <dd> |
119 <dd> |
120 flag indicating to add a vertical spacer to the |
120 flag indicating to add a vertical spacer to the |
121 main layout (boolean) |
121 main layout |
122 </dd><dt><i>showLine</i></dt> |
122 </dd><dt><i>showLine</i> (bool)</dt> |
123 <dd> |
123 <dd> |
124 flag indicating to show all widget in one row (boolean) |
124 flag indicating to show all widget in one row |
|
125 </dd><dt><i>hideRegExp</i> (bool)</dt> |
|
126 <dd> |
|
127 flag indicating to hide the Regexp checkbox |
125 </dd> |
128 </dd> |
126 </dl><a NAME="SearchWidget.__findByReturnPressed" ID="SearchWidget.__findByReturnPressed"></a> |
129 </dl><a NAME="SearchWidget.__findByReturnPressed" ID="SearchWidget.__findByReturnPressed"></a> |
127 <h4>SearchWidget.__findByReturnPressed</h4> |
130 <h4>SearchWidget.__findByReturnPressed</h4> |
128 <b>__findByReturnPressed</b>(<i></i>) |
131 <b>__findByReturnPressed</b>(<i></i>) |
129 <p> |
132 <p> |