Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4BrowserSlots Class Reference

#include <TGo4BrowserSlots.h>

Inheritance diagram for TGo4BrowserSlots:

TGo4SlotsBaseClass List of all members.

Public Methods

 TGo4BrowserSlots (const char *name, const char *title, TGo4Browser *p)
virtual ~TGo4BrowserSlots ()
void AddLocalObject (TNamed *Obj)
 first check that the browser is opened, if not there is no need to add the objects to the view they only need to be added to status. More...

void AddObject (TNamed *)
void AddObject (TNamed *, TQRootCanvas *, TPad *pad=0)
const Text_t * AddObjectToLocalList (TNamed *ob, Bool_t clone=kTRUE, Bool_t changetab=kTRUE)
 returns full name of added object in memory list. More...

TGo4Browser * GetBrowserGUI ()
TRefArray * GetIndexOfSelectedItems ()
TGo4StatusGetStatus ()
void LocalItemDoubleClicked (QListViewItem *Item)
void LocalListDeleteSelection ()
void PlotLocal ()
void ExportSelectedItems (const Text_t *filename, const Text_t *filedir, const Text_t *format=0, const Text_t *description=0, Bool_t exportall=kFALSE)
 Export selected objects of memory list into filedir. More...

void SetGUI (TGo4Browser *GUI)
void SetOverWriteMode (bool Mode)
void SuperImposeLocal ()
void SynchronizeWithMemory ()
void UpdateLocalList ()
void ResetRemoteObj (const char *ObjName)
const char * GetAddedItemName () const
 Access to name of last recent added item. More...


Private Attributes

TGo4GUIRegistryfxTGo4GUIRegistry
 @supplierCardinality 1. More...

TGo4Browser * fxTGo4Browser
TGo4BrowserStatusfxTGo4BrowserStatus
TFolder * RootMem
bool OverWriteMode
QTabWidget * TGo4DockBrowserTabs
TGo4DockBrowsers * fxTGo4DockBrowsers
TGo4MainWindowfxMainWin
TString fxAddedItemName
 Stores the item name of the added object after setting cycle. More...


Detailed Description

Author:
Mohammad Al-Turany, J.Adamczewski

Definition at line 41 of file TGo4BrowserSlots.h.


Constructor & Destructor Documentation

TGo4BrowserSlots::TGo4BrowserSlots const char *    name,
const char *    title,
TGo4Browser *    p
 

Definition at line 63 of file TGo4BrowserSlots.cxx.

References fxMainWin, fxTGo4Browser, fxTGo4BrowserStatus, fxTGo4DockBrowsers, fxTGo4GUIRegistry, TGo4GUIRegistry::GetMainWindow(), TGo4GUIRegistry::Instance(), OverWriteMode, p, TGo4GUIRegistry::RegisterSlotClass(), RootMem, TGo4GUIRegistry::SetMemoryBrowser(), and TGo4DockBrowserTabs.

TGo4BrowserSlots::~TGo4BrowserSlots   [virtual]
 

Definition at line 281 of file TGo4BrowserSlots.cxx.

References fxTGo4BrowserStatus.


Member Function Documentation

void TGo4BrowserSlots::AddLocalObject TNamed *    Obj
 

first check that the browser is opened, if not there is no need to add the objects to the view they only need to be added to status.

Definition at line 166 of file TGo4BrowserSlots.cxx.

References AddObjectToLocalList().

Referenced by TGo4CreateNewHistogramSlots::CreateLocalHist(), TGo4FitPanelSlots::Fitter_SaveToBrowser(), and TGo4TreeViewerSlots::TreeDraw().

void TGo4BrowserSlots::AddObject TNamed *    [virtual]
 

Reimplemented from TGo4SlotsBaseClass.

Definition at line 108 of file TGo4BrowserSlots.cxx.

References AddObjectToLocalList().

Referenced by TGo4QTHStackItem::DrawObj(), TGo4QTHItem::DrawObj(), TGo4QMultiGraphItem::DrawObj(), and TGo4QGraphItem::DrawObj().

void TGo4BrowserSlots::AddObject TNamed *   ,
TQRootCanvas  ,
TPad *    pad = 0
[virtual]
 

Reimplemented from TGo4SlotsBaseClass.

Definition at line 90 of file TGo4BrowserSlots.cxx.

References AddObjectToLocalList(), TGo4QItem::DrawObj(), fxAddedItemName, and fxTGo4Browser.

const Text_t * TGo4BrowserSlots::AddObjectToLocalList TNamed *    ob,
Bool_t    clone = kTRUE,
Bool_t    changetab = kTRUE
 

returns full name of added object in memory list.

Definition at line 113 of file TGo4BrowserSlots.cxx.

References TGo4BrowserStatus::AddObjectToLocalListStatus(), TGo4QItem::AddToMemoryList(), fxAddedItemName, fxTGo4Browser, fxTGo4BrowserStatus, fxTGo4DockBrowsers, TGo4BrowserStatus::GetObjectfromLocalList(), OverWriteMode, TGo4QItem::SetFileObj(), TGo4QItem::SetItemObject(), TGo4DockBrowserTabs, and TGo4QItem::UpdateOnline().

Referenced by TGo4QCanvasItem::AddHistosToMemBrowser(), AddLocalObject(), AddObject(), TGo4QTHItem::DrawObj(), TGo4MonitoredListSlots::SendToLocalList(), and SynchronizeWithMemory().

TGo4Browser* TGo4BrowserSlots::GetBrowserGUI   [inline]
 

Definition at line 54 of file TGo4BrowserSlots.h.

References fxTGo4Browser.

Referenced by TGo4WindowEditSlots::AddObject(), TGo4MainWindow::CheckHistogram(), TGo4QTHStackItem::DrawObj(), TGo4QTHItem::DrawObj(), TGo4QMultiGraphItem::DrawObj(), and TGo4QGraphItem::DrawObj().

TRefArray * TGo4BrowserSlots::GetIndexOfSelectedItems  
 

Definition at line 263 of file TGo4BrowserSlots.cxx.

References fxTGo4Browser.

Referenced by ExportSelectedItems().

TGo4Status * TGo4BrowserSlots::GetStatus  
 

Definition at line 85 of file TGo4BrowserSlots.cxx.

References fxTGo4BrowserStatus.

Referenced by TGo4FitPanelSlots::Fitter_SaveToBrowser(), TGo4FitPanelSlots::GetDropedObject(), TGo4QItem::UpdateOnline(), and TGo4QCanvasItem::UpdateOnline().

void TGo4BrowserSlots::LocalItemDoubleClicked QListViewItem *    Item
 

Definition at line 170 of file TGo4BrowserSlots.cxx.

References TGo4QFitterItem::ItemDBkLocal(), and PlotLocal().

void TGo4BrowserSlots::LocalListDeleteSelection  
 

Definition at line 201 of file TGo4BrowserSlots.cxx.

References fxTGo4Browser, fxTGo4BrowserStatus, and TGo4BrowserStatus::RemoveObjectfromLocalList().

void TGo4BrowserSlots::PlotLocal  
 

Definition at line 240 of file TGo4BrowserSlots.cxx.

References TGo4QItem::DrawObj(), fxMainWin, fxTGo4Browser, and TGo4MainWindow::ViewPanelSlot().

Referenced by LocalItemDoubleClicked().

void TGo4BrowserSlots::ExportSelectedItems const Text_t *    filename,
const Text_t *    filedir,
const Text_t *    format = 0,
const Text_t *    description = 0,
Bool_t    exportall = kFALSE
 

Export selected objects of memory list into filedir.

String format specifies conversion type. For some filters (e.g. ROOT), one file of filename is written containing all objects. If exportall flag is true, all objects in memory list are exported disregarding the mouse selections.

Definition at line 327 of file TGo4BrowserSlots.cxx.

References TGo4ExportManager::Export(), fxTGo4BrowserStatus, GetIndexOfSelectedItems(), TGo4BrowserStatus::GetLocalListStatus(), GO4EX_ASCII, GO4EX_RADWARE, GO4EX_ROOT, Go4Export_t, TGo4Log::Message(), TGo4ExportManager::SetCurrentDir(), TGo4ExportManager::SetOutFile(), TGo4ExportManager::SetOutFileComment(), and TGo4ExportManager::SetStartDir().

void TGo4BrowserSlots::SetGUI TGo4Browser *    GUI
 

Definition at line 78 of file TGo4BrowserSlots.cxx.

References fxTGo4Browser, fxTGo4GUIRegistry, and TGo4GUIRegistry::GuiIsChanged().

void TGo4BrowserSlots::SetOverWriteMode bool    Mode [inline]
 

Definition at line 65 of file TGo4BrowserSlots.h.

References OverWriteMode.

void TGo4BrowserSlots::SuperImposeLocal  
 

Definition at line 219 of file TGo4BrowserSlots.cxx.

References TGo4QItem::DrawObj(), fxMainWin, fxTGo4Browser, and TGo4MainWindow::ViewPanelSlot().

void TGo4BrowserSlots::SynchronizeWithMemory  
 

Definition at line 287 of file TGo4BrowserSlots.cxx.

References AddObjectToLocalList(), fxTGo4BrowserStatus, TGo4BrowserStatus::GetObjectfromLocalList(), and RootMem.

void TGo4BrowserSlots::UpdateLocalList  
 

Definition at line 182 of file TGo4BrowserSlots.cxx.

References fxTGo4Browser, and TGo4QItem::ItemDBkRemote().

void TGo4BrowserSlots::ResetRemoteObj const char *    ObjName
 

Definition at line 320 of file TGo4BrowserSlots.cxx.

References fxTGo4GUIRegistry, and TGo4GUIRegistry::SubmitCommand().

const char* TGo4BrowserSlots::GetAddedItemName   const [inline]
 

Access to name of last recent added item.

We cannot change return value of AddObject() for this, since this virtual baseclass method might be used by some user guis already!

Definition at line 74 of file TGo4BrowserSlots.h.

References fxAddedItemName.

Referenced by TGo4QTHStackItem::DrawObj(), TGo4QTHItem::DrawObj(), TGo4QMultiGraphItem::DrawObj(), and TGo4QGraphItem::DrawObj().


Member Data Documentation

TGo4GUIRegistry* TGo4BrowserSlots::fxTGo4GUIRegistry [private]
 

@supplierCardinality 1.

Definition at line 79 of file TGo4BrowserSlots.h.

Referenced by ResetRemoteObj(), SetGUI(), and TGo4BrowserSlots().

TGo4Browser* TGo4BrowserSlots::fxTGo4Browser [private]
 

Definition at line 80 of file TGo4BrowserSlots.h.

Referenced by AddObject(), AddObjectToLocalList(), GetBrowserGUI(), GetIndexOfSelectedItems(), LocalListDeleteSelection(), PlotLocal(), SetGUI(), SuperImposeLocal(), TGo4BrowserSlots(), and UpdateLocalList().

TGo4BrowserStatus* TGo4BrowserSlots::fxTGo4BrowserStatus [private]
 

Definition at line 81 of file TGo4BrowserSlots.h.

Referenced by AddObjectToLocalList(), ExportSelectedItems(), GetStatus(), LocalListDeleteSelection(), SynchronizeWithMemory(), TGo4BrowserSlots(), and ~TGo4BrowserSlots().

TFolder* TGo4BrowserSlots::RootMem [private]
 

Definition at line 82 of file TGo4BrowserSlots.h.

Referenced by SynchronizeWithMemory(), and TGo4BrowserSlots().

bool TGo4BrowserSlots::OverWriteMode [private]
 

Definition at line 83 of file TGo4BrowserSlots.h.

Referenced by AddObjectToLocalList(), SetOverWriteMode(), and TGo4BrowserSlots().

QTabWidget* TGo4BrowserSlots::TGo4DockBrowserTabs [private]
 

Definition at line 84 of file TGo4BrowserSlots.h.

Referenced by AddObjectToLocalList(), and TGo4BrowserSlots().

TGo4DockBrowsers* TGo4BrowserSlots::fxTGo4DockBrowsers [private]
 

Definition at line 85 of file TGo4BrowserSlots.h.

Referenced by AddObjectToLocalList(), and TGo4BrowserSlots().

TGo4MainWindow* TGo4BrowserSlots::fxMainWin [private]
 

Definition at line 86 of file TGo4BrowserSlots.h.

Referenced by PlotLocal(), SuperImposeLocal(), and TGo4BrowserSlots().

TString TGo4BrowserSlots::fxAddedItemName [private]
 

Stores the item name of the added object after setting cycle.

Definition at line 89 of file TGo4BrowserSlots.h.

Referenced by AddObject(), AddObjectToLocalList(), and GetAddedItemName().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:30 2005 for Go4-v2.10-5 by doxygen1.2.15