ROOT » GRAF2D » QT » TGQt

class TGQt: public TVirtualX


TGQt

This class is the basic interface to the Qt graphics system. It is
an implementation of the abstract TVirtualX class.


Function Members (Methods)

public:
virtual~TGQt()
voidTObject::AbstractMethod(const char* method) const
virtual Int_tTVirtualX::AddPixmap(ULong_t pixid, UInt_t w, UInt_t h)
virtual Int_tAddWindow(ULong_t qwid, UInt_t w, UInt_t h)
virtual Bool_tAllocColor(Colormap_t cmap, ColorStruct_t& color)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTVirtualX::BeginModalSessionFor(Window_t window)
virtual voidBell(Int_t percent)
virtual voidTObject::Browse(TBrowser* b)
virtual voidChangeActivePointerGrab(Window_t, UInt_t, Cursor_t)
virtual voidChangeGC(GContext_t gc, GCValues_t* gval)
virtual voidChangeProperties(Window_t id, Atom_t property, Atom_t type, Int_t format, UChar_t* data, Int_t len)
virtual voidChangeProperty(Window_t id, Atom_t property, Atom_t type, UChar_t* data, Int_t len)
virtual voidChangeWindowAttributes(Window_t id, SetWindowAttributes_t* attr)
virtual Bool_tCheckEvent(Window_t id, EGEventType type, Event_t& ev)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual voidClearArea(Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidClearWindow()
virtual voidClearWindow(Window_t id)
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual voidCloseDisplay()
virtual voidClosePixmap()
virtual voidCloseWindow()
static intCoinFlag()
virtual const QColor&ColorIndex(Color_t indx) const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidConvertPrimarySelection(Window_t id, Atom_t clipboard, Time_t when)
virtual voidConvertSelection(Window_t, Atom_t&, Atom_t&, Atom_t&, Time_t&)
virtual voidTNamed::Copy(TObject& named) const
virtual voidCopyArea(Drawable_t src, Drawable_t dest, GContext_t gc, Int_t src_x, Int_t src_y, UInt_t width, UInt_t height, Int_t dest_x, Int_t dest_y)
virtual voidCopyGC(GContext_t org, GContext_t dest, Mask_t mask)
virtual voidCopyPixmap(Int_t wid, Int_t xpos, Int_t ypos)
virtual voidCopyPixmap(const QPixmap& p, Int_t px1, Int_t py1)
virtual Pixmap_tCreateBitmap(Drawable_t id, const char* bitmap, UInt_t width, UInt_t height)
virtual Cursor_tCreateCursor(ECursor cursor)
virtual GContext_tCreateGC(Drawable_t id, GCValues_t* gval)
virtual Drawable_tCreateImage(UInt_t width, UInt_t height)
virtual voidCreateOpenGLContext(Int_t wid = 0)
virtual Window_tTVirtualX::CreateOpenGLWindow(Window_t parentID, UInt_t width, UInt_t height, const vector<pair<UInt_t,Int_t> >& format)
virtual Bool_tCreatePictureFromData(Drawable_t id, char** data, Pixmap_t& pict, Pixmap_t& pict_mask, PictureAttributes_t& attr)
virtual Bool_tCreatePictureFromFile(Drawable_t id, const char* filename, Pixmap_t& pict, Pixmap_t& pict_mask, PictureAttributes_t& attr)
virtual Pixmap_tCreatePixmap(Drawable_t id, UInt_t w, UInt_t h)
virtual Pixmap_tCreatePixmap(Drawable_t id, const char* bitmap, UInt_t width, UInt_t height, ULong_t forecolor, ULong_t backcolor, Int_t depth)
virtual Pixmap_tCreatePixmapFromData(unsigned char* bits, UInt_t width, UInt_t height)
static TQtApplication*CreateQtApplicationImp()
virtual Region_tCreateRegion()
virtual Window_tCreateWindow(Window_t parent, Int_t x, Int_t y, UInt_t w, UInt_t h, UInt_t border, Int_t depth, UInt_t clss, void* visual, SetWindowAttributes_t* attr, UInt_t wtype)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual voidDeleteFont(FontStruct_t fs)
virtual voidDeleteGC(GContext_t gc)
virtual voidDeleteImage(Drawable_t img)
virtual voidDeleteOpenGLContext(Int_t wid = 0)
virtual voidDeletePictureData(void* data)
virtual voidDeletePixmap(Pixmap_t pmap)
virtual voidDeleteProperty(Window_t, Atom_t&)
virtual voidDestroyRegion(Region_t reg)
virtual voidTVirtualX::DestroySubwindows(Window_t id)
virtual voidDestroyWindow(Window_t id)
virtual voidTVirtualX::DispatchClientMessage(UInt_t messageID)
virtual const char*DisplayName(const char* = 0)
Int_tTAttLine::DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidDrawBox(Int_t x1, Int_t y1, Int_t x2, Int_t y2, TVirtualX::EBoxMode mode)
virtual voidDrawCellArray(Int_t x1, Int_t y1, Int_t x2, Int_t y2, Int_t nx, Int_t ny, Int_t* ic)
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidDrawFillArea(Int_t n, TPoint* xy)
virtual voidDrawLine(Int_t x1, Int_t y1, Int_t x2, Int_t y2)
virtual voidDrawLine(Drawable_t id, GContext_t gc, Int_t x1, Int_t y1, Int_t x2, Int_t y2)
virtual voidDrawPolyLine(Int_t n, TPoint* xy)
virtual voidDrawPolyMarker(Int_t n, TPoint* xy)
virtual voidDrawRectangle(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidDrawSegments(Drawable_t id, GContext_t gc, Segment_t* seg, Int_t nseg)
virtual voidDrawString(Drawable_t id, GContext_t gc, Int_t x, Int_t y, const char* s, Int_t len)
virtual voidDrawText(Int_t x, Int_t y, Float_t angle, Float_t mgn, const char* text, TVirtualX::ETextMode mode)
virtual voidTObject::Dump() constMENU
TQtEmitter*Emitter()
virtual Bool_tEmptyRegion(Region_t reg)
virtual Bool_tEqualRegion(Region_t rega, Region_t regb)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual Int_tEventsPending()
virtual UInt_tExecCommand(TGWin32Command* code)
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual voidFillPolygon(Window_t id, GContext_t gc, Point_t* points, Int_t npnt)
virtual voidFillRectangle(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Window_tFindRWindow(Window_t win, Window_t dragwin, Window_t input, int x, int y, int maxd)
virtual voidTVirtualX::FlushOpenGLBuffer(Handle_t ctx)
virtual voidFreeColor(Colormap_t cmap, ULong_t pixel)
virtual voidFreeFontNames(char** fontlist)
virtual voidFreeFontStruct(FontStruct_t fs)
virtual Float_tGetAlpha(Int_t cindex)
virtual voidGetCharacterUp(Float_t& chupx, Float_t& chupy)
virtual unsigned char*GetColorBits(Drawable_t wid, Int_t x = 0, Int_t y = 0, UInt_t w = 0, UInt_t h = 0)
virtual Colormap_tGetColormap() const
virtual Handle_tTVirtualX::GetCurrentOpenGLContext()
virtual Window_tGetCurrentWindow() const
virtual Window_tGetDefaultRootWindow() const
virtual Int_tGetDepth() const
virtual Display_tGetDisplay() const
virtual Int_tGetDoubleBuffer(Int_t wid)
TVirtualX::EDrawModeTVirtualX::GetDrawMode()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Color_tTAttFill::GetFillColor() const
virtual Style_tTAttFill::GetFillStyle() const
virtual Int_tGetFontAscent() const
virtual Int_tGetFontDescent() const
virtual FontH_tGetFontHandle(FontStruct_t fs)
virtual voidGetFontProperties(FontStruct_t font, Int_t& max_ascent, Int_t& max_descent)
virtual FontStruct_tGetFontStruct(FontH_t fh)
virtual voidGetGCValues(GContext_t gc, GCValues_t& gval)
virtual voidGetGeometry(Int_t wid, Int_t& x, Int_t& y, UInt_t& w, UInt_t& h)
virtual const char*TObject::GetIconName() const
virtual voidGetImageSize(Drawable_t id, UInt_t& width, UInt_t& height)
virtual Window_tGetInputFocus()
virtual Color_tTAttLine::GetLineColor() const
virtual Style_tTAttLine::GetLineStyle() const
virtual Width_tTAttLine::GetLineWidth() const
virtual Color_tTAttMarker::GetMarkerColor() const
virtual Size_tTAttMarker::GetMarkerSize() const
virtual Style_tTAttMarker::GetMarkerStyle() const
virtual const char*TNamed::GetName() const
virtual Handle_tGetNativeEvent() const
static QStringGetNewFileName(const QString& fileNamePrototype)
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Double_tTVirtualX::GetOpenGLScalingFactor()
virtual Option_t*TObject::GetOption() const
virtual Window_tGetParent(Window_t id) const
virtual voidGetPasteBuffer(Window_t id, Atom_t atom, TString& text, Int_t& nchar, Bool_t del)
virtual ULong_tGetPixel(Color_t cindex)
virtual voidGetPlanes(Int_t& nplanes)
virtual Window_tGetPrimarySelectionOwner()
virtual Int_tGetProperty(Window_t, Atom_t, Long_t, Long_t, Bool_t, Atom_t, Atom_t*, Int_t*, ULong_t*, ULong_t*, unsigned char**)
virtual voidGetRegionBox(Region_t reg, Rectangle_t* rect)
virtual voidGetRGB(Int_t index, Float_t& r, Float_t& g, Float_t& b)
virtual voidGetRGBA(Int_t cindex, Float_t& r, Float_t& g, Float_t& b, Float_t& a)
virtual Int_tGetScreen() const
virtual QPaintDevice*GetSelectedWindow()
virtual Short_tTAttText::GetTextAlign() const
virtual Float_tTAttText::GetTextAngle() const
virtual Color_tTAttText::GetTextColor() const
virtual const QTextCodec*GetTextDecoder()
virtual voidGetTextExtent(UInt_t& w, UInt_t& h, char* mess)
virtual Font_tTAttText::GetTextFont() const
virtual Float_tGetTextMagnitude()
virtual Float_tTAttText::GetTextSize() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
static TVirtualX*GetVirtualX()
virtual Visual_tGetVisual() const
virtual voidGetWindowAttributes(Window_t id, WindowAttributes_t& attr)
virtual Window_tGetWindowID(Int_t wid)
virtual voidGetWindowSize(Drawable_t id, Int_t& x, Int_t& y, UInt_t& w, UInt_t& h)
virtual voidGrabButton(Window_t id, EMouseButton button, UInt_t modifier, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab = kTRUE)
virtual voidGrabKey(Window_t id, Int_t keycode, UInt_t modifier, Bool_t grab = kTRUE)
virtual voidGrabPointer(Window_t id, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab = kTRUE, Bool_t owner_events = kTRUE)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual Bool_tHasTTFonts() const
virtual voidIconifyWindow(Window_t id)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual Bool_tInit(void* display = 0)
virtual Int_tInitWindow(ULong_t window)
virtual voidTObject::Inspect() constMENU
static TVirtualX*&TVirtualX::Instance()
virtual Atom_tInternAtom(const char* atom_name, Bool_t only_if_exist)
virtual voidIntersectRegion(Region_t rega, Region_t regb, Region_t result)
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTVirtualX::IsCmdThread() const
static Int_tIsCoinLoaded()
virtual Bool_tIsDNDAware(Window_t win, Atom_t* typelist)
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tIsHandleValid(Window_t id)
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tTAttFill::IsTransparent() const
Bool_tTObject::IsZombie() const
static Int_tiwid(QPaintDevice* wid)
static QPaintDevice*iwid(Int_t wid)
static QPaintDevice*iwid(Window_t wid)
virtual Int_tKeysymToKeycode(UInt_t keysym)
virtual char**ListFonts(const char* fontname, Int_t max, Int_t& count)
virtual Int_tLoadQt(const char* shareLibFileName)
virtual FontStruct_tLoadQueryFont(const char* font_name)
virtual voidLookupString(Event_t* event, char* buf, Int_t buflen, UInt_t& keysym)
virtual voidLowerWindow(Window_t id)
virtual voidTNamed::ls(Option_t* option = "") const
virtual Bool_tTVirtualX::MakeOpenGLContextCurrent(Handle_t ctx, Window_t windowID)
virtual voidMapRaised(Window_t id)
virtual voidMapSubwindows(Window_t id)
virtual voidMapWindow(Window_t id)
voidTObject::MayNotUse(const char* method) const
virtual voidTAttLine::Modify()
virtual voidMoveResizeWindow(Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidMoveWindow(Int_t wid, Int_t x, Int_t y)
virtual voidMoveWindow(Window_t id, Int_t x, Int_t y)
virtual Bool_tNeedRedraw(ULong_t tgwindow, Bool_t force)
virtual voidNextEvent(Event_t& event)
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
virtual Int_tOpenDisplay(const char* dpyName)
virtual Int_tOpenPixmap(UInt_t w, UInt_t h)
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual Bool_tParseColor(Colormap_t cmap, const char* cname, ColorStruct_t& color)
virtual Bool_tPointInRegion(Int_t x, Int_t y, Region_t reg)
virtual Region_tPolygonRegion(Point_t* points, Int_t np, Bool_t winding)
virtual voidTObject::Pop()
static voidPostQtEvent(QObject* receiver, QEvent* event)
virtual voidTNamed::Print(Option_t* option = "") const
static voidPrintEvent(Event_t&)
virtual Int_tprocessQtEvents(Int_t maxtime = 300)
virtual voidPutByte(Byte_t b)
virtual voidPutImage(Drawable_t id, GContext_t gc, Drawable_t img, Int_t dx, Int_t dy, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidPutPixel(Drawable_t id, Int_t x, Int_t y, ULong_t pixel)
TQtClientFilter*QClientFilter() const
QColorQtColor(ULong_t pixel)
static QStringQtFileFormat(const char* selector)
static QStringQtFileFormat(const QString& selector)
virtual voidQueryColor(Colormap_t cmap, ColorStruct_t& color)
virtual voidQueryPointer(Int_t& ix, Int_t& iy)
virtual voidQueryPointer(Window_t id, Window_t& rootw, Window_t& childw, Int_t& root_x, Int_t& root_y, Int_t& win_x, Int_t& win_y, UInt_t& mask)
virtual voidRaiseWindow(Window_t id)
virtual Int_tTObject::Read(const char* name)
virtual Pixmap_tReadGIF(Int_t x0, Int_t y0, const char* file, Window_t id = 0)
virtual Bool_tReadPictureDataFromFile(const char* filename, char*** ret_data)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidRemoveWindow(ULong_t qwid)
virtual voidReparentWindow(Window_t id, Window_t pid, Int_t x, Int_t y)
virtual Int_tRequestLocator(Int_t mode, Int_t ctyp, Int_t& x, Int_t& y)
virtual Int_tRequestString(Int_t x, Int_t y, char* text)
virtual voidRescaleWindow(Int_t wid, UInt_t w, UInt_t h)
virtual voidTAttFill::ResetAttFill(Option_t* option = "")
virtual voidTAttLine::ResetAttLine(Option_t* option = "")
virtual voidTAttMarker::ResetAttMarker(Option_t* toption = "")
virtual voidTAttText::ResetAttText(Option_t* toption = "")
voidTObject::ResetBit(UInt_t f)
virtual Int_tResizePixmap(Int_t wid, UInt_t w, UInt_t h)
virtual voidResizeWindow(Int_t wid)
virtual voidResizeWindow(Window_t id, UInt_t w, UInt_t h)
static QStringRootFileFormat(const char* selector)
static QStringRootFileFormat(const QString& selector)
static Window_trootwid(QPaintDevice* dev)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTAttFill::SaveFillAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1001)
virtual voidTAttLine::SaveLineAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t widdef = 1)
virtual voidTAttMarker::SaveMarkerAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t sizdef = 1)
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTAttText::SaveTextAttributes(ostream& out, const char* name, Int_t alidef = 12, Float_t angdef = 0, Int_t coldef = 1, Int_t fondef = 61, Float_t sizdef = 1)
virtual UInt_tTVirtualX::ScreenWidthMM() const
virtual voidSelectInput(Window_t id, UInt_t evmask)
virtual voidSelectPixmap(Int_t qpixid)
virtual voidSelectWindow(Int_t wid)
voidSendDestroyEvent(TQtClientWidget*) const
virtual voidSendEvent(Window_t id, Event_t* ev)
virtual voidSetAlpha(Int_t cindex, Float_t a)
virtual voidSetBackground(GContext_t gc, ULong_t background)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidSetCharacterUp(Float_t chupx, Float_t chupy)
virtual voidSetClassHints(Window_t id, char* className, char* resourceName)
virtual voidSetClipOFF(Int_t wid)
virtual voidSetClipRectangles(GContext_t gc, Int_t x, Int_t y, Rectangle_t* recs, Int_t n)
virtual voidSetClipRegion(Int_t wid, Int_t x, Int_t y, UInt_t w, UInt_t h)
static voidSetCoinFlag(int flag)
static voidSetCoinLoaded()
virtual voidSetCursor(Int_t win, ECursor cursor)
virtual voidSetCursor(Window_t id, Cursor_t curid)
virtual voidSetDashes(GContext_t gc, Int_t offset, const char* dash_list, Int_t n)
virtual voidSetDNDAware(Window_t, Atom_t*)
virtual voidSetDoubleBuffer(Int_t wid, Int_t mode)
virtual voidSetDoubleBufferOFF()
virtual voidSetDoubleBufferON()
virtual voidSetDrawMode(TVirtualX::EDrawMode mode)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static QStringSetFileName(const QString& fileName)
virtual voidTAttFill::SetFillAttributes()MENU
virtual voidSetFillColor(Color_t cindex)
virtual voidTAttFill::SetFillColorAlpha(Color_t fcolor, Float_t falpha)
virtual voidSetFillStyle(Style_t style)
virtual voidSetFillStyleIndex(Int_t style, Int_t fasi)
virtual voidSetForeground(GContext_t gc, ULong_t foreground)
virtual voidSetIconName(Window_t id, char* name)
virtual voidSetIconPixmap(Window_t id, Pixmap_t pix)
virtual voidSetInputFocus(Window_t id)
virtual voidSetKeyAutoRepeat(Bool_t on = kTRUE)
virtual voidTAttLine::SetLineAttributes()MENU
virtual voidSetLineColor(Color_t cindex)
virtual voidTAttLine::SetLineColorAlpha(Color_t lcolor, Float_t lalpha)
virtual voidSetLineStyle(Style_t linestyle)
virtual voidSetLineType(Int_t n, Int_t* dash)
virtual voidSetLineWidth(Width_t width)
virtual voidTAttMarker::SetMarkerAttributes()MENU
virtual voidSetMarkerColor(Color_t cindex)
virtual voidTAttMarker::SetMarkerColorAlpha(Color_t mcolor, Float_t malpha)
virtual voidSetMarkerSize(Float_t markersize)
virtual voidSetMarkerStyle(Style_t markerstyle)
virtual voidSetMarkerType(Int_t type, Int_t n, TPoint* xy)
virtual voidSetMWMHints(Window_t id, UInt_t value, UInt_t funcs, UInt_t input)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetOpacity(Int_t percent)
virtual voidSetPrimarySelectionOwner(Window_t id)
voidSetQClientFilter(TQtClientFilter* filter)
virtual voidSetRGB(Int_t cindex, Float_t r, Float_t g, Float_t b)
virtual voidSetRGB(Int_t cindex, Float_t r, Float_t g, Float_t b, Float_t a)
virtual Bool_tSetSelectionOwner(Window_t, Atom_t&)
virtual voidSetTextAlign(Short_t talign = 11)
virtual voidTAttText::SetTextAngle(Float_t tangle = 0)MENU
virtual voidTAttText::SetTextAttributes()MENU
virtual voidSetTextColor(Color_t cindex)
virtual voidTAttText::SetTextColorAlpha(Color_t tcolor, Float_t talpha)
virtual voidSetTextDecoder(const char*)
virtual voidSetTextFont(Font_t fontnumber)
virtual Int_tSetTextFont(char* fontname, TVirtualX::ETextSetMode mode)
virtual voidSetTextMagnitude(Float_t mgn)
static voidSetTextProxy(TQtTextProxy* proxy)
virtual voidSetTextSize(Float_t textsize)
virtual voidTAttText::SetTextSizePixels(Int_t npixels)
virtual voidSetTitle(const char* title)
virtual voidSetTypeList(Window_t win, Atom_t prop, Atom_t* typelist)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidSetWindowBackground(Window_t id, ULong_t color)
virtual voidSetWindowBackgroundPixmap(Window_t id, Pixmap_t pxm)
virtual voidSetWindowName(Window_t id, char* name)
virtual voidSetWMPosition(Window_t id, Int_t x, Int_t y)
virtual voidSetWMSize(Window_t id, UInt_t w, UInt_t h)
virtual voidSetWMSizeHints(Window_t id, UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc)
virtual voidSetWMState(Window_t id, EInitialState state)
virtual voidSetWMTransientHint(Window_t id, Window_t main_id)
virtual voidTVirtualX::ShapeCombineMask(Window_t id, Int_t x, Int_t y, Pixmap_t mask)
virtual voidShowMembers(TMemberInspector& insp) const
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidSubtractRegion(Region_t rega, Region_t regb, Region_t result)
virtual Int_tSupportsExtension(const char* ext) const
virtual voidTVirtualX::Sync(Int_t mode)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
static TQtTextProxy*TextProxy()
virtual Int_tTextWidth(FontStruct_t font, const char* s, Int_t len)
TGQt()
TGQt(const TGQt& vx)
TGQt(const char* name, const char* title)
virtual voidTranslateCoordinates(Window_t src, Window_t dest, Int_t src_x, Int_t src_y, Int_t& dest_x, Int_t& dest_y, Window_t& child)
virtual voidUnionRectWithRegion(Rectangle_t* rect, Region_t src, Region_t dest)
virtual voidUnionRegion(Region_t rega, Region_t regb, Region_t result)
virtual voidUnmapWindow(Window_t id)
virtual voidUpdate(Int_t mode = 0)
virtual voidUpdateWindow(Int_t mode)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual voidWarp(Int_t ix, Int_t iy)
virtual voidWarp(Int_t ix, Int_t iy, Window_t id)
static QWidget*wid(Window_t id)
static Window_twid(TQtClientWidget* widget)
static QWidget*winid(Window_t id)
virtual voidWMDeleteNotify(Window_t id)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
virtual Int_tWriteGIF(char* name)
virtual voidWritePixmap(Int_t wid, UInt_t w, UInt_t h, char* pxname)
virtual voidXorRegion(Region_t rega, Region_t regb, Region_t result)
protected:
Int_tCreatROOTThread()
voidDeleteSelectedObj()
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
QPaintDevice*GetDoubleBuffer(QPaintDevice* dev)
static QRectGetQRect(QPaintDevice& dev)
static Bool_tIsRegistered(QPaintDevice* wid)
voidTObject::MakeZombie()
static Int_tRegisterWid(QPaintDevice* wid)
static Int_tUnRegisterWid(QPaintDevice* wid)
intUpdateColor(int cindex)
private:
TGQt&operator=(const TGQt&)

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TVirtualX::ETextSetModeTVirtualX::kCheck
static TVirtualX::ETextModeTVirtualX::kClear
static TVirtualX::EDrawModeTVirtualX::kCopy
static TVirtualX::EBoxModeTVirtualX::kFilled
static TObject::EStatusBitsTObject::kHasUUID
static TVirtualX::EBoxModeTVirtualX::kHollow
static TObject::EStatusBitsTObject::kInvalidObject
static TVirtualX::EDrawModeTVirtualX::kInvert
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TVirtualX::ETextSetModeTVirtualX::kLoad
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TVirtualX::ETextModeTVirtualX::kOpaque
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TVirtualX::EDrawModeTVirtualX::kXor
static TObject::(anonymous)TObject::kZombie
protected:
Bool_tfBlockRGBProtect against color double setting
Float_tfCharacterUpXCharacter Up vector along X
Float_tfCharacterUpYCharacter Up vector along Y
TGQt::TQTCLIPMAPfClipMap
QTextCodec*fCodecThe Current text decoder
TGQt::COLORMAPfColorMapto back the TG widgets
ECursorfCursorCurrent cursor number;
QVector<QCursor*>fCursors
Int_tfDisplayOpened
QPainter::CompositionModefDrawMode
TVirtualX::EDrawModeTVirtualX::fDrawModeDrawing mode
TQtEmitterfEmitterobject to emit Qt signals on behalf of TVirtualX
Bool_tfFeedBackModeTCanvas feedback mode
TQtFeedBackWidget*fFeedBackWidgetThe dedicated widget for TCanvas feedback mode
Color_tTAttFill::fFillColorfill area color
Style_tTAttFill::fFillStylefill area style
QStringfFontTextCodeThe default code text code page (from the Gui.DefaultFont)
Color_tTAttLine::fLineColorline color
Style_tTAttLine::fLineStyleline style
Width_tTAttLine::fLineWidthline width
Color_tTAttMarker::fMarkerColorMarker color index
Size_tTAttMarker::fMarkerSizeMarker size
Style_tfMarkerStyle
Style_tTAttMarker::fMarkerStyleMarker style
TStringTNamed::fNameobject identifier
QMap<Color_t,QColor*>fPallete
TQtClientWidget*fPointerGrabber
QPaintDevice*fPrevWindowPointer to the previous "Window"
TQtBrush*fQBrush
TQtClientFilter*fQClientFilter
TQtEventQueue*fQClientFilterBuffer
TQtClientGuardfQClientGuardguard TQtClientWibdget against of dead pointers
TQtPadFont*fQFont
TQtPainter*fQPainter
TQtPen*fQPen
TQtPixmapGuardfQPixmapGuardguard TQtClientWibdget against of dead pointers
Int_tfQtEventHasBeenProcessedFlag whether the events were processed
TQtMarker*fQtMarker
QPaintDevice*fSelectedWindowPointer to the current "paintdevice: PixMap, Widget etc"
const char*fSymbolFontFamilythe name of the font to substiute the non-standard "Symbol"
Short_tTAttText::fTextAlignText alignment
Int_tfTextAlignHText Alignment Horizontal
Int_tfTextAlignVText Alignment Vertical
Float_tTAttText::fTextAngleText angle
Color_tTAttText::fTextColorText color index
Font_tTAttText::fTextFontText font number
Int_tfTextFontModifiedMark whether the text font has been modified
Float_tfTextMagnitudeText Magnitude
Float_tTAttText::fTextSizeText size
TStringTNamed::fTitleobject title
Bool_tfUseTTFFlag whether ROOT font has a priority
static TVirtualX*fgTQtThe hiden poiner to foolish ROOT TPluginManager
static TQtTextProxy*fgTextProxyproxy for the custom text rendering engine
void*fhEventThe event object to synch threads
static TGQt::DEFWINDOWIDkDefault
private:
static intfgCoinFlagno coin viewer;
static intfgCoinLoadedno coin viewer;

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

QString SetFileName(const QString& fileName)
 Set the file pattern
QString GetNewFileName(const QString& fileNamePrototype)
 Find the filename for the given "fileNamePrototype"
QPaintDevice * iwid(Window_t wid)
 Convert ROOT Widget Id to the Qt QPaintDevice pointer
Int_t iwid(QPaintDevice* wid)
 method to provide the ROOT "cast" from (QPaintDevice*) to ROOT windows "id"
QPaintDevice * iwid(Int_t wid)
 method to restore (cast) the QPaintDevice object pointer from  ROOT windows "id"
QWidget * winid(Window_t id)
 returns the top level QWidget for the ROOT widget
Window_t wid(TQtClientWidget* widget)
Window_t rootwid(QPaintDevice* dev)
QWidget * wid(Window_t id)
 method to restore (dynamic cast) the QWidget object pointer (if any) from  ROOT windows "id"
void PrintEvent(Event_t& )
 Dump trhe ROOT Event_t structure to debug the code
int CoinFlag()
 return the Coin/QGL viewer flag safely
void SetCoinFlag(int flag)
 Set the Coin/QGL viewer flag safely
void SetCoinLoaded()
{ fgCoinLoaded = 1; }
Int_t IsCoinLoaded()
{ return fgCoinLoaded;}
QString RootFileFormat(const char* selector)
{ return RootFileFormat(QString(selector)); }
QString RootFileFormat(const QString& selector)
 Define whether the input string contains any pattern
 that matches the ROOT image formats
 those Qt library can not provide
QString QtFileFormat(const char* selector)
{ return QtFileFormat(QString(selector)); }
QString QtFileFormat(const QString& selector)
 returns Qt file format

 if no suitable format found and the selector is empty
 the default PNG format is returned

 a special treatment of the "gif" format.
 If "gif" is not provided with the local Qt installation
 replace "gif" format with "png" one

TQtApplication * CreateQtApplicationImp()
 The method to instantiate the QApplication if needed
void PostQtEvent(QObject* receiver, QEvent* event)
 Qt announced that QThread::postEvent to become obsolete and
 we have to switch to the QAppication instead.
TGQt()
Default Constructor *-*-*-
*-*                    ===================
TGQt(const char* name, const char* title)
Normal Constructor*-*-*-

~TGQt()
Default Destructor*-*-*-*-
*-*                    ==================
Bool_t Init(void* display = 0)
Qt GUI initialization-

Int_t CreatROOTThread()
dummy*-*-*-*-
-
Int_t RegisterWid(QPaintDevice* wid)
 register QWidget for the embedded TCanvas
Int_t UnRegisterWid(QPaintDevice* wid)
 unregister QWidget to the TCanvas
 return  = Root registration Id or zero if the wd was not registered
Bool_t IsRegistered(QPaintDevice* wid)
 Check whether the object has been registered
Int_t InitWindow(ULong_t window)
-
*-*  if window == 0 InitWindow creates its own instance of  TQtWindowsObject object
-
*-*  Create a new windows
-
 window is QWidget
Int_t OpenPixmap(UInt_t w, UInt_t h)
*-*  Create a new pixmap object
const QColor & ColorIndex(Color_t indx) const
 Define the QColor object by ROOT color index
UInt_t ExecCommand(TGWin32Command* code)
 deprecated
void SetDoubleBufferOFF()
 deprecated
void SetDoubleBufferON()
 deprecated
void GetPlanes(Int_t& nplanes)
Get maximum number of planes*-
*-*                    ============================
*-*  nplanes     : number of bit planes
*
void ClearWindow()
 Clear current window.
void ClosePixmap()
 Delete the current pixmap.
void CloseWindow()
 Delete the current window.
void DeleteSelectedObj()
 Delete the current Qt object
QRect GetQRect(QPaintDevice& dev)
 Define the rectangle of the current ROOT selection
void CopyPixmap(int wd, int xpos, int ypos)
 Copy the pixmap wd at the position xpos, ypos in the current window.
void CopyPixmap(const QPixmap& p, Int_t px1, Int_t py1)
 Copy the pixmap p at the position xpos, ypos in the current window.
void CreateOpenGLContext(Int_t wid = 0)
 Create OpenGL context for win windows (for "selected" Window by default)
 printf(" TGQt::CreateOpenGLContext for wd = %x fSelected= %x, threadID= %d \n",wd,fSelectedWindow,
    GetCurrentThreadId());
void DeleteOpenGLContext(Int_t wid = 0)
 Delete OpenGL context for win windows (for "selected" Window by default)
void DrawBox(Int_t x1, Int_t y1, Int_t x2, Int_t y2, TVirtualX::EBoxMode mode)
 Draw a box.
 mode=0 hollow  (kHollow)
 mode=1 solid   (kSolid)
void DrawCellArray(Int_t x1, Int_t y1, Int_t x2, Int_t y2, Int_t nx, Int_t ny, Int_t* ic)
 Draw a cell array.
 x1,y1        : left down corner
 x2,y2        : right up corner
 nx,ny        : array size
 ic           : array

 Draw a cell array. The drawing is done with the pixel precision
 if (X2-X1)/NX (or Y) is not a exact pixel number the position of
 the top rigth corner may be wrong.
void DrawFillArea(Int_t n, TPoint* xy)
 Fill area described by polygon.
 n         : number of points
 xy(2,n)   : list of points
void DrawLine(Int_t x1, Int_t y1, Int_t x2, Int_t y2)
 Draw a line.
 x1,y1        : begin of line
 x2,y2        : end of line
void DrawPolyLine(Int_t n, TPoint* xy)
 Draw a line through all points.
 n         : number of points
 xy        : list of points
void DrawPolyMarker(Int_t n, TPoint* xy)
 Draw n markers with the current attributes at position x, y.
 n    : number of markers to draw
 xy   : x,y coordinates of markers
TQtTextProxy * TextProxy()
 Get the text proxy implementation pointer
void SetTextProxy(TQtTextProxy* proxy)
 Set the text proxy implementation pointer
void DrawText(Int_t x, Int_t y, Float_t angle, Float_t mgn, const char* text, TVirtualX::ETextMode mode)
void GetCharacterUp(Float_t& chupx, Float_t& chupy)
 Return character up vector.
QPaintDevice * GetDoubleBuffer(QPaintDevice* dev)
 Query the pointer to the dev offscreen buffer if any
Int_t GetDoubleBuffer(Int_t wid)
 Query the double buffer value for the window wd.
 return pointer to the off-screen buffer if any
void GetGeometry(Int_t wid, Int_t& x, Int_t& y, UInt_t& w, UInt_t& h)
 Returns the global cooordinate of the window "wd"
const char * DisplayName(const char* = 0)
{ return "localhost"; }
ULong_t GetPixel(Color_t cindex)
 Return pixel value associated to specified ROOT color number.
 see: GQTGUI.cxx:QtColor() also
void GetRGB(Int_t index, Float_t& r, Float_t& g, Float_t& b)
 Get rgb values for color "index".
const QTextCodec * GetTextDecoder()
Float_t GetTextMagnitude()
{return fTextMagnitude;}
void SetTextMagnitude(Float_t mgn)
{ fTextMagnitude = mgn;}
void GetTextExtent(UInt_t& w, UInt_t& h, char* mess)
 Return the size of a character string.
 iw          : text width
 ih          : text height
 mess        : message
Int_t GetFontAscent() const
 Returns ascent of the current font (in pixels).
 The ascent of a font is the distance from the baseline
 to the highest position characters extend to
Int_t GetFontDescent() const
 Returns the descent of the current font (in pixels.
 The descent is the distance from the base line
 to the lowest point characters extend to.
Bool_t HasTTFonts() const
{return fUseTTF;}
void MoveWindow(Int_t wid, Int_t x, Int_t y)
 Move the window wd.
 wd  : Window identifier.
 x    : x new window position
 y    : y new window position
void PutByte(Byte_t b)
void QueryPointer(Int_t& ix, Int_t& iy)
 Query pointer position.
 ix       : X coordinate of pointer
 iy       : Y coordinate of pointer
Pixmap_t ReadGIF(Int_t x0, Int_t y0, const char* file, Window_t id = 0)
 If id is NULL - loads the specified gif file at position [x0,y0] in the
 current window. Otherwise creates pixmap from gif file
Int_t RequestLocator(Int_t mode, Int_t ctyp, Int_t& x, Int_t& y)
 deprecated
Int_t RequestString(Int_t x, Int_t y, char* text)
Request string*-*-*-*-*-*-*-
*-*                    ==============
*-*  x,y         : position where text is displayed
*-*  text        : text displayed (input), edited text (output)
-
*-*  Request string:
*-*  text is displayed and can be edited with Emacs-like keybinding
*-*  return termination code (0 for ESC, 1 for RETURN)
-
*-*  Return value:
-
*-*    0     -  input was canceled
*-*    1     -  input was Ok
-
*
void RescaleWindow(Int_t wid, UInt_t w, UInt_t h)
 Rescale the window wd.
 wd  : Window identifier
 w    : Width
 h    : Heigth
Int_t ResizePixmap(Int_t wid, UInt_t w, UInt_t h)
 Resize a pixmap.
 wd : pixmap to be resized
 w,h : Width and height of the pixmap
void ResizeWindow(Int_t wid)
 Resize the current window if necessary.
 No implementation is required under Qt.
void SelectPixmap(Int_t qpixid)
{ SelectWindow(qpixid);}
void SelectWindow(Int_t wid)
 Select window to which subsequent output is directed.
 fprintf(stderr," TGQt::SelectWindow %d \n", wd);
 Don't select things twice
void SetCharacterUp(Float_t chupx, Float_t chupy)
 Set character up vector.
void SetClipOFF(Int_t wid)
 Turn off the clipping for the window wd.
 deprecated
 fQPainter->setClipping(FALSE);
void SetClipRegion(Int_t wid, Int_t x, Int_t y, UInt_t w, UInt_t h)
 Set clipping region for the window wd.
 wd        : Window indentifier
 x,y        : origin of clipping rectangle
 w,h        : size of clipping rectangle;
void SetCursor(Int_t win, ECursor cursor)
 Set the cursor.
void SetDoubleBuffer(Int_t wid, Int_t mode)
 Set the double buffer on/off on window wd.
 wd  : Window identifier.
        999 means all the opened windows.
 mode : 1 double buffer is on
        0 double buffer is off
void SetDrawMode(TVirtualX::EDrawMode mode)
 Set the drawing mode.
 mode : drawing mode
void SetFillColor(Color_t cindex)
 Set color index for fill areas.
void SetFillStyle(Style_t style)
 Set fill area style.
 fstyle   : compound fill area interior style
    fstyle = 1000*interiorstyle + styleindex
void SetFillStyleIndex(Int_t style, Int_t fasi)
 Set fill area style index.
void SetLineColor(Color_t cindex)
Set color index for lines*-*-*-*-
*-*                  =========================
*-*  cindex    : color index
*
void SetLineType(Int_t n, Int_t* dash)
Set line style-*-*-*-*-*-*-*-*-
*-*                  ==============
*-*    Set line style:
*-*    if n < 0 use pre-defined Windows style:
*-*         0 - solid lines
*-*        -1 - solid lines
*-*        -2 - dash line
*-*        -3 - dot  line
*-*        -4 - dash-dot line
*-*        -5 - dash-dot-dot line
*-*     < -6 - solid line
-
*-*    if n > 0 use dashed lines described by DASH(N)
*-*    e.g. n=4,DASH=(6,3,1,3) gives a dashed-dotted line with dash length 6
*-*    and a gap of 7 between dashes
-
void SetLineStyle(Style_t linestyle)
Set line style-*-*-*-*-*-*-*-*-
*-*                  ==============
*-*    Use pre-defined Windows style:
*-*    linestyle =
*-*         0 - solid lines
*-*        -1 - solid lines
*-*        -2 - dash line
*-*        -3 - dot  line
*-*        -4 - dash-dot line
*-*        -5 - dash-dot-dot line
*-*      < -6 - solid line
-
*
 Copy/Paste from TGX11::SetLineStyle (it is called "subclassing")
 Set line style.
void SetLineWidth(Width_t width)
Set line width*-*-*-*-*-*-*-*-
*-*                  ==============
*-*  width   : line width in pixels
*
void SetMarkerColor(Color_t cindex)
Set color index for markers*-*-*-
*-*                  ===========================
*-*  cindex : color index defined my IXSETCOL
*
void SetMarkerSize(Float_t markersize)
Set marker size index for markers*-*-*-
*-*                  =================================
*-*  msize  : marker scale factor
*
void SetMarkerStyle(Style_t markerstyle)
Set marker style*-*-*-*-*-*-*-*-
*-*                  ================
void SetMarkerType(Int_t type, Int_t n, TPoint* xy)
Set marker type*-*-*-*-*-*-*-*-*-
*-*                  ===============
*-*  type      : marker type
*-*  n         : length of marker description
*-*  xy        : list of points describing marker shape
-
*-*     if N.EQ.0 marker is a single point
*-*     if TYPE.EQ.0 marker is hollow circle of diameter N
*-*     if TYPE.EQ.1 marker is filled circle of diameter N
*-*     if TYPE.EQ.2 marker is a hollow polygon describe by line XY
*-*     if TYPE.EQ.3 marker is a filled polygon describe by line XY
*-*     if TYPE.EQ.4 marker is described by segmented line XY
*-*     e.g. TYPE=4,N=4,XY=(-3,0,3,0,0,-3,0,3) sets a plus shape of 7x7 pixels
*
int UpdateColor(int cindex)
 [protected] update the color parameters if needed.
void SetRGB(Int_t cindex, Float_t r, Float_t g, Float_t b)
void SetRGB(Int_t cindex, Float_t r, Float_t g, Float_t b, Float_t a)
 Set the color with the alpha component (supported wuth Qt 4 only)
void SetAlpha(Int_t cindex, Float_t a)
 Add  the alpha component (supported with Qt 4 only)
void GetRGBA(Int_t cindex, Float_t& r, Float_t& g, Float_t& b, Float_t& a)
 Return RGBA components for the color cindex
Float_t GetAlpha(Int_t cindex)
 Return Alpha component for the color cindex
void SetTextAlign(Short_t talign = 11)
Set text alignment*-*-*-*-*-*-*-
*-*                  ==================
*-*  txalh   : horizontal text alignment
*-*  txalv   : vertical text alignment
*
void SetTextColor(Color_t cindex)
Set color index for text*-*-*-*-
*-*                  ========================
*-*  cindex    : color index defined my IXSETCOL
*
Int_t SetTextFont(char* fontname, TVirtualX::ETextSetMode mode)
 Set text font to specified name.
 mode       : loading flag
 mode=kCheck = 0     : search if the font exist (kCheck)
 mode= kLoad = 1     : search the font and load it if it exists (kLoad)
 font       : font name

 Set text font to specified name. This function returns 0 if
 the specified font is found, 1 if not.
void SetTextFont(Font_t fontnumber)
-*Set current text font number
*-*                      ===========================
*-*  List of the currently supported fonts (screen and PostScript)
*-*  =============================================================
*-*   Font ID       X11                       Win32 TTF       lfItalic  lfWeight x 10
*-*        1 : times-medium-i-normal      "Times New Roman"      1           5
*-*        2 : times-bold-r-normal        "Times New Roman"      0           8
*-*        3 : times-bold-i-normal        "Times New Roman"      1           8
*-*        4 : helvetica-medium-r-normal  "Arial"                0           5
*-*        5 : helvetica-medium-o-normal  "Arial"                1           5
*-*        6 : helvetica-bold-r-normal    "Arial"                0           8
*-*        7 : helvetica-bold-o-normal    "Arial"                1           8
*-*        8 : courier-medium-r-normal    "Courier New"          0           5
*-*        9 : courier-medium-o-normal    "Courier New"          1           5
*-*       10 : courier-bold-r-normal      "Courier New"          0           8
*-*       11 : courier-bold-o-normal      "Courier New"          1           8
*-*       12 : symbol-medium-r-normal     "Symbol"               0           6
*-*       13 : times-medium-r-normal      "Times New Roman"      0           5
*-*       14 :                            "Wingdings"            0           5
void SetTextSize(Float_t textsize)
Set current text size*-*-
*-*                      =====================
void SetTitle(const char* title)
Set title of the object*-
*-*                      =======================
void UpdateWindow(Int_t mode)
 Update display.
 mode : (1) update
        (0) sync
Int_t WriteGIF(char* name)
 Writes the current active window into pixmap file.
 The format is defined by the file name extension
 like "png","jpg","bmp"  . . .
 If no extension is provided the "png" format is used by default

 Returns 1 in case of success,
         0 otherwise
 Note: this method may not produce the expected result been called
 ----  from the ROOT prompt by simple reason:
       The active window will be console window
       rather the last selected ROOT canvas.

void WritePixmap(Int_t wid, UInt_t w, UInt_t h, char* pxname)
 Write the pixmap wd in the bitmap file pxname in JPEG.
 wd         : Pixmap address
 w,h         : Width and height of the pixmap.
               if w = h = -1 the size of the pimxap is equal the size the wd size
 pxname      : pixmap file name
               The format is defined by the file name extension
               like "png","jpg","bmp"  . . .
               If no or some unknown extension is provided then
               the "png" format is used by default
 --
 Take in account the special ROOT filename syntax 26.12.2006 vf
               "gif+NN" - an animated GIF file is produced, where NN is delay in 10ms units
TVirtualX * GetVirtualX()
{ return fgTQt;}
Int_t LoadQt(const char* shareLibFileName)
 Make sure we load the GUI DLL from the gui thread
Int_t processQtEvents(Int_t maxtime = 300)
 Force processing the Qt events only without entering the ROOT event loop
void operator=(const TGQt& )
TGQt()
QPaintDevice * GetSelectedWindow()
 Include the base TVirtualX class interface
 extracted methods
{ return fSelectedWindow; }
void SetTextDecoder(const char* )
{;}
Bool_t IsHandleValid(Window_t id)
void SetQClientFilter(TQtClientFilter* filter)
{fQClientFilter = filter;}
TQtClientFilter * QClientFilter() const
{return fQClientFilter;}
QColor QtColor(ULong_t pixel)
void SendDestroyEvent(TQtClientWidget* ) const