CMS 3D CMS Logo

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 class TGFrame;
40 
42  RQ_OBJECT("FWGUIEventDataAdder")
43 
44 public:
45  FWGUIEventDataAdder(UInt_t w, UInt_t, FWEventItemsManager*, TGFrame*, FWJobMetadataManager*);
46  virtual ~FWGUIEventDataAdder();
47 
48  // ---------- const member functions ---------------------
49 
50  // ---------- static member functions --------------------
51 
52  // ---------- member functions ---------------------------
53  void addNewItem();
54  void addNewItemAndClose();
55  void show();
56 
57  void windowIsClosing();
58  void updateFilterString(const char* str);
59  void rowClicked(Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t, Int_t);
60 
61  void metadataUpdatedSlot(void);
62 
63  void resetNameEntry();
64 
65 private:
66  FWGUIEventDataAdder(const FWGUIEventDataAdder&) = delete; // stop default
67  void createWindow();
68 
69  void newIndexSelected(int);
70  const FWGUIEventDataAdder& operator=(const FWGUIEventDataAdder&) = delete; // stop default
71 
72  // ---------- member data --------------------------------
75 
76  TGFrame* m_parentFrame;
77  TGTransientFrame* m_frame;
78  TGTextEntry* m_name;
79  TGCheckButton* m_doNotUseProcessName;
80  TGTextButton* m_apply;
81  TGTextButton* m_applyAndClose;
82  TGTextEntry* m_search;
83 
85 
90 
91  std::string m_expr; // this the search term for use in searchData()
92 
95 };
96 
97 #endif
TGTextButton * m_applyAndClose
const double w
Definition: UKUtility.cc:23
FWEventItemsManager * m_manager
const FWGUIEventDataAdder & operator=(const FWGUIEventDataAdder &)=delete
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)
#define str(s)