Class TQRootCanvas


class TQRootCanvas
derived from QWidget


Fields inherited from class Qt
color0, color1, black, white, darkGray, gray, lightGray, red, green, blue, cyan, magenta, yellow, darkRed, darkGreen, darkBlue, darkCyan, darkMagenta, darkYellow, arrowCursor, upArrowCursor, crossCursor, waitCursor, ibeamCursor, sizeVerCursor, sizeHorCursor, sizeBDiagCursor, sizeFDiagCursor, sizeAllCursor, blankCursor, splitVCursor, splitHCursor, pointingHandCursor, forbiddenCursor, whatsThisCursor

Constructor Summary
TQRootCanvas(QWidget * parent, const char * name, TCanvas * c)
           
TQRootCanvas(QWidget * parent, QWidget * tabWin, const char * name, TCanvas * c)
           

Destructor Summary
~TQRootCanvas()
           

Method Summary
 virtual voidBrowse(TBrowser * b)
           
 voidcd(Int_t subpadnumber)
           
 virtual const const char *className()
           
 voidClear(Option_t * option)
           
 voidClose(Option_t * option)
           
 virtual voiddragEnterEvent(QDragEnterEvent * e)
           
 virtual voidDraw(Option_t * option)
           
 virtual TObject *DrawClone(Option_t * option)
           
 virtual TObject *DrawClonePad()
           
 virtual voiddropEvent(QDropEvent * Event)
           
 virtual voidEditorBar()
           
 voidEnterLeave(TPad * prevSelPad, TObject * prevSelObj)
           
 voidFeedbackMode(Bool_t set)
           
 voidFlush()
           
 voidForceUpdate()
           
 Bool_tGetAutoExec()
           
 TCanvas *getCanvas()
           
 Int_tGetCanvasID()
           
 boolgetCanvasOwner()
           
 virtual voidGetCanvasPar(Int_t & wtopx, Int_t & wtopy, UInt_t & ww, UInt_t & wh)
           
 TContextMenu *GetContextMenu()
           
 const char *GetDISPLAY()
           
 Int_tGetDoubleBuffer()
           
 TControlBar *GetEditorBar()
           
 Int_tGetEvent()
           
 Int_tGetEventX()
           
 Int_tGetEventY()
           
 Color_tGetHighLightColor()
           
 virtual void *GetPadDivision(Int_t xdivision, Int_t ydivision)
           
 TVirtualPad *GetPadSave()
           
 QWidget *getParent()
           
 intgetRootWid()
           
 TObject *GetSelected()
           
 Option_t *GetSelectedOpt()
           
 TVirtualPad *GetSelectedPad()
           
 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()
           
 Bool_tIsBatch()
           
 Bool_tIsRetained()
           
 virtual voidls(Option_t * option)
           
 virtual const QMetaObject *metaObject()
           
 voidMoveOpaque(Int_t set)
           
 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)
           
 QObject *qObject()
           
 virtual void *qt_cast(const char * )
           
 virtual boolqt_emit(int , QUObject * )
           
 virtual boolqt_invoke(int , QUObject * )
           
 virtual boolqt_property(int , int , QVariant * )
           
 virtual voidResize(Option_t * option)
           
 voidResizeOpaque(Int_t set)
           
 voidSaveSource(const char * filename, Option_t * option)
           
 voidSetBatch(Bool_t batch)
           
 voidSetCanvasSize(UInt_t ww, UInt_t wh)
           
 virtual voidSetCursor(ECursor cursor)
           
 virtual voidSetDoubleBuffer(Int_t mode)
           
 voidSetHighLightColor(Color_t col)
           
 voidSetRetained(Bool_t retained)
           
 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 voidSize(Float_t xsizeuser, Float_t ysizeuser)
           
 QSizePolicysizePolicy()
           
 static QMetaObject *staticMetaObject()
           
 virtual voidToggleAutoExec()
           
 virtual voidToggleEventStatus()
           
 static QStringtr(const char * , const char * )
           
 static QStringtrUtf8(const char * , const char * )
           
 virtual voidUpdate()
           
 voidUseCurrentStyle()
           

Methods inherited from class QWidget
acceptDrops, adjustSize, autoMask, backgroundBrush, backgroundColor, backgroundMode, backgroundOrigin, backgroundPixmap, baseSize, caption, childAt, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, close, colorGroup, constPolish, cursor, customWhatsThis, drawText, drawText, erase, erase, erase, erase, eraseColor, erasePixmap, find, focusPolicy, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundColor, frameGeometry, frameSize, geometry, grabKeyboard, grabMouse, grabMouse, hasFocus, hasMouse, hasMouseTracking, height, heightForWidth, hide, icon, iconify, iconText, isActiveWindow, isDesktop, isDialog, isEnabled, isEnabledTo, isEnabledToTLW, isFocusEnabled, isHidden, isMaximized, isMinimized, isModal, isPopup, isTopLevel, isUpdatesEnabled, isVisible, isVisibleTo, isVisibleToTLW, keyboardGrabber, layout, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, maximumHeight, maximumSize, maximumWidth, microFocusHint, minimumHeight, minimumSize, minimumSizeHint, minimumWidth, mouseGrabber, move, move, ownCursor, ownFont, ownPalette, palette, paletteBackgroundColor, paletteBackgroundPixmap, paletteForegroundColor, parentWidget, polish, pos, raise, recreate, rect, releaseKeyboard, releaseMouse, repaint, repaint, repaint, repaint, repaint, reparent, reparent, resize, resize, scroll, scroll, setAcceptDrops, setActiveWindow, setAutoMask, setBackgroundColor, setBackgroundMode, setBackgroundMode, setBackgroundOrigin, setBackgroundPixmap, setBaseSize, setBaseSize, setCaption, setCursor, setDisabled, setEnabled, setEraseColor, setErasePixmap, setFixedHeight, setFixedSize, setFixedSize, setFixedWidth, setFocus, setFocusPolicy, setFocusProxy, setFont, setFont, setGeometry, setGeometry, setIcon, setIconText, setMask, setMask, setMaximumHeight, setMaximumSize, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumSize, setMinimumWidth, setMouseTracking, setName, setPalette, setPalette, setPaletteBackgroundColor, setPaletteBackgroundPixmap, setPaletteForegroundColor, setSizeIncrement, setSizeIncrement, setSizePolicy, setStyle, setStyle, setTabOrder, setUpdatesEnabled, show, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeHint, sizeIncrement, stackUnder, style, testWFlags, testWState, topLevelWidget, unsetCursor, unsetFont, unsetPalette, update, update, update, updateGeometry, visibleRect, width, winId, wmapper, x, y

Methods inherited from class QObject
event, eventFilter, isA, inherits, name, name, isWidgetType, highPriority, signalsBlocked, blockSignals, startTimer, killTimer, killTimers, child, children, objectTrees, queryList, insertChild, removeChild, installEventFilter, removeEventFilter, connect, connect, disconnect, disconnect, disconnect, connectInternal, dumpObjectTree, dumpObjectInfo, setProperty, property, parent, deleteLater

Methods inherited from class QPaintDevice
devType, isExtDev, paintingActive, setResolution, resolution, handle

Constructor Detail

TQRootCanvas

public TQRootCanvas(QWidget * parent, const char * name, TCanvas * c)

TQRootCanvas

public TQRootCanvas(QWidget * parent, QWidget * tabWin, const char * name, TCanvas * c)
Method Detail

~TQRootCanvas

public ~TQRootCanvas()
Method Detail

Browse

public virtual void Browse(TBrowser * b)

cd

public void cd(Int_t subpadnumber)

className

public virtual const const char * className()

Clear

public void Clear(Option_t * option)

Close

public void Close(Option_t * option)

dragEnterEvent

public virtual void dragEnterEvent(QDragEnterEvent * e)

Draw

public virtual void Draw(Option_t * option)

DrawClone

public virtual TObject * DrawClone(Option_t * option)

DrawClonePad

public virtual TObject * DrawClonePad()

dropEvent

public virtual void dropEvent(QDropEvent * Event)

EditorBar

public virtual void EditorBar()

EnterLeave

public void EnterLeave(TPad * prevSelPad, TObject * prevSelObj)

FeedbackMode

public void FeedbackMode(Bool_t set)

Flush

public void Flush()

ForceUpdate

public void ForceUpdate()

GetAutoExec

public Bool_t GetAutoExec()

getCanvas

public TCanvas * getCanvas()

GetCanvasID

public Int_t GetCanvasID()

getCanvasOwner

public bool getCanvasOwner()

GetCanvasPar

public virtual void GetCanvasPar(Int_t & wtopx, Int_t & wtopy, UInt_t & ww, UInt_t & wh)

GetContextMenu

public TContextMenu * GetContextMenu()

GetDISPLAY

public const char * GetDISPLAY()

GetDoubleBuffer

public Int_t GetDoubleBuffer()

GetEditorBar

public TControlBar * GetEditorBar()

GetEvent

public Int_t GetEvent()

GetEventX

public Int_t GetEventX()

GetEventY

public Int_t GetEventY()

GetHighLightColor

public Color_t GetHighLightColor()

GetPadDivision

public virtual void * GetPadDivision(Int_t xdivision, Int_t ydivision)

GetPadSave

public TVirtualPad * GetPadSave()

getParent

public QWidget * getParent()

getRootWid

public int getRootWid()

GetSelected

public TObject * GetSelected()

GetSelectedOpt

public Option_t * GetSelectedOpt()

GetSelectedPad

public TVirtualPad * GetSelectedPad()

GetShowEventStatus

public Bool_t GetShowEventStatus()

getTabWin

public QWidget * getTabWin()

GetWh

public UInt_t GetWh()

GetWindowHeight

public UInt_t GetWindowHeight()

GetWindowTopX

public Int_t GetWindowTopX()

GetWindowTopY

public Int_t GetWindowTopY()

GetWindowWidth

public UInt_t GetWindowWidth()

GetWw

public UInt_t GetWw()

GetXsizeReal

public Size_t GetXsizeReal()

GetXsizeUser

public Size_t GetXsizeUser()

GetYsizeReal

public Size_t GetYsizeReal()

GetYsizeUser

public Size_t GetYsizeUser()

HandleInput

public virtual void HandleInput(EEventType button, Int_t x, Int_t y)

HasMenuBar

public Bool_t HasMenuBar()

Iconify

public void Iconify()

IsBatch

public Bool_t IsBatch()

IsRetained

public Bool_t IsRetained()

ls

public virtual void ls(Option_t * option)

metaObject

public virtual const QMetaObject * metaObject()

MoveOpaque

public void MoveOpaque(Int_t set)

OpaqueMoving

public Bool_t OpaqueMoving()

OpaqueResizing

public Bool_t OpaqueResizing()

Paint

public virtual void Paint(Option_t * option)

Pick

public virtual TPad * Pick(Int_t px, Int_t py, TObjLink * & pickobj)

Pick

public virtual TPad * Pick(Int_t px, Int_t py, TObject * prevSelObj)

qObject

public QObject * qObject()

qt_cast

public virtual void * qt_cast(const char * )

qt_emit

public virtual bool qt_emit(int , QUObject * )

qt_invoke

public virtual bool qt_invoke(int , QUObject * )

qt_property

public virtual bool qt_property(int , int , QVariant * )

Resize

public virtual void Resize(Option_t * option)

ResizeOpaque

public void ResizeOpaque(Int_t set)

SaveSource

public void SaveSource(const char * filename, Option_t * option)

SetBatch

public void SetBatch(Bool_t batch)

SetCanvasSize

public void SetCanvasSize(UInt_t ww, UInt_t wh)

SetCursor

public virtual void SetCursor(ECursor cursor)

SetDoubleBuffer

public virtual void SetDoubleBuffer(Int_t mode)

SetHighLightColor

public void SetHighLightColor(Color_t col)

SetRetained

public void SetRetained(Bool_t retained)

SetSelected

public void SetSelected(TObject * obj)

SetSelectedPad

public void SetSelectedPad(TPad * pad)

SetTitle

public void SetTitle(const char * title)

SetWindowPosition

public void SetWindowPosition(Int_t x, Int_t y)

SetWindowSize

public void SetWindowSize(UInt_t ww, UInt_t wh)

Show

public void Show()

Size

public virtual void Size(Float_t xsizeuser, Float_t ysizeuser)

sizePolicy

public QSizePolicy sizePolicy()

staticMetaObject

public static QMetaObject * staticMetaObject()

ToggleAutoExec

public virtual void ToggleAutoExec()

ToggleEventStatus

public virtual void ToggleEventStatus()

tr

public static QString tr(const char * , const char * )

trUtf8

public static QString trUtf8(const char * , const char * )

Update

public virtual void Update()

UseCurrentStyle

public void UseCurrentStyle()

Association Links

to Class TQCanvasMenu

to Class TCanvas

to Class QWidget

Note Links

to Note Note1