GQtGUI.cxx File Reference

#include <assert.h>
#include "TGQt.h"
#include "TQUserEvent.h"
#include "TQtClientFilter.h"
#include "TQtWidget.h"
#include "TQtClientWidget.h"
#include "TQtEventQueue.h"
#include "TGWindow.h"
#include "TROOT.h"
#include "TEnv.h"
#include <qapplication.h>
#include <qcursor.h>
#include <qpixmap.h>
#include <qbitmap.h>
#include <qregion.h>
#include <qclipboard.h>
#include <qpaintdevicemetrics.h>
#include <qobjectlist.h>
#include <qcstring.h>
#include <qfontmetrics.h>
#include <qpoint.h>
#include <qpainter.h>
#include <qlayout.h>
#include <qdatetime.h>
#include <qtextcodec.h>
#include "TMath.h"
#include "TQtBrush.h"
#include "TSystem.h"
#include "KeySymbols.h"
#include "TError.h"
#include "TGFrame.h"

Go to the source code of this file.

Classes

class  QtGContext
class  TQtPainter
class  TQtGrabPointerFilter
class  TXlfd
struct  KeyQSymbolMap_t

Defines

#define CopyQTContext(member)
#define DumpGCMask(member)

Functions

static TQtClientWidgetcwid (Window_t id)
static QtGContextqtcontext (GContext_t context)
void DumpROp (Qt::RasterOp op)
static void FillPixmapAttribute (QPixmap &pixmap, Pixmap_t &pict_mask, PictureAttributes_t &attr, TQtPixmapGuard &guard)
static Int_t MapKeySym (int key, bool toQt=true)

Variables

static Window_t fgDefaultRootWindows = Window_t(-1)
static KeyQSymbolMap_t gKeyQMap []


Define Documentation

#define CopyQTContext ( member   ) 

Value:

if (dst.HasValid(_NAME2_(k,member))&&TESTBIT(rootMask, _NAME2_(k,member))) {   \
      SETBIT( fMask, _NAME2_(k,member));                                      \
      _NAME2_(f,member) = dst._NAME2_(f,member);                              \
   }

Definition at line 193 of file GQtGUI.cxx.

Referenced by QtGContext::Copy().

#define DumpGCMask ( member   ) 

Value:

if (HasValid(_NAME2_(k,member))) {                                           \
   fprintf(stderr," mask bit : ");                                            \
   fprintf(stderr, _QUOTE_(_NAME2_(k,member)));                               \
   fprintf(stderr," is defined\n"); }

Definition at line 255 of file GQtGUI.cxx.

Referenced by QtGContext::DumpMask().


Function Documentation

static TQtClientWidget* cwid ( Window_t  id  )  [static]

Definition at line 91 of file GQtGUI.cxx.

References TGQt::wid().

Referenced by TGQt::GrabPointer(), and TGQt::SetCursor().

void DumpROp ( Qt::RasterOp  op  ) 

Definition at line 200 of file GQtGUI.cxx.

References s.

Referenced by QtGContext::DumpMask().

static void FillPixmapAttribute ( QPixmap &  pixmap,
Pixmap_t pict_mask,
PictureAttributes_t attr,
TQtPixmapGuard guard 
) [inline, static]

Definition at line 1590 of file GQtGUI.cxx.

References TQtPixmapGuard::Create(), PictureAttributes_t::fHeight, PictureAttributes_t::fWidth, kNone, kTRUE, TQtPixmapGuard::Pixmap(), and TGQt::rootwid().

Referenced by TGQt::CreatePictureFromData(), and TGQt::CreatePictureFromFile().

static Int_t MapKeySym ( int  key,
bool  toQt = true 
) [inline, static]

Definition at line 2354 of file GQtGUI.cxx.

References fKeySym, KeyQSymbolMap_t::fKeySym, TGQt::GetTextDecoder(), gKeyQMap, gQt, i, and text().

Referenced by TGQt::KeysymToKeycode(), and MapEvent().

static QtGContext& qtcontext ( GContext_t  context  )  [static]

Definition at line 143 of file GQtGUI.cxx.

Referenced by TGQt::ChangeGC(), TGQt::CopyArea(), TGQt::CopyGC(), TGQt::DeleteGC(), TGQt::DrawLine(), TGQt::DrawRectangle(), TGQt::DrawSegments(), TGQt::DrawString(), TGQt::FillPolygon(), TGQt::FillRectangle(), TGQt::GetGCValues(), TGQt::PutImage(), TGQt::SetBackground(), TGQt::SetClipRectangles(), and TGQt::SetForeground().


Variable Documentation

Window_t fgDefaultRootWindows = Window_t(-1) [static]

Definition at line 88 of file GQtGUI.cxx.

Referenced by TGQt::MapWindow().

KeyQSymbolMap_t gKeyQMap[] [static]

Definition at line 2315 of file GQtGUI.cxx.

Referenced by MapKeySym().


Generated on Tue Jul 5 15:58:37 2011 for ROOT_528-00b_version by  doxygen 1.5.1