Diana Software
Public Member Functions | Protected Attributes | List of all members
QGPlotEditWindow Class Referenceabstract

Base class for plot edit windows. More...

Inheritance diagram for QGPlotEditWindow:
QGWindow QGHistogramEditWindow QGPulseEditWindow QGScatterPlotEditWindow

Public Member Functions

 QGPlotEditWindow (const TGWindow *p=0, UInt_t w=280, UInt_t h=450)
 Constructor. More...
 
virtual ~QGPlotEditWindow ()
 Destructor. More...
 
virtual void FillVariablesDropDownBoxes ()=0
 Fill drop down boxes with variables from the chain, must be overridden by derived classes. More...
 
QGPlotEditButtonsFrameGetButtonsFrame ()
 Get pointer to the buttons frame. More...
 
QGCutsFrameGetCutsFrame ()
 Get pointer to the cuts frame. More...
 
virtual QGPlotGetPlot ()=0
 Get pointer to plot, pure virtual function must be overriden by derived classes. More...
 
QGPlotStyleFrameGetPlotStyleFrame ()
 Get pointer to the plot style frame. More...
 
virtual void SetPlot (QGPlot *plot)=0
 Set plot, pure virtual function must be overriden by derived classes. More...
 
void ShowButtonsFrame ()
 Show buttons frame. More...
 
void ShowCutsFrame ()
 Show cuts frame. More...
 
void ShowPlotStyleFrame ()
 Show plot style frame. More...
 
- Public Member Functions inherited from QGWindow
 QGWindow (const TGWindow *p=0, UInt_t w=100, UInt_t h=100)
 Constructor. More...
 
virtual ~QGWindow ()
 Destructor. More...
 
virtual void SetWindowName (const char *name=0)
 Set name of window. More...
 

Protected Attributes

QGPlotEditButtonsFramefButtonsFrame
 Buttons frame. More...
 
QGCutsFramefCutsFrame
 Cuts frame. More...
 
QGPlotStyleFramefPlotStyleFrame
 Canvas for plot style. More...
 
- Protected Attributes inherited from QGWindow
UInt_t fWidth
 Width of window. More...
 
UInt_t fHeight
 Height of window. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from QGWindow
static QGWindowGetWindowByName (const std::string &name)
 Get pointer to window with a given name. More...
 
static const std::list< QGWindow * > & GetWindows ()
 Get collection of windows. More...
 
static bool IsNameInUse (std::string name)
 Check whether string is the name of any window. More...
 
static std::string GenerateWindowName (std::string baseName)
 Generate a name for the window. More...
 
static void UpdateWindowDropDownBoxes ()
 Update window drop down boxes. More...
 
- Static Protected Attributes inherited from QGWindow
static std::list< QGWindow * > fWindows
 Collection of pointers to all open QGWindows. More...
 

Detailed Description

Base class for plot edit windows.

Author
Adam Bryant (adam_.nosp@m.brya.nosp@m.nt@be.nosp@m.rkel.nosp@m.ey.ed.nosp@m.u)

Definition at line 19 of file QGPlotEditWindow.hh.

Constructor & Destructor Documentation

◆ QGPlotEditWindow()

QGPlotEditWindow::QGPlotEditWindow ( const TGWindow *  p = 0,
UInt_t  w = 280,
UInt_t  h = 450 
)

Constructor.

◆ ~QGPlotEditWindow()

QGPlotEditWindow::~QGPlotEditWindow ( )
virtual

Destructor.

Definition at line 15 of file QGPlotEditWindow.cc.

Member Function Documentation

◆ FillVariablesDropDownBoxes()

virtual void QGPlotEditWindow::FillVariablesDropDownBoxes ( )
pure virtual

Fill drop down boxes with variables from the chain, must be overridden by derived classes.

Implemented in QGScatterPlotEditWindow, QGPulseEditWindow, and QGHistogramEditWindow.

◆ GetButtonsFrame()

QGPlotEditButtonsFrame* QGPlotEditWindow::GetButtonsFrame ( )
inline

Get pointer to the buttons frame.

Definition at line 31 of file QGPlotEditWindow.hh.

References fButtonsFrame.

Referenced by QGPlot::GetCanvasWindowFromEditWindow().

◆ GetCutsFrame()

QGCutsFrame* QGPlotEditWindow::GetCutsFrame ( )
inline

Get pointer to the cuts frame.

Definition at line 34 of file QGPlotEditWindow.hh.

References fCutsFrame.

Referenced by QGPlot::GetCutsFromEditWindow(), QGPlotIconsFrame::HandlePulsesButton(), and QGGraphicalCut::ViewPulses().

◆ GetPlot()

virtual QGPlot* QGPlotEditWindow::GetPlot ( )
pure virtual

◆ GetPlotStyleFrame()

QGPlotStyleFrame* QGPlotEditWindow::GetPlotStyleFrame ( )
inline

Get pointer to the plot style frame.

Definition at line 40 of file QGPlotEditWindow.hh.

References fPlotStyleFrame.

Referenced by QGHistogram::Display(), QGHistogram::DisplayEditWindow(), QGPulse::DisplayEditWindow(), and QGScatterPlot::DisplayEditWindow().

◆ SetPlot()

virtual void QGPlotEditWindow::SetPlot ( QGPlot plot)
pure virtual

Set plot, pure virtual function must be overriden by derived classes.

Implemented in QGScatterPlotEditWindow, QGPulseEditWindow, and QGHistogramEditWindow.

Referenced by QGHistogram::DisplayEditWindow(), QGPulse::DisplayEditWindow(), and QGScatterPlot::DisplayEditWindow().

◆ ShowButtonsFrame()

void QGPlotEditWindow::ShowButtonsFrame ( )

◆ ShowCutsFrame()

void QGPlotEditWindow::ShowCutsFrame ( )

◆ ShowPlotStyleFrame()

void QGPlotEditWindow::ShowPlotStyleFrame ( )

Member Data Documentation

◆ fButtonsFrame

QGPlotEditButtonsFrame* QGPlotEditWindow::fButtonsFrame
protected

◆ fCutsFrame

QGCutsFrame* QGPlotEditWindow::fCutsFrame
protected

◆ fPlotStyleFrame

QGPlotStyleFrame* QGPlotEditWindow::fPlotStyleFrame
protected

Canvas for plot style.

Definition at line 62 of file QGPlotEditWindow.hh.

Referenced by GetPlotStyleFrame(), and ShowPlotStyleFrame().


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