9 #include "../inc/TQRootCanvas.h"
10 #if !defined(Q_MOC_OUTPUT_REVISION)
11 #error "The header file 'TQRootCanvas.h' doesn't include <QObject>."
12 #elif Q_MOC_OUTPUT_REVISION != 63
13 #error "This file was generated using the moc from 4.8.6. It"
14 #error "cannot be used with the include files from this version of Qt."
15 #error "(The moc has changed too much.)"
18 QT_BEGIN_MOC_NAMESPACE
40 112, 13, 13, 13, 0x2a,
41 120, 88, 13, 13, 0x0a,
42 137, 13, 13, 13, 0x2a,
43 145, 88, 13, 13, 0x0a,
44 161, 13, 13, 13, 0x2a,
45 177, 88, 168, 13, 0x0a,
46 198, 13, 168, 13, 0x2a,
47 210, 13, 168, 13, 0x0a,
48 225, 13, 13, 13, 0x0a,
49 259, 237, 13, 13, 0x0a,
50 290, 286, 13, 13, 0x0a,
51 311, 13, 13, 13, 0x0a,
52 319, 13, 13, 13, 0x0a,
53 337, 13, 13, 13, 0x0a,
54 363, 13, 351, 13, 0x0a,
55 390, 13, 376, 13, 0x0a,
56 413, 13, 407, 13, 0x0a,
57 431, 13, 407, 13, 0x0a,
58 442, 13, 407, 13, 0x0a,
59 454, 13, 407, 13, 0x0a,
60 474, 13, 466, 13, 0x0a,
61 507, 13, 494, 13, 0x0a,
62 520, 13, 168, 13, 0x0a,
63 544, 13, 534, 13, 0x0a,
64 561, 13, 494, 13, 0x0a,
65 585, 13, 578, 13, 0x0a,
66 606, 13, 578, 13, 0x0a,
67 627, 13, 620, 13, 0x0a,
68 642, 13, 620, 13, 0x0a,
69 657, 13, 620, 13, 0x0a,
70 672, 13, 620, 13, 0x0a,
71 687, 13, 407, 13, 0x0a,
72 701, 13, 407, 13, 0x0a,
73 717, 13, 407, 13, 0x0a,
74 740, 13, 733, 13, 0x0a,
75 757, 13, 733, 13, 0x0a,
76 775, 13, 733, 13, 0x0a,
77 783, 13, 733, 13, 0x0a,
78 809, 791, 13, 13, 0x0a,
79 864, 853, 13, 13, 0x0a,
80 900, 13, 578, 13, 0x0a,
81 913, 13, 13, 13, 0x0a,
82 923, 13, 578, 13, 0x0a,
83 933, 13, 578, 13, 0x0a,
84 946, 88, 13, 13, 0x0a,
85 960, 13, 13, 13, 0x2a,
86 965, 286, 13, 13, 0x0a,
87 983, 13, 13, 13, 0x2a,
88 996, 13, 578, 13, 0x0a,
89 1011, 13, 578, 13, 0x0a,
90 1028, 88, 13, 13, 0x0a,
91 1045, 13, 13, 13, 0x2a,
92 1073, 1059, 1053, 13, 0x0a,
93 1119, 1102, 1053, 13, 0x0a,
94 1146, 88, 13, 13, 0x0a,
95 1164, 13, 13, 13, 0x2a,
96 1173, 286, 13, 13, 0x0a,
97 1193, 13, 13, 13, 0x2a,
98 1224, 1208, 13, 13, 0x0a,
99 1267, 1258, 13, 13, 0x2a,
100 1291, 13, 13, 13, 0x2a,
101 1311, 1304, 13, 13, 0x0a,
102 1335, 1330, 13, 13, 0x0a,
103 1358, 13, 13, 13, 0x2a,
104 1380, 1376, 13, 13, 0x0a,
105 1417, 1411, 13, 13, 0x0a,
106 1446, 1411, 13, 13, 0x0a,
107 1479, 1475, 13, 13, 0x0a,
108 1510, 1506, 13, 13, 0x0a,
109 1536, 1532, 13, 13, 0x0a,
110 1558, 13, 13, 13, 0x0a,
111 1585, 1565, 13, 13, 0x0a,
112 1617, 1607, 13, 13, 0x2a,
113 1631, 13, 13, 13, 0x2a,
114 1644, 1638, 13, 13, 0x0a,
115 1661, 13, 13, 13, 0x2a,
116 1681, 1672, 13, 13, 0x0a,
117 1701, 13, 13, 13, 0x2a,
118 1721, 1715, 13, 13, 0x0a,
119 1743, 13, 13, 13, 0x2a,
120 1754, 13, 13, 13, 0x0a,
121 1774, 13, 13, 13, 0x0a,
122 1791, 13, 13, 13, 0x0a,
123 1800, 13, 578, 13, 0x0a,
124 1818, 1814, 13, 13, 0x0a,
130 "TQRootCanvas\0\0SelectedPadChanged(TPad*)\0"
131 "subpadnumber\0cd(Int_t)\0cd()\0b\0"
132 "Browse(TBrowser*)\0option\0Clear(Option_t*)\0"
133 "Clear()\0Close(Option_t*)\0Close()\0"
134 "Draw(Option_t*)\0Draw()\0TObject*\0"
135 "DrawClone(Option_t*)\0DrawClone()\0"
136 "DrawClonePad()\0EditorBar()\0"
137 "prevSelPad,prevSelObj\0EnterLeave(TPad*,TObject*)\0"
138 "set\0FeedbackMode(Bool_t)\0Flush()\0"
139 "UseCurrentStyle()\0ForceUpdate()\0"
140 "const char*\0GetDISPLAY()\0TContextMenu*\0"
141 "GetContextMenu()\0Int_t\0GetDoubleBuffer()\0"
142 "GetEvent()\0GetEventX()\0GetEventY()\0"
143 "Color_t\0GetHighLightColor()\0TVirtualPad*\0"
144 "GetPadSave()\0GetSelected()\0Option_t*\0"
145 "GetSelectedOpt()\0GetSelectedPad()\0"
146 "Bool_t\0GetShowEventStatus()\0GetAutoExec()\0"
147 "Size_t\0GetXsizeUser()\0GetYsizeUser()\0"
148 "GetXsizeReal()\0GetYsizeReal()\0"
149 "GetCanvasID()\0GetWindowTopX()\0"
150 "GetWindowTopY()\0UInt_t\0GetWindowWidth()\0"
151 "GetWindowHeight()\0GetWw()\0GetWh()\0"
152 "wtopx,wtopy,ww,wh\0"
153 "GetCanvasPar(Int_t&,Int_t&,UInt_t&,UInt_t&)\0"
154 "button,x,y\0HandleInput(EEventType,Int_t,Int_t)\0"
155 "HasMenuBar()\0Iconify()\0IsBatch()\0"
156 "IsRetained()\0ls(Option_t*)\0ls()\0"
157 "MoveOpaque(Int_t)\0MoveOpaque()\0"
158 "OpaqueMoving()\0OpaqueResizing()\0"
159 "Paint(Option_t*)\0Paint()\0TPad*\0"
160 "px,py,pickobj\0Pick(Int_t,Int_t,TObjLink*&)\0"
161 "px,py,prevSelObj\0Pick(Int_t,Int_t,TObject*)\0"
162 "Resize(Option_t*)\0Resize()\0"
163 "ResizeOpaque(Int_t)\0ResizeOpaque()\0"
164 "filename,option\0SaveSource(const char*,Option_t*)\0"
165 "filename\0SaveSource(const char*)\0"
166 "SaveSource()\0cursor\0SetCursor(ECursor)\0"
167 "mode\0SetDoubleBuffer(Int_t)\0"
168 "SetDoubleBuffer()\0x,y\0"
169 "SetWindowPosition(Int_t,Int_t)\0ww,wh\0"
170 "SetWindowSize(UInt_t,UInt_t)\0"
171 "SetCanvasSize(UInt_t,UInt_t)\0col\0"
172 "SetHighLightColor(Color_t)\0obj\0"
173 "SetSelected(TObject*)\0pad\0"
174 "SetSelectedPad(TPad*)\0Show()\0"
175 "xsizeuser,ysizeuser\0Size(Float_t,Float_t)\0"
176 "xsizeuser\0Size(Float_t)\0Size()\0batch\0"
177 "SetBatch(Bool_t)\0SetBatch()\0retained\0"
178 "SetRetained(Bool_t)\0SetRetained()\0"
179 "title\0SetTitle(const char*)\0SetTitle()\0"
180 "ToggleEventStatus()\0ToggleAutoExec()\0"
181 "Update()\0NeedsResize()\0yes\0"
182 "SetNeedsResize(Bool_t)\0"
185 void TQRootCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
187 if (_c == QMetaObject::InvokeMetaMethod) {
188 Q_ASSERT(staticMetaObject.cast(_o));
192 case 1: _t->cd((*
reinterpret_cast< Int_t(*)
>(_a[1])));
break;
193 case 2: _t->cd();
break;
194 case 3: _t->Browse((*
reinterpret_cast< TBrowser*(*)
>(_a[1])));
break;
195 case 4: _t->Clear((*
reinterpret_cast< Option_t*(*)
>(_a[1])));
break;
196 case 5: _t->Clear();
break;
197 case 6: _t->Close((*
reinterpret_cast< Option_t*(*)
>(_a[1])));
break;
198 case 7: _t->Close();
break;
199 case 8: _t->Draw((*
reinterpret_cast< Option_t*(*)
>(_a[1])));
break;
200 case 9: _t->Draw();
break;
202 if (_a[0]) *
reinterpret_cast< TObject**
>(_a[0]) = _r; }
break;
204 if (_a[0]) *
reinterpret_cast< TObject**
>(_a[0]) = _r; }
break;
205 case 12: {
TObject* _r = _t->DrawClonePad();
206 if (_a[0]) *
reinterpret_cast< TObject**
>(_a[0]) = _r; }
break;
207 case 13: _t->EditorBar();
break;
208 case 14: _t->EnterLeave((*
reinterpret_cast< TPad*(*)
>(_a[1])),(*
reinterpret_cast< TObject*(*)
>(_a[2])));
break;
209 case 15: _t->FeedbackMode((*
reinterpret_cast< Bool_t(*)
>(_a[1])));
break;
210 case 16: _t->Flush();
break;
212 case 18: _t->ForceUpdate();
break;
213 case 19: {
const char* _r = _t->GetDISPLAY();
214 if (_a[0]) *
reinterpret_cast< const char**
>(_a[0]) = _r; }
break;
216 if (_a[0]) *
reinterpret_cast< TContextMenu**
>(_a[0]) = _r; }
break;
217 case 21: {
Int_t _r = _t->GetDoubleBuffer();
218 if (_a[0]) *
reinterpret_cast< Int_t*
>(_a[0]) = _r; }
break;
219 case 22: {
Int_t _r = _t->GetEvent();
220 if (_a[0]) *
reinterpret_cast< Int_t*
>(_a[0]) = _r; }
break;
221 case 23: {
Int_t _r = _t->GetEventX();
222 if (_a[0]) *
reinterpret_cast< Int_t*
>(_a[0]) = _r; }
break;
223 case 24: {
Int_t _r = _t->GetEventY();
224 if (_a[0]) *
reinterpret_cast< Int_t*
>(_a[0]) = _r; }
break;
225 case 25: {
Color_t _r = _t->GetHighLightColor();
226 if (_a[0]) *
reinterpret_cast< Color_t*
>(_a[0]) = _r; }
break;
228 if (_a[0]) *
reinterpret_cast< TVirtualPad**
>(_a[0]) = _r; }
break;
230 if (_a[0]) *
reinterpret_cast< TObject**
>(_a[0]) = _r; }
break;
231 case 28: {
Option_t* _r = _t->GetSelectedOpt();
232 if (_a[0]) *
reinterpret_cast< Option_t**
>(_a[0]) = _r; }
break;
234 if (_a[0]) *
reinterpret_cast< TVirtualPad**
>(_a[0]) = _r; }
break;
235 case 30: {
Bool_t _r = _t->GetShowEventStatus();
236 if (_a[0]) *
reinterpret_cast< Bool_t*
>(_a[0]) = _r; }
break;
237 case 31: {
Bool_t _r = _t->GetAutoExec();
238 if (_a[0]) *
reinterpret_cast< Bool_t*
>(_a[0]) = _r; }
break;
239 case 32: {
Size_t _r = _t->GetXsizeUser();
240 if (_a[0]) *
reinterpret_cast< Size_t*
>(_a[0]) = _r; }
break;
241 case 33: {
Size_t _r = _t->GetYsizeUser();
242 if (_a[0]) *
reinterpret_cast< Size_t*
>(_a[0]) = _r; }
break;
243 case 34: {
Size_t _r = _t->GetXsizeReal();
244 if (_a[0]) *
reinterpret_cast< Size_t*
>(_a[0]) = _r; }
break;
245 case 35: {
Size_t _r = _t->GetYsizeReal();
246 if (_a[0]) *
reinterpret_cast< Size_t*
>(_a[0]) = _r; }
break;
248 if (_a[0]) *
reinterpret_cast< Int_t*
>(_a[0]) = _r; }
break;
249 case 37: {
Int_t _r = _t->GetWindowTopX();
250 if (_a[0]) *
reinterpret_cast< Int_t*
>(_a[0]) = _r; }
break;
251 case 38: {
Int_t _r = _t->GetWindowTopY();
252 if (_a[0]) *
reinterpret_cast< Int_t*
>(_a[0]) = _r; }
break;
253 case 39: {
UInt_t _r = _t->GetWindowWidth();
254 if (_a[0]) *
reinterpret_cast< UInt_t*
>(_a[0]) = _r; }
break;
255 case 40: {
UInt_t _r = _t->GetWindowHeight();
256 if (_a[0]) *
reinterpret_cast< UInt_t*
>(_a[0]) = _r; }
break;
257 case 41: {
UInt_t _r = _t->GetWw();
258 if (_a[0]) *
reinterpret_cast< UInt_t*
>(_a[0]) = _r; }
break;
259 case 42: {
UInt_t _r = _t->GetWh();
260 if (_a[0]) *
reinterpret_cast< UInt_t*
>(_a[0]) = _r; }
break;
261 case 43: _t->GetCanvasPar((*
reinterpret_cast< Int_t(*)
>(_a[1])),(*
reinterpret_cast< Int_t(*)
>(_a[2])),(*
reinterpret_cast< UInt_t(*)
>(_a[3])),(*
reinterpret_cast< UInt_t(*)
>(_a[4])));
break;
262 case 44: _t->HandleInput((*
reinterpret_cast< EEventType(*)
>(_a[1])),(*
reinterpret_cast< Int_t(*)
>(_a[2])),(*
reinterpret_cast< Int_t(*)
>(_a[3])));
break;
263 case 45: {
Bool_t _r = _t->HasMenuBar();
264 if (_a[0]) *
reinterpret_cast< Bool_t*
>(_a[0]) = _r; }
break;
265 case 46: _t->Iconify();
break;
266 case 47: {
Bool_t _r = _t->IsBatch();
267 if (_a[0]) *
reinterpret_cast< Bool_t*
>(_a[0]) = _r; }
break;
268 case 48: {
Bool_t _r = _t->IsRetained();
269 if (_a[0]) *
reinterpret_cast< Bool_t*
>(_a[0]) = _r; }
break;
270 case 49: _t->ls((*
reinterpret_cast< Option_t*(*)
>(_a[1])));
break;
271 case 50: _t->ls();
break;
272 case 51: _t->MoveOpaque((*
reinterpret_cast< Int_t(*)
>(_a[1])));
break;
273 case 52: _t->MoveOpaque();
break;
274 case 53: {
Bool_t _r = _t->OpaqueMoving();
275 if (_a[0]) *
reinterpret_cast< Bool_t*
>(_a[0]) = _r; }
break;
276 case 54: {
Bool_t _r = _t->OpaqueResizing();
277 if (_a[0]) *
reinterpret_cast< Bool_t*
>(_a[0]) = _r; }
break;
278 case 55: _t->Paint((*
reinterpret_cast< Option_t*(*)
>(_a[1])));
break;
279 case 56: _t->Paint();
break;
280 case 57: {
TPad* _r = _t->
Pick((*
reinterpret_cast< Int_t(*)
>(_a[1])),(*
reinterpret_cast< Int_t(*)
>(_a[2])),(*
reinterpret_cast< TObjLink*(*)
>(_a[3])));
281 if (_a[0]) *
reinterpret_cast< TPad**
>(_a[0]) = _r; }
break;
282 case 58: {
TPad* _r = _t->
Pick((*
reinterpret_cast< Int_t(*)
>(_a[1])),(*
reinterpret_cast< Int_t(*)
>(_a[2])),(*
reinterpret_cast< TObject*(*)
>(_a[3])));
283 if (_a[0]) *
reinterpret_cast< TPad**
>(_a[0]) = _r; }
break;
284 case 59: _t->Resize((*
reinterpret_cast< Option_t*(*)
>(_a[1])));
break;
285 case 60: _t->Resize();
break;
286 case 61: _t->ResizeOpaque((*
reinterpret_cast< Int_t(*)
>(_a[1])));
break;
287 case 62: _t->ResizeOpaque();
break;
288 case 63: _t->SaveSource((*
reinterpret_cast< const char*(*)
>(_a[1])),(*
reinterpret_cast< Option_t*(*)
>(_a[2])));
break;
289 case 64: _t->SaveSource((*
reinterpret_cast< const char*(*)
>(_a[1])));
break;
290 case 65: _t->SaveSource();
break;
292 case 67: _t->SetDoubleBuffer((*
reinterpret_cast< Int_t(*)
>(_a[1])));
break;
293 case 68: _t->SetDoubleBuffer();
break;
294 case 69: _t->SetWindowPosition((*
reinterpret_cast< Int_t(*)
>(_a[1])),(*
reinterpret_cast< Int_t(*)
>(_a[2])));
break;
295 case 70: _t->SetWindowSize((*
reinterpret_cast< UInt_t(*)
>(_a[1])),(*
reinterpret_cast< UInt_t(*)
>(_a[2])));
break;
296 case 71: _t->SetCanvasSize((*
reinterpret_cast< UInt_t(*)
>(_a[1])),(*
reinterpret_cast< UInt_t(*)
>(_a[2])));
break;
297 case 72: _t->SetHighLightColor((*
reinterpret_cast< Color_t(*)
>(_a[1])));
break;
298 case 73: _t->SetSelected((*
reinterpret_cast< TObject*(*)
>(_a[1])));
break;
299 case 74: _t->SetSelectedPad((*
reinterpret_cast< TPad*(*)
>(_a[1])));
break;
300 case 75: _t->Show();
break;
301 case 76: _t->Size((*
reinterpret_cast< Float_t(*)
>(_a[1])),(*
reinterpret_cast< Float_t(*)
>(_a[2])));
break;
302 case 77: _t->Size((*
reinterpret_cast< Float_t(*)
>(_a[1])));
break;
303 case 78: _t->Size();
break;
304 case 79: _t->SetBatch((*
reinterpret_cast< Bool_t(*)
>(_a[1])));
break;
305 case 80: _t->SetBatch();
break;
306 case 81: _t->SetRetained((*
reinterpret_cast< Bool_t(*)
>(_a[1])));
break;
307 case 82: _t->SetRetained();
break;
308 case 83: _t->SetTitle((*
reinterpret_cast< const char*(*)
>(_a[1])));
break;
309 case 84: _t->SetTitle();
break;
310 case 85: _t->ToggleEventStatus();
break;
311 case 86: _t->ToggleAutoExec();
break;
312 case 87: _t->Update();
break;
313 case 88: {
Bool_t _r = _t->NeedsResize();
314 if (_a[0]) *
reinterpret_cast< Bool_t*
>(_a[0]) = _r; }
break;
315 case 89: _t->SetNeedsResize((*
reinterpret_cast< Bool_t(*)
>(_a[1])));
break;
321 const QMetaObjectExtraData TQRootCanvas::staticMetaObjectExtraData = {
322 0, qt_static_metacall
325 const QMetaObject TQRootCanvas::staticMetaObject = {
330 #ifdef Q_NO_DATA_RELOCATION
331 const QMetaObject &TQRootCanvas::getStaticMetaObject() {
return staticMetaObject; }
332 #endif //Q_NO_DATA_RELOCATION
334 const QMetaObject *TQRootCanvas::metaObject()
const
336 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
339 void *TQRootCanvas::qt_metacast(
const char *_clname)
341 if (!_clname)
return 0;
342 if (!strcmp(_clname, qt_meta_stringdata_TQRootCanvas))
343 return static_cast<void*
>(
const_cast< TQRootCanvas*
>(
this));
344 return QWidget::qt_metacast(_clname);
347 int TQRootCanvas::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
349 _id = QWidget::qt_metacall(_c, _id, _a);
352 if (_c == QMetaObject::InvokeMetaMethod) {
354 qt_static_metacall(
this, _c, _id, _a);
363 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
364 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
virtual TObject * GetSelected() const =0
virtual TObject * DrawClone(Option_t *option="") const
Draw a clone of this object in the current pad.
virtual void UseCurrentStyle()
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyl...
static QT_BEGIN_MOC_NAMESPACE const uint qt_meta_data_TQRootCanvas[]
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual TPad * Pick(Int_t px, Int_t py, TObjLink *&pickobj)
Search for an object at pixel position px,py.
virtual TVirtualPad * GetPadSave() const =0
Using a TBrowser one can browse all ROOT objects.
virtual void SetCursor(ECursor cursor)
Set cursor type.
The most important graphics class in the ROOT system.
virtual Int_t GetCanvasID() const =0
static const char qt_meta_stringdata_TQRootCanvas[]
Wrapper around a TObject so it can be stored in a TList.
Mother of all ROOT objects.
void SelectedPadChanged(TPad *)
virtual TVirtualPad * GetSelectedPad() const =0