Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TQRootCanvas Class Reference

#include <tqrootcanvas.h>

Inheritance diagram for TQRootCanvas:

TGo4QRootCanvas List of all members.

Public Slots

void cd (Int_t subpadnumber=0)
virtual void Browse (TBrowser *b)
void Clear (Option_t *option="")
void Close (Option_t *option="")
virtual void Draw (Option_t *option="")
virtual TObject * DrawClone (Option_t *option="")
virtual TObject * DrawClonePad ()
virtual void EditorBar ()
void EnterLeave (TPad *prevSelPad, TObject *prevSelObj)
void FeedbackMode (Bool_t set)
void Flush ()
void UseCurrentStyle ()
void ForceUpdate ()
const char * GetDISPLAY ()
TContextMenu * GetContextMenu ()
Int_t GetDoubleBuffer ()
TControlBar * GetEditorBar ()
Int_t GetEvent ()
Int_t GetEventX ()
Int_t GetEventY ()
Color_t GetHighLightColor ()
virtual void GetPadDivision (Int_t xdivision=1, Int_t ydivision=1)
TVirtualPad * GetPadSave ()
TObject * GetSelected ()
Option_t * GetSelectedOpt ()
TVirtualPad * GetSelectedPad ()
Bool_t GetShowEventStatus ()
Bool_t GetAutoExec ()
Size_t GetXsizeUser ()
Size_t GetYsizeUser ()
Size_t GetXsizeReal ()
Size_t GetYsizeReal ()
Int_t GetCanvasID ()
Int_t GetWindowTopX ()
Int_t GetWindowTopY ()
UInt_t GetWindowWidth ()
UInt_t GetWindowHeight ()
UInt_t GetWw ()
UInt_t GetWh ()
virtual void GetCanvasPar (Int_t &wtopx, Int_t &wtopy, UInt_t &ww, UInt_t &wh)
virtual void HandleInput (EEventType button, Int_t x, Int_t y)
Bool_t HasMenuBar ()
void Iconify ()
Bool_t IsBatch ()
Bool_t IsRetained ()
virtual void ls (Option_t *option="")
void MoveOpaque (Int_t set=1)
Bool_t OpaqueMoving ()
Bool_t OpaqueResizing ()
virtual void Paint (Option_t *option="")
virtual TPad * Pick (Int_t px, Int_t py, TObjLink *&pickobj)
virtual TPad * Pick (Int_t px, Int_t py, TObject *prevSelObj)
virtual void Resize (Option_t *option="")
void ResizeOpaque (Int_t set=1)
void SaveSource (const char *filename="", Option_t *option="")
virtual void SetCursor (ECursor cursor)
virtual void SetDoubleBuffer (Int_t mode=1)
void SetWindowPosition (Int_t x, Int_t y)
void SetWindowSize (UInt_t ww, UInt_t wh)
void SetCanvasSize (UInt_t ww, UInt_t wh)
void SetHighLightColor (Color_t col)
void SetSelected (TObject *obj)
void SetSelectedPad (TPad *pad)
void Show ()
virtual void Size (Float_t xsizeuser=0, Float_t ysizeuser=0)
void SetBatch (Bool_t batch=kTRUE)
void SetRetained (Bool_t retained=kTRUE)
void SetTitle (const char *title="")
virtual void ToggleEventStatus ()
virtual void ToggleAutoExec ()
virtual void Update ()
bool NeedsResize ()
void SetNeedsResize (bool yes)

Signals

void SelectedPadChanged (TPad *)

Public Methods

 TQRootCanvas (QWidget *parent=0, const char *name=0,TCanvas *c=0)
 TQRootCanvas (QWidget *parent=0, QWidget *tabWin=0, const char *name=0,TCanvas *c=0)
virtual ~TQRootCanvas ()
TCanvas * getCanvas ()
int getRootWid ()
bool getCanvasOwner ()
QWidget * getParent ()
QWidget * getTabWin ()
virtual void dropEvent (QDropEvent *Event)
virtual void dragEnterEvent (QDragEnterEvent *e)

Protected Methods

virtual bool eventFilter (QObject *, QEvent *)
virtual void mousePressEvent (QMouseEvent *e)
virtual void mouseReleaseEvent (QMouseEvent *e)
virtual void resizeEvent (QResizeEvent *e)
virtual void paintEvent (QPaintEvent *e)
virtual void mouseDoubleClickEvent (QMouseEvent *e)
virtual void mouseMoveEvent (QMouseEvent *e)
virtual void leaveEvent (QEvent *e)
virtual void closeEvent (QCloseEvent *e)

Protected Attributes

TQCanvasMenufContextMenu
TCanvas * fCanvas
Int_t wid
bool needResize
bool isCanvasOwned
QWidget * fParent
QWidget * fTabWin

Constructor & Destructor Documentation

TQRootCanvas::TQRootCanvas QWidget *    parent = 0,
const char *    name = 0,
TCanvas *    c = 0
 

Definition at line 78 of file tqrootcanvas.cpp.

References fCanvas, fContextMenu, fParent, isCanvasOwned, and wid.

TQRootCanvas::TQRootCanvas QWidget *    parent = 0,
QWidget *    tabWin = 0,
const char *    name = 0,
TCanvas *    c = 0
 

Definition at line 116 of file tqrootcanvas.cpp.

References fCanvas, fContextMenu, fParent, fTabWin, isCanvasOwned, and wid.

TQRootCanvas::~TQRootCanvas   [virtual]
 

Definition at line 696 of file tqrootcanvas.cpp.

References fCanvas, fContextMenu, and isCanvasOwned.


Member Function Documentation

TCanvas* TQRootCanvas::getCanvas   [inline]
 

Definition at line 60 of file tqrootcanvas.h.

References fCanvas.

Referenced by TQCanvasImp::build().

int TQRootCanvas::getRootWid   [inline]
 

Definition at line 61 of file tqrootcanvas.h.

References wid.

Referenced by TQCanvasImp::InitWindow().

bool TQRootCanvas::getCanvasOwner   [inline]
 

Definition at line 62 of file tqrootcanvas.h.

References isCanvasOwned.

QWidget* TQRootCanvas::getParent   [inline]
 

Definition at line 63 of file tqrootcanvas.h.

References fParent.

QWidget* TQRootCanvas::getTabWin   [inline]
 

Definition at line 64 of file tqrootcanvas.h.

References fTabWin.

void TQRootCanvas::dropEvent QDropEvent *    Event [virtual]
 

Reimplemented in TGo4QRootCanvas.

Definition at line 369 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::dragEnterEvent QDragEnterEvent *    e [virtual]
 

Reimplemented in TGo4QRootCanvas.

Definition at line 362 of file tqrootcanvas.cpp.

void TQRootCanvas::SelectedPadChanged TPad *    [signal]
 

Referenced by mousePressEvent().

void TQRootCanvas::cd Int_t    subpadnumber = 0 [slot]
 

Definition at line 393 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::Browse TBrowser *    b [virtual, slot]
 

Definition at line 398 of file tqrootcanvas.cpp.

References b, and fCanvas.

void TQRootCanvas::Clear Option_t *    option = "" [slot]
 

Definition at line 403 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::Close Option_t *    option = "" [slot]
 

Definition at line 407 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::Draw Option_t *    option = "" [virtual, slot]
 

Definition at line 411 of file tqrootcanvas.cpp.

References fCanvas.

TObject * TQRootCanvas::DrawClone Option_t *    option = "" [virtual, slot]
 

Definition at line 415 of file tqrootcanvas.cpp.

References fCanvas.

TObject * TQRootCanvas::DrawClonePad   [virtual, slot]
 

Definition at line 419 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::EditorBar   [virtual, slot]
 

Definition at line 423 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::EnterLeave TPad *    prevSelPad,
TObject *    prevSelObj
[slot]
 

Definition at line 427 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::FeedbackMode Bool_t    set [slot]
 

Definition at line 431 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::Flush   [slot]
 

Definition at line 435 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::UseCurrentStyle   [slot]
 

Definition at line 439 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::ForceUpdate   [slot]
 

Definition at line 443 of file tqrootcanvas.cpp.

References fCanvas.

const char * TQRootCanvas::GetDISPLAY   [slot]
 

Definition at line 447 of file tqrootcanvas.cpp.

References fCanvas.

TContextMenu * TQRootCanvas::GetContextMenu   [slot]
 

Definition at line 451 of file tqrootcanvas.cpp.

References fCanvas.

Int_t TQRootCanvas::GetDoubleBuffer   [slot]
 

Definition at line 455 of file tqrootcanvas.cpp.

References fCanvas.

TControlBar * TQRootCanvas::GetEditorBar   [slot]
 

Definition at line 459 of file tqrootcanvas.cpp.

Int_t TQRootCanvas::GetEvent   [slot]
 

Definition at line 464 of file tqrootcanvas.cpp.

References fCanvas.

Int_t TQRootCanvas::GetEventX   [slot]
 

Definition at line 468 of file tqrootcanvas.cpp.

References fCanvas.

Int_t TQRootCanvas::GetEventY   [slot]
 

Definition at line 472 of file tqrootcanvas.cpp.

References fCanvas.

Color_t TQRootCanvas::GetHighLightColor   [slot]
 

Definition at line 476 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::GetPadDivision Int_t    xdivision = 1,
Int_t    ydivision = 1
[virtual, slot]
 

Definition at line 480 of file tqrootcanvas.cpp.

TVirtualPad * TQRootCanvas::GetPadSave   [slot]
 

Definition at line 486 of file tqrootcanvas.cpp.

References fCanvas.

TObject * TQRootCanvas::GetSelected   [slot]
 

Definition at line 490 of file tqrootcanvas.cpp.

References fCanvas.

Option_t * TQRootCanvas::GetSelectedOpt   [slot]
 

Definition at line 494 of file tqrootcanvas.cpp.

References fCanvas.

TVirtualPad * TQRootCanvas::GetSelectedPad   [slot]
 

Definition at line 498 of file tqrootcanvas.cpp.

References fCanvas.

Bool_t TQRootCanvas::GetShowEventStatus   [slot]
 

Definition at line 502 of file tqrootcanvas.cpp.

References fCanvas.

Bool_t TQRootCanvas::GetAutoExec   [slot]
 

Definition at line 506 of file tqrootcanvas.cpp.

References fCanvas.

Size_t TQRootCanvas::GetXsizeUser   [slot]
 

Definition at line 510 of file tqrootcanvas.cpp.

References fCanvas.

Size_t TQRootCanvas::GetYsizeUser   [slot]
 

Definition at line 514 of file tqrootcanvas.cpp.

References fCanvas.

Size_t TQRootCanvas::GetXsizeReal   [slot]
 

Definition at line 518 of file tqrootcanvas.cpp.

References fCanvas.

Size_t TQRootCanvas::GetYsizeReal   [slot]
 

Definition at line 522 of file tqrootcanvas.cpp.

References fCanvas.

Int_t TQRootCanvas::GetCanvasID   [slot]
 

Definition at line 526 of file tqrootcanvas.cpp.

References fCanvas.

Int_t TQRootCanvas::GetWindowTopX   [slot]
 

Definition at line 531 of file tqrootcanvas.cpp.

References fCanvas.

Int_t TQRootCanvas::GetWindowTopY   [slot]
 

Definition at line 535 of file tqrootcanvas.cpp.

References fCanvas.

UInt_t TQRootCanvas::GetWindowWidth   [slot]
 

Definition at line 539 of file tqrootcanvas.cpp.

References fCanvas.

UInt_t TQRootCanvas::GetWindowHeight   [slot]
 

Definition at line 543 of file tqrootcanvas.cpp.

References fCanvas.

UInt_t TQRootCanvas::GetWw   [slot]
 

Definition at line 547 of file tqrootcanvas.cpp.

References fCanvas.

UInt_t TQRootCanvas::GetWh   [slot]
 

Definition at line 551 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::GetCanvasPar Int_t &    wtopx,
Int_t &    wtopy,
UInt_t &    ww,
UInt_t &    wh
[virtual, slot]
 

Definition at line 555 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::HandleInput EEventType    button,
Int_t    x,
Int_t    y
[virtual, slot]
 

Definition at line 559 of file tqrootcanvas.cpp.

References fCanvas.

Bool_t TQRootCanvas::HasMenuBar   [slot]
 

Definition at line 563 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::Iconify   [slot]
 

Definition at line 567 of file tqrootcanvas.cpp.

References fCanvas.

Bool_t TQRootCanvas::IsBatch   [slot]
 

Definition at line 571 of file tqrootcanvas.cpp.

References fCanvas.

Bool_t TQRootCanvas::IsRetained   [slot]
 

Definition at line 575 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::ls Option_t *    option = "" [virtual, slot]
 

Definition at line 579 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::MoveOpaque Int_t    set = 1 [slot]
 

Definition at line 583 of file tqrootcanvas.cpp.

References fCanvas.

Bool_t TQRootCanvas::OpaqueMoving   [slot]
 

Definition at line 587 of file tqrootcanvas.cpp.

References fCanvas.

Bool_t TQRootCanvas::OpaqueResizing   [slot]
 

Definition at line 591 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::Paint Option_t *    option = "" [virtual, slot]
 

Definition at line 595 of file tqrootcanvas.cpp.

References fCanvas.

TPad * TQRootCanvas::Pick Int_t    px,
Int_t    py,
TObjLink *&    pickobj
[virtual, slot]
 

Definition at line 599 of file tqrootcanvas.cpp.

References fCanvas.

Referenced by TGo4QRootCanvas::dropEvent().

TPad * TQRootCanvas::Pick Int_t    px,
Int_t    py,
TObject *    prevSelObj
[virtual, slot]
 

Definition at line 603 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::Resize Option_t *    option = "" [virtual, slot]
 

Definition at line 607 of file tqrootcanvas.cpp.

References fCanvas.

Referenced by TGo4QRootCanvas::eventFilter(), TGo4QRootCanvas::paintEvent(), and TGo4QRootCanvas::TGo4QRootCanvas().

void TQRootCanvas::ResizeOpaque Int_t    set = 1 [slot]
 

Definition at line 611 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SaveSource const char *    filename = "",
Option_t *    option = ""
[slot]
 

Definition at line 615 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SetCursor ECursor    cursor [virtual, slot]
 

Definition at line 619 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SetDoubleBuffer Int_t    mode = 1 [virtual, slot]
 

Definition at line 623 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SetWindowPosition Int_t    x,
Int_t    y
[slot]
 

Definition at line 627 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SetWindowSize UInt_t    ww,
UInt_t    wh
[slot]
 

Definition at line 631 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SetCanvasSize UInt_t    ww,
UInt_t    wh
[slot]
 

Definition at line 635 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SetHighLightColor Color_t    col [slot]
 

Definition at line 639 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SetSelected TObject *    obj [slot]
 

Definition at line 643 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SetSelectedPad TPad *    pad [slot]
 

Definition at line 647 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::Show   [slot]
 

Definition at line 651 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::Size Float_t    xsizeuser = 0,
Float_t    ysizeuser = 0
[virtual, slot]
 

Definition at line 655 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SetBatch Bool_t    batch = kTRUE [slot]
 

Definition at line 659 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SetRetained Bool_t    retained = kTRUE [slot]
 

Definition at line 663 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::SetTitle const char *    title = "" [slot]
 

Definition at line 667 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::ToggleEventStatus   [virtual, slot]
 

Definition at line 671 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::ToggleAutoExec   [virtual, slot]
 

Definition at line 675 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::Update   [virtual, slot]
 

Definition at line 679 of file tqrootcanvas.cpp.

References fCanvas.

Referenced by TGo4QRootCanvas::eventFilter(), TGo4QRootCanvas::paintEvent(), and TGo4QRootCanvas::TGo4QRootCanvas().

bool TQRootCanvas::NeedsResize   [inline, slot]
 

Definition at line 148 of file tqrootcanvas.h.

References needResize.

void TQRootCanvas::SetNeedsResize bool    yes [inline, slot]
 

Definition at line 149 of file tqrootcanvas.h.

References needResize.

bool TQRootCanvas::eventFilter QObject *   ,
QEvent *   
[protected, virtual]
 

Reimplemented in TGo4QRootCanvas.

Definition at line 305 of file tqrootcanvas.cpp.

References fCanvas, and isCanvasOwned.

void TQRootCanvas::mousePressEvent QMouseEvent *    e [protected, virtual]
 

Reimplemented in TGo4QRootCanvas.

Definition at line 170 of file tqrootcanvas.cpp.

References fCanvas, fContextMenu, TQCanvasMenu::popup(), and SelectedPadChanged().

Referenced by TGo4QRootCanvas::mousePressEvent().

void TQRootCanvas::mouseReleaseEvent QMouseEvent *    e [protected, virtual]
 

Definition at line 222 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::resizeEvent QResizeEvent *    e [protected, virtual]
 

Reimplemented in TGo4QRootCanvas.

Definition at line 266 of file tqrootcanvas.cpp.

References needResize.

void TQRootCanvas::paintEvent QPaintEvent *    e [protected, virtual]
 

Reimplemented in TGo4QRootCanvas.

Definition at line 280 of file tqrootcanvas.cpp.

References fCanvas, needResize, and p.

void TQRootCanvas::mouseDoubleClickEvent QMouseEvent *    e [protected, virtual]
 

Reimplemented in TGo4QRootCanvas.

Definition at line 245 of file tqrootcanvas.cpp.

References fCanvas.

Referenced by TGo4QRootCanvas::mouseDoubleClickEvent().

void TQRootCanvas::mouseMoveEvent QMouseEvent *    e [protected, virtual]
 

Reimplemented in TGo4QRootCanvas.

Definition at line 158 of file tqrootcanvas.cpp.

References fCanvas.

Referenced by TGo4QRootCanvas::mouseMoveEvent().

void TQRootCanvas::leaveEvent QEvent *    e [protected, virtual]
 

Definition at line 298 of file tqrootcanvas.cpp.

References fCanvas.

void TQRootCanvas::closeEvent QCloseEvent *    e [protected, virtual]
 

Definition at line 684 of file tqrootcanvas.cpp.

References fCanvas.


Member Data Documentation

TQCanvasMenu* TQRootCanvas::fContextMenu [protected]
 

Definition at line 164 of file tqrootcanvas.h.

Referenced by mousePressEvent(), TQRootCanvas(), and ~TQRootCanvas().

TCanvas* TQRootCanvas::fCanvas [protected]
 

Definition at line 165 of file tqrootcanvas.h.

Referenced by Browse(), cd(), Clear(), Close(), closeEvent(), Draw(), DrawClone(), DrawClonePad(), dropEvent(), EditorBar(), EnterLeave(), eventFilter(), TGo4QRootCanvas::eventFilter(), FeedbackMode(), Flush(), ForceUpdate(), GetAutoExec(), getCanvas(), TGo4QRootCanvas::GetCanvas(), GetCanvasID(), GetCanvasPar(), GetContextMenu(), GetDISPLAY(), GetDoubleBuffer(), GetEvent(), GetEventX(), GetEventY(), GetHighLightColor(), GetPadSave(), GetSelected(), GetSelectedOpt(), GetSelectedPad(), GetShowEventStatus(), GetWh(), GetWindowHeight(), GetWindowTopX(), GetWindowTopY(), GetWindowWidth(), GetWw(), GetXsizeReal(), GetXsizeUser(), GetYsizeReal(), GetYsizeUser(), HandleInput(), HasMenuBar(), Iconify(), IsBatch(), IsRetained(), leaveEvent(), ls(), mouseDoubleClickEvent(), mouseMoveEvent(), TGo4QRootCanvas::mouseMoveEvent(), mousePressEvent(), TGo4QRootCanvas::mousePressEvent(), mouseReleaseEvent(), MoveOpaque(), OpaqueMoving(), OpaqueResizing(), Paint(), paintEvent(), Pick(), Resize(), ResizeOpaque(), SaveSource(), SetBatch(), SetCanvasSize(), SetCursor(), SetDoubleBuffer(), SetHighLightColor(), SetRetained(), SetSelected(), SetSelectedPad(), SetTitle(), SetWindowPosition(), SetWindowSize(), Show(), Size(), ToggleAutoExec(), ToggleEventStatus(), TQRootCanvas(), Update(), UseCurrentStyle(), and ~TQRootCanvas().

Int_t TQRootCanvas::wid [protected]
 

Definition at line 166 of file tqrootcanvas.h.

Referenced by getRootWid(), and TQRootCanvas().

bool TQRootCanvas::needResize [protected]
 

Definition at line 167 of file tqrootcanvas.h.

Referenced by TGo4QRootCanvas::eventFilter(), NeedsResize(), paintEvent(), resizeEvent(), TGo4QRootCanvas::resizeEvent(), and SetNeedsResize().

bool TQRootCanvas::isCanvasOwned [protected]
 

Definition at line 168 of file tqrootcanvas.h.

Referenced by eventFilter(), TGo4QRootCanvas::eventFilter(), getCanvasOwner(), TQRootCanvas(), and ~TQRootCanvas().

QWidget* TQRootCanvas::fParent [protected]
 

Definition at line 169 of file tqrootcanvas.h.

Referenced by getParent(), and TQRootCanvas().

QWidget * TQRootCanvas::fTabWin [protected]
 

Definition at line 169 of file tqrootcanvas.h.

Referenced by getTabWin(), and TQRootCanvas().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:59 2005 for Go4-v2.10-5 by doxygen1.2.15