PySide2PyQt/Documentation/source/Plugin_Tools_PySide2PyQt.PluginPySide2PyQt.html

changeset 1
299876e9654d
child 16
051e29b6bdd6
equal deleted inserted replaced
0:4e3bb54c22d7 1:299876e9654d
1 <!DOCTYPE html>
2 <html><head>
3 <title>Plugin_Tools_PySide2PyQt.PluginPySide2PyQt</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>Plugin_Tools_PySide2PyQt.PluginPySide2PyQt</h1>
23 <p>
24 Module implementing the PySide to PyQt4 (and vice versa) plug-in.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#PySide2PyQtPlugin">PySide2PyQtPlugin</a></td>
34 <td>Class implementing the PySide to PyQt4 (and vice versa) plugin.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="PySide2PyQtPlugin" ID="PySide2PyQtPlugin"></a>
43 <h2>PySide2PyQtPlugin</h2>
44 <p>
45 Class implementing the PySide to PyQt4 (and vice versa) plugin.
46 </p>
47 <h3>Derived from</h3>
48 QObject
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#PySide2PyQtPlugin.__init__">PySide2PyQtPlugin</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#PySide2PyQtPlugin.__loadTranslator">__loadTranslator</a></td>
64 <td>Private method to load the translation file.</td>
65 </tr><tr>
66 <td><a href="#PySide2PyQtPlugin.__populateMenu">__populateMenu</a></td>
67 <td>Private slot to populate the tools menu with our entries.</td>
68 </tr><tr>
69 <td><a href="#PySide2PyQtPlugin.__pyqt2Pyside">__pyqt2Pyside</a></td>
70 <td>Private slot to convert the code of the current editor from PyQt4 to PySide.</td>
71 </tr><tr>
72 <td><a href="#PySide2PyQtPlugin.__pyside2Pyqt">__pyside2Pyqt</a></td>
73 <td>Private slot to convert the code of the current editor from PySide to PyQt4.</td>
74 </tr><tr>
75 <td><a href="#PySide2PyQtPlugin.activate">activate</a></td>
76 <td>Public method to activate this plugin.</td>
77 </tr><tr>
78 <td><a href="#PySide2PyQtPlugin.deactivate">deactivate</a></td>
79 <td>Public method to deactivate this plugin.</td>
80 </tr>
81 </table>
82 <h3>Static Methods</h3>
83 <table>
84 <tr><td>None</td></tr>
85 </table>
86 <a NAME="PySide2PyQtPlugin.__init__" ID="PySide2PyQtPlugin.__init__"></a>
87 <h4>PySide2PyQtPlugin (Constructor)</h4>
88 <b>PySide2PyQtPlugin</b>(<i>ui</i>)
89 <p>
90 Constructor
91 </p><dl>
92 <dt><i>ui</i></dt>
93 <dd>
94 reference to the user interface object (UI.UserInterface)
95 </dd>
96 </dl><a NAME="PySide2PyQtPlugin.__loadTranslator" ID="PySide2PyQtPlugin.__loadTranslator"></a>
97 <h4>PySide2PyQtPlugin.__loadTranslator</h4>
98 <b>__loadTranslator</b>(<i></i>)
99 <p>
100 Private method to load the translation file.
101 </p><a NAME="PySide2PyQtPlugin.__populateMenu" ID="PySide2PyQtPlugin.__populateMenu"></a>
102 <h4>PySide2PyQtPlugin.__populateMenu</h4>
103 <b>__populateMenu</b>(<i>name, menu</i>)
104 <p>
105 Private slot to populate the tools menu with our entries.
106 </p><dl>
107 <dt><i>name</i></dt>
108 <dd>
109 name of the menu (string)
110 </dd><dt><i>menu</i></dt>
111 <dd>
112 reference to the menu to be populated (QMenu)
113 </dd>
114 </dl><a NAME="PySide2PyQtPlugin.__pyqt2Pyside" ID="PySide2PyQtPlugin.__pyqt2Pyside"></a>
115 <h4>PySide2PyQtPlugin.__pyqt2Pyside</h4>
116 <b>__pyqt2Pyside</b>(<i></i>)
117 <p>
118 Private slot to convert the code of the current editor from PyQt4
119 to PySide.
120 </p><a NAME="PySide2PyQtPlugin.__pyside2Pyqt" ID="PySide2PyQtPlugin.__pyside2Pyqt"></a>
121 <h4>PySide2PyQtPlugin.__pyside2Pyqt</h4>
122 <b>__pyside2Pyqt</b>(<i></i>)
123 <p>
124 Private slot to convert the code of the current editor from PySide
125 to PyQt4.
126 </p><a NAME="PySide2PyQtPlugin.activate" ID="PySide2PyQtPlugin.activate"></a>
127 <h4>PySide2PyQtPlugin.activate</h4>
128 <b>activate</b>(<i></i>)
129 <p>
130 Public method to activate this plugin.
131 </p><dl>
132 <dt>Returns:</dt>
133 <dd>
134 tuple of None and activation status (boolean)
135 </dd>
136 </dl><a NAME="PySide2PyQtPlugin.deactivate" ID="PySide2PyQtPlugin.deactivate"></a>
137 <h4>PySide2PyQtPlugin.deactivate</h4>
138 <b>deactivate</b>(<i></i>)
139 <p>
140 Public method to deactivate this plugin.
141 </p>
142 <div align="right"><a href="#top">Up</a></div>
143 <hr />
144 </body></html>

eric ide

mercurial