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 ();
155 static TGFrame* makeGUIsubview(TEveCompositeFrame*
cp, TGCompositeFrame*
parent, Int_t height);
160 ViewBuildFunctor& iBuilder);
163 ViewMap_i createView(
const std::string& iName, TEveWindowSlot* slot = 0);
167 void enableActions(
bool enable =
true);
168 void disablePrevious();
170 void setPlayMode(
bool);
171 void updateStatus(
const char*
status);
173 void eventChangedCallback();
178 void titleChanged(
const char *
title);
180 void openEveBrowserForDebugging()
const;
181 void setDelayBetweenEvents(Float_t);
183 void showEventFilterGUI();
184 void filterButtonClicked();
185 void setFilterButtonText(
const char* txt);
186 void setFilterButtonIcon(
int);
187 void updateEventFilterEnable(
bool);
190 void lumiIdChanged();
191 void eventIdChanged();
192 void checkSubviewAreaIconState(TEveWindow*);
195 void subviewDestroyAll();
203 void resetWMOffsets();
212 sigc::signal<void, edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t>
changedEventId_;
224 TEveWindow* getSwapCandidate();
229 void promptForSaveConfigurationFile();
230 void promptForPartialSaveConfigurationFile();
231 void promptForLoadConfigurationFile();
232 void promptForPartialLoadConfigurationFile();
233 void savePartialToConfigurationFile();
235 void delaySliderChanged(Int_t);
237 void finishUpColorChange();
239 void setViewPopup(TEveWindow*);
241 void measureWMOffsets();
sigc::signal< void > writeToPresentConfigurationFile_
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