Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef TGO4HISDRAWOPTIONS_H
00015 #define TGO4HISDRAWOPTIONS_H
00016
00017 #include "QGo4Widget.h"
00018 #include "ui_TGo4HisDrawOptions.h"
00019 #include "TString.h"
00020
00021 class TGo4ViewPanel;
00022 class TPad;
00023
00024 class TGo4HisDrawOptions : public QWidget, public Ui::TGo4HisDrawOptions
00025 {
00026 Q_OBJECT
00027
00028 public:
00029
00030 enum { view_Histo1 = 1,
00031 view_Histo2 = 2,
00032 view_Histo2ext = 3,
00033 view_Graph = 4,
00034 view_Polar = 5 };
00035
00036 TGo4HisDrawOptions( QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0 );
00037
00038
00039 virtual void ChangeDrawOptionForCurrentPanel( int kind, int value );
00040 virtual void DecodeDrawOption( const char * drawopt,
00041 int & HisErrorStyle,
00042 int & HisCoordStyle,
00043 int & HisDrawStyle);
00044 virtual void CodeDrawOptions( int HisErrorStyle, int HisCoordStyle, int HisDrawStyle, TString & buf );
00045 virtual void UpdateView(int viewtype);
00046 virtual void ChangeColor(int kind);
00047
00048
00049 public slots:
00050 virtual void panelSlot( TGo4ViewPanel * panel, TPad * pad, int signalid );
00051 virtual void SetDrawOptions( int t );
00052 virtual void SetErrorBars( int t );
00053 virtual void SetCoordinates( int t );
00054 virtual void XaxisStyle( int t );
00055 virtual void YaxisStyle( int t );
00056 virtual void ZaxisStyle( int t );
00057 virtual void SetAutoScale( bool on );
00058 virtual void SetLineColor();
00059 virtual void SetFillColor();
00060 virtual void SetMarkerColor();
00061
00062
00063 protected:
00064 bool fbSettingPanelData;
00065 int fiLastView;
00066
00067
00068 };
00069
00070 #endif