#include <TGo4HisDrawOptions.h>
Public Types | |
enum | { view_Histo1 = 1, view_Histo2 = 2, view_Histo2ext = 3, view_Graph = 4, view_Polar = 5 } |
Public Slots | |
virtual void | panelSlot (TGo4ViewPanel *panel, TPad *pad, int signalid) |
virtual void | SetDrawOptions (int t) |
virtual void | SetErrorBars (int t) |
virtual void | SetCoordinates (int t) |
virtual void | XaxisStyle (int t) |
virtual void | YaxisStyle (int t) |
virtual void | ZaxisStyle (int t) |
virtual void | SetAutoScale (bool on) |
virtual void | SetLineColor () |
virtual void | SetFillColor () |
virtual void | SetMarkerColor () |
Public Member Functions | |
TGo4HisDrawOptions (QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=0) | |
virtual void | ChangeDrawOptionForCurrentPanel (int kind, int value) |
virtual void | DecodeDrawOption (const char *drawopt, int &HisErrorStyle, int &HisCoordStyle, int &HisDrawStyle) |
virtual void | CodeDrawOptions (int HisErrorStyle, int HisCoordStyle, int HisDrawStyle, TString &buf) |
virtual void | UpdateView (int viewtype) |
virtual void | ChangeColor (int kind) |
Protected Attributes | |
bool | fbSettingPanelData |
int | fiLastView |
Definition at line 24 of file TGo4HisDrawOptions.h.
anonymous enum |
Definition at line 30 of file TGo4HisDrawOptions.h.
TGo4HisDrawOptions::TGo4HisDrawOptions | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 , |
|||
Qt::WindowFlags | fl = 0 | |||
) |
Definition at line 29 of file TGo4HisDrawOptions.cpp.
References fbSettingPanelData, TGo4MdiArea::Instance(), panelSlot(), UpdateView(), and view_Histo1.
void TGo4HisDrawOptions::ChangeColor | ( | int | kind | ) | [virtual] |
Definition at line 667 of file TGo4HisDrawOptions.cpp.
References TGo4ViewPanel::ActivateInGedEditor(), TGo4ViewPanel::GetActivePad(), TGo4MdiArea::GetActivePanel(), TGo4ViewPanel::GetSelectedObject(), TGo4MdiArea::Instance(), TGo4ViewPanel::MarkPadModified(), and TGo4ViewPanel::ShootRepaintTimer().
Referenced by SetFillColor(), SetLineColor(), and SetMarkerColor().
void TGo4HisDrawOptions::ChangeDrawOptionForCurrentPanel | ( | int | kind, | |
int | value | |||
) | [virtual] |
Definition at line 277 of file TGo4HisDrawOptions.cpp.
References TGo4ViewPanel::ChangeDrawOption(), CodeDrawOptions(), fbSettingPanelData, TGo4ViewPanel::GetActivePad(), TGo4MdiArea::GetActivePanel(), and TGo4MdiArea::Instance().
Referenced by SetAutoScale(), SetCoordinates(), SetDrawOptions(), SetErrorBars(), XaxisStyle(), YaxisStyle(), and ZaxisStyle().
void TGo4HisDrawOptions::CodeDrawOptions | ( | int | HisErrorStyle, | |
int | HisCoordStyle, | |||
int | HisDrawStyle, | |||
TString & | buf | |||
) | [virtual] |
Definition at line 487 of file TGo4HisDrawOptions.cpp.
References fiLastView, view_Graph, view_Histo1, and view_Polar.
Referenced by ChangeDrawOptionForCurrentPanel().
void TGo4HisDrawOptions::DecodeDrawOption | ( | const char * | drawopt, | |
int & | HisErrorStyle, | |||
int & | HisCoordStyle, | |||
int & | HisDrawStyle | |||
) | [virtual] |
Definition at line 334 of file TGo4HisDrawOptions.cpp.
References fiLastView, view_Graph, view_Histo1, view_Histo2, and view_Polar.
Referenced by panelSlot().
void TGo4HisDrawOptions::panelSlot | ( | TGo4ViewPanel * | panel, | |
TPad * | pad, | |||
int | signalid | |||
) | [virtual, slot] |
Definition at line 50 of file TGo4HisDrawOptions.cpp.
References DecodeDrawOption(), fbSettingPanelData, fiLastView, TGo4Picture::GetFullRangeDim(), TGo4Picture::GetLogScale(), TGo4ViewPanel::GetPadOptions(), TGo4ViewPanel::GetSelectedObject(), TGo4Picture::IsAutoScale(), QGo4Widget::panel_Activated, QGo4Widget::panel_ActiveUpdated, QGo4Widget::panel_Modified, QGo4Widget::panel_Updated, UpdateView(), view_Histo2ext, and view_Polar.
Referenced by TGo4HisDrawOptions().
void TGo4HisDrawOptions::SetAutoScale | ( | bool | on | ) | [virtual, slot] |
Definition at line 329 of file TGo4HisDrawOptions.cpp.
References ChangeDrawOptionForCurrentPanel().
void TGo4HisDrawOptions::SetCoordinates | ( | int | t | ) | [virtual, slot] |
Definition at line 309 of file TGo4HisDrawOptions.cpp.
References ChangeDrawOptionForCurrentPanel().
void TGo4HisDrawOptions::SetDrawOptions | ( | int | t | ) | [virtual, slot] |
Definition at line 299 of file TGo4HisDrawOptions.cpp.
References ChangeDrawOptionForCurrentPanel().
void TGo4HisDrawOptions::SetErrorBars | ( | int | t | ) | [virtual, slot] |
Definition at line 304 of file TGo4HisDrawOptions.cpp.
References ChangeDrawOptionForCurrentPanel().
void TGo4HisDrawOptions::SetFillColor | ( | ) | [virtual, slot] |
Definition at line 657 of file TGo4HisDrawOptions.cpp.
References ChangeColor().
void TGo4HisDrawOptions::SetLineColor | ( | ) | [virtual, slot] |
Definition at line 652 of file TGo4HisDrawOptions.cpp.
References ChangeColor().
void TGo4HisDrawOptions::SetMarkerColor | ( | ) | [virtual, slot] |
Definition at line 662 of file TGo4HisDrawOptions.cpp.
References ChangeColor().
void TGo4HisDrawOptions::UpdateView | ( | int | viewtype | ) | [virtual] |
Definition at line 114 of file TGo4HisDrawOptions.cpp.
References fiLastView, view_Graph, view_Histo1, view_Histo2, view_Histo2ext, and view_Polar.
Referenced by panelSlot(), and TGo4HisDrawOptions().
void TGo4HisDrawOptions::XaxisStyle | ( | int | t | ) | [virtual, slot] |
Definition at line 314 of file TGo4HisDrawOptions.cpp.
References ChangeDrawOptionForCurrentPanel().
void TGo4HisDrawOptions::YaxisStyle | ( | int | t | ) | [virtual, slot] |
Definition at line 319 of file TGo4HisDrawOptions.cpp.
References ChangeDrawOptionForCurrentPanel().
void TGo4HisDrawOptions::ZaxisStyle | ( | int | t | ) | [virtual, slot] |
Definition at line 324 of file TGo4HisDrawOptions.cpp.
References ChangeDrawOptionForCurrentPanel().
bool TGo4HisDrawOptions::fbSettingPanelData [protected] |
Definition at line 64 of file TGo4HisDrawOptions.h.
Referenced by ChangeDrawOptionForCurrentPanel(), panelSlot(), and TGo4HisDrawOptions().
int TGo4HisDrawOptions::fiLastView [protected] |
Definition at line 65 of file TGo4HisDrawOptions.h.
Referenced by CodeDrawOptions(), DecodeDrawOption(), panelSlot(), and UpdateView().