ROOT  6.06/09
Reference Guide
Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
TQRootCanvas Class Reference

Definition at line 59 of file TQRootCanvas.h.

Public Slots

void cd (Int_t subpadnumber=0)
 Just a wrapper. More...
 
virtual void Browse (TBrowser *b)
 Just a wrapper. More...
 
void Clear (Option_t *option="")
 Just a wrapper. More...
 
void Close (Option_t *option="")
 Just a wrapper. More...
 
virtual void Draw (Option_t *option="")
 Just a wrapper. More...
 
virtual TObjectDrawClone (Option_t *option="")
 Just a wrapper. More...
 
virtual TObjectDrawClonePad ()
 Just a wrapper. More...
 
virtual void EditorBar ()
 Just a wrapper. More...
 
void EnterLeave (TPad *prevSelPad, TObject *prevSelObj)
 just a wrapper More...
 
void FeedbackMode (Bool_t set)
 just a wrapper More...
 
void Flush ()
 just a wrapper More...
 
void UseCurrentStyle ()
 just a wrapper More...
 
void ForceUpdate ()
 just a wrapper More...
 
const char * GetDISPLAY ()
 just a wrapper More...
 
TContextMenuGetContextMenu ()
 just a wrapper More...
 
Int_t GetDoubleBuffer ()
 just a wrapper More...
 
Int_t GetEvent ()
 just a wrapper More...
 
Int_t GetEventX ()
 just a wrapper More...
 
Int_t GetEventY ()
 just a wrapper More...
 
Color_t GetHighLightColor ()
 just a wrapper More...
 
TVirtualPadGetPadSave ()
 just a wrapper More...
 
TObjectGetSelected ()
 just a wrapper More...
 
Option_tGetSelectedOpt ()
 just a wrapper More...
 
TVirtualPadGetSelectedPad ()
 just a wrapper More...
 
Bool_t GetShowEventStatus ()
 just a wrapper More...
 
Bool_t GetAutoExec ()
 just a wrapper More...
 
Size_t GetXsizeUser ()
 just a wrapper More...
 
Size_t GetYsizeUser ()
 just a wrapper More...
 
Size_t GetXsizeReal ()
 just a wrapper More...
 
Size_t GetYsizeReal ()
 just a wrapper More...
 
Int_t GetCanvasID ()
 just a wrapper More...
 
Int_t GetWindowTopX ()
 just a wrapper More...
 
Int_t GetWindowTopY ()
 just a wrapper More...
 
UInt_t GetWindowWidth ()
 just a wrapper More...
 
UInt_t GetWindowHeight ()
 just a wrapper More...
 
UInt_t GetWw ()
 just a wrapper More...
 
UInt_t GetWh ()
 just a wrapper More...
 
virtual void GetCanvasPar (Int_t &wtopx, Int_t &wtopy, UInt_t &ww, UInt_t &wh)
 just a wrapper More...
 
virtual void HandleInput (EEventType button, Int_t x, Int_t y)
 just a wrapper More...
 
Bool_t HasMenuBar ()
 just a wrapper More...
 
void Iconify ()
 just a wrapper More...
 
Bool_t IsBatch ()
 just a wrapper More...
 
Bool_t IsRetained ()
 just a wrapper More...
 
virtual void ls (Option_t *option="")
 just a wrapper More...
 
void MoveOpaque (Int_t set=1)
 just a wrapper More...
 
Bool_t OpaqueMoving ()
 just a wrapper More...
 
Bool_t OpaqueResizing ()
 just a wrapper More...
 
virtual void Paint (Option_t *option="")
 just a wrapper More...
 
virtual TPadPick (Int_t px, Int_t py, TObjLink *&pickobj)
 just a wrapper More...
 
virtual TPadPick (Int_t px, Int_t py, TObject *prevSelObj)
 just a wrapper More...
 
virtual void Resize (Option_t *option="")
 just a wrapper More...
 
void ResizeOpaque (Int_t set=1)
 just a wrapper More...
 
void SaveSource (const char *filename="", Option_t *option="")
 just a wrapper More...
 
virtual void SetCursor (ECursor cursor)
 just a wrapper More...
 
virtual void SetDoubleBuffer (Int_t mode=1)
 just a wrapper More...
 
void SetWindowPosition (Int_t x, Int_t y)
 just a wrapper More...
 
void SetWindowSize (UInt_t ww, UInt_t wh)
 just a wrapper More...
 
void SetCanvasSize (UInt_t ww, UInt_t wh)
 just a wrapper More...
 
void SetHighLightColor (Color_t col)
 just a wrapper More...
 
void SetSelected (TObject *obj)
 just a wrapper More...
 
void SetSelectedPad (TPad *pad)
 just a wrapper More...
 
void Show ()
 just a wrapper More...
 
virtual void Size (Float_t xsizeuser=0, Float_t ysizeuser=0)
 just a wrapper More...
 
void SetBatch (Bool_t batch=kTRUE)
 just a wrapper More...
 
void SetRetained (Bool_t retained=kTRUE)
 just a wrapper More...
 
void SetTitle (const char *title="")
 just a wrapper More...
 
virtual void ToggleEventStatus ()
 just a wrapper More...
 
virtual void ToggleAutoExec ()
 just a wrapper More...
 
virtual void Update ()
 just a wrapper More...
 
Bool_t NeedsResize ()
 
void SetNeedsResize (Bool_t yes)
 

Signals

void SelectedPadChanged (TPad *)
 

Public Member Functions

 TQRootCanvas (QWidget *parent=0, const char *name=0, TCanvas *c=0)
 
 TQRootCanvas (QWidget *parent, QWidget *tabWin, const char *name=0, TCanvas *c=0)
 set defaults More...
 
virtual ~TQRootCanvas ()
 dtor More...
 
TCanvasGetCanvas ()
 
Int_t GetRootWid ()
 
Bool_t GetCanvasOwner ()
 
QWidget * GetParent ()
 
QWidget * GetTabWin ()
 
virtual void dropEvent (QDropEvent *Event)
 Start a drop, for now only histogram objects can be drwon by droping. More...
 
virtual void dragEnterEvent (QDragEnterEvent *e)
 Entering a drag event. More...
 

Protected Member Functions

virtual bool eventFilter (QObject *, QEvent *)
 Filtering of QWidget Events for ressource management. More...
 
virtual void mousePressEvent (QMouseEvent *e)
 Handle mouse button press event. More...
 
virtual void mouseReleaseEvent (QMouseEvent *e)
 Handle mouse button release event. More...
 
virtual void resizeEvent (QResizeEvent *e)
 Call QWidget resize and inform the ROOT Canvas. More...
 
virtual void paintEvent (QPaintEvent *e)
 Handle paint event of Qt. More...
 
virtual void mouseDoubleClickEvent (QMouseEvent *e)
 Handle mouse double click event. More...
 
virtual void mouseMoveEvent (QMouseEvent *e)
 Handle mouse move event. More...
 
virtual void leaveEvent (QEvent *e)
 Handle leave event. More...
 
virtual void closeEvent (QCloseEvent *e)
 Close. More...
 

Protected Attributes

TQCanvasMenufContextMenu
 
TCanvasfCanvas
 
Int_t fWid
 
Bool_t fNeedResize
 
Bool_t fIsCanvasOwned
 
QWidget * fParent
 
QWidget * fTabWin
 

Private Member Functions

 TQRootCanvas (const TQRootCanvas &)
 
TQRootCanvasoperator= (const TQRootCanvas &)
 

#include <TQRootCanvas.h>

+ Inheritance diagram for TQRootCanvas:
+ Collaboration diagram for TQRootCanvas:

Constructor & Destructor Documentation

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

set defaults

Definition at line 78 of file TQRootCanvas.cxx.

TQRootCanvas::~TQRootCanvas ( )
virtual

dtor

Definition at line 907 of file TQRootCanvas.cxx.

Member Function Documentation

void TQRootCanvas::Browse ( TBrowser b)
virtualslot

Just a wrapper.

Definition at line 350 of file TQRootCanvas.cxx.

void TQRootCanvas::cd ( Int_t  subpadnumber = 0)
slot

Just a wrapper.

Definition at line 342 of file TQRootCanvas.cxx.

void TQRootCanvas::Clear ( Option_t option = "")
slot

Just a wrapper.

Definition at line 358 of file TQRootCanvas.cxx.

void TQRootCanvas::Close ( Option_t option = "")
slot

Just a wrapper.

Definition at line 366 of file TQRootCanvas.cxx.

void TQRootCanvas::closeEvent ( QCloseEvent *  e)
protectedvirtual

Close.

Definition at line 894 of file TQRootCanvas.cxx.

void TQRootCanvas::dragEnterEvent ( QDragEnterEvent *  e)
virtual

Entering a drag event.

Definition at line 302 of file TQRootCanvas.cxx.

void TQRootCanvas::Draw ( Option_t option = "")
virtualslot

Just a wrapper.

Definition at line 374 of file TQRootCanvas.cxx.

TObject * TQRootCanvas::DrawClone ( Option_t option = "")
virtualslot

Just a wrapper.

Definition at line 382 of file TQRootCanvas.cxx.

TObject * TQRootCanvas::DrawClonePad ( )
virtualslot

Just a wrapper.

Definition at line 390 of file TQRootCanvas.cxx.

void TQRootCanvas::dropEvent ( QDropEvent *  Event)
virtual

Start a drop, for now only histogram objects can be drwon by droping.

Definition at line 311 of file TQRootCanvas.cxx.

void TQRootCanvas::EditorBar ( )
virtualslot

Just a wrapper.

Definition at line 398 of file TQRootCanvas.cxx.

void TQRootCanvas::EnterLeave ( TPad prevSelPad,
TObject prevSelObj 
)
slot

just a wrapper

Definition at line 406 of file TQRootCanvas.cxx.

Bool_t TQRootCanvas::eventFilter ( QObject *  o,
QEvent *  e 
)
protectedvirtual

Filtering of QWidget Events for ressource management.

Definition at line 270 of file TQRootCanvas.cxx.

void TQRootCanvas::FeedbackMode ( Bool_t  set)
slot

just a wrapper

Definition at line 414 of file TQRootCanvas.cxx.

void TQRootCanvas::Flush ( )
slot

just a wrapper

Definition at line 422 of file TQRootCanvas.cxx.

void TQRootCanvas::ForceUpdate ( )
slot

just a wrapper

Definition at line 438 of file TQRootCanvas.cxx.

Bool_t TQRootCanvas::GetAutoExec ( )
slot

just a wrapper

Definition at line 542 of file TQRootCanvas.cxx.

TCanvas* TQRootCanvas::GetCanvas ( )
inline
Int_t TQRootCanvas::GetCanvasID ( )
slot

just a wrapper

Definition at line 582 of file TQRootCanvas.cxx.

Bool_t TQRootCanvas::GetCanvasOwner ( )
inline

Definition at line 75 of file TQRootCanvas.h.

void TQRootCanvas::GetCanvasPar ( Int_t wtopx,
Int_t wtopy,
UInt_t ww,
UInt_t wh 
)
virtualslot

just a wrapper

Definition at line 638 of file TQRootCanvas.cxx.

TContextMenu * TQRootCanvas::GetContextMenu ( )
slot

just a wrapper

Definition at line 454 of file TQRootCanvas.cxx.

const char * TQRootCanvas::GetDISPLAY ( )
slot

just a wrapper

Definition at line 446 of file TQRootCanvas.cxx.

Int_t TQRootCanvas::GetDoubleBuffer ( )
slot

just a wrapper

Definition at line 462 of file TQRootCanvas.cxx.

Int_t TQRootCanvas::GetEvent ( )
slot

just a wrapper

Definition at line 470 of file TQRootCanvas.cxx.

Int_t TQRootCanvas::GetEventX ( )
slot

just a wrapper

Definition at line 478 of file TQRootCanvas.cxx.

Int_t TQRootCanvas::GetEventY ( )
slot

just a wrapper

Definition at line 486 of file TQRootCanvas.cxx.

Color_t TQRootCanvas::GetHighLightColor ( )
slot

just a wrapper

Definition at line 494 of file TQRootCanvas.cxx.

TVirtualPad * TQRootCanvas::GetPadSave ( )
slot

just a wrapper

Definition at line 502 of file TQRootCanvas.cxx.

QWidget* TQRootCanvas::GetParent ( )
inline

Definition at line 76 of file TQRootCanvas.h.

Int_t TQRootCanvas::GetRootWid ( )
inline

Definition at line 74 of file TQRootCanvas.h.

TObject * TQRootCanvas::GetSelected ( )
slot

just a wrapper

Definition at line 510 of file TQRootCanvas.cxx.

Option_t * TQRootCanvas::GetSelectedOpt ( )
slot

just a wrapper

Definition at line 518 of file TQRootCanvas.cxx.

TVirtualPad * TQRootCanvas::GetSelectedPad ( )
slot

just a wrapper

Definition at line 526 of file TQRootCanvas.cxx.

Bool_t TQRootCanvas::GetShowEventStatus ( )
slot

just a wrapper

Definition at line 534 of file TQRootCanvas.cxx.

QWidget* TQRootCanvas::GetTabWin ( )
inline

Definition at line 77 of file TQRootCanvas.h.

UInt_t TQRootCanvas::GetWh ( )
slot

just a wrapper

Definition at line 630 of file TQRootCanvas.cxx.

UInt_t TQRootCanvas::GetWindowHeight ( )
slot

just a wrapper

Definition at line 614 of file TQRootCanvas.cxx.

Int_t TQRootCanvas::GetWindowTopX ( )
slot

just a wrapper

Definition at line 590 of file TQRootCanvas.cxx.

Int_t TQRootCanvas::GetWindowTopY ( )
slot

just a wrapper

Definition at line 598 of file TQRootCanvas.cxx.

UInt_t TQRootCanvas::GetWindowWidth ( )
slot

just a wrapper

Definition at line 606 of file TQRootCanvas.cxx.

UInt_t TQRootCanvas::GetWw ( )
slot

just a wrapper

Definition at line 622 of file TQRootCanvas.cxx.

Size_t TQRootCanvas::GetXsizeReal ( )
slot

just a wrapper

Definition at line 566 of file TQRootCanvas.cxx.

Size_t TQRootCanvas::GetXsizeUser ( )
slot

just a wrapper

Definition at line 550 of file TQRootCanvas.cxx.

Size_t TQRootCanvas::GetYsizeReal ( )
slot

just a wrapper

Definition at line 574 of file TQRootCanvas.cxx.

Size_t TQRootCanvas::GetYsizeUser ( )
slot

just a wrapper

Definition at line 558 of file TQRootCanvas.cxx.

void TQRootCanvas::HandleInput ( EEventType  button,
Int_t  x,
Int_t  y 
)
virtualslot

just a wrapper

Definition at line 646 of file TQRootCanvas.cxx.

Bool_t TQRootCanvas::HasMenuBar ( )
slot

just a wrapper

Definition at line 654 of file TQRootCanvas.cxx.

void TQRootCanvas::Iconify ( )
slot

just a wrapper

Definition at line 662 of file TQRootCanvas.cxx.

Bool_t TQRootCanvas::IsBatch ( )
slot

just a wrapper

Definition at line 670 of file TQRootCanvas.cxx.

Bool_t TQRootCanvas::IsRetained ( )
slot

just a wrapper

Definition at line 678 of file TQRootCanvas.cxx.

void TQRootCanvas::leaveEvent ( QEvent *  e)
protectedvirtual

Handle leave event.

Definition at line 261 of file TQRootCanvas.cxx.

void TQRootCanvas::ls ( Option_t option = "")
virtualslot

just a wrapper

Definition at line 686 of file TQRootCanvas.cxx.

void TQRootCanvas::mouseDoubleClickEvent ( QMouseEvent *  e)
protectedvirtual

Handle mouse double click event.

Definition at line 213 of file TQRootCanvas.cxx.

void TQRootCanvas::mouseMoveEvent ( QMouseEvent *  e)
protectedvirtual

Handle mouse move event.

Definition at line 121 of file TQRootCanvas.cxx.

void TQRootCanvas::mousePressEvent ( QMouseEvent *  e)
protectedvirtual

Handle mouse button press event.

Definition at line 136 of file TQRootCanvas.cxx.

void TQRootCanvas::mouseReleaseEvent ( QMouseEvent *  e)
protectedvirtual

Handle mouse button release event.

Definition at line 190 of file TQRootCanvas.cxx.

void TQRootCanvas::MoveOpaque ( Int_t  set = 1)
slot

just a wrapper

Definition at line 694 of file TQRootCanvas.cxx.

Bool_t TQRootCanvas::NeedsResize ( )
inlineslot

Definition at line 156 of file TQRootCanvas.h.

Bool_t TQRootCanvas::OpaqueMoving ( )
slot

just a wrapper

Definition at line 702 of file TQRootCanvas.cxx.

Bool_t TQRootCanvas::OpaqueResizing ( )
slot

just a wrapper

Definition at line 710 of file TQRootCanvas.cxx.

TQRootCanvas& TQRootCanvas::operator= ( const TQRootCanvas )
private
void TQRootCanvas::Paint ( Option_t option = "")
virtualslot

just a wrapper

Definition at line 718 of file TQRootCanvas.cxx.

void TQRootCanvas::paintEvent ( QPaintEvent *  e)
protectedvirtual

Handle paint event of Qt.

Definition at line 244 of file TQRootCanvas.cxx.

TPad * TQRootCanvas::Pick ( Int_t  px,
Int_t  py,
TObjLink *&  pickobj 
)
virtualslot

just a wrapper

Definition at line 726 of file TQRootCanvas.cxx.

TPad * TQRootCanvas::Pick ( Int_t  px,
Int_t  py,
TObject prevSelObj 
)
virtualslot

just a wrapper

Definition at line 734 of file TQRootCanvas.cxx.

void TQRootCanvas::Resize ( Option_t option = "")
virtualslot

just a wrapper

Definition at line 742 of file TQRootCanvas.cxx.

void TQRootCanvas::resizeEvent ( QResizeEvent *  e)
protectedvirtual

Call QWidget resize and inform the ROOT Canvas.

Definition at line 235 of file TQRootCanvas.cxx.

void TQRootCanvas::ResizeOpaque ( Int_t  set = 1)
slot

just a wrapper

Definition at line 750 of file TQRootCanvas.cxx.

void TQRootCanvas::SaveSource ( const char *  filename = "",
Option_t option = "" 
)
slot

just a wrapper

Definition at line 758 of file TQRootCanvas.cxx.

void TQRootCanvas::SelectedPadChanged ( TPad )
signal

Referenced by mousePressEvent().

void TQRootCanvas::SetBatch ( Bool_t  batch = kTRUE)
slot

just a wrapper

Definition at line 846 of file TQRootCanvas.cxx.

void TQRootCanvas::SetCanvasSize ( UInt_t  ww,
UInt_t  wh 
)
slot

just a wrapper

Definition at line 798 of file TQRootCanvas.cxx.

void TQRootCanvas::SetCursor ( ECursor  cursor)
virtualslot

just a wrapper

Definition at line 766 of file TQRootCanvas.cxx.

void TQRootCanvas::SetDoubleBuffer ( Int_t  mode = 1)
virtualslot

just a wrapper

Definition at line 774 of file TQRootCanvas.cxx.

void TQRootCanvas::SetHighLightColor ( Color_t  col)
slot

just a wrapper

Definition at line 806 of file TQRootCanvas.cxx.

void TQRootCanvas::SetNeedsResize ( Bool_t  yes)
inlineslot

Definition at line 157 of file TQRootCanvas.h.

void TQRootCanvas::SetRetained ( Bool_t  retained = kTRUE)
slot

just a wrapper

Definition at line 854 of file TQRootCanvas.cxx.

void TQRootCanvas::SetSelected ( TObject obj)
slot

just a wrapper

Definition at line 814 of file TQRootCanvas.cxx.

void TQRootCanvas::SetSelectedPad ( TPad pad)
slot

just a wrapper

Definition at line 822 of file TQRootCanvas.cxx.

void TQRootCanvas::SetTitle ( const char *  title = "")
slot

just a wrapper

Definition at line 862 of file TQRootCanvas.cxx.

void TQRootCanvas::SetWindowPosition ( Int_t  x,
Int_t  y 
)
slot

just a wrapper

Definition at line 782 of file TQRootCanvas.cxx.

void TQRootCanvas::SetWindowSize ( UInt_t  ww,
UInt_t  wh 
)
slot

just a wrapper

Definition at line 790 of file TQRootCanvas.cxx.

void TQRootCanvas::Show ( )
slot

just a wrapper

Definition at line 830 of file TQRootCanvas.cxx.

void TQRootCanvas::Size ( Float_t  xsizeuser = 0,
Float_t  ysizeuser = 0 
)
virtualslot

just a wrapper

Definition at line 838 of file TQRootCanvas.cxx.

void TQRootCanvas::ToggleAutoExec ( )
virtualslot

just a wrapper

Definition at line 878 of file TQRootCanvas.cxx.

void TQRootCanvas::ToggleEventStatus ( )
virtualslot

just a wrapper

Definition at line 870 of file TQRootCanvas.cxx.

void TQRootCanvas::Update ( )
virtualslot

just a wrapper

Definition at line 886 of file TQRootCanvas.cxx.

void TQRootCanvas::UseCurrentStyle ( )
slot

just a wrapper

Definition at line 430 of file TQRootCanvas.cxx.

Member Data Documentation

TCanvas* TQRootCanvas::fCanvas
protected
TQCanvasMenu* TQRootCanvas::fContextMenu
protected

Definition at line 170 of file TQRootCanvas.h.

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

Bool_t TQRootCanvas::fIsCanvasOwned
protected

Definition at line 174 of file TQRootCanvas.h.

Referenced by closeEvent(), eventFilter(), GetCanvasOwner(), TQRootCanvas(), and ~TQRootCanvas().

Bool_t TQRootCanvas::fNeedResize
protected

Definition at line 173 of file TQRootCanvas.h.

Referenced by NeedsResize(), paintEvent(), resizeEvent(), and SetNeedsResize().

QWidget* TQRootCanvas::fParent
protected

Definition at line 175 of file TQRootCanvas.h.

Referenced by GetParent(), and TQRootCanvas().

QWidget * TQRootCanvas::fTabWin
protected

Definition at line 175 of file TQRootCanvas.h.

Referenced by GetTabWin(), and TQRootCanvas().

Int_t TQRootCanvas::fWid
protected

Definition at line 172 of file TQRootCanvas.h.

Referenced by GetRootWid(), and TQRootCanvas().


The documentation for this class was generated from the following files: