CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: FWEnumParameterSetter.h,v 1.4 2012/05/09 04:51:04 amraktad Exp $
20 //
21 
22 // system include files
23 #include <Rtypes.h>
24 
25 // user include files
28 
29 // forward declarations
30 class TGComboBox;
31 
33 {
34 
35 public:
37  virtual ~FWEnumParameterSetter();
38 
39  // ---------- const member functions ---------------------
40 
41  // ---------- static member functions --------------------
42 
43  // ---------- member functions ---------------------------
44 
45  virtual TGFrame* build(TGFrame* iParent, bool labelBack = true);
46 
47  virtual void setEnabled(bool);
48 
49  void doUpdate(Int_t id);
50 
51  TGComboBox* getWidget() { return m_widget; }
52 
53 private:
54  FWEnumParameterSetter(const FWEnumParameterSetter&); // stop default
55  const FWEnumParameterSetter& operator=(const FWEnumParameterSetter&); // stop default
56 
57  virtual void attach(FWParameterBase*);
58 
59  // ---------- member data --------------------------------
60 
62  TGComboBox *m_widget;
63 };
64 
65 #endif
virtual TGFrame * build(TGFrame *iParent, bool labelBack=true)
virtual void setEnabled(bool)
virtual void attach(FWParameterBase *)
const FWEnumParameterSetter & operator=(const FWEnumParameterSetter &)