2 #ifndef Fireworks_Core_FWGUIManager_h
3 #define Fireworks_Core_FWGUIManager_h
23 #include <boost/function.hpp>
24 #include <boost/shared_ptr.hpp>
25 #include <sigc++/sigc++.h>
28 #include "TGFileDialog.h"
36 class TGPictureButton;
42 class TGVerticalFrame;
45 class TGCompositeFrame;
51 class TEveElementList;
55 class TEveCompositeFrame;
99 typedef boost::function2<FWViewBase*,TEveWindowSlot*, const std::string& >
ViewBuildFunctor;
209 sigc::signal<void, edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t>
changedEventId_;
TGVerticalFrame * createList(TGCompositeFrame *p)
sigc::signal< void > writeToPresentConfigurationFile_
ViewMap_t::iterator ViewMap_i
std::map< std::string, ViewBuildFunctor > NameToViewBuilder
sigc::signal< void > filterButtonClicked_
NameToViewBuilder m_nameToViewBuilder
void subviewIsBeingDestroyed(FWGUISubviewArea *)
FWSummaryManager * m_summaryManager
void subviewInfoSelected(FWGUISubviewArea *)
void setFilterButtonIcon(int)
void createViews(TEveWindowSlot *slot)
FWInvMassDialog * m_invMassDialog
void setViewPopup(TEveWindow *)
sigc::connection m_modelChangeConn
void newViewSlot(const std::string &iName)
void addTo(FWConfiguration &) const
static FWGUIManager * m_guiManager
void delaySliderChanged(Int_t)
void updateStatus(const char *status)
FWDetailViewManager * m_detailViewManager
TEveWindowPack * m_viewPrimPack
void showEDIFrame(int iInfoToShow=-1)
Allowed values are -1 or ones from FWDataCategories enum.
boost::function2< FWViewBase *, TEveWindowSlot *, const std::string & > ViewBuildFunctor
void enableActions(bool enable=true)
std::auto_ptr< CmsShowTaskExecutor > m_tasks
TEveWindowPack * m_viewSecPack
void setWindowInfoFrom(const FWConfiguration &iFrom, TGMainFrame *iFrame)
void registerViewBuilder(const std::string &iName, ViewBuildFunctor &iBuilder)
void checkSubviewAreaIconState(TEveWindow *)
void connectSubviewAreaSignals(FWGUISubviewArea *)
const FWGUIManager & operator=(const FWGUIManager &)
void createShortcutPopup()
CmsShowViewPopup * m_viewPopup
sigc::signal< void, Float_t > changedDelayBetweenEvents_
TEveWindow * getSwapCandidate()
void exportAllViews(const std::string &format)
static TGFrame * makeGUIsubview(TEveCompositeFrame *cp, TGCompositeFrame *parent, Int_t height)
FWNavigatorBase * m_navigator
sigc::signal< void, const TGWindow * > showEventFilterGUI_
void setDelayBetweenEvents(Float_t)
void exportImagesOfAllViews()
void subviewDestroy(FWGUISubviewArea *)
CmsShowMainFrame * m_cmsShowMainFrame
void newItem(const FWEventItem *)
void filterButtonClicked()
FWGUIEventDataAdder * m_dataAdder
void exportImageOfMainView()
CmsShowMainFrame * getMainFrame() const
CmsShowModelPopup * m_modelPopup
sigc::signal< void > changedRunEntry_
CmsShowCommonPopup * m_commonPopup
CmsShowHelpPopup * m_helpGLPopup
void setFrom(const FWConfiguration &)
const FWViewManagerManager * m_viewManagerManager
void eventChangedCallback()
const edm::EventBase * getCurrentEvent() const
ViewMap_i createView(const std::string &iName, TEveWindowSlot *slot=0)
CSGAction * getAction(const std::string name)
sigc::signal< void > changedEventEntry_
void updateEventFilterEnable(bool)
static FWGUIManager * getGUIManager()
CSGContinuousAction * loopAction()
fireworks::Context * m_context
bool promptForConfigurationFile(std::string &result, enum EFileDialogMode mode)
CSGContinuousAction * playEventsBackwardsAction()
void finishUpColorChange()
void setFilterButtonText(const char *txt)
sigc::signal< void, const std::string & > writeToConfigurationFile_
CSGContinuousAction * playEventsAction()
void subviewSwapped(FWGUISubviewArea *)
FWGUIManager(fireworks::Context *ctx, const FWViewManagerManager *iVMMgr, FWNavigatorBase *navigator)
void showEventFilterGUI()
void subviewInfoUnselected(FWGUISubviewArea *)
void promptForSaveConfigurationFile()
void showSelectedModelContextMenu(Int_t iGlobalX, Int_t iGlobalY, FWViewContextMenuHandlerBase *iHandler)
std::map< TEveWindow *, FWViewBase * > ViewMap_t
sigc::signal< void, const std::string & > loadFromConfigurationFile_
void titleChanged(const char *title)
void promptForLoadConfigurationFile()
FWModelContextMenuHandler * m_contextMenuHandler
sigc::signal< void, edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t > changedEventId_
sigc::signal< void > goingToQuit_
CmsShowHelpPopup * m_helpPopup
void openEveBrowserForDebugging() const
CmsShowHelpPopup * m_shortcutPopup