File indexing completed on 2024-04-06 12:11:40
0001 #ifndef Fireworks_Core_FWGUIEventDataAdder_h
0002 #define Fireworks_Core_FWGUIEventDataAdder_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include <set>
0023 #include <vector>
0024 #include <string>
0025 #include <RQ_OBJECT.h>
0026
0027
0028
0029
0030 class FWEventItemsManager;
0031 class FWJobMetadataManager;
0032 class TGTransientFrame;
0033 class TGTextEntry;
0034 class TGTextButton;
0035 class TGCheckButton;
0036 class TFile;
0037 class FWTableWidget;
0038 class DataAdderTableManager;
0039 class TGFrame;
0040
0041 class FWGUIEventDataAdder {
0042 RQ_OBJECT("FWGUIEventDataAdder")
0043
0044 public:
0045 FWGUIEventDataAdder(UInt_t w, UInt_t, FWEventItemsManager*, TGFrame*, FWJobMetadataManager*);
0046 virtual ~FWGUIEventDataAdder();
0047
0048
0049
0050
0051
0052
0053 void addNewItem();
0054 void addNewItemAndClose();
0055 void show();
0056
0057 void windowIsClosing();
0058 void updateFilterString(const char* str);
0059 void rowClicked(Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t, Int_t);
0060
0061 void metadataUpdatedSlot(void);
0062
0063 void resetNameEntry();
0064
0065 FWGUIEventDataAdder(const FWGUIEventDataAdder&) = delete;
0066 const FWGUIEventDataAdder& operator=(const FWGUIEventDataAdder&) = delete;
0067
0068 private:
0069 void createWindow();
0070 void newIndexSelected(int);
0071
0072
0073 FWEventItemsManager* m_manager;
0074 FWJobMetadataManager* m_metadataManager;
0075
0076 TGFrame* m_parentFrame;
0077 TGTransientFrame* m_frame;
0078 TGTextEntry* m_name;
0079 TGCheckButton* m_doNotUseProcessName;
0080 TGTextButton* m_apply;
0081 TGTextButton* m_applyAndClose;
0082 TGTextEntry* m_search;
0083
0084 std::string m_purpose;
0085
0086 std::string m_type;
0087 std::string m_moduleLabel;
0088 std::string m_productInstanceLabel;
0089 std::string m_processName;
0090
0091 std::string m_expr;
0092
0093 DataAdderTableManager* m_tableManager;
0094 FWTableWidget* m_tableWidget;
0095 };
0096
0097 #endif