|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.OpenSearch.OpenSearchDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.WebBrowser.OpenSearch.OpenSearchDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog for the configuration of search engines. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#OpenSearchDialog">OpenSearchDialog</a></td> |
|
25 <td>Class implementing a dialog for the configuration of search engines.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="OpenSearchDialog" ID="OpenSearchDialog"></a> |
|
36 <h2>OpenSearchDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog for the configuration of search engines. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_OpenSearchDialog |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#OpenSearchDialog.__init__">OpenSearchDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#OpenSearchDialog.__selectionChanged">__selectionChanged</a></td> |
|
63 <td>Private slot to handle a change of the selection.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#OpenSearchDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
67 <td>Private slot to add a new search engine.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#OpenSearchDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
|
71 <td>Private slot to delete the selected search engines.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#OpenSearchDialog.on_editButton_clicked">on_editButton_clicked</a></td> |
|
75 <td>Private slot to edit the data of the current search engine.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#OpenSearchDialog.on_restoreButton_clicked">on_restoreButton_clicked</a></td> |
|
79 <td>Private slot to restore the default search engines.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 |
|
84 <table> |
|
85 <tr><td>None</td></tr> |
|
86 </table> |
|
87 |
|
88 <a NAME="OpenSearchDialog.__init__" ID="OpenSearchDialog.__init__"></a> |
|
89 <h4>OpenSearchDialog (Constructor)</h4> |
|
90 <b>OpenSearchDialog</b>(<i>parent=None</i>) |
|
91 |
|
92 <p> |
|
93 Constructor |
|
94 </p> |
|
95 <dl> |
|
96 |
|
97 <dt><i>parent</i></dt> |
|
98 <dd> |
|
99 reference to the parent object (QWidget) |
|
100 </dd> |
|
101 </dl> |
|
102 <a NAME="OpenSearchDialog.__selectionChanged" ID="OpenSearchDialog.__selectionChanged"></a> |
|
103 <h4>OpenSearchDialog.__selectionChanged</h4> |
|
104 <b>__selectionChanged</b>(<i>selected, deselected</i>) |
|
105 |
|
106 <p> |
|
107 Private slot to handle a change of the selection. |
|
108 </p> |
|
109 <dl> |
|
110 |
|
111 <dt><i>selected</i></dt> |
|
112 <dd> |
|
113 item selection of selected items (QItemSelection) |
|
114 </dd> |
|
115 <dt><i>deselected</i></dt> |
|
116 <dd> |
|
117 item selection of deselected items (QItemSelection) |
|
118 </dd> |
|
119 </dl> |
|
120 <a NAME="OpenSearchDialog.on_addButton_clicked" ID="OpenSearchDialog.on_addButton_clicked"></a> |
|
121 <h4>OpenSearchDialog.on_addButton_clicked</h4> |
|
122 <b>on_addButton_clicked</b>(<i></i>) |
|
123 |
|
124 <p> |
|
125 Private slot to add a new search engine. |
|
126 </p> |
|
127 <a NAME="OpenSearchDialog.on_deleteButton_clicked" ID="OpenSearchDialog.on_deleteButton_clicked"></a> |
|
128 <h4>OpenSearchDialog.on_deleteButton_clicked</h4> |
|
129 <b>on_deleteButton_clicked</b>(<i></i>) |
|
130 |
|
131 <p> |
|
132 Private slot to delete the selected search engines. |
|
133 </p> |
|
134 <a NAME="OpenSearchDialog.on_editButton_clicked" ID="OpenSearchDialog.on_editButton_clicked"></a> |
|
135 <h4>OpenSearchDialog.on_editButton_clicked</h4> |
|
136 <b>on_editButton_clicked</b>(<i></i>) |
|
137 |
|
138 <p> |
|
139 Private slot to edit the data of the current search engine. |
|
140 </p> |
|
141 <a NAME="OpenSearchDialog.on_restoreButton_clicked" ID="OpenSearchDialog.on_restoreButton_clicked"></a> |
|
142 <h4>OpenSearchDialog.on_restoreButton_clicked</h4> |
|
143 <b>on_restoreButton_clicked</b>(<i></i>) |
|
144 |
|
145 <p> |
|
146 Private slot to restore the default search engines. |
|
147 </p> |
|
148 <div align="right"><a href="#top">Up</a></div> |
|
149 <hr /> |
|
150 </body></html> |