Public Member Functions | Private Attributes | List of all members
om::TabsBox Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/OnlineMonitoring/viewer/TabsBox.h"

Inheritance diagram for om::TabsBox:

Public Member Functions

 TabsBox (TGWindow *w)
 
 ~TabsBox ()
 

Private Attributes

HistogramBrowserfHistoBrowser
 
ComparisonBoxfComparisonBox
 
WatchListBoxfWatchListBox
 
TGLayoutHints * fHistoBrowserHints
 
TGLayoutHints * fComparisonBoxHints
 
TGLayoutHints * fWatchListBoxHints
 

Detailed Description

Definition at line 9 of file TabsBox.h.

Constructor & Destructor Documentation

TabsBox::TabsBox ( TGWindow *  w)

Definition at line 8 of file TabsBox.cxx.

References om::Layout::fBrowserTabSizeX, om::Layout::fBrowserTabSizeY, fComparisonBox, fComparisonBoxHints, fHistoBrowser, fHistoBrowserHints, fWatchListBox, and fWatchListBoxHints.

8  :
10 {
11  TGCompositeFrame* hb = this->AddTab("Histograms");
12  TGCompositeFrame* ct = this->AddTab("Comparison");
13  TGCompositeFrame* wl = this->AddTab("WatchList");
14 
18  kVerticalFrame);
19  fHistoBrowserHints = new TGLayoutHints(kLHintsExpandX|kLHintsExpandY);
20  hb->AddFrame(fHistoBrowser, fHistoBrowserHints);
21 
25  kVerticalFrame);
26  fComparisonBoxHints = new TGLayoutHints(kLHintsExpandX|kLHintsExpandY);
27  ct->AddFrame(fComparisonBox, fComparisonBoxHints);
28 
29  fWatchListBox = new WatchListBox(wl,
32  kVerticalFrame);
33  fWatchListBoxHints = new TGLayoutHints(kLHintsExpandX|kLHintsExpandY);
34  wl->AddFrame(fWatchListBox, fWatchListBoxHints);
35 
36  // this->AddTab("Summaries");
37 }
TGLayoutHints * fWatchListBoxHints
Definition: TabsBox.h:19
static const unsigned int fBrowserTabSizeX
Definition: Layout.h:23
WatchListBox * fWatchListBox
Definition: TabsBox.h:16
static const unsigned int fBrowserTabSizeY
Definition: Layout.h:24
HistogramBrowser * fHistoBrowser
Definition: TabsBox.h:14
TGLayoutHints * fHistoBrowserHints
Definition: TabsBox.h:17
ComparisonBox * fComparisonBox
Definition: TabsBox.h:15
Float_t w
Definition: plot.C:20
TGLayoutHints * fComparisonBoxHints
Definition: TabsBox.h:18
TabsBox::~TabsBox ( )

Definition at line 41 of file TabsBox.cxx.

References fComparisonBox, fComparisonBoxHints, fHistoBrowser, fHistoBrowserHints, fWatchListBox, and fWatchListBoxHints.

42 {
43 
44  if(fHistoBrowser) {
45  delete fHistoBrowser;
46  fHistoBrowser = 0;
47  }
48  if(fHistoBrowserHints) {
49  delete fHistoBrowserHints;
51  }
52 
53  if(fComparisonBox) {
54  delete fComparisonBox;
55  fComparisonBox = 0;
56  }
58  delete fComparisonBoxHints;
60  }
61 
62  if(fWatchListBox) {
63  delete fWatchListBox;
64  fWatchListBox = 0;
65  }
66  if(fWatchListBoxHints) {
67  delete fWatchListBoxHints;
69  }
70 
71 }
TGLayoutHints * fWatchListBoxHints
Definition: TabsBox.h:19
WatchListBox * fWatchListBox
Definition: TabsBox.h:16
HistogramBrowser * fHistoBrowser
Definition: TabsBox.h:14
TGLayoutHints * fHistoBrowserHints
Definition: TabsBox.h:17
ComparisonBox * fComparisonBox
Definition: TabsBox.h:15
TGLayoutHints * fComparisonBoxHints
Definition: TabsBox.h:18

Member Data Documentation

ComparisonBox* om::TabsBox::fComparisonBox
private

Definition at line 15 of file TabsBox.h.

Referenced by TabsBox(), and ~TabsBox().

TGLayoutHints* om::TabsBox::fComparisonBoxHints
private

Definition at line 18 of file TabsBox.h.

Referenced by TabsBox(), and ~TabsBox().

HistogramBrowser* om::TabsBox::fHistoBrowser
private

Definition at line 14 of file TabsBox.h.

Referenced by TabsBox(), and ~TabsBox().

TGLayoutHints* om::TabsBox::fHistoBrowserHints
private

Definition at line 17 of file TabsBox.h.

Referenced by TabsBox(), and ~TabsBox().

WatchListBox* om::TabsBox::fWatchListBox
private

Definition at line 16 of file TabsBox.h.

Referenced by TabsBox(), and ~TabsBox().

TGLayoutHints* om::TabsBox::fWatchListBoxHints
private

Definition at line 19 of file TabsBox.h.

Referenced by TabsBox(), and ~TabsBox().


The documentation for this class was generated from the following files: