CMS 3D CMS Logo

FWEnumParameterSetter.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWEnumParameterSetter_h
2 #define Fireworks_Core_FWEnumParameterSetter_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWEnumParameterSetter
7 //
16 //
17 // Original Author: matevz
18 // Created: Fri Apr 30 15:17:29 CEST 2010
19 //
20 
21 // system include files
22 #include <Rtypes.h>
23 
24 // user include files
27 
28 // forward declarations
29 class TGComboBox;
30 
32 {
33 
34 public:
36  virtual ~FWEnumParameterSetter();
37 
38  // ---------- const member functions ---------------------
39 
40  // ---------- static member functions --------------------
41 
42  // ---------- member functions ---------------------------
43 
44  virtual TGFrame* build(TGFrame* iParent, bool labelBack = true);
45 
46  virtual void setEnabled(bool);
47 
48  void doUpdate(Int_t id);
49 
50  TGComboBox* getWidget() { return m_widget; }
51 
52 private:
53  FWEnumParameterSetter(const FWEnumParameterSetter&); // stop default
54  const FWEnumParameterSetter& operator=(const FWEnumParameterSetter&); // stop default
55 
56  virtual void attach(FWParameterBase*);
57 
58  // ---------- member data --------------------------------
59 
61  TGComboBox *m_widget;
62 };
63 
64 #endif
virtual TGFrame * build(TGFrame *iParent, bool labelBack=true)
virtual void setEnabled(bool)
virtual void attach(FWParameterBase *)
const FWEnumParameterSetter & operator=(const FWEnumParameterSetter &)