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
FWGUIEventDataAdder::resetNameEntry
void resetNameEntry()
Definition: FWGUIEventDataAdder.cc:530
FWGUIEventDataAdder::~FWGUIEventDataAdder
virtual ~FWGUIEventDataAdder()
Definition: FWGUIEventDataAdder.cc:333
FWGUIEventDataAdder::m_metadataManager
FWJobMetadataManager * m_metadataManager
Definition: FWGUIEventDataAdder.h:74
FWGUIEventDataAdder::m_productInstanceLabel
std::string m_productInstanceLabel
Definition: FWGUIEventDataAdder.h:88
FWGUIEventDataAdder::m_name
TGTextEntry * m_name
Definition: FWGUIEventDataAdder.h:78
FWGUIEventDataAdder::m_purpose
std::string m_purpose
Definition: FWGUIEventDataAdder.h:84
FWGUIEventDataAdder::windowIsClosing
void windowIsClosing()
Definition: FWGUIEventDataAdder.cc:424
FWEventItemsManager
Definition: FWEventItemsManager.h:44
FWGUIEventDataAdder::m_search
TGTextEntry * m_search
Definition: FWGUIEventDataAdder.h:82
FWGUIEventDataAdder::addNewItem
void addNewItem()
Definition: FWGUIEventDataAdder.cc:360
FWGUIEventDataAdder::m_doNotUseProcessName
TGCheckButton * m_doNotUseProcessName
Definition: FWGUIEventDataAdder.h:79
FWGUIEventDataAdder::FWGUIEventDataAdder
FWGUIEventDataAdder(UInt_t w, UInt_t, FWEventItemsManager *, TGFrame *, FWJobMetadataManager *)
Definition: FWGUIEventDataAdder.cc:318
FWGUIEventDataAdder::m_applyAndClose
TGTextButton * m_applyAndClose
Definition: FWGUIEventDataAdder.h:81
FWJobMetadataManager
Definition: FWJobMetadataManager.h:18
FWTableWidget
Definition: FWTableWidget.h:35
w
const double w
Definition: UKUtility.cc:23
str
#define str(s)
Definition: TestProcessor.cc:48
FWGUIEventDataAdder
Definition: FWGUIEventDataAdder.h:41
FWGUIEventDataAdder::newIndexSelected
void newIndexSelected(int)
Definition: FWGUIEventDataAdder.cc:534
FWGUIEventDataAdder::operator=
const FWGUIEventDataAdder & operator=(const FWGUIEventDataAdder &)=delete
DataAdderTableManager
Definition: FWGUIEventDataAdder.cc:70
FWGUIEventDataAdder::m_moduleLabel
std::string m_moduleLabel
Definition: FWGUIEventDataAdder.h:87
FWGUIEventDataAdder::addNewItemAndClose
void addNewItemAndClose()
Definition: FWGUIEventDataAdder.cc:411
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWGUIEventDataAdder::metadataUpdatedSlot
void metadataUpdatedSlot(void)
Definition: FWGUIEventDataAdder.cc:525
FWGUIEventDataAdder::m_type
std::string m_type
Definition: FWGUIEventDataAdder.h:86
FWGUIEventDataAdder::m_expr
std::string m_expr
Definition: FWGUIEventDataAdder.h:91
FWGUIEventDataAdder::m_tableManager
DataAdderTableManager * m_tableManager
Definition: FWGUIEventDataAdder.h:93
FWGUIEventDataAdder::rowClicked
void rowClicked(Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t, Int_t)
Definition: FWGUIEventDataAdder.cc:590
FWGUIEventDataAdder::m_frame
TGTransientFrame * m_frame
Definition: FWGUIEventDataAdder.h:77
FWGUIEventDataAdder::m_apply
TGTextButton * m_apply
Definition: FWGUIEventDataAdder.h:80
FWGUIEventDataAdder::m_tableWidget
FWTableWidget * m_tableWidget
Definition: FWGUIEventDataAdder.h:94
FWGUIEventDataAdder::updateFilterString
void updateFilterString(const char *str)
Definition: FWGUIEventDataAdder.cc:439
FWGUIEventDataAdder::m_manager
FWEventItemsManager * m_manager
Definition: FWGUIEventDataAdder.h:73
FWGUIEventDataAdder::m_processName
std::string m_processName
Definition: FWGUIEventDataAdder.h:89
FWGUIEventDataAdder::show
void show()
Definition: FWGUIEventDataAdder.cc:416
FWGUIEventDataAdder::createWindow
void createWindow()
Definition: FWGUIEventDataAdder.cc:444
FWGUIEventDataAdder::m_parentFrame
TGFrame * m_parentFrame
Definition: FWGUIEventDataAdder.h:76