GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4HisDrawOptions Class Reference

#include <TGo4HisDrawOptions.h>

+ Inheritance diagram for TGo4HisDrawOptions:

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 SetAutoScale (bool on)
 
virtual void SetCoordinates (int t)
 
virtual void SetDrawOptions (int t)
 
virtual void SetErrorBars (int t)
 
virtual void SetFillColor ()
 
virtual void SetLineColor ()
 
virtual void SetMarkerColor ()
 
virtual void XaxisStyle (int t)
 
virtual void YaxisStyle (int t)
 
virtual void ZaxisStyle (int t)
 

Public Member Functions

 TGo4HisDrawOptions (QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags fl=Qt::Widget)
 
virtual void ChangeColor (int kind)
 
virtual void ChangeDrawOptionForCurrentPanel (int kind, int value)
 
virtual void CodeDrawOptions (int HisErrorStyle, int HisCoordStyle, int HisDrawStyle, TString &buf)
 
virtual void DecodeDrawOption (const char *drawopt, int &HisErrorStyle, int &HisCoordStyle, int &HisDrawStyle)
 
virtual void UpdateView (int viewtype, bool webcanvas=false)
 

Protected Attributes

bool fbSettingPanelData {false}
 
int fiLastView {0}
 

Detailed Description

Definition at line 24 of file TGo4HisDrawOptions.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
view_Histo1 
view_Histo2 
view_Histo2ext 
view_Graph 
view_Polar 

Definition at line 30 of file TGo4HisDrawOptions.h.

Constructor & Destructor Documentation

◆ TGo4HisDrawOptions()

TGo4HisDrawOptions::TGo4HisDrawOptions ( QWidget * parent = nullptr,
const char * name = nullptr,
Qt::WindowFlags fl = Qt::Widget )

Member Function Documentation

◆ ChangeColor()

◆ ChangeDrawOptionForCurrentPanel()

void TGo4HisDrawOptions::ChangeDrawOptionForCurrentPanel ( int kind,
int value )
virtual

◆ CodeDrawOptions()

void TGo4HisDrawOptions::CodeDrawOptions ( int HisErrorStyle,
int HisCoordStyle,
int HisDrawStyle,
TString & buf )
virtual

Definition at line 495 of file TGo4HisDrawOptions.cpp.

References fiLastView, view_Graph, view_Histo1, and view_Polar.

Referenced by ChangeDrawOptionForCurrentPanel().

◆ DecodeDrawOption()

void TGo4HisDrawOptions::DecodeDrawOption ( const char * drawopt,
int & HisErrorStyle,
int & HisCoordStyle,
int & HisDrawStyle )
virtual

Definition at line 343 of file TGo4HisDrawOptions.cpp.

References fiLastView, view_Graph, view_Histo1, view_Histo2, and view_Polar.

Referenced by panelSlot().

◆ panelSlot

◆ SetAutoScale

void TGo4HisDrawOptions::SetAutoScale ( bool on)
virtualslot

Definition at line 338 of file TGo4HisDrawOptions.cpp.

References ChangeDrawOptionForCurrentPanel().

Referenced by TGo4HisDrawOptions().

◆ SetCoordinates

void TGo4HisDrawOptions::SetCoordinates ( int t)
virtualslot

Definition at line 318 of file TGo4HisDrawOptions.cpp.

References ChangeDrawOptionForCurrentPanel().

Referenced by TGo4HisDrawOptions().

◆ SetDrawOptions

void TGo4HisDrawOptions::SetDrawOptions ( int t)
virtualslot

Definition at line 308 of file TGo4HisDrawOptions.cpp.

References ChangeDrawOptionForCurrentPanel().

Referenced by TGo4HisDrawOptions().

◆ SetErrorBars

void TGo4HisDrawOptions::SetErrorBars ( int t)
virtualslot

Definition at line 313 of file TGo4HisDrawOptions.cpp.

References ChangeDrawOptionForCurrentPanel().

Referenced by TGo4HisDrawOptions().

◆ SetFillColor

void TGo4HisDrawOptions::SetFillColor ( )
virtualslot

Definition at line 664 of file TGo4HisDrawOptions.cpp.

References ChangeColor().

Referenced by TGo4HisDrawOptions().

◆ SetLineColor

void TGo4HisDrawOptions::SetLineColor ( )
virtualslot

Definition at line 659 of file TGo4HisDrawOptions.cpp.

References ChangeColor().

Referenced by TGo4HisDrawOptions().

◆ SetMarkerColor

void TGo4HisDrawOptions::SetMarkerColor ( )
virtualslot

Definition at line 669 of file TGo4HisDrawOptions.cpp.

References ChangeColor().

Referenced by TGo4HisDrawOptions().

◆ UpdateView()

void TGo4HisDrawOptions::UpdateView ( int viewtype,
bool webcanvas = false )
virtual

◆ XaxisStyle

void TGo4HisDrawOptions::XaxisStyle ( int t)
virtualslot

Definition at line 323 of file TGo4HisDrawOptions.cpp.

References ChangeDrawOptionForCurrentPanel().

Referenced by TGo4HisDrawOptions().

◆ YaxisStyle

void TGo4HisDrawOptions::YaxisStyle ( int t)
virtualslot

Definition at line 328 of file TGo4HisDrawOptions.cpp.

References ChangeDrawOptionForCurrentPanel().

Referenced by TGo4HisDrawOptions().

◆ ZaxisStyle

void TGo4HisDrawOptions::ZaxisStyle ( int t)
virtualslot

Definition at line 333 of file TGo4HisDrawOptions.cpp.

References ChangeDrawOptionForCurrentPanel().

Referenced by TGo4HisDrawOptions().

Field Documentation

◆ fbSettingPanelData

bool TGo4HisDrawOptions::fbSettingPanelData {false}
protected

◆ fiLastView

int TGo4HisDrawOptions::fiLastView {0}
protected

Definition at line 62 of file TGo4HisDrawOptions.h.

Referenced by CodeDrawOptions(), DecodeDrawOption(), panelSlot(), and UpdateView().


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