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 ROOT_RQ_OBJECT
19 # include <RQ_OBJECT.h>
21 #ifndef ALIMUONATTPAINTER_H
22 # include "AliMUONAttPainter.h"
27 class AliMUONAttPainterSelectorFrame : public TGHorizontalFrame
29 RQ_OBJECT("AliMUONAttPainterSelectorFrame")
32 AliMUONAttPainterSelectorFrame(TGWindow* p=0x0, UInt_t w=1, UInt_t h=1);
33 virtual ~AliMUONAttPainterSelectorFrame();
35 void Update(const AliMUONAttPainter& att);
37 void Clicked(AliMUONAttPainter* newValues); // *SIGNAL*
39 void CathodeClicked(Int_t buttonId);
41 void PlaneClicked(Int_t buttonId);
43 void ViewClicked(Int_t buttonId);
47 AliMUONAttPainterSelectorFrame(const AliMUONAttPainterSelectorFrame& rhs);
49 AliMUONAttPainterSelectorFrame& operator=(const AliMUONAttPainterSelectorFrame& rhs);
53 TGButtonGroup* fCathode; ///< cathode selection buttons
54 TGButtonGroup* fPlane; ///< plane selection buttons
55 TGButtonGroup* fViewPoint; ///< viewpoint selection buttons
57 AliMUONAttPainter fAttributes; ///< attributes
59 ClassDef(AliMUONAttPainterSelectorFrame,1) // Widget to select painter view type