GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4HisDrawOptions.h
Go to the documentation of this file.
1 // $Id: TGo4HisDrawOptions.h 3124 2021-03-30 08:47:53Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4HISDRAWOPTIONS_H
15 #define TGO4HISDRAWOPTIONS_H
16 
17 #include <QWidget>
18 #include "ui_TGo4HisDrawOptions.h"
19 #include "TString.h"
20 
21 class TGo4ViewPanel;
22 class TPad;
23 
24 class TGo4HisDrawOptions : public QWidget, public Ui::TGo4HisDrawOptions
25  {
26  Q_OBJECT
27 
28  public:
29 
30  enum { view_Histo1 = 1,
34  view_Polar = 5 };
35 
36  TGo4HisDrawOptions( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = Qt::Widget );
37 
38  virtual void ChangeDrawOptionForCurrentPanel( int kind, int value );
39  virtual void DecodeDrawOption( const char * drawopt,
40  int & HisErrorStyle,
41  int & HisCoordStyle,
42  int & HisDrawStyle);
43  virtual void CodeDrawOptions( int HisErrorStyle, int HisCoordStyle, int HisDrawStyle, TString & buf );
44  virtual void UpdateView(int viewtype, bool webcanvas = false);
45  virtual void ChangeColor(int kind);
46 
47  public slots:
48  virtual void panelSlot( TGo4ViewPanel * panel, TPad * pad, int signalid );
49  virtual void SetDrawOptions( int t );
50  virtual void SetErrorBars( int t );
51  virtual void SetCoordinates( int t );
52  virtual void XaxisStyle( int t );
53  virtual void YaxisStyle( int t );
54  virtual void ZaxisStyle( int t );
55  virtual void SetAutoScale( bool on );
56  virtual void SetLineColor();
57  virtual void SetFillColor();
58  virtual void SetMarkerColor();
59 
60 protected:
63 
64 };
65 
66 #endif
virtual void SetMarkerColor()
virtual void ZaxisStyle(int t)
virtual void SetCoordinates(int t)
virtual void XaxisStyle(int t)
virtual void UpdateView(int viewtype, bool webcanvas=false)
virtual void panelSlot(TGo4ViewPanel *panel, TPad *pad, int signalid)
virtual void SetDrawOptions(int t)
virtual void ChangeColor(int kind)
virtual void SetFillColor()
virtual void CodeDrawOptions(int HisErrorStyle, int HisCoordStyle, int HisDrawStyle, TString &buf)
virtual void SetAutoScale(bool on)
virtual void DecodeDrawOption(const char *drawopt, int &HisErrorStyle, int &HisCoordStyle, int &HisDrawStyle)
virtual void ChangeDrawOptionForCurrentPanel(int kind, int value)
virtual void SetLineColor()
TGo4HisDrawOptions(QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=Qt::Widget)
virtual void YaxisStyle(int t)
virtual void SetErrorBars(int t)