#include <tqrootwindow.h>
Public Member Functions | |
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. | |
void | SetEditable (bool on=true) |
make this frame to current root master frame. | |
Protected Member Functions | |
virtual bool | eventFilter (QObject *, QEvent *) |
Event filter is used to pass Qt mouse events root, after translatein them in MapQMouseEvent. | |
virtual void | paintEvent (QPaintEvent *e) |
virtual void | closeEvent (QCloseEvent *e) |
Event_t * | MapQMouseEvent (QMouseEvent *e) |
translate Qt mouse event into root event structure. | |
Protected Attributes | |
TQRootFrame * | fxRootwindow |
this is the pseudo root window embedded into this widget. | |
int | fiWinid |
Definition at line 32 of file tqrootwindow.h.
|
Definition at line 64 of file tqrootwindow.cpp. References fiWinid, and fxRootwindow. |
|
Definition at line 218 of file tqrootwindow.cpp. References fxRootwindow. |
|
Definition at line 224 of file tqrootwindow.cpp. References fxRootwindow. |
|
Definition at line 40 of file tqrootwindow.h. References fiWinid. |
|
Add root subframe into this widget.
Definition at line 86 of file tqrootwindow.cpp. References fxRootwindow. |
|
make this frame to current root master frame.
Definition at line 98 of file tqrootwindow.cpp. References fxRootwindow. |
|
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 180 of file tqrootwindow.cpp. References FALSE, fxRootwindow, TQRootFrame::HandleEvent(), and MapQMouseEvent(). |
|
Definition at line 165 of file tqrootwindow.cpp. References fxRootwindow. |
|
Definition at line 208 of file tqrootwindow.cpp. References fxRootwindow. |
|
translate Qt mouse event into root event structure.
Definition at line 103 of file tqrootwindow.cpp. References fiWinid. Referenced by eventFilter(). |
|
this is the pseudo root window embedded into this widget. is used as parent for subwindows Definition at line 63 of file tqrootwindow.h. Referenced by AddSubFrame(), closeEvent(), eventFilter(), GetRootFrame(), paintEvent(), SetEditable(), TQRootWindow(), and ~TQRootWindow(). |
|
Definition at line 64 of file tqrootwindow.h. Referenced by GetRootWid(), MapQMouseEvent(), and TQRootWindow(). |