44 AddFrame(
fScrollableFrame,
new TGLayoutHints(kLHintsExpandX | kLHintsExpandY, 0, 0, 0, 0));
77 map<QGPlot*, QGPlotListEntryFrame*>::iterator entryIter;
78 for (entryIter =
fEntries.begin(); entryIter !=
fEntries.end(); ++entryIter) {
90 list<QGPlot*>::const_iterator plotIter;
91 for (plotIter = plots.begin(); plotIter != plots.end(); ++plotIter) {
Class for entries in the plot list.
Singleton class for plot list window.
std::map< QGPlot *, QGPlotListEntryFrame * > fEntries
Map from plots to entries.
TGCanvas * fScrollableFrame
Scrollable frame.
void RemoveEntry(QGPlot *plot)
Remove entry for plot.
static bool IsVisible()
Returns true if the plot list window exists.
void AddEntry(QGPlot *plot)
Add entry for plot.
QGPlotListWindow(const TGWindow *p=0, UInt_t w=450, UInt_t h=300)
Private constructor.
void Refresh()
Refresh the contents of the window.
virtual ~QGPlotListWindow()
Destructor.
static QGPlotListWindow * Instance()
Singleton.
static void Update()
Update the plot list.
static QGPlotListWindow * fMe
Singleton.
void GeneratePlotList()
Generate list of plots.
void Clear(Option_t *opt="")
Clear the plot list.
TGVerticalFrame * fContainerFrame
Container frame for scrollable frame.
Base class for GUI plots including histograms, scatter plots, pulses, and graphical cuts.
static const std::list< QGPlot * > & GetPlots()
Get collection of plots.
Base class for GUI windows.
virtual void SetWindowName(const char *name=0)
Set name of window.
std::string Resize(const std::string &s, size_t len)
resize a string to len, adding spaces if necessary