test
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 //
20 
21 // system include files
22 #include <set>
23 #include <vector>
24 #include <string>
25 #include <RQ_OBJECT.h>
26 
27 // user include files
28 
29 // forward declarations
32 class TGTransientFrame;
33 class TGTextEntry;
34 class TGTextButton;
35 class TGCheckButton;
36 class TFile;
37 class FWTableWidget;
39 
41 {
42  RQ_OBJECT("FWGUIEventDataAdder")
43 
44 public:
45  FWGUIEventDataAdder(UInt_t w,UInt_t,
46  FWEventItemsManager*, TGFrame*,
48  virtual ~FWGUIEventDataAdder();
49 
50  // ---------- const member functions ---------------------
51 
52  // ---------- static member functions --------------------
53 
54  // ---------- member functions ---------------------------
55  void addNewItem();
56  void addNewItemAndClose();
57  void show();
58 
59  void windowIsClosing();
60  void updateFilterString(const char *str);
61  void rowClicked(Int_t iRow,Int_t iButton,Int_t iKeyMod,Int_t,Int_t);
62 
63  void metadataUpdatedSlot(void);
64 
65  void resetNameEntry();
66 
67 private:
68  FWGUIEventDataAdder(const FWGUIEventDataAdder&); // stop default
69  void createWindow();
70 
71  void newIndexSelected(int);
72  const FWGUIEventDataAdder& operator=(const FWGUIEventDataAdder&); // stop default
73 
74  // ---------- member data --------------------------------
77 
78  TGFrame* m_parentFrame;
79  TGTransientFrame* m_frame;
80  TGTextEntry* m_name;
81  TGCheckButton* m_doNotUseProcessName;
82  TGTextButton* m_apply;
83  TGTextButton* m_applyAndClose;
84  TGTextEntry* m_search;
85 
87 
92 
93  std::string m_expr; // this the search term for use in searchData()
94 
97 };
98 
99 
100 #endif
TGTextButton * m_applyAndClose
const double w
Definition: UKUtility.cc:23
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
FWTableWidget * m_tableWidget
DataAdderTableManager * m_tableManager
void rowClicked(Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t, Int_t)