Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TQRootWindow Class Reference

#include <tqrootwindow.h>

List of all members.

Public Methods

 TQRootWindow (QWidget *parent=0, const char *name=0)
virtual ~TQRootWindow ()
TGCompositeFrame * GetRootFrame ()
int GetRootWid ()
void AddSubFrame (TGFrame *f, TGLayoutHints *l=0)
 Add root subframe into this widget. More...

void SetEditable (bool on=true)
 make this frame to current root master frame. More...


Protected Methods

virtual bool eventFilter (QObject *, QEvent *)
 Event filter is used to pass Qt mouse events root, after translatein them in MapQMouseEvent. More...

virtual void paintEvent (QPaintEvent *e)
virtual void closeEvent (QCloseEvent *e)
Event_t * MapQMouseEvent (QMouseEvent *e)
 translate Qt mouse event into root event structure. More...


Protected Attributes

TQRootFramefxRootwindow
 this is the pseudo root window embedded into this widget. More...

int fiWinid


Constructor & Destructor Documentation

TQRootWindow::TQRootWindow QWidget *    parent = 0,
const char *    name = 0
 

Definition at line 61 of file tqrootwindow.cpp.

References fiWinid, and fxRootwindow.

TQRootWindow::~TQRootWindow   [virtual]
 

Definition at line 220 of file tqrootwindow.cpp.

References fxRootwindow.


Member Function Documentation

TGCompositeFrame * TQRootWindow::GetRootFrame  
 

Definition at line 226 of file tqrootwindow.cpp.

References fxRootwindow.

int TQRootWindow::GetRootWid   [inline]
 

Definition at line 60 of file tqrootwindow.h.

References fiWinid.

void TQRootWindow::AddSubFrame TGFrame *    f,
TGLayoutHints *    l = 0
 

Add root subframe into this widget.

Definition at line 88 of file tqrootwindow.cpp.

References fxRootwindow.

void TQRootWindow::SetEditable bool    on = true
 

make this frame to current root master frame.

Definition at line 100 of file tqrootwindow.cpp.

References fxRootwindow.

Referenced by TGo4PreviewPanelSlots::BuildPadEditor().

bool TQRootWindow::eventFilter QObject *   ,
QEvent *   
[protected, virtual]
 

Event filter is used to pass Qt mouse events root, after translatein them in MapQMouseEvent.

Note that root grabs gui buttons via x11 directly, thus this mechanism is not used for the regular root widgets!

Definition at line 182 of file tqrootwindow.cpp.

References fxRootwindow, TQRootFrame::HandleEvent(), and MapQMouseEvent().

void TQRootWindow::paintEvent QPaintEvent *    e [protected, virtual]
 

Definition at line 167 of file tqrootwindow.cpp.

References fxRootwindow.

void TQRootWindow::closeEvent QCloseEvent *    e [protected, virtual]
 

Definition at line 210 of file tqrootwindow.cpp.

References fxRootwindow.

Event_t * TQRootWindow::MapQMouseEvent QMouseEvent *    e [protected]
 

translate Qt mouse event into root event structure.

Definition at line 105 of file tqrootwindow.cpp.

References fiWinid.

Referenced by eventFilter().


Member Data Documentation

TQRootFrame* TQRootWindow::fxRootwindow [protected]
 

this is the pseudo root window embedded into this widget.

is used as parent for subwindows

Definition at line 88 of file tqrootwindow.h.

Referenced by AddSubFrame(), closeEvent(), eventFilter(), GetRootFrame(), paintEvent(), SetEditable(), TQRootWindow(), and ~TQRootWindow().

int TQRootWindow::fiWinid [protected]
 

Definition at line 89 of file tqrootwindow.h.

Referenced by GetRootWid(), MapQMouseEvent(), and TQRootWindow().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:59 2005 for Go4-v2.10-5 by doxygen1.2.15