#include <TGo4HistogramInfo.h>
Public Types | |
enum | PropertyIndex { HISTITLE, HISCLASS, HISENTRIES, HISX, HISXSTAT, HISY, HISYSTAT, HISZ, HISZSTAT, HISSIZE, HISTIME } |
Public Slots | |
virtual void | HisInfoButton_clicked () |
virtual void | HisPrintButton_clicked () |
virtual void | HisDrawButton_clicked () |
virtual void | PrintLog_clicked () |
Public Member Functions | |
TGo4HistogramInfo (QWidget *parent=0, const char *name=0) | |
virtual bool | IsAcceptDrag (const char *itemname, TClass *cl, int kind) |
virtual void | DropItem (const char *itemname, TClass *cl, int kind) |
virtual void | linkedObjectUpdated (const char *linkname, TObject *obj) |
virtual void | WorkWithHistogram (const char *itemname) |
virtual void | ResetWidget () |
virtual void | RefreshHistogramInfo (TH1 *h1) |
virtual void | RefreshHistogramInfo (TGo4HistogramStatus *hstate) |
Definition at line 24 of file TGo4HistogramInfo.h.
Definition at line 30 of file TGo4HistogramInfo.h.
TGo4HistogramInfo::TGo4HistogramInfo | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
Definition at line 25 of file TGo4HistogramInfo.cpp.
References ResetWidget().
void TGo4HistogramInfo::DropItem | ( | const char * | itemname, | |
TClass * | cl, | |||
int | kind | |||
) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 53 of file TGo4HistogramInfo.cpp.
References WorkWithHistogram().
void TGo4HistogramInfo::HisDrawButton_clicked | ( | ) | [virtual, slot] |
Definition at line 38 of file TGo4HistogramInfo.cpp.
References QGo4Widget::DrawItem().
void TGo4HistogramInfo::HisInfoButton_clicked | ( | ) | [virtual, slot] |
Definition at line 43 of file TGo4HistogramInfo.cpp.
References WorkWithHistogram().
void TGo4HistogramInfo::HisPrintButton_clicked | ( | ) | [virtual, slot] |
Definition at line 33 of file TGo4HistogramInfo.cpp.
References QGo4Widget::ServiceCall().
bool TGo4HistogramInfo::IsAcceptDrag | ( | const char * | itemname, | |
TClass * | cl, | |||
int | kind | |||
) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 48 of file TGo4HistogramInfo.cpp.
void TGo4HistogramInfo::linkedObjectUpdated | ( | const char * | linkname, | |
TObject * | obj | |||
) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 61 of file TGo4HistogramInfo.cpp.
References RefreshHistogramInfo().
void TGo4HistogramInfo::PrintLog_clicked | ( | ) | [virtual, slot] |
Definition at line 169 of file TGo4HistogramInfo.cpp.
References HISCLASS, HISENTRIES, HISSIZE, HISTIME, HISTITLE, HISX, HISXSTAT, HISY, HISYSTAT, HISZ, HISZSTAT, and TGo4Log::Message().
Referenced by RefreshHistogramInfo().
void TGo4HistogramInfo::RefreshHistogramInfo | ( | TH1 * | h1 | ) | [virtual] |
Definition at line 117 of file TGo4HistogramInfo.cpp.
References ResetWidget().
Referenced by linkedObjectUpdated(), and WorkWithHistogram().
void TGo4HistogramInfo::RefreshHistogramInfo | ( | TGo4HistogramStatus * | hstate | ) | [virtual] |
Definition at line 127 of file TGo4HistogramInfo.cpp.
References TGo4HistogramStatus::GetDimension(), TGo4HistogramStatus::GetEntries(), TGo4ObjectStatus::GetObjectClass(), TGo4ObjectStatus::GetObjectSize(), TGo4ObjectStatus::GetTimeString(), TGo4HistogramStatus::GetXbins(), TGo4HistogramStatus::GetXmax(), TGo4HistogramStatus::GetXmean(), TGo4HistogramStatus::GetXmin(), TGo4HistogramStatus::GetXrms(), TGo4HistogramStatus::GetYbins(), TGo4HistogramStatus::GetYmax(), TGo4HistogramStatus::GetYmean(), TGo4HistogramStatus::GetYmin(), TGo4HistogramStatus::GetYrms(), TGo4HistogramStatus::GetZbins(), TGo4HistogramStatus::GetZmax(), TGo4HistogramStatus::GetZmean(), TGo4HistogramStatus::GetZmin(), TGo4HistogramStatus::GetZrms(), HISCLASS, HISENTRIES, HISSIZE, HISTIME, HISTITLE, HISX, HISXSTAT, HISY, HISYSTAT, HISZ, HISZSTAT, TGo4Log::IsAutoEnabled(), and PrintLog_clicked().
void TGo4HistogramInfo::ResetWidget | ( | ) | [virtual] |
Reimplemented from QGo4Widget.
Definition at line 93 of file TGo4HistogramInfo.cpp.
References HISCLASS, HISENTRIES, HISSIZE, HISTIME, HISTITLE, HISX, HISXSTAT, HISY, HISYSTAT, HISZ, and HISZSTAT.
Referenced by RefreshHistogramInfo(), TGo4HistogramInfo(), and WorkWithHistogram().
void TGo4HistogramInfo::WorkWithHistogram | ( | const char * | itemname | ) | [virtual] |
Definition at line 71 of file TGo4HistogramInfo.cpp.
References QGo4Widget::AddLink(), QGo4Widget::AddSlot(), QGo4Widget::Browser(), QGo4Widget::GetLinked(), TGo4BrowserProxy::IsAnalysisItem(), RefreshHistogramInfo(), TGo4BrowserProxy::RequestObjectStatus(), and ResetWidget().
Referenced by DropItem(), TGo4MainWindow::editorServiceSlot(), and HisInfoButton_clicked().