PLplot  5.15.0
build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp
Go to the documentation of this file.
1 /*
2  * Interface wrapper code.
3  *
4  * Generated by SIP 6.6.2
5  */
6 
7 #include "sipAPIplplot_pyqt5.h"
8 
9 #line 67 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/plplot_pyqt5.sip"
10 #include "qt.h"
11 #line 12 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
12 
13 #line 28 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtWidgets/qwidget.sip"
14 #include <qwidget.h>
15 #line 16 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
16 #line 398 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
17 #include <qevent.h>
18 #line 19 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
19 #line 205 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
20 #include <qevent.h>
21 #line 22 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
22 #line 425 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
23 #include <qevent.h>
24 #line 25 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
25 #line 438 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
26 #include <qevent.h>
27 #line 28 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
28 #line 363 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
29 #include <qevent.h>
30 #line 31 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
31 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qscreen.sip"
32 #include <qscreen.h>
33 #line 34 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
34 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
35 #include <qnamespace.h>
36 #line 37 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
37 #line 27 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qstring.sip"
38 #include <qstring.h>
39 #line 40 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
40 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qicon.sip"
41 #include <qicon.h>
42 #line 43 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
43 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qpainter.sip"
44 #include <qpainter.h>
45 #line 46 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
46 #line 30 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qbytearray.sip"
47 #include <qbytearray.h>
48 #line 49 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
49 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qwindow.sip"
50 #include <qwindow.h>
51 #line 52 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
52 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
53 #include <qnamespace.h>
54 #line 55 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
55 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qpixmap.sip"
56 #include <qpixmap.h>
57 #line 58 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
58 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qrect.sip"
59 #include <qrect.h>
60 #line 61 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
61 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
62 #include <qnamespace.h>
63 #line 64 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
64 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qmargins.sip"
65 #include <qmargins.h>
66 #line 67 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
67 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
68 #include <qnamespace.h>
69 #line 70 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
70 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtWidgets/qgraphicseffect.sip"
71 #include <qgraphicseffect.h>
72 #line 73 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
73 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtWidgets/qgraphicsproxywidget.sip"
74 #include <qgraphicsproxywidget.h>
75 #line 76 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
76 #line 195 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qglobal.sip"
77 #include <QtGlobal>
78 #line 79 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
79 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qlocale.sip"
80 #include <qlocale.h>
81 #line 82 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
82 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qpaintdevice.sip"
83 #include <qpaintdevice.h>
84 #line 85 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
85 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qpoint.sip"
86 #include <qpoint.h>
87 #line 88 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
88 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qregion.sip"
89 #include <qregion.h>
90 #line 91 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
91 #line 28 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtWidgets/qwidget.sip"
92 #include <qwidget.h>
93 #line 94 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
94 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qsize.sip"
95 #include <qsize.h>
96 #line 97 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
97 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qfontinfo.sip"
98 #include <qfontinfo.h>
99 #line 100 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
100 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qfontmetrics.sip"
101 #include <qfontmetrics.h>
102 #line 103 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
103 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qfont.sip"
104 #include <qfont.h>
105 #line 106 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
106 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qvariant.sip"
107 #include <qvariant.h>
108 #line 109 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
109 #line 509 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
110 #include <qevent.h>
111 #line 112 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
112 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
113 #include <qcoreevent.h>
114 #line 115 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
115 #line 471 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
116 #include <qevent.h>
117 #line 118 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
118 #line 460 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
119 #include <qevent.h>
120 #line 121 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
121 #line 570 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
122 #include <qevent.h>
123 #line 124 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
124 #line 619 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
125 #include <qevent.h>
126 #line 127 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
127 #line 592 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
128 #include <qevent.h>
129 #line 130 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
130 #line 608 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
131 #include <qevent.h>
132 #line 133 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
133 #line 675 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
134 #include <qevent.h>
135 #line 136 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
136 #line 302 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
137 #include <qevent.h>
138 #line 139 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
139 #line 482 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
140 #include <qevent.h>
141 #line 142 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
142 #line 412 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
143 #include <qevent.h>
144 #line 145 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
145 #line 384 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
146 #include <qevent.h>
147 #line 148 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
148 #line 253 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qevent.sip"
149 #include <qevent.h>
150 #line 151 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
151 #line 52 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qpaintengine.sip"
152 #include <qpaintengine.h>
153 #line 154 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
154 #line 149 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qpycore_qlist.sip"
155 #include <qlist.h>
156 #line 157 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
157 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtWidgets/qaction.sip"
158 #include <qaction.h>
159 #line 160 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
160 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtWidgets/qlayout.sip"
161 #include <qlayout.h>
162 #line 163 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
163 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtWidgets/qsizepolicy.sip"
164 #include <qsizepolicy.h>
165 #line 166 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
166 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
167 #include <qnamespace.h>
168 #line 169 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
169 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qkeysequence.sip"
170 #include <qkeysequence.h>
171 #line 172 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
172 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qcursor.sip"
173 #include <qcursor.h>
174 #line 175 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
175 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qbitmap.sip"
176 #include <qbitmap.h>
177 #line 178 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
178 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtGui/qpalette.sip"
179 #include <qpalette.h>
180 #line 181 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
181 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtWidgets/qstyle.sip"
182 #include <qstyle.h>
183 #line 184 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
184 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
185 #include <qobjectdefs.h>
186 #line 146 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
187 #include <qobjectdefs.h>
188 #line 189 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
189 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qmetaobject.sip"
190 #include <qmetaobject.h>
191 #line 192 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
192 #line 247 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
193 #include <qcoreevent.h>
194 #line 195 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
195 #line 235 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
196 #include <qcoreevent.h>
197 #line 198 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
198 #line 28 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qobject.sip"
199 #include <qobject.h>
200 #line 201 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
201 #line 38 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qpycore_qlist.sip"
202 #include <qlist.h>
203 #line 204 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
204 #line 149 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qpycore_qlist.sip"
205 #include <qlist.h>
206 #line 207 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
207 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qthread.sip"
208 #include <qthread.h>
209 #line 210 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
210 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
211 #include <qnamespace.h>
212 #line 213 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
213 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qregexp.sip"
214 #include <qregexp.h>
215 #line 216 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
216 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qregularexpression.sip"
217 #include <qregularexpression.h>
218 #line 219 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
219 #line 26 "/usr/lib64/python3.9/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
220 #include <qobjectdefs.h>
221 #line 222 "/builddir/build/BUILD/plplot-5.15.0/redhat-linux-build/bindings/qt_gui/pyqt5/build/plplot_pyqt5/sipplplot_pyqt5QtExtWidget.cpp"
222 
223 
224 class sipQtExtWidget : public ::QtExtWidget
225 {
226 public:
227  sipQtExtWidget(int,int, ::QWidget*);
228  virtual ~sipQtExtWidget();
229 
230  int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE;
231  void *qt_metacast(const char *) SIP_OVERRIDE;
232  const QMetaObject *metaObject() const SIP_OVERRIDE;
233 
234  /*
235  * There is a protected method for every virtual method visible from
236  * this class.
237  */
238 protected:
239  void initPainter( ::QPainter*) const SIP_OVERRIDE;
240  ::QPainter* sharedPainter() const SIP_OVERRIDE;
241  bool nativeEvent(const ::QByteArray&,void*,long*) SIP_OVERRIDE;
242  bool hasHeightForWidth() const SIP_OVERRIDE;
243  bool focusNextPrevChild(bool) SIP_OVERRIDE;
244  ::QVariant inputMethodQuery( ::Qt::InputMethodQuery) const SIP_OVERRIDE;
245  void inputMethodEvent( ::QInputMethodEvent*) SIP_OVERRIDE;
246  void changeEvent( ::QEvent*) SIP_OVERRIDE;
247  void hideEvent( ::QHideEvent*) SIP_OVERRIDE;
248  void showEvent( ::QShowEvent*) SIP_OVERRIDE;
249  void dropEvent( ::QDropEvent*) SIP_OVERRIDE;
250  void dragLeaveEvent( ::QDragLeaveEvent*) SIP_OVERRIDE;
251  void dragMoveEvent( ::QDragMoveEvent*) SIP_OVERRIDE;
252  void dragEnterEvent( ::QDragEnterEvent*) SIP_OVERRIDE;
253  void actionEvent( ::QActionEvent*) SIP_OVERRIDE;
254  void tabletEvent( ::QTabletEvent*) SIP_OVERRIDE;
255  void contextMenuEvent( ::QContextMenuEvent*) SIP_OVERRIDE;
256  void closeEvent( ::QCloseEvent*) SIP_OVERRIDE;
257  void resizeEvent( ::QResizeEvent*) SIP_OVERRIDE;
258  void moveEvent( ::QMoveEvent*) SIP_OVERRIDE;
259  void paintEvent( ::QPaintEvent*) SIP_OVERRIDE;
260  void leaveEvent( ::QEvent*) SIP_OVERRIDE;
261  void enterEvent( ::QEvent*) SIP_OVERRIDE;
262  void focusOutEvent( ::QFocusEvent*) SIP_OVERRIDE;
263  void focusInEvent( ::QFocusEvent*) SIP_OVERRIDE;
264  void keyReleaseEvent( ::QKeyEvent*) SIP_OVERRIDE;
265  void keyPressEvent( ::QKeyEvent*) SIP_OVERRIDE;
266  void wheelEvent( ::QWheelEvent*) SIP_OVERRIDE;
267  void mouseMoveEvent( ::QMouseEvent*) SIP_OVERRIDE;
268  void mouseDoubleClickEvent( ::QMouseEvent*) SIP_OVERRIDE;
269  void mouseReleaseEvent( ::QMouseEvent*) SIP_OVERRIDE;
270  void mousePressEvent( ::QMouseEvent*) SIP_OVERRIDE;
271  int heightForWidth(int) const SIP_OVERRIDE;
272  ::QSize minimumSizeHint() const SIP_OVERRIDE;
273  ::QSize sizeHint() const SIP_OVERRIDE;
274  void setVisible(bool) SIP_OVERRIDE;
275  int devType() const SIP_OVERRIDE;
276  ::QPaintEngine* paintEngine() const SIP_OVERRIDE;
277  int metric( ::QPaintDevice::PaintDeviceMetric) const SIP_OVERRIDE;
278  bool event( ::QEvent*) SIP_OVERRIDE;
279  bool eventFilter( ::QObject*, ::QEvent*) SIP_OVERRIDE;
280  void timerEvent( ::QTimerEvent*) SIP_OVERRIDE;
281  void childEvent( ::QChildEvent*) SIP_OVERRIDE;
282  void customEvent( ::QEvent*) SIP_OVERRIDE;
283  void connectNotify(const ::QMetaMethod&) SIP_OVERRIDE;
284  void disconnectNotify(const ::QMetaMethod&) SIP_OVERRIDE;
285 
286 public:
288 
289 private:
292 
293  char sipPyMethods[46];
294 };
295 
296 sipQtExtWidget::sipQtExtWidget(int a0,int a1, ::QWidget*a2): ::QtExtWidget(a0,a1,a2), sipPySelf(SIP_NULLPTR)
297 {
298  memset(sipPyMethods, 0, sizeof (sipPyMethods));
299 }
300 
302 {
304 }
305 
306 const QMetaObject *sipQtExtWidget::metaObject() const
307 {
308  if (sipGetInterpreter())
309  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_plplot_pyqt5_qt_metaobject(sipPySelf,sipType_QtExtWidget);
310 
311  return ::QtExtWidget::metaObject();
312 }
313 
314 int sipQtExtWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
315 {
316  _id = ::QtExtWidget::qt_metacall(_c,_id,_a);
317 
318  if (_id >= 0)
319  {
323  }
324 
325  return _id;
326 }
327 
328 void *sipQtExtWidget::qt_metacast(const char *_clname)
329 {
330  void *sipCpp;
331 
332  return (sip_plplot_pyqt5_qt_metacast(sipPySelf, sipType_QtExtWidget, _clname, &sipCpp) ? sipCpp : ::QtExtWidget::qt_metacast(_clname));
333 }
334 
335 void sipQtExtWidget::initPainter( ::QPainter*a0) const
336 {
337  sip_gilstate_t sipGILState;
338  PyObject *sipMeth;
339 
340  sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[0]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_initPainter);
341 
342  if (!sipMeth)
343  {
344  ::QtExtWidget::initPainter(a0);
345  return;
346  }
347 
348  extern void sipVH_plplot_pyqt5_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QPainter*);
349 
350  sipVH_plplot_pyqt5_0(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
351 }
352 
353  ::QPainter* sipQtExtWidget::sharedPainter() const
354 {
355  sip_gilstate_t sipGILState;
356  PyObject *sipMeth;
357 
358  sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[1]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_sharedPainter);
359 
360  if (!sipMeth)
361  return ::QtExtWidget::sharedPainter();
362 
364 
365  return sipVH_plplot_pyqt5_1(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth);
366 }
367 
368 bool sipQtExtWidget::nativeEvent(const ::QByteArray& a0,void*a1,long*a2)
369 {
370  sip_gilstate_t sipGILState;
371  PyObject *sipMeth;
372 
373  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[2], &sipPySelf, SIP_NULLPTR, sipName_nativeEvent);
374 
375  if (!sipMeth)
376  return ::QtExtWidget::nativeEvent(a0,a1,a2);
377 
378  extern bool sipVH_plplot_pyqt5_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QByteArray&,void*,long*);
379 
380  return sipVH_plplot_pyqt5_2(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
381 }
382 
384 {
385  sip_gilstate_t sipGILState;
386  PyObject *sipMeth;
387 
388  sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[3]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_hasHeightForWidth);
389 
390  if (!sipMeth)
391  return ::QtExtWidget::hasHeightForWidth();
392 
394 
395  return sipVH_plplot_pyqt5_3(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth);
396 }
397 
399 {
400  sip_gilstate_t sipGILState;
401  PyObject *sipMeth;
402 
404 
405  if (!sipMeth)
406  return ::QtExtWidget::focusNextPrevChild(a0);
407 
409 
410  return sipVH_plplot_pyqt5_4(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
411 }
412 
413  ::QVariant sipQtExtWidget::inputMethodQuery( ::Qt::InputMethodQuery a0) const
414 {
415  sip_gilstate_t sipGILState;
416  PyObject *sipMeth;
417 
418  sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[5]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_inputMethodQuery);
419 
420  if (!sipMeth)
421  return ::QtExtWidget::inputMethodQuery(a0);
422 
423  extern ::QVariant sipVH_plplot_pyqt5_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::Qt::InputMethodQuery);
424 
425  return sipVH_plplot_pyqt5_5(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
426 }
427 
428 void sipQtExtWidget::inputMethodEvent( ::QInputMethodEvent*a0)
429 {
430  sip_gilstate_t sipGILState;
431  PyObject *sipMeth;
432 
434 
435  if (!sipMeth)
436  {
437  ::QtExtWidget::inputMethodEvent(a0);
438  return;
439  }
440 
441  extern void sipVH_plplot_pyqt5_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QInputMethodEvent*);
442 
443  sipVH_plplot_pyqt5_6(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
444 }
445 
446 void sipQtExtWidget::changeEvent( ::QEvent*a0)
447 {
448  sip_gilstate_t sipGILState;
449  PyObject *sipMeth;
450 
451  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[7], &sipPySelf, SIP_NULLPTR, sipName_changeEvent);
452 
453  if (!sipMeth)
454  {
455  ::QtExtWidget::changeEvent(a0);
456  return;
457  }
458 
459  extern void sipVH_plplot_pyqt5_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QEvent*);
460 
461  sipVH_plplot_pyqt5_7(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
462 }
463 
464 void sipQtExtWidget::hideEvent( ::QHideEvent*a0)
465 {
466  sip_gilstate_t sipGILState;
467  PyObject *sipMeth;
468 
469  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[8], &sipPySelf, SIP_NULLPTR, sipName_hideEvent);
470 
471  if (!sipMeth)
472  {
473  ::QtExtWidget::hideEvent(a0);
474  return;
475  }
476 
477  extern void sipVH_plplot_pyqt5_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QHideEvent*);
478 
479  sipVH_plplot_pyqt5_8(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
480 }
481 
482 void sipQtExtWidget::showEvent( ::QShowEvent*a0)
483 {
484  sip_gilstate_t sipGILState;
485  PyObject *sipMeth;
486 
487  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[9], &sipPySelf, SIP_NULLPTR, sipName_showEvent);
488 
489  if (!sipMeth)
490  {
491  ::QtExtWidget::showEvent(a0);
492  return;
493  }
494 
495  extern void sipVH_plplot_pyqt5_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QShowEvent*);
496 
497  sipVH_plplot_pyqt5_9(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
498 }
499 
500 void sipQtExtWidget::dropEvent( ::QDropEvent*a0)
501 {
502  sip_gilstate_t sipGILState;
503  PyObject *sipMeth;
504 
505  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[10], &sipPySelf, SIP_NULLPTR, sipName_dropEvent);
506 
507  if (!sipMeth)
508  {
509  ::QtExtWidget::dropEvent(a0);
510  return;
511  }
512 
513  extern void sipVH_plplot_pyqt5_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QDropEvent*);
514 
515  sipVH_plplot_pyqt5_10(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
516 }
517 
518 void sipQtExtWidget::dragLeaveEvent( ::QDragLeaveEvent*a0)
519 {
520  sip_gilstate_t sipGILState;
521  PyObject *sipMeth;
522 
523  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[11], &sipPySelf, SIP_NULLPTR, sipName_dragLeaveEvent);
524 
525  if (!sipMeth)
526  {
527  ::QtExtWidget::dragLeaveEvent(a0);
528  return;
529  }
530 
531  extern void sipVH_plplot_pyqt5_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QDragLeaveEvent*);
532 
533  sipVH_plplot_pyqt5_11(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
534 }
535 
536 void sipQtExtWidget::dragMoveEvent( ::QDragMoveEvent*a0)
537 {
538  sip_gilstate_t sipGILState;
539  PyObject *sipMeth;
540 
541  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[12], &sipPySelf, SIP_NULLPTR, sipName_dragMoveEvent);
542 
543  if (!sipMeth)
544  {
545  ::QtExtWidget::dragMoveEvent(a0);
546  return;
547  }
548 
549  extern void sipVH_plplot_pyqt5_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QDragMoveEvent*);
550 
551  sipVH_plplot_pyqt5_12(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
552 }
553 
554 void sipQtExtWidget::dragEnterEvent( ::QDragEnterEvent*a0)
555 {
556  sip_gilstate_t sipGILState;
557  PyObject *sipMeth;
558 
559  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[13], &sipPySelf, SIP_NULLPTR, sipName_dragEnterEvent);
560 
561  if (!sipMeth)
562  {
563  ::QtExtWidget::dragEnterEvent(a0);
564  return;
565  }
566 
567  extern void sipVH_plplot_pyqt5_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QDragEnterEvent*);
568 
569  sipVH_plplot_pyqt5_13(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
570 }
571 
572 void sipQtExtWidget::actionEvent( ::QActionEvent*a0)
573 {
574  sip_gilstate_t sipGILState;
575  PyObject *sipMeth;
576 
577  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[14], &sipPySelf, SIP_NULLPTR, sipName_actionEvent);
578 
579  if (!sipMeth)
580  {
581  ::QtExtWidget::actionEvent(a0);
582  return;
583  }
584 
585  extern void sipVH_plplot_pyqt5_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QActionEvent*);
586 
587  sipVH_plplot_pyqt5_14(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
588 }
589 
590 void sipQtExtWidget::tabletEvent( ::QTabletEvent*a0)
591 {
592  sip_gilstate_t sipGILState;
593  PyObject *sipMeth;
594 
595  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[15], &sipPySelf, SIP_NULLPTR, sipName_tabletEvent);
596 
597  if (!sipMeth)
598  {
599  ::QtExtWidget::tabletEvent(a0);
600  return;
601  }
602 
603  extern void sipVH_plplot_pyqt5_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QTabletEvent*);
604 
605  sipVH_plplot_pyqt5_15(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
606 }
607 
608 void sipQtExtWidget::contextMenuEvent( ::QContextMenuEvent*a0)
609 {
610  sip_gilstate_t sipGILState;
611  PyObject *sipMeth;
612 
613  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[16], &sipPySelf, SIP_NULLPTR, sipName_contextMenuEvent);
614 
615  if (!sipMeth)
616  {
617  ::QtExtWidget::contextMenuEvent(a0);
618  return;
619  }
620 
621  extern void sipVH_plplot_pyqt5_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QContextMenuEvent*);
622 
623  sipVH_plplot_pyqt5_16(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
624 }
625 
626 void sipQtExtWidget::closeEvent( ::QCloseEvent*a0)
627 {
628  sip_gilstate_t sipGILState;
629  PyObject *sipMeth;
630 
631  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[17], &sipPySelf, SIP_NULLPTR, sipName_closeEvent);
632 
633  if (!sipMeth)
634  {
635  ::QtExtWidget::closeEvent(a0);
636  return;
637  }
638 
639  extern void sipVH_plplot_pyqt5_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QCloseEvent*);
640 
641  sipVH_plplot_pyqt5_17(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
642 }
643 
644 void sipQtExtWidget::resizeEvent( ::QResizeEvent*a0)
645 {
646  sip_gilstate_t sipGILState;
647  PyObject *sipMeth;
648 
649  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[18], &sipPySelf, SIP_NULLPTR, sipName_resizeEvent);
650 
651  if (!sipMeth)
652  {
653  ::QtExtWidget::resizeEvent(a0);
654  return;
655  }
656 
657  extern void sipVH_plplot_pyqt5_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QResizeEvent*);
658 
659  sipVH_plplot_pyqt5_18(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
660 }
661 
662 void sipQtExtWidget::moveEvent( ::QMoveEvent*a0)
663 {
664  sip_gilstate_t sipGILState;
665  PyObject *sipMeth;
666 
667  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[19], &sipPySelf, SIP_NULLPTR, sipName_moveEvent);
668 
669  if (!sipMeth)
670  {
671  ::QtExtWidget::moveEvent(a0);
672  return;
673  }
674 
675  extern void sipVH_plplot_pyqt5_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QMoveEvent*);
676 
677  sipVH_plplot_pyqt5_19(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
678 }
679 
680 void sipQtExtWidget::paintEvent( ::QPaintEvent*a0)
681 {
682  sip_gilstate_t sipGILState;
683  PyObject *sipMeth;
684 
685  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[20], &sipPySelf, SIP_NULLPTR, sipName_paintEvent);
686 
687  if (!sipMeth)
688  {
689  ::QtExtWidget::paintEvent(a0);
690  return;
691  }
692 
693  extern void sipVH_plplot_pyqt5_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QPaintEvent*);
694 
695  sipVH_plplot_pyqt5_20(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
696 }
697 
698 void sipQtExtWidget::leaveEvent( ::QEvent*a0)
699 {
700  sip_gilstate_t sipGILState;
701  PyObject *sipMeth;
702 
703  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[21], &sipPySelf, SIP_NULLPTR, sipName_leaveEvent);
704 
705  if (!sipMeth)
706  {
707  ::QtExtWidget::leaveEvent(a0);
708  return;
709  }
710 
711  extern void sipVH_plplot_pyqt5_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QEvent*);
712 
713  sipVH_plplot_pyqt5_7(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
714 }
715 
716 void sipQtExtWidget::enterEvent( ::QEvent*a0)
717 {
718  sip_gilstate_t sipGILState;
719  PyObject *sipMeth;
720 
721  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[22], &sipPySelf, SIP_NULLPTR, sipName_enterEvent);
722 
723  if (!sipMeth)
724  {
725  ::QtExtWidget::enterEvent(a0);
726  return;
727  }
728 
729  extern void sipVH_plplot_pyqt5_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QEvent*);
730 
731  sipVH_plplot_pyqt5_7(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
732 }
733 
734 void sipQtExtWidget::focusOutEvent( ::QFocusEvent*a0)
735 {
736  sip_gilstate_t sipGILState;
737  PyObject *sipMeth;
738 
739  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[23], &sipPySelf, SIP_NULLPTR, sipName_focusOutEvent);
740 
741  if (!sipMeth)
742  {
743  ::QtExtWidget::focusOutEvent(a0);
744  return;
745  }
746 
747  extern void sipVH_plplot_pyqt5_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QFocusEvent*);
748 
749  sipVH_plplot_pyqt5_21(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
750 }
751 
752 void sipQtExtWidget::focusInEvent( ::QFocusEvent*a0)
753 {
754  sip_gilstate_t sipGILState;
755  PyObject *sipMeth;
756 
757  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[24], &sipPySelf, SIP_NULLPTR, sipName_focusInEvent);
758 
759  if (!sipMeth)
760  {
761  ::QtExtWidget::focusInEvent(a0);
762  return;
763  }
764 
765  extern void sipVH_plplot_pyqt5_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QFocusEvent*);
766 
767  sipVH_plplot_pyqt5_21(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
768 }
769 
770 void sipQtExtWidget::keyReleaseEvent( ::QKeyEvent*a0)
771 {
772  sip_gilstate_t sipGILState;
773  PyObject *sipMeth;
774 
775  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[25], &sipPySelf, SIP_NULLPTR, sipName_keyReleaseEvent);
776 
777  if (!sipMeth)
778  {
779  ::QtExtWidget::keyReleaseEvent(a0);
780  return;
781  }
782 
783  extern void sipVH_plplot_pyqt5_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QKeyEvent*);
784 
785  sipVH_plplot_pyqt5_22(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
786 }
787 
788 void sipQtExtWidget::keyPressEvent( ::QKeyEvent*a0)
789 {
790  sip_gilstate_t sipGILState;
791  PyObject *sipMeth;
792 
793  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[26], &sipPySelf, SIP_NULLPTR, sipName_keyPressEvent);
794 
795  if (!sipMeth)
796  {
797  ::QtExtWidget::keyPressEvent(a0);
798  return;
799  }
800 
801  extern void sipVH_plplot_pyqt5_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QKeyEvent*);
802 
803  sipVH_plplot_pyqt5_22(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
804 }
805 
806 void sipQtExtWidget::wheelEvent( ::QWheelEvent*a0)
807 {
808  sip_gilstate_t sipGILState;
809  PyObject *sipMeth;
810 
811  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[27], &sipPySelf, SIP_NULLPTR, sipName_wheelEvent);
812 
813  if (!sipMeth)
814  {
815  ::QtExtWidget::wheelEvent(a0);
816  return;
817  }
818 
819  extern void sipVH_plplot_pyqt5_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QWheelEvent*);
820 
821  sipVH_plplot_pyqt5_23(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
822 }
823 
824 void sipQtExtWidget::mouseMoveEvent( ::QMouseEvent*a0)
825 {
826  sip_gilstate_t sipGILState;
827  PyObject *sipMeth;
828 
829  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[28], &sipPySelf, SIP_NULLPTR, sipName_mouseMoveEvent);
830 
831  if (!sipMeth)
832  {
833  ::QtExtWidget::mouseMoveEvent(a0);
834  return;
835  }
836 
837  extern void sipVH_plplot_pyqt5_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QMouseEvent*);
838 
839  sipVH_plplot_pyqt5_24(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
840 }
841 
843 {
844  sip_gilstate_t sipGILState;
845  PyObject *sipMeth;
846 
848 
849  if (!sipMeth)
850  {
851  ::QtExtWidget::mouseDoubleClickEvent(a0);
852  return;
853  }
854 
855  extern void sipVH_plplot_pyqt5_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QMouseEvent*);
856 
857  sipVH_plplot_pyqt5_24(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
858 }
859 
860 void sipQtExtWidget::mouseReleaseEvent( ::QMouseEvent*a0)
861 {
862  sip_gilstate_t sipGILState;
863  PyObject *sipMeth;
864 
866 
867  if (!sipMeth)
868  {
869  ::QtExtWidget::mouseReleaseEvent(a0);
870  return;
871  }
872 
873  extern void sipVH_plplot_pyqt5_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QMouseEvent*);
874 
875  sipVH_plplot_pyqt5_24(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
876 }
877 
878 void sipQtExtWidget::mousePressEvent( ::QMouseEvent*a0)
879 {
880  sip_gilstate_t sipGILState;
881  PyObject *sipMeth;
882 
883  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[31], &sipPySelf, SIP_NULLPTR, sipName_mousePressEvent);
884 
885  if (!sipMeth)
886  {
887  ::QtExtWidget::mousePressEvent(a0);
888  return;
889  }
890 
891  extern void sipVH_plplot_pyqt5_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QMouseEvent*);
892 
893  sipVH_plplot_pyqt5_24(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
894 }
895 
897 {
898  sip_gilstate_t sipGILState;
899  PyObject *sipMeth;
900 
901  sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[32]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_heightForWidth);
902 
903  if (!sipMeth)
904  return ::QtExtWidget::heightForWidth(a0);
905 
907 
908  return sipVH_plplot_pyqt5_25(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
909 }
910 
912 {
913  sip_gilstate_t sipGILState;
914  PyObject *sipMeth;
915 
916  sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[33]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_minimumSizeHint);
917 
918  if (!sipMeth)
919  return ::QtExtWidget::minimumSizeHint();
920 
922 
923  return sipVH_plplot_pyqt5_26(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth);
924 }
925 
926  ::QSize sipQtExtWidget::sizeHint() const
927 {
928  sip_gilstate_t sipGILState;
929  PyObject *sipMeth;
930 
931  sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[34]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_sizeHint);
932 
933  if (!sipMeth)
934  return ::QtExtWidget::sizeHint();
935 
937 
938  return sipVH_plplot_pyqt5_26(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth);
939 }
940 
942 {
943  sip_gilstate_t sipGILState;
944  PyObject *sipMeth;
945 
946  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[35], &sipPySelf, SIP_NULLPTR, sipName_setVisible);
947 
948  if (!sipMeth)
949  {
950  ::QtExtWidget::setVisible(a0);
951  return;
952  }
953 
955 
956  sipVH_plplot_pyqt5_27(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
957 }
958 
960 {
961  sip_gilstate_t sipGILState;
962  PyObject *sipMeth;
963 
964  sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[36]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_devType);
965 
966  if (!sipMeth)
967  return ::QtExtWidget::devType();
968 
970 
971  return sipVH_plplot_pyqt5_28(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth);
972 }
973 
974  ::QPaintEngine* sipQtExtWidget::paintEngine() const
975 {
976  sip_gilstate_t sipGILState;
977  PyObject *sipMeth;
978 
979  sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[37]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_paintEngine);
980 
981  if (!sipMeth)
982  return ::QtExtWidget::paintEngine();
983 
984  extern ::QPaintEngine* sipVH_plplot_pyqt5_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
985 
986  return sipVH_plplot_pyqt5_29(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth);
987 }
988 
989 int sipQtExtWidget::metric( ::QPaintDevice::PaintDeviceMetric a0) const
990 {
991  sip_gilstate_t sipGILState;
992  PyObject *sipMeth;
993 
994  sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[38]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_metric);
995 
996  if (!sipMeth)
997  return ::QtExtWidget::metric(a0);
998 
999  extern int sipVH_plplot_pyqt5_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QPaintDevice::PaintDeviceMetric);
1000 
1001  return sipVH_plplot_pyqt5_30(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
1002 }
1003 
1004 bool sipQtExtWidget::event( ::QEvent*a0)
1005 {
1006  sip_gilstate_t sipGILState;
1007  PyObject *sipMeth;
1008 
1009  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[39], &sipPySelf, SIP_NULLPTR, sipName_event);
1010 
1011  if (!sipMeth)
1012  return ::QtExtWidget::event(a0);
1013 
1014  extern bool sipVH_plplot_pyqt5_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QEvent*);
1015 
1016  return sipVH_plplot_pyqt5_31(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
1017 }
1018 
1019 bool sipQtExtWidget::eventFilter( ::QObject*a0, ::QEvent*a1)
1020 {
1021  sip_gilstate_t sipGILState;
1022  PyObject *sipMeth;
1023 
1024  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[40], &sipPySelf, SIP_NULLPTR, sipName_eventFilter);
1025 
1026  if (!sipMeth)
1027  return ::QtExtWidget::eventFilter(a0,a1);
1028 
1029  extern bool sipVH_plplot_pyqt5_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QObject*, ::QEvent*);
1030 
1031  return sipVH_plplot_pyqt5_32(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
1032 }
1033 
1034 void sipQtExtWidget::timerEvent( ::QTimerEvent*a0)
1035 {
1036  sip_gilstate_t sipGILState;
1037  PyObject *sipMeth;
1038 
1039  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[41], &sipPySelf, SIP_NULLPTR, sipName_timerEvent);
1040 
1041  if (!sipMeth)
1042  {
1043  ::QtExtWidget::timerEvent(a0);
1044  return;
1045  }
1046 
1047  extern void sipVH_plplot_pyqt5_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QTimerEvent*);
1048 
1049  sipVH_plplot_pyqt5_33(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
1050 }
1051 
1052 void sipQtExtWidget::childEvent( ::QChildEvent*a0)
1053 {
1054  sip_gilstate_t sipGILState;
1055  PyObject *sipMeth;
1056 
1057  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[42], &sipPySelf, SIP_NULLPTR, sipName_childEvent);
1058 
1059  if (!sipMeth)
1060  {
1061  ::QtExtWidget::childEvent(a0);
1062  return;
1063  }
1064 
1065  extern void sipVH_plplot_pyqt5_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QChildEvent*);
1066 
1067  sipVH_plplot_pyqt5_34(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
1068 }
1069 
1071 {
1072  sip_gilstate_t sipGILState;
1073  PyObject *sipMeth;
1074 
1075  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[43], &sipPySelf, SIP_NULLPTR, sipName_customEvent);
1076 
1077  if (!sipMeth)
1078  {
1079  ::QtExtWidget::customEvent(a0);
1080  return;
1081  }
1082 
1083  extern void sipVH_plplot_pyqt5_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QEvent*);
1084 
1085  sipVH_plplot_pyqt5_7(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
1086 }
1087 
1088 void sipQtExtWidget::connectNotify(const ::QMetaMethod& a0)
1089 {
1090  sip_gilstate_t sipGILState;
1091  PyObject *sipMeth;
1092 
1093  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[44], &sipPySelf, SIP_NULLPTR, sipName_connectNotify);
1094 
1095  if (!sipMeth)
1096  {
1097  ::QtExtWidget::connectNotify(a0);
1098  return;
1099  }
1100 
1101  extern void sipVH_plplot_pyqt5_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QMetaMethod&);
1102 
1103  sipVH_plplot_pyqt5_35(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
1104 }
1105 
1106 void sipQtExtWidget::disconnectNotify(const ::QMetaMethod& a0)
1107 {
1108  sip_gilstate_t sipGILState;
1109  PyObject *sipMeth;
1110 
1111  sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[45], &sipPySelf, SIP_NULLPTR, sipName_disconnectNotify);
1112 
1113  if (!sipMeth)
1114  {
1115  ::QtExtWidget::disconnectNotify(a0);
1116  return;
1117  }
1118 
1119  extern void sipVH_plplot_pyqt5_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QMetaMethod&);
1120 
1121  sipVH_plplot_pyqt5_35(sipGILState, sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
1122 }
1123 
1124 
1125 PyDoc_STRVAR(doc_QtExtWidget_captureMousePlotCoords, "captureMousePlotCoords(self) -> Tuple[float, float]");
1126 
1127 extern "C" {static PyObject *meth_QtExtWidget_captureMousePlotCoords(PyObject *, PyObject *);}
1128 static PyObject *meth_QtExtWidget_captureMousePlotCoords(PyObject *sipSelf, PyObject *sipArgs)
1129 {
1130  PyObject *sipParseErr = SIP_NULLPTR;
1131 
1132  {
1133  double a0;
1134  double a1;
1135  ::QtExtWidget *sipCpp;
1136 
1137  if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QtExtWidget, &sipCpp))
1138  {
1139  sipCpp->captureMousePlotCoords(&a0,&a1);
1140 
1141  return sipBuildResult(0,"(dd)",a0,a1);
1142  }
1143  }
1144 
1145  sipNoMethod(sipParseErr, sipName_QtExtWidget, sipName_captureMousePlotCoords, doc_QtExtWidget_captureMousePlotCoords);
1146 
1147  return SIP_NULLPTR;
1148 }
1149 
1150 
1151 PyDoc_STRVAR(doc_QtExtWidget_mouseMoveEvent, "mouseMoveEvent(self, QMouseEvent)");
1152 
1153 extern "C" {static PyObject *meth_QtExtWidget_mouseMoveEvent(PyObject *, PyObject *);}
1154 static PyObject *meth_QtExtWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs)
1155 {
1156  PyObject *sipParseErr = SIP_NULLPTR;
1157  bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1158 
1159  {
1160  ::QMouseEvent* a0;
1161  ::QtExtWidget *sipCpp;
1162 
1163  if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QtExtWidget, &sipCpp, sipType_QMouseEvent, &a0))
1164  {
1165  (sipSelfWasArg ? sipCpp-> ::QtExtWidget::mouseMoveEvent(a0) : sipCpp->mouseMoveEvent(a0));
1166 
1167  Py_INCREF(Py_None);
1168  return Py_None;
1169  }
1170  }
1171 
1172  sipNoMethod(sipParseErr, sipName_QtExtWidget, sipName_mouseMoveEvent, doc_QtExtWidget_mouseMoveEvent);
1173 
1174  return SIP_NULLPTR;
1175 }
1176 
1177 
1178 PyDoc_STRVAR(doc_QtExtWidget_mousePressEvent, "mousePressEvent(self, QMouseEvent)");
1179 
1180 extern "C" {static PyObject *meth_QtExtWidget_mousePressEvent(PyObject *, PyObject *);}
1181 static PyObject *meth_QtExtWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs)
1182 {
1183  PyObject *sipParseErr = SIP_NULLPTR;
1184  bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1185 
1186  {
1187  ::QMouseEvent* a0;
1188  ::QtExtWidget *sipCpp;
1189 
1190  if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QtExtWidget, &sipCpp, sipType_QMouseEvent, &a0))
1191  {
1192  (sipSelfWasArg ? sipCpp-> ::QtExtWidget::mousePressEvent(a0) : sipCpp->mousePressEvent(a0));
1193 
1194  Py_INCREF(Py_None);
1195  return Py_None;
1196  }
1197  }
1198 
1199  sipNoMethod(sipParseErr, sipName_QtExtWidget, sipName_mousePressEvent, doc_QtExtWidget_mousePressEvent);
1200 
1201  return SIP_NULLPTR;
1202 }
1203 
1204 
1205 PyDoc_STRVAR(doc_QtExtWidget_mouseReleaseEvent, "mouseReleaseEvent(self, QMouseEvent)");
1206 
1207 extern "C" {static PyObject *meth_QtExtWidget_mouseReleaseEvent(PyObject *, PyObject *);}
1208 static PyObject *meth_QtExtWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs)
1209 {
1210  PyObject *sipParseErr = SIP_NULLPTR;
1211  bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1212 
1213  {
1214  ::QMouseEvent* a0;
1215  ::QtExtWidget *sipCpp;
1216 
1217  if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QtExtWidget, &sipCpp, sipType_QMouseEvent, &a0))
1218  {
1219  (sipSelfWasArg ? sipCpp-> ::QtExtWidget::mouseReleaseEvent(a0) : sipCpp->mouseReleaseEvent(a0));
1220 
1221  Py_INCREF(Py_None);
1222  return Py_None;
1223  }
1224  }
1225 
1226  sipNoMethod(sipParseErr, sipName_QtExtWidget, sipName_mouseReleaseEvent, doc_QtExtWidget_mouseReleaseEvent);
1227 
1228  return SIP_NULLPTR;
1229 }
1230 
1231 
1232 PyDoc_STRVAR(doc_QtExtWidget_paintEvent, "paintEvent(self, QPaintEvent)");
1233 
1234 extern "C" {static PyObject *meth_QtExtWidget_paintEvent(PyObject *, PyObject *);}
1235 static PyObject *meth_QtExtWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs)
1236 {
1237  PyObject *sipParseErr = SIP_NULLPTR;
1238  bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1239 
1240  {
1241  ::QPaintEvent* a0;
1242  ::QtExtWidget *sipCpp;
1243 
1244  if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_QtExtWidget, &sipCpp, sipType_QPaintEvent, &a0))
1245  {
1246  (sipSelfWasArg ? sipCpp-> ::QtExtWidget::paintEvent(a0) : sipCpp->paintEvent(a0));
1247 
1248  Py_INCREF(Py_None);
1249  return Py_None;
1250  }
1251  }
1252 
1253  sipNoMethod(sipParseErr, sipName_QtExtWidget, sipName_paintEvent, doc_QtExtWidget_paintEvent);
1254 
1255  return SIP_NULLPTR;
1256 }
1257 
1258 
1259 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
1260 extern "C" {static void *cast_QtExtWidget(void *, const sipTypeDef *);}
1261 static void *cast_QtExtWidget(void *sipCppV, const sipTypeDef *targetType)
1262 {
1263  ::QtExtWidget *sipCpp = reinterpret_cast< ::QtExtWidget *>(sipCppV);
1264 
1265  if (targetType == sipType_QtExtWidget)
1266  return sipCppV;
1267 
1268  sipCppV = ((const sipClassTypeDef *)sipType_QtPLWidget)->ctd_cast(static_cast< ::QtPLWidget *>(sipCpp), targetType);
1269  if (sipCppV)
1270  return sipCppV;
1271 
1272  return SIP_NULLPTR;
1273 }
1274 
1275 
1276 /* Call the instance's destructor. */
1277 extern "C" {static void release_QtExtWidget(void *, int);}
1278 static void release_QtExtWidget(void *sipCppV, int)
1279 {
1280  ::QtExtWidget *sipCpp = reinterpret_cast< ::QtExtWidget *>(sipCppV);
1281 
1282  if (QThread::currentThread() == sipCpp->thread())
1283  delete sipCpp;
1284  else
1285  sipCpp->deleteLater();
1286 }
1287 
1288 
1289 extern "C" {static void *array_QtExtWidget(Py_ssize_t);}
1290 static void *array_QtExtWidget(Py_ssize_t sipNrElem)
1291 {
1292  return new ::QtExtWidget[sipNrElem];
1293 }
1294 
1295 
1296 extern "C" {static void array_delete_QtExtWidget(void *);}
1297 static void array_delete_QtExtWidget(void *sipCpp)
1298 {
1299  delete[] reinterpret_cast< ::QtExtWidget *>(sipCpp);
1300 }
1301 
1302 
1303 extern "C" {static void dealloc_QtExtWidget(sipSimpleWrapper *);}
1305 {
1306  if (sipIsDerivedClass(sipSelf))
1307  reinterpret_cast<sipQtExtWidget *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
1308 
1309  if (sipIsOwnedByPython(sipSelf))
1310  {
1312  }
1313 }
1314 
1315 
1316 extern "C" {static void *init_type_QtExtWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
1317 static void *init_type_QtExtWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
1318 {
1319  sipQtExtWidget *sipCpp = SIP_NULLPTR;
1320 
1321  {
1322  int a0 = QT_DEFAULT_X;
1323  int a1 = QT_DEFAULT_Y;
1324  ::QWidget* a2 = 0;
1325 
1326  if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "|iiJ8", &a0, &a1, sipType_QWidget, &a2))
1327  {
1328  sipCpp = new sipQtExtWidget(a0,a1,a2);
1329 
1330  sipCpp->sipPySelf = sipSelf;
1331 
1332  return sipCpp;
1333  }
1334  }
1335 
1336  return SIP_NULLPTR;
1337 }
1338 
1339 
1340 /* Define this type's super-types. */
1341 static sipEncodedTypeDef supers_QtExtWidget[] = {{2, 255, 1}};
1342 
1343 
1344 static PyMethodDef methods_QtExtWidget[] = {
1345  {sipName_captureMousePlotCoords, meth_QtExtWidget_captureMousePlotCoords, METH_VARARGS, doc_QtExtWidget_captureMousePlotCoords},
1346  {sipName_mouseMoveEvent, meth_QtExtWidget_mouseMoveEvent, METH_VARARGS, doc_QtExtWidget_mouseMoveEvent},
1347  {sipName_mousePressEvent, meth_QtExtWidget_mousePressEvent, METH_VARARGS, doc_QtExtWidget_mousePressEvent},
1348  {sipName_mouseReleaseEvent, meth_QtExtWidget_mouseReleaseEvent, METH_VARARGS, doc_QtExtWidget_mouseReleaseEvent},
1349  {sipName_paintEvent, meth_QtExtWidget_paintEvent, METH_VARARGS, doc_QtExtWidget_paintEvent}
1350 };
1351 
1352 PyDoc_STRVAR(doc_QtExtWidget, "\1QtExtWidget(int = QT_DEFAULT_X, int = QT_DEFAULT_Y, QWidget = None)");
1353 
1354 
1356  & ::QtExtWidget::staticMetaObject,
1357  0,
1358  SIP_NULLPTR,
1359  SIP_NULLPTR
1360 };
1361 
1362 
1364  {
1365  -1,
1366  SIP_NULLPTR,
1367  SIP_NULLPTR,
1370  SIP_NULLPTR,
1372  },
1373  {
1375  {0, 0, 1},
1377  0, SIP_NULLPTR,
1378  0, SIP_NULLPTR,
1380  },
1381  doc_QtExtWidget,
1382  -1,
1383  -1,
1385  SIP_NULLPTR,
1387  SIP_NULLPTR,
1388  SIP_NULLPTR,
1389  SIP_NULLPTR,
1390  SIP_NULLPTR,
1392  SIP_NULLPTR,
1394  SIP_NULLPTR,
1397  SIP_NULLPTR,
1398  SIP_NULLPTR,
1399  SIP_NULLPTR,
1400  SIP_NULLPTR,
1401  SIP_NULLPTR,
1402  SIP_NULLPTR,
1404  sizeof ( ::QtExtWidget),
1405 };
#define sipName_contextMenuEvent
sip_qt_metacast_func sip_plplot_pyqt5_qt_metacast
#define sipName_inputMethodEvent
#define sipName_hasHeightForWidth
#define sipName_mouseReleaseEvent
#define sipName_captureMousePlotCoords
#define sipName_focusNextPrevChild
#define sipName_disconnectNotify
sip_qt_metaobject_func sip_plplot_pyqt5_qt_metaobject
#define sipName_mouseDoubleClickEvent
sipImportedVirtErrorHandlerDef sipImportedVirtErrorHandlers_plplot_pyqt5_QtCore[]
sip_qt_metacall_func sip_plplot_pyqt5_qt_metacall
#define sipName_inputMethodQuery
static PyObject * meth_QtExtWidget_mousePressEvent(PyObject *, PyObject *)
static PyObject * meth_QtExtWidget_captureMousePlotCoords(PyObject *, PyObject *)
static PyObject * meth_QtExtWidget_mouseReleaseEvent(PyObject *, PyObject *)
PyDoc_STRVAR(doc_QtExtWidget_captureMousePlotCoords, "captureMousePlotCoords(self) -> Tuple[float, float]")
static sipEncodedTypeDef supers_QtExtWidget[]
static void dealloc_QtExtWidget(sipSimpleWrapper *)
static PyObject * meth_QtExtWidget_mouseMoveEvent(PyObject *, PyObject *)
static void * cast_QtExtWidget(void *, const sipTypeDef *)
static pyqt5ClassPluginDef plugin_QtExtWidget
static void array_delete_QtExtWidget(void *)
static void release_QtExtWidget(void *, int)
static PyObject * meth_QtExtWidget_paintEvent(PyObject *, PyObject *)
static void * init_type_QtExtWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **)
static PyMethodDef methods_QtExtWidget[]
sipClassTypeDef sipTypeDef_plplot_pyqt5_QtExtWidget
static void * array_QtExtWidget(Py_ssize_t)
bool sipVH_plplot_pyqt5_3(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
bool sipVH_plplot_pyqt5_2(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const ::QByteArray &a0, void *a1, long *a2)
void sipVH_plplot_pyqt5_7(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QEvent *a0)
void sipVH_plplot_pyqt5_21(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QFocusEvent *a0)
void sipVH_plplot_pyqt5_22(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QKeyEvent *a0)
::QSize sipVH_plplot_pyqt5_26(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
bool sipVH_plplot_pyqt5_4(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, bool a0)
void sipVH_plplot_pyqt5_13(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QDragEnterEvent *a0)
::QPainter * sipVH_plplot_pyqt5_1(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
void sipVH_plplot_pyqt5_33(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QTimerEvent *a0)
int sipVH_plplot_pyqt5_28(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
void sipVH_plplot_pyqt5_17(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QCloseEvent *a0)
void sipVH_plplot_pyqt5_18(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QResizeEvent *a0)
void sipVH_plplot_pyqt5_23(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QWheelEvent *a0)
void sipVH_plplot_pyqt5_34(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QChildEvent *a0)
void sipVH_plplot_pyqt5_10(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QDropEvent *a0)
void sipVH_plplot_pyqt5_20(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QPaintEvent *a0)
::QVariant sipVH_plplot_pyqt5_5(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::Qt::InputMethodQuery a0)
void sipVH_plplot_pyqt5_0(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QPainter *a0)
bool sipVH_plplot_pyqt5_31(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QEvent *a0)
void sipVH_plplot_pyqt5_9(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QShowEvent *a0)
void sipVH_plplot_pyqt5_8(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QHideEvent *a0)
void sipVH_plplot_pyqt5_35(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const ::QMetaMethod &a0)
void sipVH_plplot_pyqt5_11(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QDragLeaveEvent *a0)
void sipVH_plplot_pyqt5_27(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, bool a0)
void sipVH_plplot_pyqt5_14(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QActionEvent *a0)
void sipVH_plplot_pyqt5_16(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QContextMenuEvent *a0)
void sipVH_plplot_pyqt5_24(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QMouseEvent *a0)
int sipVH_plplot_pyqt5_25(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0)
void sipVH_plplot_pyqt5_6(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QInputMethodEvent *a0)
::QPaintEngine * sipVH_plplot_pyqt5_29(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
void sipVH_plplot_pyqt5_19(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QMoveEvent *a0)
bool sipVH_plplot_pyqt5_32(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QObject *a0, ::QEvent *a1)
void sipVH_plplot_pyqt5_15(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QTabletEvent *a0)
void sipVH_plplot_pyqt5_12(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QDragMoveEvent *a0)
int sipVH_plplot_pyqt5_30(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, ::QPaintDevice::PaintDeviceMetric a0)
int sip_gilstate_t
Definition: build/sip.h:171
#define SIP_TYPE_CLASS
Definition: build/sip.h:1762
#define SIP_TYPE_SUPER_INIT
Definition: build/sip.h:1772
void(* sipVirtErrorHandlerFunc)(sipSimpleWrapper *, sip_gilstate_t)
Definition: build/sip.h:263
#define SIP_NULLPTR
Definition: build/sip.h:127
#define SIP_BLOCK_THREADS
Definition: build/sip.h:173
#define SIP_OVERRIDE
Definition: build/sip.h:128
#define SIP_TYPE_SCC
Definition: build/sip.h:1768
#define SIP_UNBLOCK_THREADS
Definition: build/sip.h:174
void mouseDoubleClickEvent(::QMouseEvent *) SIP_OVERRIDE
void timerEvent(::QTimerEvent *) SIP_OVERRIDE
int metric(::QPaintDevice::PaintDeviceMetric) const SIP_OVERRIDE
void focusInEvent(::QFocusEvent *) SIP_OVERRIDE
void focusOutEvent(::QFocusEvent *) SIP_OVERRIDE
void mousePressEvent(::QMouseEvent *) SIP_OVERRIDE
void keyReleaseEvent(::QKeyEvent *) SIP_OVERRIDE
::QPainter * sharedPainter() const SIP_OVERRIDE
void connectNotify(const ::QMetaMethod &) SIP_OVERRIDE
void actionEvent(::QActionEvent *) SIP_OVERRIDE
bool nativeEvent(const ::QByteArray &, void *, long *) SIP_OVERRIDE
void resizeEvent(::QResizeEvent *) SIP_OVERRIDE
::QPaintEngine * paintEngine() const SIP_OVERRIDE
void moveEvent(::QMoveEvent *) SIP_OVERRIDE
void closeEvent(::QCloseEvent *) SIP_OVERRIDE
void dropEvent(::QDropEvent *) SIP_OVERRIDE
bool eventFilter(::QObject *, ::QEvent *) SIP_OVERRIDE
void dragLeaveEvent(::QDragLeaveEvent *) SIP_OVERRIDE
sipQtExtWidget(const sipQtExtWidget &)
void dragMoveEvent(::QDragMoveEvent *) SIP_OVERRIDE
int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE
::QVariant inputMethodQuery(::Qt::InputMethodQuery) const SIP_OVERRIDE
void showEvent(::QShowEvent *) SIP_OVERRIDE
const QMetaObject * metaObject() const SIP_OVERRIDE
void disconnectNotify(const ::QMetaMethod &) SIP_OVERRIDE
void tabletEvent(::QTabletEvent *) SIP_OVERRIDE
void wheelEvent(::QWheelEvent *) SIP_OVERRIDE
sipQtExtWidget & operator=(const sipQtExtWidget &)
void dragEnterEvent(::QDragEnterEvent *) SIP_OVERRIDE
void hideEvent(::QHideEvent *) SIP_OVERRIDE
void inputMethodEvent(::QInputMethodEvent *) SIP_OVERRIDE
void contextMenuEvent(::QContextMenuEvent *) SIP_OVERRIDE
void paintEvent(::QPaintEvent *) SIP_OVERRIDE
void childEvent(::QChildEvent *) SIP_OVERRIDE
void initPainter(::QPainter *) const SIP_OVERRIDE
void * qt_metacast(const char *) SIP_OVERRIDE
void mouseReleaseEvent(::QMouseEvent *) SIP_OVERRIDE
void mouseMoveEvent(::QMouseEvent *) SIP_OVERRIDE
void keyPressEvent(::QKeyEvent *) SIP_OVERRIDE
::QSize minimumSizeHint() const SIP_OVERRIDE
#define QT_DEFAULT_Y
Definition: qt.h:91
#define QT_DEFAULT_X
Definition: qt.h:90