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 {
43  RQ_OBJECT("FWGUIEventDataAdder")
44 
45 public:
46  FWGUIEventDataAdder(UInt_t w,UInt_t,
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&) = delete; // stop default
70  void createWindow();
71 
72  void newIndexSelected(int);
73  const FWGUIEventDataAdder& operator=(const FWGUIEventDataAdder&) = delete; // 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 
88 
93 
94  std::string m_expr; // this the search term for use in searchData()
95 
98 };
99 
100 
101 #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)