126 <p> |
126 <p> |
127 Constructor |
127 Constructor |
128 </p> |
128 </p> |
129 <dl> |
129 <dl> |
130 |
130 |
131 <dt><i>ui</i></dt> |
131 <dt><i>ui</i> (UserInterface)</dt> |
132 <dd> |
132 <dd> |
133 reference to the user interface object (UI.UserInterface) |
133 reference to the user interface object |
134 </dd> |
134 </dd> |
135 </dl> |
135 </dl> |
136 <a NAME="PySide2PyQtPlugin.__editorClosed" ID="PySide2PyQtPlugin.__editorClosed"></a> |
136 <a NAME="PySide2PyQtPlugin.__editorClosed" ID="PySide2PyQtPlugin.__editorClosed"></a> |
137 <h4>PySide2PyQtPlugin.__editorClosed</h4> |
137 <h4>PySide2PyQtPlugin.__editorClosed</h4> |
138 <b>__editorClosed</b>(<i>editor</i>) |
138 <b>__editorClosed</b>(<i>editor</i>) |
140 <p> |
140 <p> |
141 Private slot called, when an editor was closed. |
141 Private slot called, when an editor was closed. |
142 </p> |
142 </p> |
143 <dl> |
143 <dl> |
144 |
144 |
145 <dt><i>editor</i></dt> |
145 <dt><i>editor</i> (Editor)</dt> |
146 <dd> |
146 <dd> |
147 reference to the editor (QScintilla.Editor) |
147 reference to the editor |
148 </dd> |
148 </dd> |
149 </dl> |
149 </dl> |
150 <a NAME="PySide2PyQtPlugin.__editorOpened" ID="PySide2PyQtPlugin.__editorOpened"></a> |
150 <a NAME="PySide2PyQtPlugin.__editorOpened" ID="PySide2PyQtPlugin.__editorOpened"></a> |
151 <h4>PySide2PyQtPlugin.__editorOpened</h4> |
151 <h4>PySide2PyQtPlugin.__editorOpened</h4> |
152 <b>__editorOpened</b>(<i>editor</i>) |
152 <b>__editorOpened</b>(<i>editor</i>) |
154 <p> |
154 <p> |
155 Private slot called, when a new editor was opened. |
155 Private slot called, when a new editor was opened. |
156 </p> |
156 </p> |
157 <dl> |
157 <dl> |
158 |
158 |
159 <dt><i>editor</i></dt> |
159 <dt><i>editor</i> (Editor)</dt> |
160 <dd> |
160 <dd> |
161 reference to the new editor (QScintilla.Editor) |
161 reference to the new editor |
162 </dd> |
162 </dd> |
163 </dl> |
163 </dl> |
164 <a NAME="PySide2PyQtPlugin.__editorShowMenu" ID="PySide2PyQtPlugin.__editorShowMenu"></a> |
164 <a NAME="PySide2PyQtPlugin.__editorShowMenu" ID="PySide2PyQtPlugin.__editorShowMenu"></a> |
165 <h4>PySide2PyQtPlugin.__editorShowMenu</h4> |
165 <h4>PySide2PyQtPlugin.__editorShowMenu</h4> |
166 <b>__editorShowMenu</b>(<i>menuName, menu, editor</i>) |
166 <b>__editorShowMenu</b>(<i>menuName, menu, editor</i>) |
169 Private slot called, when the the editor context menu or a submenu is |
169 Private slot called, when the the editor context menu or a submenu is |
170 about to be shown. |
170 about to be shown. |
171 </p> |
171 </p> |
172 <dl> |
172 <dl> |
173 |
173 |
174 <dt><i>menuName</i></dt> |
174 <dt><i>menuName</i> (str)</dt> |
175 <dd> |
175 <dd> |
176 name of the menu to be shown (string) |
176 name of the menu to be shown |
177 </dd> |
177 </dd> |
178 <dt><i>menu</i></dt> |
178 <dt><i>menu</i> (QMenu)</dt> |
179 <dd> |
179 <dd> |
180 reference to the menu (QMenu) |
180 reference to the menu |
181 </dd> |
181 </dd> |
182 <dt><i>editor</i></dt> |
182 <dt><i>editor</i> (Editor)</dt> |
183 <dd> |
183 <dd> |
184 reference to the editor |
184 reference to the editor |
185 </dd> |
185 </dd> |
186 </dl> |
186 </dl> |
187 <a NAME="PySide2PyQtPlugin.__initMenu" ID="PySide2PyQtPlugin.__initMenu"></a> |
187 <a NAME="PySide2PyQtPlugin.__initMenu" ID="PySide2PyQtPlugin.__initMenu"></a> |
205 <p> |
205 <p> |
206 Private slot to populate the tools menu with our entries. |
206 Private slot to populate the tools menu with our entries. |
207 </p> |
207 </p> |
208 <dl> |
208 <dl> |
209 |
209 |
210 <dt><i>name</i></dt> |
210 <dt><i>name</i> (str)</dt> |
211 <dd> |
211 <dd> |
212 name of the menu (string) |
212 name of the menu |
213 </dd> |
213 </dd> |
214 <dt><i>menu</i></dt> |
214 <dt><i>menu</i> (QMenu)</dt> |
215 <dd> |
215 <dd> |
216 reference to the menu to be populated (QMenu) |
216 reference to the menu to be populated |
217 </dd> |
217 </dd> |
218 </dl> |
218 </dl> |
219 <a NAME="PySide2PyQtPlugin.__pyqt2Pyside" ID="PySide2PyQtPlugin.__pyqt2Pyside"></a> |
219 <a NAME="PySide2PyQtPlugin.__pyqt2Pyside" ID="PySide2PyQtPlugin.__pyqt2Pyside"></a> |
220 <h4>PySide2PyQtPlugin.__pyqt2Pyside</h4> |
220 <h4>PySide2PyQtPlugin.__pyqt2Pyside</h4> |
221 <b>__pyqt2Pyside</b>(<i>pyqt, pyside</i>) |
221 <b>__pyqt2Pyside</b>(<i>pyqt, pyside</i>) |
226 </p> |
226 </p> |
227 <dl> |
227 <dl> |
228 |
228 |
229 <dt><i>pyqt</i> (str)</dt> |
229 <dt><i>pyqt</i> (str)</dt> |
230 <dd> |
230 <dd> |
231 PyQt variant (pyqt5) |
231 PyQt variant (pyqt5 or pyqt6) |
232 </dd> |
232 </dd> |
233 <dt><i>pyside</i> (str)</dt> |
233 <dt><i>pyside</i> (str)</dt> |
234 <dd> |
234 <dd> |
235 PySide variant (pyside2) |
235 PySide variant (pyside2 or pyside6) |
236 </dd> |
236 </dd> |
237 </dl> |
237 </dl> |
238 <a NAME="PySide2PyQtPlugin.__pyside2Pyqt" ID="PySide2PyQtPlugin.__pyside2Pyqt"></a> |
238 <a NAME="PySide2PyQtPlugin.__pyside2Pyqt" ID="PySide2PyQtPlugin.__pyside2Pyqt"></a> |
239 <h4>PySide2PyQtPlugin.__pyside2Pyqt</h4> |
239 <h4>PySide2PyQtPlugin.__pyside2Pyqt</h4> |
240 <b>__pyside2Pyqt</b>(<i>pyside, pyqt</i>) |
240 <b>__pyside2Pyqt</b>(<i>pyside, pyqt</i>) |
245 </p> |
245 </p> |
246 <dl> |
246 <dl> |
247 |
247 |
248 <dt><i>pyside</i> (str)</dt> |
248 <dt><i>pyside</i> (str)</dt> |
249 <dd> |
249 <dd> |
250 PySide variant (pyside2) |
250 PySide variant (pyside2 or pyside6) |
251 </dd> |
251 </dd> |
252 <dt><i>pyqt</i> (str)</dt> |
252 <dt><i>pyqt</i> (str)</dt> |
253 <dd> |
253 <dd> |
254 PyQt variant (pyqt5) |
254 PyQt variant (pyqt5 or pyqt6) |
255 </dd> |
255 </dd> |
256 </dl> |
256 </dl> |
257 <a NAME="PySide2PyQtPlugin.activate" ID="PySide2PyQtPlugin.activate"></a> |
257 <a NAME="PySide2PyQtPlugin.activate" ID="PySide2PyQtPlugin.activate"></a> |
258 <h4>PySide2PyQtPlugin.activate</h4> |
258 <h4>PySide2PyQtPlugin.activate</h4> |
259 <b>activate</b>(<i></i>) |
259 <b>activate</b>(<i></i>) |
262 Public method to activate this plugin. |
262 Public method to activate this plugin. |
263 </p> |
263 </p> |
264 <dl> |
264 <dl> |
265 <dt>Return:</dt> |
265 <dt>Return:</dt> |
266 <dd> |
266 <dd> |
267 tuple of None and activation status (boolean) |
267 tuple of None and activation status |
|
268 </dd> |
|
269 </dl> |
|
270 <dl> |
|
271 <dt>Return Type:</dt> |
|
272 <dd> |
|
273 (None, bool) |
268 </dd> |
274 </dd> |
269 </dl> |
275 </dl> |
270 <a NAME="PySide2PyQtPlugin.deactivate" ID="PySide2PyQtPlugin.deactivate"></a> |
276 <a NAME="PySide2PyQtPlugin.deactivate" ID="PySide2PyQtPlugin.deactivate"></a> |
271 <h4>PySide2PyQtPlugin.deactivate</h4> |
277 <h4>PySide2PyQtPlugin.deactivate</h4> |
272 <b>deactivate</b>(<i></i>) |
278 <b>deactivate</b>(<i></i>) |