Index of QT classes

ROOT Qt-layer classes


+
class TQRootCanvas
-
library: libQtGSI
#include "TQGsiRootCanvas.h"
Display options:
Show inherited
Show non-public

class TQRootCanvas: public TQtWidget


 TQRootCanvas

This class replicates the interface of the TQRootCanvas class from qtgsi
package  developed by
 @authors Denis Bertini <d.bertini@gsi.de>
	   M. AL-Turany  <m.al-turany@gsi.de>
version 2.0

 to allow the QtGSI application works with Qt-layer ON.

 It eliminates the need for the TContextMenuImp hack of the original GSI code
 The context menu implementation is defined by ".rootrc: file and 
 provided by ROOT GUI TGuiFactory factory


Function Members (Methods)

public:
TQRootCanvas(QWidget* parent = 0, const char* name = "0", TCanvas* c = 0)
TQRootCanvas(QWidget* parent, QWidget* tabWin, const char* name = "0", TCanvas* c = 0)
virtual~TQRootCanvas()
virtual voidTQtWidget::adjustSize()
virtual voidBrowse(TBrowser* b)
static TCanvas*TQtWidget::Canvas(TQtWidget* widget)
static TQtWidget*TQtWidget::Canvas(const TCanvas* canvas)
static TQtWidget*TQtWidget::Canvas(Int_t id)
virtual voidTQtWidget::cd()
virtual voidTQtWidget::cd(int subpadnumber)
static TClass*Class()
voidClear(Option_t* option = "")
voidClose(Option_t* option = "")
voidTQtWidget::DisableSignalEvents(UInt_t f)
voidTQtWidget::Disconnect()
virtual voiddragEnterEvent(QDragEnterEvent* e)
virtual voidDraw(Option_t* option = "")
virtual TObject*DrawClone(Option_t* option = "")
virtual TObject*DrawClonePad()
virtual voiddropEvent(QDropEvent* Event)
virtual voidEditorBar()
voidTQtWidget::EmitSignal(UInt_t f)
voidTQtWidget::EmitTestedSignal()
voidTQtWidget::EnableSignalEvents(UInt_t f)
voidEnterLeave(TPad* prevSelPad, TObject* prevSelObj)
virtual voidTQtWidget::erase()
voidFeedbackMode(Bool_t set)
voidFlush()
voidForceUpdate()
UInt_tTQtWidget::GetAllBits() const
Bool_tGetAutoExec()
QPixmap&TQtWidget::GetBuffer()
const QPixmap&TQtWidget::GetBuffer() const
TCanvas*TQtWidget::GetCanvas() const
Int_tGetCanvasID()
Bool_tGetCanvasOwner()
virtual voidGetCanvasPar(Int_t& wtopx, Int_t& wtopy, UInt_t& ww, UInt_t& wh)
TContextMenu*GetContextMenu()
const char*GetDISPLAY()
Int_tGetDoubleBuffer()
Int_tTQtWidget::GetEvent() const
Int_tTQtWidget::GetEventX() const
Int_tTQtWidget::GetEventY() const
Color_tGetHighLightColor()
TVirtualPad*GetPadSave()
QWidget*GetParent()
Int_tGetRootWid()
TObject*TQtWidget::GetSelected() const
Option_t*GetSelectedOpt()
TVirtualPad*TQtWidget::GetSelectedPad() const
Int_tTQtWidget::GetSelectedX() const
Int_tTQtWidget::GetSelectedY() const
Bool_tGetShowEventStatus()
QWidget*GetTabWin()
UInt_tGetWh()
UInt_tGetWindowHeight()
Int_tGetWindowTopX()
Int_tGetWindowTopY()
UInt_tGetWindowWidth()
UInt_tGetWw()
Size_tGetXsizeReal()
Size_tGetXsizeUser()
Size_tGetYsizeReal()
Size_tGetYsizeUser()
virtual voidHandleInput(EEventType button, Int_t x, Int_t y)
Bool_tHasMenuBar()
voidIconify()
static TApplication*TQtWidget::InitRint(Bool_t prompt = FALS, const char* appClassName = "tRin", int* argc = 0, char** argv = "0", void* options = 0, int numOptions = 0, Bool_t noLogo = FALS)
voidTQtWidget::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsBatch()
boolTQtWidget::IsDoubleBuffered()
Bool_tIsRetained()
Bool_tTQtWidget::IsSignalEventEnabled(UInt_t f) const
virtual voidls(Option_t* option = "")
virtual QSizeTQtWidget::minimumSizeHint() const
voidMoveOpaque(Int_t set = 1)
Bool_tNeedsResize()
Bool_tOpaqueMoving()
Bool_tOpaqueResizing()
virtual voidPaint(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)
voidTQtWidget::Refresh()
voidTQtWidget::ResetBit(UInt_t f)
virtual voidResize(Option_t* option = "")
virtual voidTQtWidget::resize(int w, int h)
voidResizeOpaque(Int_t set = 1)
virtual boolTQtWidget::Save(const QString& fileName) const
virtual boolTQtWidget::Save(const char* fileName) const
virtual boolTQtWidget::Save(const QString& fileName, const char* format, int quality = ) const
virtual boolTQtWidget::Save(const char* fileName, const char* format, int quality = ) const
voidSaveSource(const char* filename = "", Option_t* option = "")
voidTQtWidget::SetAllBits(UInt_t f)
voidSetBatch(Bool_t batch = TRU)
voidTQtWidget::SetBit(UInt_t f)
voidTQtWidget::SetBit(UInt_t f, Bool_t set)
voidTQtWidget::SetCanvas(TCanvas* c)
voidSetCanvasSize(UInt_t ww, UInt_t wh)
virtual voidSetCursor(ECursor cursor)
virtual voidSetDoubleBuffer(Int_t mode = 1)
voidSetHighLightColor(Color_t col)
voidSetNeedsResize(Bool_t yes)
voidSetRetained(Bool_t retained = TRU)
virtual voidTQtWidget::SetSaveFormat(const char* format)
voidSetSelected(TObject* obj)
voidSetSelectedPad(TPad* pad)
voidSetTitle(const char* title = "")
voidSetWindowPosition(Int_t x, Int_t y)
voidSetWindowSize(UInt_t ww, UInt_t wh)
voidShow()
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidSize(Float_t xsizeuser = 0, Float_t ysizeuser = 0)
virtual QSizeTQtWidget::sizeHint() const
virtual QSizePolicyTQtWidget::sizePolicy() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
Bool_tTQtWidget::TestBit(UInt_t f) const
Int_tTQtWidget::TestBits(UInt_t f) const
virtual voidToggleAutoExec()
virtual voidToggleEventStatus()
virtual voidUpdate()
voidUseCurrentStyle()
protected:
voidTQtWidget::AdjustBufferSize()
TCanvas*TQtWidget::Canvas()
virtual voidTQtWidget::customEvent(QCustomEvent*)
virtual voidTQtWidget::EmitCanvasPainted()
virtual voidTQtWidget::enterEvent(QEvent*)
virtual voidTQtWidget::exitSizeEvent()
virtual voidTQtWidget::focusInEvent(QFocusEvent*)
virtual voidTQtWidget::focusOutEvent(QFocusEvent*)
QWidget*TQtWidget::GetRootID() const
virtual voidTQtWidget::keyPressEvent(QKeyEvent*)
virtual voidTQtWidget::keyReleaseEvent(QKeyEvent*)
virtual voidTQtWidget::leaveEvent(QEvent*)
virtual voidTQtWidget::mouseDoubleClickEvent(QMouseEvent*)
virtual voidTQtWidget::mouseMoveEvent(QMouseEvent*)
virtual voidTQtWidget::mousePressEvent(QMouseEvent*)
virtual voidTQtWidget::mouseReleaseEvent(QMouseEvent*)
virtual voidTQtWidget::paintEvent(QPaintEvent*)
boolTQtWidget::paintFlag(bool mode = RU)
boolTQtWidget::paintingActive() const
virtual voidTQtWidget::resizeEvent(QResizeEvent*)
voidTQtWidget::SetRootID(QWidget* wrapper)
virtual voidTQtWidget::SetSizeHint(const QSize& size)
virtual voidTQtWidget::showEvent(QShowEvent*)
virtual voidTQtWidget::stretchWidget(QResizeEvent* e)
private:
TQRootCanvas(const TQRootCanvas&)
TQRootCanvas&operator=(const TQRootCanvas&)

Data Members

public:
enum TQtWidget::[unnamed] { kBitMask
kEXITSIZEMOVE
kENTERSIZEMOVE
kFORCESIZE
};
protected:
TCanvas*TQtWidget::fCanvas
boolTQtWidget::fDoubleBufferOn
boolTQtWidget::fEmbedded
Bool_tfNeedResizeResize flag
boolTQtWidget::fPaint
QWidget*fParentparent widgets
TQtWidgetBufferTQtWidget::fPixmapIDDouble buffer of this widget
QStringTQtWidget::fSaveFormat
boolTQtWidget::fSizeChanged
QSizeTQtWidget::fSizeHint
Int_tfWidWindows Id of the Canvas
QWidget*TQtWidget::fWrapper

Class Charts

Inheritance Chart:
QWidget
TQtWidget
TQRootCanvas

Function documentation

TQRootCanvas( QWidget *parent, const char *name, TCanvas *c )
 set defaults
TQRootCanvas( QWidget *parent, QWidget* tabWin, const char *name, TCanvas *c )
 set defaults
void dragEnterEvent( QDragEnterEvent *e )
 Entering a drag event.
void dropEvent( QDropEvent *Event )
 Start a drop, for now only histogram objects can be drwon by droping.
void Browse(TBrowser *b)
 Just a wrapper.
void Clear(Option_t *option)
 Just a wrapper.
void Close(Option_t *option)
 Just a wrapper.
void Draw(Option_t *option)
 Just a wrapper.
TObject * DrawClone(Option_t *option)
 Just a wrapper.
TObject * Qq7Zm">DrawClonePad()
 Just a wrapper.
void EditorBar()
 Just a wrapper.
void EnterLeave(TPad *prevSelPad, TObject *prevSelObj)
 just a wrapper
void FeedbackMode(Bool_t set)
 just a wrapper
void Flush()
 just a wrapper
void UseCurrentStyle()
 just a wrapper
void ForceUpdate()
 just a wrapper
const char * GetDISPLAY()
 just a wrapper
TContextMenu * GetContextMenu()
 just a wrapper
Int_t GetDoubleBuffer()
 just a wrapper
Color_t GetHighLightColor()
 just a wrapper
TVirtualPad * GetPadSave()
 just a wrapper
Option_t * GetSelectedOpt()
 just a wrapper
Bool_t GetShowEventStatus()
 just a wrapper
Bool_t GetAutoExec()
 just a wrapper
Size_t GetXsizeUser()
 just a wrapper
Size_t GetYsizeUser()
 just a wrapper
Size_t GetXsizeReal()
 just a wrapper
Size_t GetYsizeReal()
 just a wrapper
Int_t GetCanvasID()
 just a wrapper
Int_t GetWindowTopX()
 just a wrapper
Int_t GetWindowTopY()
 just a wrapper
UInt_t GetWindowWidth()
 just a wrapper
UInt_t GetWindowHeight()
 just a wrapper
UInt_t GetWw()
 just a wrapper
UInt_t QunlS">GetWh()
 just a wrapper
void GetCanvasPar(Int_t &wtopx, Int_t &wtopy, UInt_t &ww, UInt_t &wh)
 just a wrapper
void HandleInput(EEventType button, Int_t x, Int_t y)
 just a wrapper
Bool_t HasMenuBar()
 just a wrapper
void Iconify()
 just a wrapper
Bool_t IsBatch()
 just a wrapper
Bool_t IsRetained()
 just a wrapper
void ls(Option_t *option)
 just a wrapper
void MoveOpaque(Int_t set)
 just a wrapper
Bool_t OpaqueMoving()
 just a wrapper
Bool_t OpaqueResizing()
 just a wrapper
void Paint(Option_t *option)
 just a wrapper
TPad * Pick(Int_t px, Int_t py, TObjLink *&pickobj)
 just a wrapper
TPad * Pick(Int_t px, Int_t py, TObject *prevSelObj)
 just a wrapper
void Resize(Option_t *option)
 just a wrapper
void ResizeOpaque(Int_t set)
 just a wrapper
void SaveSource(const char *filename, Option_t *option)
 just a wrapper
void SetCursor(ECursor cursor)
 just a wrapper
void SetDoubleBuffer(Int_t mode)
 just a wrapper
void SetWindowPosition(Int_t x, Int_t y)
 just a wrapper
void SetWindowSize(UInt_t ww, UInt_t wh)
 just a wrapper
void SetCanvasSize(UInt_t ww, UInt_t wh)
 just a wrapper
void SetHighLightColor(Color_t col)
 just a wrapper
void SetSelected(TObject *obj)
 just a wrapper
void SetSelectedPad(TPad *pad)
 just a wrapper
void Show()
 just a wrapper
void Size(Float_t xsizeuser, Float_t ysizeuser)
 just a wrapper
void SetBatch(Bool_t batch)
 just a wrapper
void SetRetained(Bool_t retained)
 just a wrapper
void SetTitle(const char *title)
 just a wrapper
void ToggleEventStatus()
 just a wrapper
void ToggleAutoExec()
 just a wrapper
void Update()
 just a wrapper
~TQRootCanvas()
 dtor
TQRootCanvas(const TQRootCanvas &)
TQRootCanvas& operator=(const TQRootCanvas &)
Int_t GetRootWid()
{ return fWid;}
Bool_t GetCanvasOwner()
{ return fEmbedded; }
QWidget* GetParent()
{ return QWidget* TQRootCanvas::fParent">fParent;}
QWidget* GetTabWin()
{ return parentWidget() ;}
Bool_t NeedsResize()


{return fNeedResize;}
void SetNeedsResize(Bool_t yes)
{fNeedResize=yes;}

Qt/ROOT page - ROOT page - Class index - Class Hierarchy - Top of the page - Qt docs

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to QtROOT support, or contact the developers with any questions or problems regarding ROOT.