1 #ifndef _QG_CANVAS_WINDOW_HH_
2 #define _QG_CANVAS_WINDOW_HH_
24 class TRootEmbeddedCanvas;
29 QGCanvasWindow(
const TGWindow *p = 0, UInt_t w = 600, UInt_t h = 450);
71 void SetProperty(std::string key, std::string value);
Part of a canvas window for doing setup tasks.
Window containing a ROOT canvas.
TGLabel * fFilenameLabel
Filename label.
QGCanvasSetupFrame * fSetupFrame
Setup frame.
void RemovePlot(QGPlot *plot)
Remove pointer to a plot from the list of plots associated with this window.
std::list< QGPlot * > fDrawnPlots
Collection of currently drawn plots in this window.
void RemoveFromDrawnPlots(QGPlot *plot)
Remove pointer to a plot from the list of drawn plots.
void DisplayPlotFrame()
Display the plot frame.
QGCanvasWindow(const TGWindow *p=0, UInt_t w=600, UInt_t h=450)
Constructor.
QGCanvasWindowButtonsFrame * fButtonsFrame
Buttons frame.
QGFileHandler * fFileHandler
File handler.
void AddToDrawnPlots(QGPlot *plot)
Add pointer to a plot to the list of drawn plots.
QGPlotFrame * GetPlotFrame()
Get pointer to the plot frame.
void DisplaySetupFrame()
Display the setup frame.
std::list< QGPlot * > & GetPlots()
Get collection of plots associated with this window.
void AddPlot(QGPlot *plot)
Add pointer to a plot to the list of plots associated with this window.
QGPlotFrame * fPlotFrame
Plot frame.
virtual ~QGCanvasWindow()
Destructor.
void SetProperty(std::string key, std::string value)
Set property (used for opening a session)
void SetPlotsToRegenerate()
Set regenerate for each plot associated with this window.
QGFileHandler * GetFileHandler() const
Get pointer to file handler.
std::list< QGPlot * > fPlots
Collection of plots associated with this window.
void ClearDrawnPlots()
Clears the collection of drawn plots.
std::list< QGPlot * > & GetDrawnPlots()
Get collection of drawn plots.
void UpdateVariablesDropDownBoxes()
Update variables drop down boxes for plots associated with this window.
void UpdateFileLabel()
Update the file label.
Class to handle ROOT files.
Class for GUI histograms.
Part of a canvas window containing the ROOT canvas.
Base class for GUI plots including histograms, scatter plots, pulses, and graphical cuts.
Base class for GUI windows.