#include <TGo4QRootCanvas.h>
Inheritance diagram for TGo4QRootCanvas:
Signals | |
void | DropToPad (TPad *) |
void | PadClicked (TPad *) |
Public Methods | |
TGo4QRootCanvas (QWidget *parent=0, const char *name=0,TCanvas *c=0) | |
virtual | ~TGo4QRootCanvas () |
void | dropEvent (QDropEvent *Event) |
void | dragEnterEvent (QDragEnterEvent *e) |
TCanvas * | GetCanvas () |
void | SetShowEventStatus (bool s) |
void | InsertCanvas (TCanvas *dragedCanvas, TPad *pad, bool createoptions=true) |
Insert dragedCanvas into pad. More... | |
void | CreateDrawOptions (TPad *pad) |
bool | NeedsMinmaxResize () |
void | SetNeedsMinmaxResize (bool yes) |
Protected Methods | |
virtual bool | eventFilter (QObject *, QEvent *) |
void | mouseDoubleClickEvent (QMouseEvent *e) |
virtual void | mousePressEvent (QMouseEvent *e) |
void | mouseMoveEvent (QMouseEvent *e) |
virtual void | resizeEvent (QResizeEvent *e) |
virtual void | paintEvent (QPaintEvent *e) |
Protected Attributes | |
bool | needMinmaxResize |
Private Attributes | |
TGo4PreviewPanel * | fxTGo4PreviewPanel |
bool | fxShowEventStatus |
|
Definition at line 47 of file TGo4QRootCanvas.cpp. References fxShowEventStatus, fxTGo4PreviewPanel, TQRootCanvas::Resize(), and TQRootCanvas::Update(). |
|
Definition at line 63 of file TGo4QRootCanvas.cpp. |
|
Reimplemented from TQRootCanvas. Definition at line 114 of file TGo4QRootCanvas.cpp. References TGo4PadOptions::DragAddOption(), TGo4QDragDrop::DropAction(), DropToPad(), fxTGo4PreviewPanel, TGo4QItem::GetFileObj(), TGo4QItem::GetItemObject(), TGo4GUIRegistry::Instance(), TQRootCanvas::Pick(), and TGo4GUIRegistry::SubmitCommand(). |
|
Reimplemented from TQRootCanvas. Definition at line 265 of file TGo4QRootCanvas.cpp. |
|
Definition at line 272 of file TGo4QRootCanvas.cpp. References TQRootCanvas::fCanvas. |
|
Definition at line 66 of file TGo4QRootCanvas.cpp. References fxShowEventStatus. |
|
Insert dragedCanvas into pad. createdrawoptions is false if this method is used to copy a canvas into memory JA Definition at line 173 of file TGo4QRootCanvas.cpp. References CreateDrawOptions(). Referenced by TGo4QCanvasItem::DrawObj(). |
|
Definition at line 236 of file TGo4QRootCanvas.cpp. References fxTGo4PreviewPanel. Referenced by TGo4QPicItem::DrawObj(), and InsertCanvas(). |
|
Definition at line 42 of file TGo4QRootCanvas.h. References needMinmaxResize. |
|
Definition at line 43 of file TGo4QRootCanvas.h. References needMinmaxResize. |
|
Referenced by dropEvent(). |
|
Referenced by mousePressEvent(). |
|
Reimplemented from TQRootCanvas. Definition at line 322 of file TGo4QRootCanvas.cpp. References TQRootCanvas::fCanvas, TQRootCanvas::isCanvasOwned, needMinmaxResize, TQRootCanvas::needResize, TQRootCanvas::Resize(), and TQRootCanvas::Update(). |
|
Reimplemented from TQRootCanvas. Definition at line 70 of file TGo4QRootCanvas.cpp. References fxTGo4PreviewPanel, and TQRootCanvas::mouseDoubleClickEvent(). |
|
Reimplemented from TQRootCanvas. Definition at line 76 of file TGo4QRootCanvas.cpp. References TQRootCanvas::fCanvas, fxTGo4PreviewPanel, TQRootCanvas::mousePressEvent(), and PadClicked(). |
|
Reimplemented from TQRootCanvas. Definition at line 100 of file TGo4QRootCanvas.cpp. References TQRootCanvas::fCanvas, fxTGo4PreviewPanel, and TQRootCanvas::mouseMoveEvent(). |
|
Reimplemented from TQRootCanvas. Definition at line 278 of file TGo4QRootCanvas.cpp. References TQRootCanvas::needResize. |
|
Reimplemented from TQRootCanvas. Definition at line 291 of file TGo4QRootCanvas.cpp. References needMinmaxResize, p, TQRootCanvas::Resize(), and TQRootCanvas::Update(). |
|
Definition at line 58 of file TGo4QRootCanvas.h. Referenced by eventFilter(), NeedsMinmaxResize(), paintEvent(), and SetNeedsMinmaxResize(). |
|
Definition at line 60 of file TGo4QRootCanvas.h. Referenced by CreateDrawOptions(), dropEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), and TGo4QRootCanvas(). |
|
Definition at line 61 of file TGo4QRootCanvas.h. Referenced by SetShowEventStatus(), and TGo4QRootCanvas(). |