2 #ifndef Fireworks_Core_FWGUIManager_h 3 #define Fireworks_Core_FWGUIManager_h 23 #include <boost/function.hpp> 24 #include <sigc++/sigc++.h> 27 #include "TGFileDialog.h" 35 class TGPictureButton;
41 class TGVerticalFrame;
44 class TGCompositeFrame;
50 class TEveElementList;
54 class TEveCompositeFrame;
98 typedef boost::function2<FWViewBase*,TEveWindowSlot*, const std::string& >
ViewBuildFunctor;
111 void evePreTerminate();
116 void setWindowInfoFrom(
const FWConfiguration& iFrom, TGMainFrame* iFrame);
119 TGVerticalFrame* createList(TGCompositeFrame *
p);
120 void createViews(TEveWindowSlot *slot);
121 void exportImageOfMainView();
122 void exportImagesOfAllViews();
125 void createEDIFrame();
127 void showEDIFrame(
int iInfoToShow=-1);
130 void showCommonPopup();
132 void createModelPopup();
133 void showModelPopup();
134 void showViewPopup();
135 void popupViewClosed();
139 void showInvMassDialog();
143 void createHelpPopup ();
144 void createShortcutPopup ();
145 void createHelpGLPopup ();
156 static TGFrame* makeGUIsubview(TEveCompositeFrame*
cp, TGCompositeFrame*
parent, Int_t height);
161 ViewBuildFunctor& iBuilder);
164 ViewMap_i createView(
const std::string& iName, TEveWindowSlot* slot =
nullptr);
168 void enableActions(
bool enable =
true);
169 void disablePrevious();
171 void setPlayMode(
bool);
172 void updateStatus(
const char*
status);
174 void eventChangedCallback();
179 void titleChanged(
const char *
title);
181 void openEveBrowserForDebugging()
const;
182 void setDelayBetweenEvents(Float_t);
184 void showEventFilterGUI();
185 void filterButtonClicked();
186 void setFilterButtonText(
const char* txt);
187 void setFilterButtonIcon(
int);
188 void updateEventFilterEnable(
bool);
191 void lumiIdChanged();
192 void eventIdChanged();
193 void checkSubviewAreaIconState(TEveWindow*);
196 void subviewDestroyAll();
204 void resetWMOffsets();
213 sigc::signal<void, edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t>
changedEventId_;
225 TEveWindow* getSwapCandidate();
230 void promptForSaveConfigurationFile();
231 void promptForPartialSaveConfigurationFile();
232 void promptForLoadConfigurationFile();
233 void promptForPartialLoadConfigurationFile();
234 void savePartialToConfigurationFile();
236 void delaySliderChanged(Int_t);
238 void finishUpColorChange();
240 void setViewPopup(TEveWindow*);
242 void measureWMOffsets();
sigc::signal< void > writeToPresentConfigurationFile_
fireworks::Context * getContext()
ViewMap_t::iterator ViewMap_i
std::map< std::string, ViewBuildFunctor > NameToViewBuilder
sigc::signal< void > filterButtonClicked_
sigc::signal< void, const std::string & > writePartialToConfigurationFile_
NameToViewBuilder m_nameToViewBuilder
FWSummaryManager * m_summaryManager
sigc::signal< void, const std::string & > loadPartialFromConfigurationFile_
FWInvMassDialog * m_invMassDialog
sigc::connection m_modelChangeConn
static FWGUIManager * m_guiManager
FWDetailViewManager * m_detailViewManager
TEveWindowPack * m_viewPrimPack
boost::function2< FWViewBase *, TEveWindowSlot *, const std::string & > ViewBuildFunctor
std::auto_ptr< CmsShowTaskExecutor > m_tasks
TEveWindowPack * m_viewSecPack
CmsShowViewPopup * m_viewPopup
sigc::signal< void, Float_t > changedDelayBetweenEvents_
FWNavigatorBase * m_navigator
sigc::signal< void, const TGWindow * > showEventFilterGUI_
CmsShowMainFrame * m_cmsShowMainFrame
FWGUIEventDataAdder * m_dataAdder
CmsShowMainFrame * getMainFrame() const
CmsShowModelPopup * m_modelPopup
sigc::signal< void > changedRunEntry_
CmsShowCommonPopup * m_commonPopup
CmsShowHelpPopup * m_helpGLPopup
std::vector< FWViewBase * > m_regionViews
const FWViewManagerManager * m_viewManagerManager
sigc::signal< void > changedEventEntry_
fireworks::Context * m_context
sigc::signal< void, const std::string & > writeToConfigurationFile_
std::map< TEveWindow *, FWViewBase * > ViewMap_t
sigc::signal< void, const std::string & > loadFromConfigurationFile_
FWModelContextMenuHandler * m_contextMenuHandler
sigc::signal< void, edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t > changedEventId_
sigc::signal< void > goingToQuit_
CmsShowHelpPopup * m_helpPopup
CmsShowHelpPopup * m_shortcutPopup