CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWGUIEventDataAdder.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWGUIEventDataAdder_h
2 #define Fireworks_Core_FWGUIEventDataAdder_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWGUIEventDataAdder
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Fri Jun 13 09:12:36 EDT 2008
19 // $Id: FWGUIEventDataAdder.h,v 1.16 2010/12/02 09:22:26 matevz Exp $
20 //
21 
22 // system include files
23 #include <set>
24 #include <vector>
25 #include <string>
26 #include <RQ_OBJECT.h>
27 
28 // user include files
29 
30 // forward declarations
33 class TGTransientFrame;
34 class TGTextEntry;
35 class TGTextButton;
36 class TGCheckButton;
37 class TFile;
38 class FWTableWidget;
40 
42 {
43  RQ_OBJECT("FWGUIEventDataAdder")
44 
45 public:
47  FWEventItemsManager*, TGFrame*,
49  virtual ~FWGUIEventDataAdder();
50 
51  // ---------- const member functions ---------------------
52 
53  // ---------- static member functions --------------------
54 
55  // ---------- member functions ---------------------------
56  void addNewItem();
57  void addNewItemAndClose();
58  void show();
59 
60  void windowIsClosing();
61  void updateFilterString(const char *str);
62  void rowClicked(Int_t iRow,Int_t iButton,Int_t iKeyMod,Int_t,Int_t);
63 
64  void metadataUpdatedSlot(void);
65 
66  void resetNameEntry();
67 
68 private:
69  FWGUIEventDataAdder(const FWGUIEventDataAdder&); // stop default
70  void createWindow();
71 
72  void newIndexSelected(int);
73  const FWGUIEventDataAdder& operator=(const FWGUIEventDataAdder&); // stop default
74 
75  // ---------- member data --------------------------------
78 
79  TGFrame* m_parentFrame;
80  TGTransientFrame* m_frame;
81  TGTextEntry* m_name;
82  TGCheckButton* m_doNotUseProcessName;
83  TGTextButton* m_apply;
84  TGTextButton* m_applyAndClose;
85  TGTextEntry* m_search;
86 
87  std::string m_purpose;
88 
89  std::string m_type;
90  std::string m_moduleLabel;
92  std::string m_processName;
93 
94  std::string m_expr; // this the search term for use in searchData()
95 
98 };
99 
100 
101 #endif
TGTextButton * m_applyAndClose
FWEventItemsManager * m_manager
const FWGUIEventDataAdder & operator=(const FWGUIEventDataAdder &)
FWJobMetadataManager * m_metadataManager
std::string m_productInstanceLabel
FWGUIEventDataAdder(UInt_t w, UInt_t, FWEventItemsManager *, TGFrame *, FWJobMetadataManager *)
void updateFilterString(const char *str)
TGCheckButton * m_doNotUseProcessName
TGTransientFrame * m_frame
unsigned int UInt_t
Definition: FUTypes.h:12
FWTableWidget * m_tableWidget
DataAdderTableManager * m_tableManager
void rowClicked(Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t, Int_t)
T w() const