File indexing completed on 2023-03-17 11:01:34
0001 #ifndef Fireworks_FWInterface_FWPathsPopup_h
0002 #define Fireworks_FWInterface_FWPathsPopup_h
0003
0004 #include "TGFrame.h"
0005 #include <string>
0006
0007 namespace edm {
0008 class ScheduleInfo;
0009 class ModuleDescription;
0010 class Event;
0011 class EventSetup;
0012 class StreamContext;
0013 class ModuleCallingContext;
0014 }
0015
0016 class FWFFLooper;
0017 class FWGUIManager;
0018
0019 class TGLabel;
0020 class TGTextEdit;
0021 class TGTextButton;
0022 class TString;
0023 class FWPSetTableManager;
0024 class FWTableWidget;
0025 class TGTextEntry;
0026
0027 class FWPathsPopup : public TGMainFrame {
0028 public:
0029 FWPathsPopup(FWFFLooper *, FWGUIManager *);
0030
0031 void postEvent(edm::Event const &event);
0032 void postModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &);
0033 void preModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &);
0034 void scheduleReloadEvent();
0035 bool &hasChanges() { return m_hasChanges; }
0036 void setup(const edm::ScheduleInfo *info);
0037 void applyEditor();
0038 void cellClicked(Int_t iRow, Int_t iColumn, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY);
0039 void updateFilterString(const char *str);
0040 void windowIsClosing();
0041
0042 Bool_t HandleKey(Event_t *event) override;
0043
0044 private:
0045 const edm::ScheduleInfo *m_info;
0046
0047 #ifndef __CINT__
0048 FWFFLooper *m_looper;
0049 #endif
0050 bool m_hasChanges;
0051
0052 TGLabel *m_moduleLabel;
0053 TGLabel *m_moduleName;
0054
0055 TGTextButton *m_apply;
0056 FWPSetTableManager *m_psTable;
0057 FWTableWidget *m_tableWidget;
0058 TGTextEntry *m_search;
0059 FWGUIManager *m_guiManager;
0060
0061 ClassDefOverride(FWPathsPopup, 0);
0062 };
0063
0064 #endif