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 public:
34  ~FWEnumParameterSetter() override;
35 
36  // ---------- const member functions ---------------------
37 
38  // ---------- static member functions --------------------
39 
40  // ---------- member functions ---------------------------
41 
42  TGFrame* build(TGFrame* iParent, bool labelBack = true) override;
43 
44  void setEnabled(bool) override;
45 
46  void doUpdate(Int_t id);
47 
48  TGComboBox* getWidget() { return m_widget; }
49 
50 private:
51  FWEnumParameterSetter(const FWEnumParameterSetter&) = delete; // stop default
52  const FWEnumParameterSetter& operator=(const FWEnumParameterSetter&) = delete; // stop default
53 
54  void attach(FWParameterBase*) override;
55 
56  // ---------- member data --------------------------------
57 
59  TGComboBox* m_widget;
60 };
61 
62 #endif
void attach(FWParameterBase *) override
TGFrame * build(TGFrame *iParent, bool labelBack=true) override
const FWEnumParameterSetter & operator=(const FWEnumParameterSetter &)=delete
void setEnabled(bool) override