library: libGQt
#include "TQtClientFilter.h"

TQtClientFilter


class description - header file - source file
viewCVS header - viewCVS source

class TQtClientFilter: public QObject

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TQtClientFilter()
virtual~TQtClientFilter()
voidAppendButtonGrab(TQtClientWidget* widget)
static TClass*Class()
static TQtClientWidget*GetButtonGrabber()
static TQtClientWidget*GetPointerGrabber()
static voidGrabPointer(TQtClientWidget* grabber, UInt_t evmask, Window_t confine, QCursor* cursor, Bool_t grab = kTRUE, Bool_t owner_events = kTRUE)
virtual TClass*IsA() const
static TQtPointerGrabber*PointerGrabber()
voidRemoveButtonGrab(QObject* widget)
static voidSetButtonGrabber(TQtClientWidget* grabber)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
voidAddKeyEvent(const int& event, TQtClientWidget* widget)
booleventFilter(QObject* o, QEvent* e)
static Bool_tIsGrabSelected(UInt_t selectEventMask)
TQtEventQueue*Queue()
voidRestoreLostGrabbing(Event_t& event)
static Bool_tSelectGrab(Event_t& event, UInt_t selectEventMask, int& me)
voidSetKeyGrabber(TQtClientWidget* grabber)
voidUnSetKeyGrabber(TQtClientWidget* grabber)
private:
TQtClientFilter(const TQtClientFilter&)
voidoperator=(const TQtClientFilter&)
voidoperator=(const TQtClientFilter&) const

Data Members

protected:
TQtEventQueue*fRootEventQueue
TQtNextEventMessage*fNotifyClient
QPtrList<TQtClientWidget>fButtonGrabList
static TQtClientWidget*fgPointerGrabber
static TQtClientWidget*fgButtonGrabber
static TQtClientWidget*fgActiveGrabber
TQtClientWidget*fKeyGrabber
UInt_tfInputEventMask
static UInt_tfgGrabPointerEventMask
static Bool_tfgGrabPointerOwner
static QCursor*fgGrabPointerCursor
static TQtPointerGrabber*fgGrabber

Class Description

Bool_t IsGrabSelected(UInt_t selectEventMask)
 return the selection by "grabButton" / "grabPointer"
~TQtClientFilter()
void AddKeyEvent( const QKeyEvent &keyEvent, TQtClientWidget *frame)
 Map and and to the ROOT event queue Qt KeyBoard event mapped to the ROOT Event_t
 For "dest" widget 
bool SelectGrab(Event_t &event, UInt_t selectEventMask,QMouseEvent &mouse)
 Select Event:  --  04.12.2005  --
bool eventFilter( QObject *qWidget, QEvent *e )
 Dispatch The Qt event from event queue to Event_t structure
 Not all of the event fields are valid for each event type,
 except fType and fWindow.
void GrabPointer(TQtClientWidget *grabber, UInt_t evmask, Window_t /*confine*/, QCursor *cursor, Bool_t grab, Bool_t owner_events)
 Set the X11 style active grabbing for ROOT TG widgets
TQtClientWidget * GetPointerGrabber()
______________________________________________________________________________
{ return fgPointerGrabber; }
TQtClientWidget * GetButtonGrabber()
______________________________________________________________________________
{ return fgButtonGrabber; }
void SetButtonGrabber(TQtClientWidget *grabber)
______________________________________________________________________________
{ fgButtonGrabber = grabber; }
void AppendButtonGrab(TQtClientWidget *widget)
______________________________________________________________________________
______________________________________________________________________________
{ fButtonGrabList.append(widget);}
void RemoveButtonGrab(QObject *widget)
TQtEventQueue * Queue()
______________________________________________________________________________
void operator=(const TQtClientFilter &)
{}
void operator=(const TQtClientFilter &)
{}
TQtClientFilter(const TQtClientFilter &)
{}
void SetKeyGrabber(TQtClientWidget *grabber)
{ fKeyGrabber = grabber;}
void UnSetKeyGrabber(TQtClientWidget *grabber)
{ if (fKeyGrabber == grabber) fKeyGrabber = 0; }
void RestoreLostGrabbing(Event_t &event)
TQtClientFilter()
{;}
TQtPointerGrabber * PointerGrabber()
{ return fgGrabber; }

Author: Valeri Fine 21/01/2002
Last update: root/qt:$Name: $:$Id: TQtClientFilter.cxx,v 1.19 2006/12/12 15:03:05 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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