v2.10-0 (21000JUN2005)

Go4QtBaseWidgets
Class TGo4QItem

Direct Known Subclasses:
TGo4QBranchItem, TGo4QConItem, TGo4QDirItem, TGo4QDragDrop, TGo4QDynEntryItem, TGo4QFileItem, TGo4QFolderItem, TGo4QParaItem, TGo4QTreeItem

class TGo4QItem
derived from QListViewItem

Author:
Mohammad Al-Turany
Since: 24.04.2003

Field Summary
 protected boolfbMonitorDone
          true if this object was already received and displayed after request
 protected TCanvas*fxDrawCanvas
           
 protected TPad*fxDrawPad
           
 protected TGo4PreviewPanel*fxDrawPanel
           
 protected TObject*fxItemObject
           
 protected TKey*fxKey
           
 protected TObject*fxObj
           
 protected TFile*fxRootFile
           
 protected TGo4GUIRegistry*fxTGo4GUIRegistry
           

Constructor Summary
TGo4QItem(QListView* parent, const char * pixmap, const QString& text, const QString& text1, const QString& text2)
           
TGo4QItem(QListViewItem* parent, const char * pixmap, const QString& text, const QString& text1, const QString& text2)
           

Destructor Summary
 virtual synchronized ~TGo4QItem()
           

Method Summary
 virtual voidAddToMemoryList()
           
 virtual voidAddToMonitorList()
           
 boolAssignDrawPanel(TGo4PreviewPanel* pan, TPad* currentpad)
          Sets viewpanel, canvas and pad.
 virtual voidDrawObj(TGo4PreviewPanel* fxPanel, TPad* currentpad)
          Draw current object on the specified panel.
 TCanvas*GetDrawCanvas()
           
 TPad*GetDrawPad()
           
 TGo4PreviewPanel*GetDrawPanel()
           
 TKey*GetFileKey()
           
 TObject*GetFileObj()
           
 TObject*GetItemObject()
           
 virtual voidGetOnlineObj()
           
 virtual voidGetRemoteObj()
           
 TFile*GetRootFile()
           
 TObject*GetWorkObject()
          Retrieve the real object under work (item, file monitor)
 boolInFileBrowser()
           
 boolInMemoryBrowser()
           
 boolInMonitoringList()
           
 boolIsExisting(TCanvas* can, TPad* pad)
          Check if canvas and pad are still there in root
 boolIsKeepScale()
           
 boolIsLogYScale()
           
 const boolIsMonitorDone()
           
 boolIsSubPad(TPad* mother, TPad* subpad)
          Check recursively if subpad is contained in mother pad
 virtual voidItemDBkLocal()
           
 virtual voidItemDBkMem()
           
 virtual voidItemDBkRemote()
           
 voidSetDrawCanvas(TCanvas* fxCan)
           
 voidSetDrawPad(TPad* fxPad)
           
 voidSetDrawPanel(TGo4PreviewPanel* panel)
           
 voidSetFileKey(TKey* key)
           
 voidSetFileObj(TObject* Obj)
           
 voidSetItemObject(TObject* fxObj)
           
 voidSetKeepScale(bool val)
           
 voidSetMonitorDone(bool val)
           
 voidSetRootFile(TFile* fxFile)
           
 virtual voidSetStatus(TGo4Status* )
          Sets Go4 status object, which is correspond to this item
 voidUpdateDrawPad()
          root TPad::Update of the current draw pad.
 virtual voidUpdateOnline(TObject* fxObj)
          Update (Refresh contents) the current item object by object fxObj.

Field Detail

fbMonitorDone

protected bool fbMonitorDone
true if this object was already received and displayed after request

fxDrawCanvas

protected TCanvas* fxDrawCanvas

fxDrawPad

protected TPad* fxDrawPad

fxDrawPanel

protected TGo4PreviewPanel* fxDrawPanel

fxItemObject

protected TObject* fxItemObject

fxKey

protected TKey* fxKey

fxObj

protected TObject* fxObj

fxRootFile

protected TFile* fxRootFile

fxTGo4GUIRegistry

protected TGo4GUIRegistry* fxTGo4GUIRegistry
Constructor Detail

TGo4QItem

public TGo4QItem(QListView* parent, const char * pixmap, const QString& text, const QString& text1, const QString& text2)

TGo4QItem

public TGo4QItem(QListViewItem* parent, const char * pixmap, const QString& text, const QString& text1, const QString& text2)
Method Detail

~TGo4QItem

public virtual synchronized ~TGo4QItem()
Method Detail

AddToMemoryList

public virtual void AddToMemoryList()

AddToMonitorList

public virtual void AddToMonitorList()

AssignDrawPanel

public bool AssignDrawPanel(TGo4PreviewPanel* pan, TPad* currentpad)
Sets viewpanel, canvas and pad. Checks if these are still valid.
returns false if pad is not usable anymore and resets pointers to 0.
Optionally, the current pad on panel can be specified; default is
the active pad

DrawObj

public virtual void DrawObj(TGo4PreviewPanel* fxPanel, TPad* currentpad)
Draw current object on the specified panel. Optionally, the currentpad
can be specified. Default is using the active pad of the panel

GetDrawCanvas

public TCanvas* GetDrawCanvas()

GetDrawPad

public TPad* GetDrawPad()

GetDrawPanel

public TGo4PreviewPanel* GetDrawPanel()

GetFileKey

public TKey* GetFileKey()

GetFileObj

public TObject* GetFileObj()

GetItemObject

public TObject* GetItemObject()

GetOnlineObj

public virtual void GetOnlineObj()

GetRemoteObj

public virtual void GetRemoteObj()

GetRootFile

public TFile* GetRootFile()

GetWorkObject

public TObject* GetWorkObject()
Retrieve the real object under work (item, file monitor)

InFileBrowser

public bool InFileBrowser()

InMemoryBrowser

public bool InMemoryBrowser()

InMonitoringList

public bool InMonitoringList()

IsExisting

public bool IsExisting(TCanvas* can, TPad* pad)
Check if canvas and pad are still there in root

IsKeepScale

public bool IsKeepScale()

IsLogYScale

public bool IsLogYScale()

IsMonitorDone

public const bool IsMonitorDone()

IsSubPad

public bool IsSubPad(TPad* mother, TPad* subpad)
Check recursively if subpad is contained in mother pad

ItemDBkLocal

public virtual void ItemDBkLocal()

ItemDBkMem

public virtual void ItemDBkMem()

ItemDBkRemote

public virtual void ItemDBkRemote()

SetDrawCanvas

public void SetDrawCanvas(TCanvas* fxCan)

SetDrawPad

public void SetDrawPad(TPad* fxPad)

SetDrawPanel

public void SetDrawPanel(TGo4PreviewPanel* panel)

SetFileKey

public void SetFileKey(TKey* key)

SetFileObj

public void SetFileObj(TObject* Obj)

SetItemObject

public void SetItemObject(TObject* fxObj)

SetKeepScale

public void SetKeepScale(bool val)

SetMonitorDone

public void SetMonitorDone(bool val)

SetRootFile

public void SetRootFile(TFile* fxFile)

SetStatus

public virtual void SetStatus(TGo4Status* )
Sets Go4 status object, which is correspond to this item

UpdateDrawPad

public void UpdateDrawPad()
root TPad::Update of the current draw pad. Does not redraw object

UpdateOnline

public virtual void UpdateOnline(TObject* fxObj)
Update (Refresh contents) the current item object by object fxObj.
To be used in monitoring and local memory refresh.

Associates Links

to Object Histogram

directed

to Object Canvas1

directed

to Object Pad1

directed

to Object gROOT

Label IsExisting(TCanvas)

to Object myfile.root

directed

to Object Histogram

directed

Association Links

to Class TKey

to Class TCanvas

to Class TPad

to Class TGo4GUIRegistry

Note Links

to Note Note1


J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005