1 #ifndef ALIMUONATTPAINTERSELECTORFRAME_H
2 #define ALIMUONATTPAINTERSELECTORFRAME_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONAttPainterSelectorFrame
11 /// \brief Widget to select the painter(s) view type
13 // Author Laurent Aphecetche, Subatech
18 #ifndef ALIMUONATTPAINTER_H
19 # include "AliMUONAttPainter.h"
24 class AliMUONAttPainterSelectorFrame : public TGHorizontalFrame
27 AliMUONAttPainterSelectorFrame(TGWindow* p=0x0, UInt_t w=1, UInt_t h=1);
28 virtual ~AliMUONAttPainterSelectorFrame();
30 void Update(const AliMUONAttPainter& att);
32 void Clicked(AliMUONAttPainter* newValues); // *SIGNAL*
34 void CathodeClicked(Int_t buttonId);
36 void PlaneClicked(Int_t buttonId);
38 void ViewClicked(Int_t buttonId);
42 AliMUONAttPainterSelectorFrame(const AliMUONAttPainterSelectorFrame& rhs);
44 AliMUONAttPainterSelectorFrame& operator=(const AliMUONAttPainterSelectorFrame& rhs);
48 TGButtonGroup* fCathode; ///< cathode selection buttons
49 TGButtonGroup* fPlane; ///< plane selection buttons
50 TGButtonGroup* fViewPoint; ///< viewpoint selection buttons
52 AliMUONAttPainter fAttributes; ///< attributes
54 ClassDef(AliMUONAttPainterSelectorFrame,1) // Widget to select painter view type