GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4HisDrawOptions.h
Go to the documentation of this file.
1 // $Id: TGo4HisDrawOptions.h 2038 2018-01-08 16:55:38Z 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 f�r 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 "QGo4Widget.h"
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 = 0 );
37 
38 
39  virtual void ChangeDrawOptionForCurrentPanel( int kind, int value );
40  virtual void DecodeDrawOption( const char * drawopt,
41  int & HisErrorStyle,
42  int & HisCoordStyle,
43  int & HisDrawStyle);
44  virtual void CodeDrawOptions( int HisErrorStyle, int HisCoordStyle, int HisDrawStyle, TString & buf );
45  virtual void UpdateView(int viewtype);
46  virtual void ChangeColor(int kind);
47 
48 
49  public slots:
50  virtual void panelSlot( TGo4ViewPanel * panel, TPad * pad, int signalid );
51  virtual void SetDrawOptions( int t );
52  virtual void SetErrorBars( int t );
53  virtual void SetCoordinates( int t );
54  virtual void XaxisStyle( int t );
55  virtual void YaxisStyle( int t );
56  virtual void ZaxisStyle( int t );
57  virtual void SetAutoScale( bool on );
58  virtual void SetLineColor();
59  virtual void SetFillColor();
60  virtual void SetMarkerColor();
61 
62 
63 protected:
66 
67 
68 };
69 
70 #endif
virtual void SetMarkerColor()
virtual void ZaxisStyle(int t)
virtual void SetCoordinates(int t)
virtual void XaxisStyle(int t)
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 UpdateView(int viewtype)
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=0)
virtual void YaxisStyle(int t)
virtual void SetErrorBars(int t)