Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ToolboxFrame.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
10 /*
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public
13  * License as published by the Free Software Foundation; either
14  * version 2 of the License, or (at your option) any later version.
15  *
16  * This software is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public
22  * License along with this software. If not, see
23  * <http://www.gnu.org/licenses/>.
24  *
25  */
26 
27 #ifndef TOOLBOXFRAME_H
28 #define TOOLBOXFRAME_H
29 
30 #include "panoinc_WX.h"
33 #include "base_wx/wxcms.h"
34 
35 // forward declaration
36 class EnfusePanel;
37 class StackerPanel;
38 class PerspectivePanel;
39 
43 class ToolboxFrame:public wxFrame, public AppBase::ProgressDisplay
44 {
45 public:
46 
48  explicit ToolboxFrame(wxWindow* parent);
50  virtual ~ToolboxFrame();
51 
53  const wxString & GetXRCPath() const;
54  bool HasMonitorProfile() const;
55  cmsHPROFILE GetMonitorProfile() const;
56 protected:
58  void updateProgressDisplay();
59  // event handlers
60  void OnExit(wxCommandEvent& e);
61  void OnQueueProgress(wxCommandEvent& e);
62 
63 private:
64  wxNotebook* m_mainNotebook{ nullptr };
65  MyExecPanel* m_logPanel{ nullptr };
66  wxSplitterWindow* m_mainSplitter{ nullptr };
71  cmsHPROFILE m_monitorProfile{ nullptr };
73  bool m_hasMonitorProfile{ false };
74 };
75 
76 
77 #endif // TOOLBOXFRAME_H
cmsHPROFILE m_monitorProfile
monitor profile
Definition: ToolboxFrame.h:71
void updateProgressDisplay()
called when a progress message should be displayed
const wxString & GetXRCPath() const
get the path to the xrc directory
void OnExit(wxCommandEvent &e)
bool HasMonitorProfile() const
wxSplitterWindow * m_mainSplitter
Definition: ToolboxFrame.h:66
virtual ~ToolboxFrame()
destructor
wxNotebook * m_mainNotebook
Definition: ToolboxFrame.h:64
EnfusePanel * m_enfusePanel
Definition: ToolboxFrame.h:67
cmsHPROFILE GetMonitorProfile() const
StackerPanel * m_stackerPanel
Definition: ToolboxFrame.h:68
PerspectivePanel * m_perspectivePanel
Definition: ToolboxFrame.h:69
ToolboxFrame(wxWindow *parent)
constructor
MyExecPanel * m_logPanel
Definition: ToolboxFrame.h:65
panel for enfuse GUI
Definition: EnfusePanel.h:37
include file for the hugin project
The main window frame.
Definition: ToolboxFrame.h:43
panel for stacker GUI
Definition: StackerPanel.h:37
bool m_hasMonitorProfile
true, if we found a real monitor profile
Definition: ToolboxFrame.h:73
panel for enfuse GUI
void OnQueueProgress(wxCommandEvent &e)