#include <TGo4QItem.h>
Inheritance diagram for TGo4QItem:
Public Methods | |
TGo4QItem (QListView *parent, const char *pixmap, const QString &text, const QString &text1=0, const QString &text2=0) | |
TGo4QItem (QListViewItem *parent, const char *pixmap, const QString &text, const QString &text1=0, const QString &text2=0) | |
virtual | ~TGo4QItem () |
TKey * | GetFileKey () |
void | SetFileKey (TKey *key) |
TObject * | GetFileObj () |
void | SetFileObj (TObject *Obj) |
TFile * | GetRootFile () |
void | SetRootFile (TFile *fxFile) |
void | SetItemObject (TObject *fxObj) |
TObject * | GetItemObject () |
bool | IsMonitorDone () const |
void | SetMonitorDone (bool val=true) |
bool | IsLogYScale () |
bool | IsKeepScale () |
void | SetKeepScale (bool val) |
virtual void | ItemDBkRemote () |
virtual void | ItemDBkLocal () |
virtual void | ItemDBkMem () |
TObject * | GetWorkObject () |
Retrieve the real object under work (item, file monitor). More... | |
bool | InFileBrowser () |
bool | InMemoryBrowser () |
bool | InMonitoringList () |
virtual void | DrawObj (TGo4PreviewPanel *fxPanel, TPad *currentpad=0) |
Draw current object on the specified panel. More... | |
virtual void | GetOnlineObj () |
virtual void | UpdateOnline (TObject *fxObj) |
Update (Refresh contents) the current item object by object fxObj. More... | |
void | UpdateDrawPad () |
root TPad::Update of the current draw pad. More... | |
virtual void | GetRemoteObj () |
virtual void | AddToMonitorList () |
virtual void | AddToMemoryList () |
void | SetDrawCanvas (TCanvas *fxCan) |
TCanvas * | GetDrawCanvas () |
void | SetDrawPad (TPad *fxPad) |
TPad * | GetDrawPad () |
void | SetDrawPanel (TGo4PreviewPanel *panel) |
TGo4PreviewPanel * | GetDrawPanel () |
bool | AssignDrawPanel (TGo4PreviewPanel *pan, TPad *currentpad=0) |
Sets viewpanel, canvas and pad. More... | |
bool | IsExisting (TCanvas *can, TPad *pad) |
Check if canvas and pad are still there in root. More... | |
bool | IsSubPad (TPad *mother, TPad *subpad) |
Check recursively if subpad is contained in mother pad. More... | |
virtual void | SetStatus (TGo4Status *) |
Sets Go4 status object, which is correspond to this item. More... | |
Protected Attributes | |
TKey * | fxKey |
TGo4PreviewPanel * | fxDrawPanel |
TCanvas * | fxDrawCanvas |
TPad * | fxDrawPad |
TObject * | fxObj |
TFile * | fxRootFile |
TObject * | fxItemObject |
TGo4GUIRegistry * | fxTGo4GUIRegistry |
bool | fbMonitorDone |
true if this object was already received and displayed after request. More... |
Definition at line 37 of file TGo4QItem.h.
|
Definition at line 106 of file TGo4QItem.cpp. References fbMonitorDone, fxDrawCanvas, fxDrawPad, fxDrawPanel, fxItemObject, fxKey, fxObj, fxRootFile, fxTGo4GUIRegistry, TGo4GUIRegistry::Instance(), and TGo4MainWindow::uic_load_pixmap(). |
|
Definition at line 90 of file TGo4QItem.cpp. References fbMonitorDone, fxDrawCanvas, fxDrawPad, fxDrawPanel, fxItemObject, fxKey, fxObj, fxRootFile, fxTGo4GUIRegistry, TGo4GUIRegistry::Instance(), and TGo4MainWindow::uic_load_pixmap(). |
|
Definition at line 122 of file TGo4QItem.cpp. |
|
Definition at line 44 of file TGo4QItem.h. References fxKey. |
|
Definition at line 45 of file TGo4QItem.h. References fxKey. Referenced by TGo4DiskFileBrowserSlots::MapObject(), and TGo4DiskFileBrowserSlots::OpenSelectedRootFile(). |
|
Definition at line 47 of file TGo4QItem.h. References fxObj. Referenced by TGo4QRootCanvas::dropEvent(). |
|
Definition at line 48 of file TGo4QItem.h. References fxObj. Referenced by TGo4BrowserSlots::AddObjectToLocalList(), GetWorkObject(), TGo4QConItem::ItemDBkLocal(), TGo4DiskFileBrowserSlots::MapObject(), and TGo4DiskFileBrowserSlots::OpenSelectedRootFile(). |
|
Definition at line 50 of file TGo4QItem.h. References fxRootFile. Referenced by TGo4DiskFileBrowserSlots::FileItemDoubleClicked(), and TGo4DiskFileBrowserSlots::ShowProperties(). |
|
Definition at line 51 of file TGo4QItem.h. References fxRootFile. Referenced by TGo4DiskFileBrowserSlots::MapBranch(), TGo4DiskFileBrowserSlots::MapEvent(), TGo4DiskFileBrowserSlots::MapObject(), TGo4DiskFileBrowserSlots::OpenSelectedRootFile(), and TGo4QFileItem::TGo4QFileItem(). |
|
Definition at line 53 of file TGo4QItem.h. References fxItemObject, and fxObj. Referenced by TGo4MonitoredListSlots::AddObject(), TGo4BrowserSlots::AddObjectToLocalList(), TGo4DiskFileBrowserSlots::MapObject(), and TGo4DiskFileBrowserSlots::OpenSelectedRootFile(). |
|
Definition at line 54 of file TGo4QItem.h. References fxItemObject. Referenced by TGo4QRootCanvas::dropEvent(), TGo4MonitoredListSlots::MonitorVisible(), and TGo4MonitoredListSlots::SendToLocalList(). |
|
Definition at line 56 of file TGo4QItem.h. References fbMonitorDone. Referenced by TGo4MonitoredListSlots::IsAllMonitorDone(). |
|
Definition at line 57 of file TGo4QItem.h. References fbMonitorDone. Referenced by TGo4MonitoredListSlots::AddObject(), TGo4MonitoredListSlots::MonitorVisible(), and TGo4MonitoredListSlots::StartMonitoring(). |
|
Definition at line 160 of file TGo4QItem.cpp. References TGo4MainWindow::CheckViewpanel(), fxDrawCanvas, fxDrawPad, fxDrawPanel, fxTGo4GUIRegistry, TGo4PadOptions::GetHisYStyle(), TGo4GUIRegistry::GetMainWindow(), IsExisting(), SetDrawCanvas(), SetDrawPad(), and SetDrawPanel(). Referenced by TGo4QTHItem::UpdateOnline(). |
|
Definition at line 178 of file TGo4QItem.cpp. References TGo4MainWindow::CheckViewpanel(), fxDrawCanvas, fxDrawPad, fxDrawPanel, fxTGo4GUIRegistry, TGo4PadOptions::GetAutoScale(), TGo4GUIRegistry::GetMainWindow(), IsExisting(), SetDrawCanvas(), SetDrawPad(), and SetDrawPanel(). Referenced by TGo4QTHStackItem::UpdateOnline(), TGo4QTHItem::UpdateOnline(), and TGo4QGraphItem::UpdateOnline(). |
|
Definition at line 195 of file TGo4QItem.cpp. References TGo4MainWindow::CheckViewpanel(), fxDrawCanvas, fxDrawPad, fxDrawPanel, fxTGo4GUIRegistry, TGo4GUIRegistry::GetMainWindow(), IsExisting(), and TGo4PadOptions::SetAutoScale(). |
|
Reimplemented in TGo4QCanvasItem, TGo4QConItem, TGo4QDynEntryItem, TGo4QParaItem, TGo4QPicItem, and TGo4QTHItem. Definition at line 126 of file TGo4QItem.cpp. Referenced by TGo4BrowserSlots::UpdateLocalList(). |
|
Reimplemented in TGo4QCanvasItem, TGo4QConItem, TGo4QDynEntryItem, TGo4QFitterItem, TGo4QLeafItem, TGo4QParaItem, and TGo4QTHItem. Definition at line 130 of file TGo4QItem.cpp. Referenced by TGo4DiskFileBrowserSlots::FileItemDoubleClicked(). |
|
Reimplemented in TGo4QTHItem. Definition at line 134 of file TGo4QItem.cpp. |
|
Retrieve the real object under work (item, file monitor).
Definition at line 355 of file TGo4QItem.cpp. References fxItemObject, fxKey, fxObj, fxRootFile, TGo4MonitoredObject::GetMonitoredObject(), and SetFileObj(). Referenced by TGo4MainWindow::CheckHistogram(), TGo4QTHStackItem::DrawObj(), TGo4QTHItem::DrawObj(), TGo4QMultiGraphItem::DrawObj(), TGo4QGraphItem::DrawObj(), TGo4QCanvasItem::DrawObj(), TGo4QPicItem::DrawSubPic(), TGo4QFitterItem::DropAction(), TGo4ScriptSlots::GenerateStartupScript(), TGo4QPicItem::GetPic(), TGo4QParaItem::ItemDBkLocal(), TGo4QFitterItem::ItemDBkLocal(), TGo4QDynEntryItem::ItemDBkLocal(), TGo4DiskFileBrowserSlots::ShowProperties(), TGo4TreeViewerSlots::TreeDraw(), UpdateDrawPad(), TGo4QTHStackItem::UpdateOnline(), TGo4QTHItem::UpdateOnline(), TGo4QMultiGraphItem::UpdateOnline(), UpdateOnline(), TGo4QGraphItem::UpdateOnline(), and TGo4QCanvasItem::UpdateOnline(). |
|
Definition at line 380 of file TGo4QItem.cpp. Referenced by TGo4QTHStackItem::DrawObj(), TGo4QTHItem::DrawObj(), TGo4QMultiGraphItem::DrawObj(), TGo4QGraphItem::DrawObj(), TGo4QCanvasItem::DrawObj(), and TGo4QPicItem::DrawSubPic(). |
|
Definition at line 384 of file TGo4QItem.cpp. Referenced by TGo4QCanvasItem::DrawObj(), and TGo4QPicItem::DrawSubPic(). |
|
Definition at line 388 of file TGo4QItem.cpp. Referenced by TGo4QPicItem::DrawSubPic(). |
|
Draw current object on the specified panel. Optionally, the currentpad can be specified. Default is using the active pad of the panel Reimplemented in TGo4QCanvasItem, TGo4QGraphItem, TGo4QMultiGraphItem, TGo4QPicItem, TGo4QTHItem, and TGo4QTHStackItem. Definition at line 139 of file TGo4QItem.cpp. Referenced by TGo4WindowEditSlots::AddObject(), TGo4BrowserSlots::AddObject(), TGo4ScriptSlots::DisplayObj(), TGo4QTHStackItem::DrawObj(), TGo4QTHItem::DrawObj(), TGo4QMultiGraphItem::DrawObj(), TGo4QGraphItem::DrawObj(), TGo4QPicItem::DrawSubPic(), TGo4DiskFileBrowserSlots::PlotLocal(), TGo4BrowserSlots::PlotLocal(), TGo4MonitoredListSlots::PlotSelected(), TGo4ScriptSlots::SuperImpose(), TGo4DiskFileBrowserSlots::SuperImposeLocal(), and TGo4BrowserSlots::SuperImposeLocal(). |
|
Reimplemented in TGo4QCanvasItem, TGo4QPicItem, and TGo4QTHItem. Definition at line 143 of file TGo4QItem.cpp. Referenced by TGo4RemoteBrowserSlots::MonitorRemoteObj(). |
|
Update (Refresh contents) the current item object by object fxObj. To be used in monitoring and local memory refresh. Reimplemented in TGo4QCanvasItem, TGo4QGraphItem, TGo4QMultiGraphItem, TGo4QPicItem, TGo4QTHItem, and TGo4QTHStackItem. Definition at line 44 of file TGo4QItem.cpp. References TGo4MonitoredListStatus::AddToMonitoredObjectList(), fxItemObject, fxTGo4GUIRegistry, TGo4MonitoredListStatus::GetMonitoredObject(), TGo4BrowserStatus::GetObjectfromLocalList(), TGo4GUIRegistry::GetSlotClass(), TGo4MonitoredListSlots::GetStatus(), TGo4BrowserSlots::GetStatus(), GetWorkObject(), TGo4BrowserStatus::OverWriteLocalObject(), TGo4MonitoredListStatus::RemoveMonitoredObject(), TGo4MonitoredObject::SetMonitoredObject(), and TGo4MonitoredObject::SetMonObjItem(). Referenced by TGo4MonitoredListSlots::AddObject(), TGo4BrowserSlots::AddObjectToLocalList(), TGo4QMultiGraphItem::UpdateOnline(), and TGo4QGraphItem::UpdateOnline(). |
|
root TPad::Update of the current draw pad. Does not redraw object Definition at line 206 of file TGo4QItem.cpp. References TGo4MainWindow::CheckViewpanel(), fxDrawCanvas, fxDrawPad, fxDrawPanel, fxTGo4GUIRegistry, TGo4MonitoredObject::GetCanvas(), TGo4GUIRegistry::GetMainWindow(), TGo4MonitoredObject::GetPad(), GetWorkObject(), IsExisting(), TGo4MonitoredObject::SetCanvas(), SetDrawCanvas(), SetDrawPad(), SetDrawPanel(), TGo4MonitoredObject::SetPad(), and TGo4MonitoredObject::SetPreViewPanel(). Referenced by TGo4QTHStackItem::UpdateOnline(), TGo4QTHItem::UpdateOnline(), TGo4QPicItem::UpdateOnline(), TGo4QMultiGraphItem::UpdateOnline(), and TGo4QGraphItem::UpdateOnline(). |
|
Reimplemented in TGo4QCanvasItem, TGo4QPicItem, and TGo4QTHItem. Definition at line 147 of file TGo4QItem.cpp. Referenced by TGo4RemoteBrowserSlots::GetRemoteObj(), TGo4MonitoredListSlots::MonitorVisible(), and TGo4MonitoredListSlots::StartMonitoring(). |
|
Reimplemented in TGo4QPicItem. Definition at line 151 of file TGo4QItem.cpp. Referenced by TGo4MonitoredListSlots::AddObject(). |
|
Reimplemented in TGo4QPicItem. Definition at line 156 of file TGo4QItem.cpp. Referenced by TGo4BrowserSlots::AddObjectToLocalList(). |
|
Definition at line 90 of file TGo4QItem.h. References fxDrawCanvas. Referenced by AssignDrawPanel(), IsKeepScale(), IsLogYScale(), and UpdateDrawPad(). |
|
Definition at line 91 of file TGo4QItem.h. References fxDrawCanvas. Referenced by TGo4WindowEditSlots::AddObject(). |
|
Definition at line 92 of file TGo4QItem.h. References fxDrawPad. Referenced by AssignDrawPanel(), IsKeepScale(), IsLogYScale(), and UpdateDrawPad(). |
|
Definition at line 93 of file TGo4QItem.h. References fxDrawPad. Referenced by TGo4WindowEditSlots::AddObject(). |
|
Definition at line 94 of file TGo4QItem.h. References fxDrawPanel. Referenced by AssignDrawPanel(), IsKeepScale(), IsLogYScale(), and UpdateDrawPad(). |
|
Definition at line 95 of file TGo4QItem.h. References fxDrawPanel. Referenced by TGo4WindowEditSlots::AddObject(). |
|
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 Definition at line 269 of file TGo4QItem.cpp. References TGo4MainWindow::CheckViewpanel(), fxDrawCanvas, fxDrawPad, fxDrawPanel, fxTGo4GUIRegistry, TGo4GUIRegistry::GetMainWindow(), IsExisting(), TGo4MonitoredObject::SetCanvas(), SetDrawCanvas(), SetDrawPad(), SetDrawPanel(), TGo4MonitoredObject::SetPad(), and TGo4MonitoredObject::SetPreViewPanel(). Referenced by TGo4QTHStackItem::DrawObj(), TGo4QTHItem::DrawObj(), TGo4QPicItem::DrawObj(), TGo4QMultiGraphItem::DrawObj(), TGo4QGraphItem::DrawObj(), and TGo4QCanvasItem::DrawObj(). |
|
Check if canvas and pad are still there in root.
Definition at line 312 of file TGo4QItem.cpp. References IsSubPad(). Referenced by TGo4WindowEditSlots::AddObject(), AssignDrawPanel(), IsKeepScale(), IsLogYScale(), SetKeepScale(), UpdateDrawPad(), and TGo4QCanvasItem::UpdateOnline(). |
|
Check recursively if subpad is contained in mother pad.
Definition at line 321 of file TGo4QItem.cpp. Referenced by IsExisting(). |
|
Sets Go4 status object, which is correspond to this item.
Reimplemented in TGo4QConItem. Definition at line 108 of file TGo4QItem.h. Referenced by TGo4RemoteBrowserSlots::AddFolder(). |
|
Definition at line 111 of file TGo4QItem.h. Referenced by GetFileKey(), GetWorkObject(), TGo4QConItem::ItemDBkLocal(), SetFileKey(), and TGo4QItem(). |
|
Definition at line 112 of file TGo4QItem.h. Referenced by AssignDrawPanel(), TGo4QTHStackItem::DrawObj(), TGo4QTHItem::DrawObj(), TGo4QPicItem::DrawObj(), TGo4QMultiGraphItem::DrawObj(), TGo4QGraphItem::DrawObj(), TGo4QCanvasItem::DrawObj(), GetDrawPanel(), IsKeepScale(), IsLogYScale(), SetDrawPanel(), SetKeepScale(), TGo4QItem(), UpdateDrawPad(), TGo4QMultiGraphItem::UpdateOnline(), TGo4QGraphItem::UpdateOnline(), and TGo4QCanvasItem::UpdateOnline(). |
|
Definition at line 113 of file TGo4QItem.h. Referenced by AssignDrawPanel(), GetDrawCanvas(), IsKeepScale(), IsLogYScale(), SetDrawCanvas(), SetKeepScale(), TGo4QItem(), UpdateDrawPad(), and TGo4QCanvasItem::UpdateOnline(). |
|
Definition at line 114 of file TGo4QItem.h. Referenced by AssignDrawPanel(), TGo4QTHStackItem::DrawObj(), TGo4QTHItem::DrawObj(), TGo4QPicItem::DrawObj(), TGo4QMultiGraphItem::DrawObj(), TGo4QGraphItem::DrawObj(), TGo4QCanvasItem::DrawObj(), GetDrawPad(), IsKeepScale(), IsLogYScale(), SetDrawPad(), SetKeepScale(), TGo4QItem(), UpdateDrawPad(), TGo4QMultiGraphItem::UpdateOnline(), and TGo4QCanvasItem::UpdateOnline(). |
|
Definition at line 115 of file TGo4QItem.h. Referenced by GetFileObj(), GetWorkObject(), TGo4QConItem::ItemDBkLocal(), SetFileObj(), SetItemObject(), TGo4QItem(), TGo4QTHItem::UpdateOnline(), TGo4QMultiGraphItem::UpdateOnline(), and TGo4QGraphItem::UpdateOnline(). |
|
Definition at line 116 of file TGo4QItem.h. Referenced by TGo4QFileItem::Close(), GetRootFile(), GetWorkObject(), TGo4QLeafItem::ItemDBkLocal(), SetRootFile(), TGo4QItem(), and TGo4QTreeItem::TGo4QTreeItem(). |
|
Definition at line 117 of file TGo4QItem.h. Referenced by GetItemObject(), GetWorkObject(), TGo4QConItem::ItemDBkLocal(), SetItemObject(), TGo4QItem(), UpdateOnline(), and TGo4QCanvasItem::UpdateOnline(). |
|
|
true if this object was already received and displayed after request.
Definition at line 120 of file TGo4QItem.h. Referenced by IsMonitorDone(), SetMonitorDone(), and TGo4QItem(). |