GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Attributes | List of all members
QRootCanvas Class Reference

Graphic Qt Widget based Canvas. More...

#include <QRootCanvas.h>

+ Inheritance diagram for QRootCanvas:

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 ()
 
Int_t GetEvent ()
 
Int_t GetEventX ()
 
Int_t GetEventY ()
 
Color_t GetHighLightColor ()
 
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 Modified (Bool_t=1)
 
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 ()
 
void buildEditorWindow ()
 
void executeMenu (int id)
 
void processRepaintTimer ()
 

Signals

void SelectedPadChanged (TPad *)
 
void PadClicked (TPad *)
 
void PadDoubleClicked (TPad *)
 
void MenuCommandExecuted (TObject *, const char *)
 
void CanvasStatusEvent (const char *)
 
void CanvasDropEvent (QDropEvent *, TPad *)
 
void CanvasLeaveEvent ()
 
void CanvasUpdated ()
 

Public Member Functions

 QRootCanvas (QWidget *parent=0)
 
virtual ~QRootCanvas ()
 
TCanvas * getCanvas ()
 
int getRootWid ()
 
void setMaskDoubleClick (bool on=true)
 
bool showEventStatus () const
 
void setShowEventStatus (bool s)
 
void setEditorFrame (QFrame *fr)
 
bool isEditorAllowed ()
 
bool isEditorVisible ()
 
void toggleEditor ()
 
void resizeEditor ()
 
void activateEditor (TPad *pad, TObject *obj)
 
void cleanupEditor ()
 
void setStatusBar (QStatusBar *bar)
 
void showStatusMessage (const char *msg)
 
void setStatusBarVisible (bool flag)
 
bool isStatusBarVisible ()
 

Protected Member Functions

virtual void dropEvent (QDropEvent *Event)
 
virtual void dragEnterEvent (QDragEnterEvent *e)
 
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 wheelEvent (QWheelEvent *e)
 
virtual void leaveEvent (QEvent *e)
 
virtual void closeEvent (QCloseEvent *e)
 
double scaledPosition (int p)
 
QPoint scaledMousePoint (QMouseEvent *ev)
 
virtual QPaintEngine * paintEngine () const
 
void methodDialog (TObject *object, TMethod *method)
 
QAction * addMenuAction (QMenu *menu, QSignalMapper *map, const QString &text, int id)
 
void activateRepaint (int act)
 

Protected Attributes

TCanvas * fCanvas
 
Int_t fRootWindowId
 
WId fQtWindowId
 
QTimer * fRepaintTimer
 
int fRepaintMode
 
QFrame * fEditorFrame
 
TVirtualPadEditor * fxPeditor
 
QRootWindowfxRooteditor
 
TH1 * fDummyHisto
 
QStatusBar * fStatusBar
 

Private Types

enum  { act_Update = 1, act_Resize = 2 }
 

Private Attributes

bool fMaskDoubleClick
 
double fMousePosX
 
double fMousePosY
 
TObject * fMenuObj
 
TList * fMenuMethods
 
bool fxShowEventStatus
 
double fQtScalingfactor
 

Detailed Description

Graphic Qt Widget based Canvas.

This canvas uses Qt eventloop to handle user input

Authors
Denis Bertini <d.bertini(at)gsi.de>
Version
2.0

Definition at line 57 of file QRootCanvas.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
act_Update 
act_Resize 

Definition at line 61 of file QRootCanvas.h.

Constructor & Destructor Documentation

QRootCanvas::QRootCanvas ( QWidget *  parent = 0)
QRootCanvas::~QRootCanvas ( )
virtual

Definition at line 123 of file QRootCanvas.cpp.

References fCanvas, fDummyHisto, fMenuMethods, fRepaintTimer, fxPeditor, and getCanvas().

Member Function Documentation

void QRootCanvas::activateEditor ( TPad *  pad,
TObject *  obj 
)

Definition at line 1245 of file QRootCanvas.cpp.

References fxPeditor, getCanvas(), and isEditorVisible().

Referenced by TGo4ViewPanel::ActivateInGedEditor().

void QRootCanvas::activateRepaint ( int  act)
protected

Definition at line 428 of file QRootCanvas.cpp.

References fRepaintMode, and fRepaintTimer.

Referenced by paintEvent(), resizeEvent(), and Update().

QAction * QRootCanvas::addMenuAction ( QMenu *  menu,
QSignalMapper *  map,
const QString &  text,
int  id 
)
protected

Definition at line 1053 of file QRootCanvas.cpp.

References QRootApplication::IsRootCanvasMenuEnabled().

Referenced by mousePressEvent().

void QRootCanvas::Browse ( TBrowser *  b)
virtualslot

Definition at line 539 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::buildEditorWindow ( )
slot

Definition at line 1295 of file QRootCanvas.cpp.

References fEditorFrame, and fxRooteditor.

Referenced by TGo4ViewPanel::CompleteInitialization().

void QRootCanvas::CanvasDropEvent ( QDropEvent *  ,
TPad *   
)
signal

Referenced by dropEvent().

void QRootCanvas::CanvasLeaveEvent ( )
signal

Referenced by leaveEvent().

void QRootCanvas::CanvasStatusEvent ( const char *  )
signal

Referenced by mouseMoveEvent().

void QRootCanvas::CanvasUpdated ( )
signal

Referenced by processRepaintTimer().

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

Definition at line 534 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::cleanupEditor ( )

Definition at line 1256 of file QRootCanvas.cpp.

References fDummyHisto, fxPeditor, and getCanvas().

Referenced by TGo4ViewPanel::CleanupGedEditor().

void QRootCanvas::Clear ( Option_t *  option = "")
slot

Definition at line 544 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::Close ( Option_t *  option = "")
slot

Definition at line 549 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::closeEvent ( QCloseEvent *  e)
protectedvirtual

Definition at line 885 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::dragEnterEvent ( QDragEnterEvent *  e)
protectedvirtual

Definition at line 510 of file QRootCanvas.cpp.

void QRootCanvas::Draw ( Option_t *  option = "")
virtualslot

Definition at line 554 of file QRootCanvas.cpp.

References fCanvas.

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

Definition at line 559 of file QRootCanvas.cpp.

References fCanvas.

TObject * QRootCanvas::DrawClonePad ( )
virtualslot

Definition at line 564 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::dropEvent ( QDropEvent *  Event)
protectedvirtual

Definition at line 516 of file QRootCanvas.cpp.

References CanvasDropEvent(), Pick(), and scaledPosition().

void QRootCanvas::EditorBar ( )
virtualslot

Definition at line 569 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::EnterLeave ( TPad *  prevSelPad,
TObject *  prevSelObj 
)
slot

Definition at line 574 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::executeMenu ( int  id)
slot

test: do this in any case!

Definition at line 1077 of file QRootCanvas.cpp.

References fCanvas, fMenuMethods, fMenuObj, fMousePosX, fMousePosY, MenuCommandExecuted(), and methodDialog().

Referenced by mousePressEvent().

void QRootCanvas::FeedbackMode ( Bool_t  set)
slot

Definition at line 579 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::Flush ( )
slot

Definition at line 584 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::ForceUpdate ( )
slot

Definition at line 594 of file QRootCanvas.cpp.

References fCanvas.

Bool_t QRootCanvas::GetAutoExec ( )
slot

Definition at line 659 of file QRootCanvas.cpp.

References fCanvas.

TCanvas* QRootCanvas::getCanvas ( )
inline
Int_t QRootCanvas::GetCanvasID ( )
slot

Definition at line 684 of file QRootCanvas.cpp.

References fCanvas.

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

Definition at line 719 of file QRootCanvas.cpp.

References fCanvas.

TContextMenu * QRootCanvas::GetContextMenu ( )
slot

Definition at line 604 of file QRootCanvas.cpp.

References fCanvas.

const char * QRootCanvas::GetDISPLAY ( )
slot

Definition at line 599 of file QRootCanvas.cpp.

References fCanvas.

Int_t QRootCanvas::GetDoubleBuffer ( )
slot

Definition at line 609 of file QRootCanvas.cpp.

References fCanvas.

Int_t QRootCanvas::GetEvent ( )
slot

Definition at line 614 of file QRootCanvas.cpp.

References fCanvas.

Int_t QRootCanvas::GetEventX ( )
slot

Definition at line 619 of file QRootCanvas.cpp.

References fCanvas.

Int_t QRootCanvas::GetEventY ( )
slot

Definition at line 624 of file QRootCanvas.cpp.

References fCanvas.

Color_t QRootCanvas::GetHighLightColor ( )
slot

Definition at line 629 of file QRootCanvas.cpp.

References fCanvas.

TVirtualPad * QRootCanvas::GetPadSave ( )
slot

Definition at line 634 of file QRootCanvas.cpp.

References fCanvas.

int QRootCanvas::getRootWid ( )
inline

Definition at line 68 of file QRootCanvas.h.

TObject * QRootCanvas::GetSelected ( )
slot

Definition at line 639 of file QRootCanvas.cpp.

References fCanvas.

Option_t * QRootCanvas::GetSelectedOpt ( )
slot

Definition at line 644 of file QRootCanvas.cpp.

References fCanvas.

TVirtualPad * QRootCanvas::GetSelectedPad ( )
slot

Definition at line 649 of file QRootCanvas.cpp.

References fCanvas.

Bool_t QRootCanvas::GetShowEventStatus ( )
slot

Definition at line 654 of file QRootCanvas.cpp.

References fCanvas.

UInt_t QRootCanvas::GetWh ( )
slot

Definition at line 714 of file QRootCanvas.cpp.

References fCanvas.

UInt_t QRootCanvas::GetWindowHeight ( )
slot

Definition at line 704 of file QRootCanvas.cpp.

References fCanvas.

Int_t QRootCanvas::GetWindowTopX ( )
slot

Definition at line 689 of file QRootCanvas.cpp.

References fCanvas.

Int_t QRootCanvas::GetWindowTopY ( )
slot

Definition at line 694 of file QRootCanvas.cpp.

References fCanvas.

UInt_t QRootCanvas::GetWindowWidth ( )
slot

Definition at line 699 of file QRootCanvas.cpp.

References fCanvas.

UInt_t QRootCanvas::GetWw ( )
slot

Definition at line 709 of file QRootCanvas.cpp.

References fCanvas.

Size_t QRootCanvas::GetXsizeReal ( )
slot

Definition at line 674 of file QRootCanvas.cpp.

References fCanvas.

Size_t QRootCanvas::GetXsizeUser ( )
slot

Definition at line 664 of file QRootCanvas.cpp.

References fCanvas.

Size_t QRootCanvas::GetYsizeReal ( )
slot

Definition at line 679 of file QRootCanvas.cpp.

References fCanvas.

Size_t QRootCanvas::GetYsizeUser ( )
slot

Definition at line 669 of file QRootCanvas.cpp.

References fCanvas.

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

Definition at line 724 of file QRootCanvas.cpp.

References fCanvas, and scaledPosition().

Referenced by TGo4ViewPanel::RedrawPanel().

Bool_t QRootCanvas::HasMenuBar ( )
slot

Definition at line 729 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::Iconify ( )
slot

Definition at line 734 of file QRootCanvas.cpp.

References fCanvas.

Bool_t QRootCanvas::IsBatch ( )
slot

Definition at line 739 of file QRootCanvas.cpp.

References fCanvas.

bool QRootCanvas::isEditorAllowed ( )
bool QRootCanvas::isEditorVisible ( )
Bool_t QRootCanvas::IsRetained ( )
slot

Definition at line 744 of file QRootCanvas.cpp.

References fCanvas.

bool QRootCanvas::isStatusBarVisible ( )

Definition at line 1280 of file QRootCanvas.cpp.

References fStatusBar.

Referenced by TGo4ViewPanel::SetPadDefaults(), and TGo4ViewPanel::ShowEventStatus().

void QRootCanvas::leaveEvent ( QEvent *  e)
protectedvirtual

Definition at line 485 of file QRootCanvas.cpp.

References CanvasLeaveEvent(), and fCanvas.

void QRootCanvas::ls ( Option_t *  option = "")
virtualslot

Definition at line 749 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::MenuCommandExecuted ( TObject *  ,
const char *   
)
signal

Referenced by executeMenu(), and methodDialog().

void QRootCanvas::methodDialog ( TObject *  object,
TMethod *  method 
)
protected

Definition at line 895 of file QRootCanvas.cpp.

References QRootDialog::addArg(), fCanvas, QRootDialog::getArg(), and MenuCommandExecuted().

Referenced by executeMenu().

void QRootCanvas::Modified ( Bool_t  mod = 1)
slot

Definition at line 754 of file QRootCanvas.cpp.

References fCanvas.

Referenced by TGo4ViewPanel::CanvasUpdate().

void QRootCanvas::mouseDoubleClickEvent ( QMouseEvent *  e)
protectedvirtual

Definition at line 395 of file QRootCanvas.cpp.

References fCanvas, fMaskDoubleClick, PadDoubleClicked(), and scaledMousePoint().

void QRootCanvas::mouseMoveEvent ( QMouseEvent *  e)
protectedvirtual
void QRootCanvas::mousePressEvent ( QMouseEvent *  e)
protectedvirtual
void QRootCanvas::mouseReleaseEvent ( QMouseEvent *  e)
protectedvirtual

Definition at line 370 of file QRootCanvas.cpp.

References fCanvas, and scaledMousePoint().

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

Definition at line 759 of file QRootCanvas.cpp.

References fCanvas.

Bool_t QRootCanvas::OpaqueMoving ( )
slot

Definition at line 764 of file QRootCanvas.cpp.

References fCanvas.

Bool_t QRootCanvas::OpaqueResizing ( )
slot

Definition at line 769 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::PadClicked ( TPad *  )
signal

signal emitted when mouse clicks on pad

Referenced by mousePressEvent().

void QRootCanvas::PadDoubleClicked ( TPad *  )
signal

signal emitted when user produce left mouse double-click on pad

Referenced by mouseDoubleClickEvent().

void QRootCanvas::Paint ( Option_t *  option = "")
virtualslot

Definition at line 774 of file QRootCanvas.cpp.

References fCanvas.

virtual QPaintEngine* QRootCanvas::paintEngine ( ) const
inlineprotectedvirtual

Definition at line 208 of file QRootCanvas.h.

void QRootCanvas::paintEvent ( QPaintEvent *  e)
protectedvirtual

Definition at line 442 of file QRootCanvas.cpp.

References act_Update, activateRepaint(), and fRepaintMode.

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

Definition at line 779 of file QRootCanvas.cpp.

References fCanvas.

Referenced by dropEvent().

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

Definition at line 784 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::processRepaintTimer ( )
slot

Definition at line 455 of file QRootCanvas.cpp.

References act_Resize, CanvasUpdated(), fCanvas, fQtWindowId, fRepaintMode, and fRootWindowId.

Referenced by QRootCanvas().

void QRootCanvas::Resize ( Option_t *  option = "")
virtualslot

Definition at line 789 of file QRootCanvas.cpp.

References fCanvas.

Referenced by TGo4ViewPanel::CompleteInitialization().

void QRootCanvas::resizeEditor ( )
void QRootCanvas::resizeEvent ( QResizeEvent *  e)
protectedvirtual

Definition at line 436 of file QRootCanvas.cpp.

References act_Resize, and activateRepaint().

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

Definition at line 794 of file QRootCanvas.cpp.

References fCanvas.

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

Definition at line 799 of file QRootCanvas.cpp.

References fCanvas.

QPoint QRootCanvas::scaledMousePoint ( QMouseEvent *  ev)
protected
double QRootCanvas::scaledPosition ( int  p)
inlineprotected

returns scaled point coordinate, for high dpi case

Definition at line 201 of file QRootCanvas.h.

Referenced by dropEvent(), HandleInput(), scaledMousePoint(), and wheelEvent().

void QRootCanvas::SelectedPadChanged ( TPad *  )
signal

signal which will be emitted when root selected pad is changed via clicking the mid-mouse button (M. al-Turany)

Referenced by mousePressEvent().

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

Definition at line 854 of file QRootCanvas.cpp.

References fCanvas.

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

Definition at line 824 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::SetCursor ( ECursor  cursor)
virtualslot

Definition at line 804 of file QRootCanvas.cpp.

References fCanvas.

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

Definition at line 809 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::setEditorFrame ( QFrame *  fr)
inline

Definition at line 74 of file QRootCanvas.h.

Referenced by TGo4ViewPanel::TGo4ViewPanel().

void QRootCanvas::SetHighLightColor ( Color_t  col)
slot

Definition at line 829 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::setMaskDoubleClick ( bool  on = true)
inline

Definition at line 69 of file QRootCanvas.h.

Referenced by TGo4ViewPanel::RefreshButtons().

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

Definition at line 859 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::SetSelected ( TObject *  obj)
slot

Definition at line 834 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::SetSelectedPad ( TPad *  pad)
slot

Definition at line 839 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::setShowEventStatus ( bool  s)

Definition at line 498 of file QRootCanvas.cpp.

References fxShowEventStatus.

Referenced by setStatusBarVisible().

void QRootCanvas::setStatusBar ( QStatusBar *  bar)
inline

Definition at line 82 of file QRootCanvas.h.

Referenced by TGo4ViewPanel::TGo4ViewPanel().

void QRootCanvas::setStatusBarVisible ( bool  flag)
void QRootCanvas::SetTitle ( const char *  title = "")
slot

Definition at line 864 of file QRootCanvas.cpp.

References fCanvas.

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

Definition at line 814 of file QRootCanvas.cpp.

References fCanvas.

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

Definition at line 819 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::Show ( )
slot

Definition at line 844 of file QRootCanvas.cpp.

References fCanvas.

bool QRootCanvas::showEventStatus ( ) const

Definition at line 503 of file QRootCanvas.cpp.

References fxShowEventStatus.

void QRootCanvas::showStatusMessage ( const char *  msg)

Definition at line 1275 of file QRootCanvas.cpp.

References fStatusBar.

Referenced by TGo4ViewPanel::DisplayPadStatus().

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

Definition at line 849 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::ToggleAutoExec ( )
virtualslot

Definition at line 874 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::toggleEditor ( )
void QRootCanvas::ToggleEventStatus ( )
virtualslot

Definition at line 869 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::Update ( )
virtualslot

Definition at line 879 of file QRootCanvas.cpp.

References act_Update, and activateRepaint().

Referenced by TGo4ViewPanel::CanvasUpdate().

void QRootCanvas::UseCurrentStyle ( )
slot

Definition at line 589 of file QRootCanvas.cpp.

References fCanvas.

void QRootCanvas::wheelEvent ( QWheelEvent *  e)
protectedvirtual

Definition at line 226 of file QRootCanvas.cpp.

References fCanvas, and scaledPosition().

Member Data Documentation

TCanvas* QRootCanvas::fCanvas
protected
TH1* QRootCanvas::fDummyHisto
protected

Definition at line 224 of file QRootCanvas.h.

Referenced by cleanupEditor(), QRootCanvas(), and ~QRootCanvas().

QFrame* QRootCanvas::fEditorFrame
protected

Definition at line 221 of file QRootCanvas.h.

Referenced by buildEditorWindow(), isEditorVisible(), QRootCanvas(), and toggleEditor().

bool QRootCanvas::fMaskDoubleClick
private

Definition at line 229 of file QRootCanvas.h.

Referenced by mouseDoubleClickEvent().

TList* QRootCanvas::fMenuMethods
private

Definition at line 234 of file QRootCanvas.h.

Referenced by executeMenu(), mousePressEvent(), QRootCanvas(), and ~QRootCanvas().

TObject* QRootCanvas::fMenuObj
private

Definition at line 233 of file QRootCanvas.h.

Referenced by executeMenu(), mousePressEvent(), and QRootCanvas().

double QRootCanvas::fMousePosX
private

Definition at line 230 of file QRootCanvas.h.

Referenced by executeMenu(), mousePressEvent(), and QRootCanvas().

double QRootCanvas::fMousePosY
private

Definition at line 231 of file QRootCanvas.h.

Referenced by executeMenu(), mousePressEvent(), and QRootCanvas().

double QRootCanvas::fQtScalingfactor
private

Definition at line 237 of file QRootCanvas.h.

Referenced by QRootCanvas().

WId QRootCanvas::fQtWindowId
protected

Definition at line 217 of file QRootCanvas.h.

Referenced by processRepaintTimer(), and QRootCanvas().

int QRootCanvas::fRepaintMode
protected

Definition at line 219 of file QRootCanvas.h.

Referenced by activateRepaint(), paintEvent(), processRepaintTimer(), and QRootCanvas().

QTimer* QRootCanvas::fRepaintTimer
protected

Definition at line 218 of file QRootCanvas.h.

Referenced by activateRepaint(), QRootCanvas(), and ~QRootCanvas().

Int_t QRootCanvas::fRootWindowId
protected

Definition at line 216 of file QRootCanvas.h.

Referenced by processRepaintTimer(), and QRootCanvas().

QStatusBar* QRootCanvas::fStatusBar
protected
TVirtualPadEditor* QRootCanvas::fxPeditor
protected
QRootWindow* QRootCanvas::fxRooteditor
protected

Definition at line 223 of file QRootCanvas.h.

Referenced by buildEditorWindow(), QRootCanvas(), resizeEditor(), and toggleEditor().

bool QRootCanvas::fxShowEventStatus
private

Definition at line 235 of file QRootCanvas.h.

Referenced by mouseMoveEvent(), setShowEventStatus(), and showEventStatus().


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