00001 #ifndef Fireworks_Core_FWGUIEventSelector_h 00002 #define Fireworks_Core_FWGUIEventSelector_h 00003 00004 #include "TGFrame.h" 00005 00006 class TGLabel; 00007 class TGCheckButton; 00008 class TGComboBox; 00009 00010 class FWEventSelector; 00011 class FWHLTValidator; 00012 class FWCustomIconsButton; 00013 class FWGUIValidatingTextEntry; 00014 00015 class FWGUIEventSelector : public TGHorizontalFrame { 00016 public: 00017 FWGUIEventSelector(TGCompositeFrame* p, FWEventSelector* sel, std::vector<std::string>& triggerProcessList); 00018 virtual ~FWGUIEventSelector(); 00019 00020 void deleteCallback(); 00021 void enableCallback(bool); 00022 void expressionCallback(char*); 00023 void triggerProcessCallback(const char*); 00024 void updateNEvents(); 00025 00026 00027 FWEventSelector* guiSelector() { return m_guiSelector; } 00028 FWEventSelector* origSelector() { return m_origSelector; } 00029 void setOrigSelector(FWEventSelector* s) { m_origSelector = s; } 00030 00031 void removeSelector(FWGUIEventSelector*); // *SIGNAL* 00032 void selectorChanged(); // *SIGNAL* 00033 00034 private: 00035 00036 FWGUIEventSelector(const FWGUIEventSelector&); // stop default 00037 const FWGUIEventSelector& operator=(const FWGUIEventSelector&); // stop default 00038 00039 FWEventSelector* m_guiSelector; 00040 FWEventSelector* m_origSelector; 00041 00042 FWGUIValidatingTextEntry* m_text1; 00043 FWGUIValidatingTextEntry* m_text2; 00044 TGCheckButton* m_enableBtn; 00045 FWCustomIconsButton* m_deleteBtn; 00046 TGLabel* m_nEvents; 00047 00048 TGComboBox* m_combo; 00049 FWHLTValidator* m_validator; 00050 00051 ClassDef(FWGUIEventSelector, 0); // Manager for EVE windows. 00052 }; 00053 00054 #endif 00055