ROOT » GRAF2D » QT » TQtClientWidget

class TQtClientWidget: public QFrame


  TQtClientWidget is QFrame designed to back the ROOT GUI TGWindow class objects


 TQtClientWidget  is a QFrame implementation backing  ROOT TGWindow objects
 It tries to mimic the X11 Widget behaviour, that kind the ROOT Gui relies on heavily.

 Since ROOT has a habit to destroy the widget many times, to protect the C++ QWidget
 against of double deleting all TQtClientWidgets are to be registered with a special
 "guard" container


Function Members (Methods)

public:
virtual~TQtClientWidget()
virtual voidAccelerate()
boolQWidget::acceptDrops() const
QStringQWidget::accessibleDescription() const
QStringQWidget::accessibleName() const
QList<QAction*>QWidget::actions() const
voidQWidget::activateWindow()
voidQWidget::addAction(QAction* action)
voidQWidget::addActions(QList<QAction*> actions)
voidQWidget::adjustSize()
boolQWidget::autoFillBackground() const
QPalette::ColorRoleQWidget::backgroundRole() const
QSizeQWidget::baseSize() const
boolQObject::blockSignals(bool b)
EMouseButtonButton() const
UInt_tButtonEventMask() const
UInt_tButtonMask() const
QWidget*QWidget::childAt(const QPoint& p) const
QWidget*QWidget::childAt(int x, int y) const
const QObjectList&QObject::children() const
QRectQWidget::childrenRect() const
QRegionQWidget::childrenRegion() const
static TClass*Class()
voidQWidget::clearFocus()
voidQWidget::clearMask()
boolQWidget::close()
virtual voidcloseEvent(QCloseEvent* ev)
intQPaintDevice::colorCount() const
boolQObject::connect(const QObject* sender, const char* signal, const char* member, Qt::ConnectionType type = Qt::AutoConnection) const
static boolQObject::connect(const QObject* sender, const char* signal, const QObject* receiver, const char* member, Qt::ConnectionType = Qt::AutoConnection)
static boolQObject::connect(const QObject* sender, const QMetaMethod& signal, const QObject* receiver, const QMetaMethod& method, Qt::ConnectionType type = Qt::AutoConnection)
QMarginsQWidget::contentsMargins() const
QRectQWidget::contentsRect() const
Qt::ContextMenuPolicyQWidget::contextMenuPolicy() const
voidQWidget::createWinId()
QCursorQWidget::cursor() const
voidQObject::deleteLater()
boolDeleteNotify()
intQPaintDevice::depth() const
virtual intQWidget::devType() const
boolQObject::disconnect(const QObject* receiver, const char* member = 0)
boolQObject::disconnect(const char* signal = 0, const QObject* receiver = 0, const char* member = 0)
static boolQObject::disconnect(const QObject* sender, const char* signal, const QObject* receiver, const char* member)
static boolQObject::disconnect(const QObject* sender, const QMetaMethod& signal, const QObject* receiver, const QMetaMethod& member)
voidQObject::dumpObjectInfo()
voidQObject::dumpObjectTree()
QList<QByteArray>QObject::dynamicPropertyNames() const
WIdQWidget::effectiveWinId() const
voidQWidget::ensurePolished() const
virtual boolQObject::eventFilter(QObject*, QEvent*)
static QWidget*QWidget::find(WId)
Qt::FocusPolicyQWidget::focusPolicy() const
QWidget*QWidget::focusProxy() const
QWidget*QWidget::focusWidget() const
const QFont&QWidget::font() const
QFontInfoQWidget::fontInfo() const
QFontMetricsQWidget::fontMetrics() const
QPalette::ColorRoleQWidget::foregroundRole() const
QRectQWidget::frameGeometry() const
QRectQFrame::frameRect() const
QFrame::ShadowQFrame::frameShadow() const
QFrame::ShapeQFrame::frameShape() const
QSizeQWidget::frameSize() const
intQFrame::frameStyle() const
intQFrame::frameWidth() const
const QRect&QWidget::geometry() const
TQtWidget*GetCanvasWidget() const
voidQWidget::getContentsMargins(int* left, int* top, int* right, int* bottom) const
QCursor*GrabButtonCursor() const
voidGrabEvent(Event_t& ev, bool own = true)
voidQWidget::grabGesture(Qt::GestureType type, Qt::GestureFlags flags = Qt::GestureFlags())
voidQWidget::grabKeyboard()
voidQWidget::grabMouse()
voidQWidget::grabMouse(const QCursor&)
QCursor*GrabPointerCursor() const
intQWidget::grabShortcut(const QKeySequence& key, Qt::ShortcutContext context = Qt::WindowShortcut)
QGraphicsEffect*QWidget::graphicsEffect() const
QGraphicsProxyWidget*QWidget::graphicsProxyWidget() const
Qt::HANDLEQWidget::handle() const
boolQWidget::hasFocus() const
boolQWidget::hasMouseTracking() const
intQWidget::height() const
virtual intQWidget::heightForWidth(int) const
intQPaintDevice::heightMM() const
voidQWidget::hide()
boolQObject::inherits(const char* classname) const
QInputContext*QWidget::inputContext()
Qt::InputMethodHintsQWidget::inputMethodHints() const
virtual QVariantQWidget::inputMethodQuery(Qt::InputMethodQuery) const
voidQWidget::insertAction(QAction* before, QAction* action)
voidQWidget::insertActions(QAction* before, QList<QAction*> actions)
voidQObject::installEventFilter(QObject*)
WIdQWidget::internalWinId() const
virtual TClass*IsA() const
boolQWidget::isActiveWindow() const
boolQWidget::isAncestorOf(const QWidget* child) const
boolIsClosing()
boolQWidget::isEnabled() const
boolQWidget::isEnabledTo(QWidget*) const
boolQWidget::isEnabledToTLW() const
UInt_tIsEventSelected(UInt_t evmask) const
boolQWidget::isFullScreen() const
boolIsGrabbed(Event_t& ev)
boolIsGrabButtonSelected(UInt_t evmask) const
boolIsGrabOwner()
boolIsGrabPointerSelected(UInt_t evmask) const
boolQWidget::isHidden() const
TQtClientWidget*IsKeyGrabbed(const Event_t& ev)
boolQWidget::isLeftToRight() const
boolQWidget::isMaximized() const
boolQWidget::isMinimized() const
boolQWidget::isModal() const
boolQWidget::isRightToLeft() const
boolQWidget::isTopLevel() const
boolQWidget::isVisible() const
boolQWidget::isVisibleTo(QWidget*) const
boolQObject::isWidgetType() const
boolQWidget::isWindow() const
boolQWidget::isWindowModified() const
static QWidget*QWidget::keyboardGrabber()
voidQObject::killTimer(int id)
QLayout*QWidget::layout() const
Qt::LayoutDirectionQWidget::layoutDirection() const
intQFrame::lineWidth() const
QLocaleQWidget::locale() const
intQPaintDevice::logicalDpiX() const
intQPaintDevice::logicalDpiY() const
voidQWidget::lower()
QPointQWidget::mapFrom(QWidget*, const QPoint&) const
QPointQWidget::mapFromGlobal(const QPoint&) const
QPointQWidget::mapFromParent(const QPoint&) const
QPointQWidget::mapTo(QWidget*, const QPoint&) const
QPointQWidget::mapToGlobal(const QPoint&) const
QPointQWidget::mapToParent(const QPoint&) const
QRegionQWidget::mask() const
intQWidget::maximumHeight() const
QSizeQWidget::maximumSize() const
intQWidget::maximumWidth() const
virtual const QMetaObject*metaObject() const
intQFrame::midLineWidth() const
intQWidget::minimumHeight() const
QSizeQWidget::minimumSize() const
virtual QSizeQWidget::minimumSizeHint() const
intQWidget::minimumWidth() const
static QWidget*QWidget::mouseGrabber()
voidQWidget::move(const QPoint&)
voidQWidget::move(int x, int y)
voidQObject::moveToThread(QThread* thread)
QWidget*QWidget::nativeParentWidget() const
QWidget*QWidget::nextInFocusChain() const
QRectQWidget::normalGeometry() const
intQPaintDevice::numColors() const
QStringQObject::objectName() const
voidQWidget::overrideWindowFlags(Qt::WindowFlags type)
voidQWidget::overrideWindowState(Qt::WindowStates state)
virtual QPaintEngine*QWidget::paintEngine() const
boolQPaintDevice::paintingActive() const
const QPalette&QWidget::palette() const
QObject*QObject::parent() const
QWidget*QWidget::parentWidget() const
intQPaintDevice::physicalDpiX() const
intQPaintDevice::physicalDpiY() const
UInt_tPointerMask() const
QPointQWidget::pos() const
QWidget*QWidget::previousInFocusChain() const
QVariantQObject::property(const char* name) const
virtual intqt_metacall(QMetaObject::Call, int, void**)
virtual void*qt_metacast(const char*)
voidQWidget::raise()
QRectQWidget::rect() const
static uintQObject::registerUserData()
voidQWidget::releaseKeyboard()
voidQWidget::releaseMouse()
voidQWidget::releaseShortcut(int id)
voidQWidget::removeAction(QAction* action)
voidQObject::removeEventFilter(QObject*)
voidQWidget::render(QPaintDevice* target, const QPoint& targetOffset = QPoint(), const QRegion& sourceRegion = QRegion(), QWidget::RenderFlags renderFlags = RenderFlags(DrawWindowBackground | DrawChildren))
voidQWidget::render(QPainter* painter, const QPoint& targetOffset = QPoint(), const QRegion& sourceRegion = QRegion(), QWidget::RenderFlags renderFlags = RenderFlags(DrawWindowBackground | DrawChildren))
voidQWidget::repaint()
voidQWidget::repaint(const QRect&)
voidQWidget::repaint(const QRegion&)
voidQWidget::repaint(int x, int y, int w, int h)
voidQWidget::resize(const QSize&)
voidQWidget::resize(int w, int h)
boolQWidget::restoreGeometry(const QByteArray& geometry)
QByteArrayQWidget::saveGeometry() const
voidQWidget::scroll(int dx, int dy)
voidQWidget::scroll(int dx, int dy, const QRect&)
UInt_tSelectEventMask() const
voidSelectInput(UInt_t evmask)
voidQWidget::setAcceptDrops(bool on)
voidQWidget::setAccessibleDescription(const QString& description)
voidQWidget::setAccessibleName(const QString& name)
voidQWidget::setAttribute(Qt::WidgetAttribute, bool on = true)
voidSetAttributeEventMask(UInt_t evmask)
voidQWidget::setAutoFillBackground(bool enabled)
voidQWidget::setBackgroundRole(QPalette::ColorRole)
voidQWidget::setBaseSize(const QSize&)
voidQWidget::setBaseSize(int basew, int baseh)
voidSetButtonEventMask(UInt_t evmask, Cursor_t cursor = 0)
voidSetButtonMask(UInt_t modifier = kAnyModifier, EMouseButton button = kAnyButton)
voidSetClosing(bool flag = kTRUE)
voidQWidget::setContentsMargins(const QMargins& margins)
voidQWidget::setContentsMargins(int left, int top, int right, int bottom)
voidQWidget::setContextMenuPolicy(Qt::ContextMenuPolicy policy)
voidSetCursor()
voidSetCursor(Cursor_t cursor)
voidQWidget::setCursor(const QCursor&)
voidSetDeleteNotify(bool flag = true)
voidQWidget::setDisabled(bool)
voidQWidget::setEnabled(bool)
virtual voidsetEraseColor(const QColor& color)
virtual voidsetErasePixmap(const QPixmap& pixmap)
voidQWidget::setFixedHeight(int h)
voidQWidget::setFixedSize(const QSize&)
voidQWidget::setFixedSize(int w, int h)
voidQWidget::setFixedWidth(int w)
voidQWidget::setFocus()
voidQWidget::setFocus(Qt::FocusReason reason)
voidQWidget::setFocusPolicy(Qt::FocusPolicy policy)
voidQWidget::setFocusProxy(QWidget*)
voidQWidget::setFont(const QFont&)
voidQWidget::setForegroundRole(QPalette::ColorRole)
voidQFrame::setFrameRect(const QRect&)
voidQFrame::setFrameShadow(QFrame::Shadow)
voidQFrame::setFrameShape(QFrame::Shape)
voidQFrame::setFrameStyle(int)
voidQWidget::setGeometry(const QRect&)
voidQWidget::setGeometry(int x, int y, int w, int h)
voidQWidget::setGraphicsEffect(QGraphicsEffect* effect)
voidQWidget::setHidden(bool hidden)
voidQWidget::setInputContext(QInputContext*)
voidQWidget::setInputMethodHints(Qt::InputMethodHints hints)
Bool_tSetKeyMask(Int_t keycode = 0, UInt_t modifier = kAnyModifier, int insert = kInsert)
voidQWidget::setLayout(QLayout*)
voidQWidget::setLayoutDirection(Qt::LayoutDirection direction)
voidQFrame::setLineWidth(int)
voidQWidget::setLocale(const QLocale& locale)
voidQWidget::setMask(const QBitmap&)
voidQWidget::setMask(const QRegion&)
voidQWidget::setMaximumHeight(int maxh)
voidQWidget::setMaximumSize(const QSize&)
voidQWidget::setMaximumSize(int maxw, int maxh)
voidQWidget::setMaximumWidth(int maxw)
voidQFrame::setMidLineWidth(int)
voidQWidget::setMinimumHeight(int minh)
voidQWidget::setMinimumSize(const QSize&)
voidQWidget::setMinimumSize(int minw, int minh)
voidQWidget::setMinimumWidth(int minw)
voidQWidget::setMouseTracking(bool enable)
voidQObject::setObjectName(const QString& name)
voidQWidget::setPalette(const QPalette&)
voidQWidget::setParent(QWidget* parent)
voidQWidget::setParent(QWidget* parent, Qt::WindowFlags f)
boolQObject::setProperty(const char* name, const QVariant& value)
voidQWidget::setShortcutAutoRepeat(int id, bool enable = true)
voidQWidget::setShortcutEnabled(int id, bool enable = true)
voidQWidget::setShown(bool shown)
voidQWidget::setSizeIncrement(const QSize&)
voidQWidget::setSizeIncrement(int w, int h)
voidQWidget::setSizePolicy(QSizePolicy)
voidQWidget::setSizePolicy(QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)
voidQWidget::setStatusTip(const QString&)
voidQWidget::setStyle(QStyle*)
voidQWidget::setStyleSheet(const QString& styleSheet)
static voidQWidget::setTabOrder(QWidget*, QWidget*)
voidQWidget::setToolTip(const QString&)
voidQWidget::setUpdatesEnabled(bool enable)
voidQObject::setUserData(uint id, QObjectUserData* data)
virtual voidQWidget::setVisible(bool visible)
voidQWidget::setWhatsThis(const QString&)
voidQWidget::setWindowFilePath(const QString& filePath)
voidQWidget::setWindowFlags(Qt::WindowFlags type)
voidQWidget::setWindowIcon(const QIcon& icon)
voidQWidget::setWindowIconText(const QString&)
voidQWidget::setWindowModality(Qt::WindowModality windowModality)
voidQWidget::setWindowModified(bool)
voidQWidget::setWindowOpacity(qreal level)
voidQWidget::setWindowRole(const QString&)
voidQWidget::setWindowState(Qt::WindowStates state)
voidQWidget::setWindowSurface(QWindowSurface* surface)
voidQWidget::setWindowTitle(const QString&)
voidQWidget::show()
voidQWidget::showFullScreen()
voidQWidget::showMaximized()
virtual voidShowMembers(TMemberInspector& insp) const
voidQWidget::showMinimized()
voidQWidget::showNormal()
boolQObject::signalsBlocked() const
QSizeQWidget::size() const
virtual QSizeQFrame::sizeHint() const
QSizeQWidget::sizeIncrement() const
QSizePolicyQWidget::sizePolicy() const
voidQWidget::stackUnder(QWidget*)
intQObject::startTimer(int interval)
QStringQWidget::statusTip() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
QStyle*QWidget::style() const
QStringQWidget::styleSheet() const
boolQWidget::testAttribute(Qt::WidgetAttribute) const
QThread*QObject::thread() const
QStringQWidget::toolTip() const
QWidget*QWidget::topLevelWidget() const
static QStringtr(const char* s, const char* c = 0)
static QStringtr(const char* s, const char* c, int n)
static QStringtrUtf8(const char* s, const char* c = 0)
static QStringtrUtf8(const char* s, const char* c, int n)
boolQWidget::underMouse() const
voidQWidget::ungrabGesture(Qt::GestureType type)
voidUnSetButtonMask(bool dtor = false)
voidQWidget::unsetCursor()
voidUnSetKeyMask(Int_t keycode = 0, UInt_t modifier = kAnyModifier)
voidQWidget::unsetLayoutDirection()
voidQWidget::unsetLocale()
voidQWidget::update()
voidQWidget::update(const QRect&)
voidQWidget::update(const QRegion&)
voidQWidget::update(int x, int y, int w, int h)
voidQWidget::updateGeometry()
boolQWidget::updatesEnabled() const
QObjectUserData*QObject::userData(uint id) const
QRegionQWidget::visibleRegion() const
QStringQWidget::whatsThis() const
intQWidget::width() const
intQPaintDevice::widthMM() const
QWidget*QWidget::window() const
QStringQWidget::windowFilePath() const
Qt::WindowFlagsQWidget::windowFlags() const
QIconQWidget::windowIcon() const
QStringQWidget::windowIconText() const
Qt::WindowModalityQWidget::windowModality() const
qrealQWidget::windowOpacity() const
QStringQWidget::windowRole() const
Qt::WindowStatesQWidget::windowState() const
QWindowSurface*QWidget::windowSurface() const
QStringQWidget::windowTitle() const
Qt::WindowTypeQWidget::windowType() const
WIdQWidget::winId() const
intQWidget::x() const
const QX11Info&QWidget::x11Info() const
Qt::HANDLEQWidget::x11PictureHandle() const
intQWidget::y() const
protected:
virtual voidQWidget::actionEvent(QActionEvent*)
virtual voidQFrame::changeEvent(QEvent*)
virtual voidQObject::childEvent(QChildEvent*)
virtual voidQObject::connectNotify(const char* signal)
virtual voidQWidget::contextMenuEvent(QContextMenuEvent*)
voidQWidget::create(WId = 0, bool initializeWindow = true, bool destroyOldWindow = true)
voidQWidget::customContextMenuRequested(const QPoint& pos)
virtual voidQObject::customEvent(QEvent*)
voidQWidget::destroy(bool destroyWindow = true, bool destroySubWindows = true)
voidQObject::destroyed(QObject* = 0)
voidDisconnect()
virtual voidQObject::disconnectNotify(const char* signal)
virtual voidQWidget::dragEnterEvent(QDragEnterEvent*)
virtual voidQWidget::dragLeaveEvent(QDragLeaveEvent*)
virtual voidQWidget::dragMoveEvent(QDragMoveEvent*)
voidQFrame::drawFrame(QPainter*)
virtual voidQWidget::dropEvent(QDropEvent*)
virtual voidQWidget::enabledChange(bool)
virtual voidQWidget::enterEvent(QEvent*)
virtual boolQFrame::event(QEvent* e)
virtual voidQWidget::focusInEvent(QFocusEvent*)
boolQWidget::focusNextChild()
virtual boolQWidget::focusNextPrevChild(bool next)
virtual voidQWidget::focusOutEvent(QFocusEvent*)
boolQWidget::focusPreviousChild()
virtual voidQWidget::fontChange(const QFont&)
virtual voidQWidget::hideEvent(QHideEvent*)
virtual voidQWidget::inputMethodEvent(QInputMethodEvent*)
virtual voidQWidget::keyPressEvent(QKeyEvent*)
virtual voidQWidget::keyReleaseEvent(QKeyEvent*)
virtual voidQWidget::languageChange()
virtual voidQWidget::leaveEvent(QEvent*)
virtual intQWidget::metric(QPaintDevice::PaintDeviceMetric) const
virtual voidQWidget::mouseDoubleClickEvent(QMouseEvent*)
virtual voidQWidget::mouseMoveEvent(QMouseEvent*)
virtual voidQWidget::mousePressEvent(QMouseEvent*)
virtual voidQWidget::mouseReleaseEvent(QMouseEvent*)
virtual voidQWidget::moveEvent(QMoveEvent*)
virtual voidpaintEvent(QPaintEvent*)
virtual voidQWidget::paletteChange(const QPalette&)
intQObject::receivers(const char* signal) const
voidQWidget::resetInputContext()
virtual voidQWidget::resizeEvent(QResizeEvent*)
QObject*QObject::sender() const
intQObject::senderSignalIndex() const
voidSetCanvasWidget(TQtWidget* widget)
virtual voidQWidget::showEvent(QShowEvent*)
virtual voidQWidget::styleChange(QStyle&)
virtual voidQWidget::tabletEvent(QTabletEvent*)
virtual voidQObject::timerEvent(QTimerEvent*)
TQtClientWidget(TQtClientGuard* guard, QWidget* parent = 0, const char* name = 0, Qt::WFlags f = 0)
voidQWidget::updateMicroFocus()
virtual voidQWidget::wheelEvent(QWheelEvent*)
virtual voidQWidget::windowActivationChange(bool)
virtual boolQWidget::x11Event(XEvent*)
private:
voidoperator=(const TQtClientWidget&)
static voidqt_static_metacall(QObject*, QMetaObject::Call, int, void**)
TQtClientWidget(const TQtClientWidget&)

Data Members

public:
static QFrame::ShapeQFrame::Box
static QWidget::RenderFlagQWidget::DrawChildren
static QWidget::RenderFlagQWidget::DrawWindowBackground
static QFrame::ShapeQFrame::HLine
static QWidget::RenderFlagQWidget::IgnoreMask
static QFrame::ShapeQFrame::NoFrame
static QFrame::ShapeQFrame::Panel
static QPaintDevice::PaintDeviceMetricQPaintDevice::PdmDepth
static QPaintDevice::PaintDeviceMetricQPaintDevice::PdmDpiX
static QPaintDevice::PaintDeviceMetricQPaintDevice::PdmDpiY
static QPaintDevice::PaintDeviceMetricQPaintDevice::PdmHeight
static QPaintDevice::PaintDeviceMetricQPaintDevice::PdmHeightMM
static QPaintDevice::PaintDeviceMetricQPaintDevice::PdmNumColors
static QPaintDevice::PaintDeviceMetricQPaintDevice::PdmPhysicalDpiX
static QPaintDevice::PaintDeviceMetricQPaintDevice::PdmPhysicalDpiY
static QPaintDevice::PaintDeviceMetricQPaintDevice::PdmWidth
static QPaintDevice::PaintDeviceMetricQPaintDevice::PdmWidthMM
static QFrame::ShadowQFrame::Plain
static QFrame::ShadowQFrame::Raised
static QFrame::StyleMaskQFrame::Shadow_Mask
static QFrame::StyleMaskQFrame::Shape_Mask
static QFrame::ShapeQFrame::StyledPanel
static QFrame::ShadowQFrame::Sunken
static QFrame::ShapeQFrame::VLine
static QFrame::ShapeQFrame::WinPanel
static TQtClientWidget::(anonymous)kInsert
static TQtClientWidget::(anonymous)kRemove
static TQtClientWidget::(anonymous)kTestKey
static const QMetaObjectstaticMetaObject
static const QMetaObjectQFrame::staticMetaObject
static const QMetaObjectQWidget::staticMetaObject
static const QMetaObjectQObject::staticMetaObject
protected:
QScopedPointer<QObjectData>QObject::d_ptr
EMouseButtonfButton
TQtWidget*fCanvasWidget
boolfDeleteNotify
QColor*fEraseColorColor to paint widget background with our PainEvent
QPixmap*fErasePixmappixmap to paint widget background with our PainEvent
QCursor*fGrabButtonCursor
UInt_tfGrabButtonMaskmodifier button mask for TVirtualX::GrabButton
UInt_tfGrabEventButtonMaskinput event mask for TVirtualX::GrabButton
UInt_tfGrabEventPointerMaskinput event mask for TVirtualX::GrabPointer
QCursor*fGrabPointerCursor
map<QKeySequence,QShortcut*>fGrabbedKey
TQtClientGuard*fGuard
boolfIsClosing
TGWindow*fMyRootWindowback pointer to the host window object
QCursor*fNormalPointerCursor
Bool_tfPointerOwner
UInt_tfSaveSelectInputMaskTo save dutinr the grabbing the selectInput
UInt_tfSelectEventMaskinput mask for SelectInput
ushortQPaintDevice::paintersrefcount
static const QMetaObjectQObject::staticQtMetaObject
private:
static const QMetaObjectExtraDatastaticMetaObjectExtraData

Class Charts

Inheritance Chart:
QFrame
TQtClientWidget

Function documentation

TQtClientWidget(TQtClientGuard* guard, QWidget* parent = 0, const char* name = 0, Qt::WFlags f = 0)
~TQtClientWidget()
 fprintf(stderr, "TQtClientWidget::~TQtClientWidget dtor %p\n", this);
 remove the event filter
void closeEvent(QCloseEvent* ev)
 This Qt QCloseEvent event handler
void setEraseColor(const QColor& color)
 Color to paint widget background with our PainEvent
void setErasePixmap(const QPixmap& pixmap)
 pixmap to paint widget background with our PainEvent
bool IsGrabbed(Event_t& ev)
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 XGrabButton(3X11)         XLIB FUNCTIONS        XGrabButton(3X11)
   *    The pointer is not grabbed, and the specified button is logically
        pressed when the specified modifier keys are logically down,
        and no other buttons or modifier keys are logically down.
   *    The grab_window contains the pointer.
   *    The confine_to window (if any) is viewable.
   *    A passive grab on the same button/key combination does not exist
        on any ancestor of grab_window.
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TQtClientWidget * IsKeyGrabbed(const Event_t& ev)
 Check ROOT Event_t ev structure for the KeyGrab mask
void GrabEvent(Event_t& ev, bool own = true)
 replace the original Windows_t  with the grabbing id and
 re-caclulate the mouse coordinate
 to respect the new Windows_t id if any
void SelectInput(UInt_t evmask)
 Select input and chech whether qwe nat mouse tracking
void SetButtonMask(UInt_t modifier = kAnyModifier, EMouseButton button = kAnyButton)
 Set the Button mask
void UnSetButtonMask(bool dtor = false)
 Unset the Button mask
Bool_t SetKeyMask(Int_t keycode = 0, UInt_t modifier = kAnyModifier, int insert = kInsert)
 Set the key button mask
 insert   = -1 - remove
             0 - test
            +1 - insert
void SetCanvasWidget(TQtWidget* widget)
 Associate this widget with the parent ROOT gui widget
void UnSetKeyMask(Int_t keycode = 0, UInt_t modifier = kAnyModifier)
 Unset the key button mask
void Accelerate()
 Qt slot to respond to the "Keyboard accelerator signal"
void Disconnect()
 Disconnect the Canvas and ROOT gui widget before destroy.
void paintEvent(QPaintEvent* )
bool DeleteNotify()
{return fDeleteNotify; }
TQtWidget * GetCanvasWidget() const
{ return fCanvasWidget;}
bool IsClosing()
{ return fIsClosing; }
UInt_t IsEventSelected(UInt_t evmask) const
void SetCursor()
void SetCursor(Cursor_t cursor)
void SetClosing(bool flag = kTRUE)
{ fIsClosing = flag;}
void SetDeleteNotify(bool flag = true)
{fDeleteNotify = flag;}
void SetAttributeEventMask(UInt_t evmask)
{ SelectInput (evmask);}
void SetButtonEventMask(UInt_t evmask, Cursor_t cursor = 0)
{ fGrabEventButtonMask = evmask; fGrabButtonCursor =(QCursor *) crsr; }
EMouseButton Button() const
{ return fButton; }
UInt_t ButtonEventMask() const
UInt_t ButtonMask() const
{ return fGrabButtonMask; }
UInt_t PointerMask() const
UInt_t SelectEventMask() const
QCursor * GrabButtonCursor() const
{ return fGrabButtonCursor; }
QCursor * GrabPointerCursor() const
{ return fGrabPointerCursor; }
bool IsGrabPointerSelected(UInt_t evmask) const
{ return evmask & PointerMask(); }
bool IsGrabButtonSelected(UInt_t evmask) const
{ return evmask & ButtonEventMask(); }
void operator=(const TQtClientWidget& )
TQtClientWidget(const TQtClientWidget& )
bool IsGrabOwner()
{ return fPointerOwner;}