Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ToolboxFrame Class Reference

The main window frame. More...

#include <ToolboxFrame.h>

Inheritance diagram for ToolboxFrame:
Inheritance graph

Public Member Functions

 ToolboxFrame (wxWindow *parent)
 constructor

 
virtual ~ToolboxFrame ()
 destructor
 
const wxStringGetXRCPath () const
 get the path to the xrc directory
 
bool HasMonitorProfile () const
 
cmsHPROFILE GetMonitorProfile () const
 
- Public Member Functions inherited from AppBase::ProgressDisplay
virtual ~ProgressDisplay ()
 
void setMessage (const std::string &message, const std::string &filename="")
 sets the message to given string
 
void taskFinished ()
 call when a task has finished and the status message should be cleared
 
bool updateDisplay ()
 updates the display, return true, if update was successful, false if cancel was pressed
 
bool updateDisplay (const std::string &message)
 
bool updateDisplayValue ()
 
void setMaximum (int newMaximum)
 sets the new maximum value of the progress value
 
bool wasCancelled ()
 return true, if process should be canceled by user e.g.
 

Protected Member Functions

void updateProgressDisplay ()
 called when a progress message should be displayed
 
void OnExit (wxCommandEvent &e)
 
void OnQueueProgress (wxCommandEvent &e)
 
- Protected Member Functions inherited from AppBase::ProgressDisplay
 ProgressDisplay (int maximum=0)
 constructor
 

Private Attributes

wxNotebookm_mainNotebook { nullptr }
 
MyExecPanelm_logPanel { nullptr }
 
wxSplitterWindowm_mainSplitter { nullptr }
 
EnfusePanelm_enfusePanel { nullptr }
 
StackerPanelm_stackerPanel { nullptr }
 
PerspectivePanelm_perspectivePanel { nullptr }
 
cmsHPROFILE m_monitorProfile { nullptr }
 monitor profile
 
bool m_hasMonitorProfile { false }
 true, if we found a real monitor profile
 

Additional Inherited Members

- Protected Attributes inherited from AppBase::ProgressDisplay
bool m_canceled
 
std::string m_message
 
std::string m_filename
 
int m_maximum
 
int m_progress
 

Detailed Description

The main window frame.

Definition at line 43 of file ToolboxFrame.h.

Constructor & Destructor Documentation

◆ ToolboxFrame()

ToolboxFrame::ToolboxFrame ( wxWindow *  parent)
explicit

◆ ~ToolboxFrame()

ToolboxFrame::~ToolboxFrame ( )
virtual

destructor

Definition at line 113 of file ToolboxFrame.cpp.

References m_mainNotebook, m_mainSplitter, hugin_utils::StoreFramePosition(), and threshold().

Member Function Documentation

◆ GetMonitorProfile()

cmsHPROFILE ToolboxFrame::GetMonitorProfile ( ) const

Definition at line 132 of file ToolboxFrame.cpp.

References m_monitorProfile.

◆ GetXRCPath()

const wxString & ToolboxFrame::GetXRCPath ( ) const

get the path to the xrc directory

Definition at line 122 of file ToolboxFrame.cpp.

References threshold().

Referenced by ToolboxFrame().

◆ HasMonitorProfile()

bool ToolboxFrame::HasMonitorProfile ( ) const

Definition at line 127 of file ToolboxFrame.cpp.

References m_hasMonitorProfile.

◆ OnExit()

void ToolboxFrame::OnExit ( wxCommandEvent &  e)
protected

Definition at line 137 of file ToolboxFrame.cpp.

References threshold().

Referenced by ToolboxFrame().

◆ OnQueueProgress()

void ToolboxFrame::OnQueueProgress ( wxCommandEvent &  e)
protected

◆ updateProgressDisplay()

void ToolboxFrame::updateProgressDisplay ( )
protectedvirtual

called when a progress message should be displayed

Implements AppBase::ProgressDisplay.

Definition at line 142 of file ToolboxFrame.cpp.

References HUGIN_CONV_FILENAME, AppBase::ProgressDisplay::m_filename, AppBase::ProgressDisplay::m_message, and threshold().

Member Data Documentation

◆ m_enfusePanel

EnfusePanel* ToolboxFrame::m_enfusePanel { nullptr }
private

Definition at line 67 of file ToolboxFrame.h.

Referenced by OnQueueProgress(), and ToolboxFrame().

◆ m_hasMonitorProfile

bool ToolboxFrame::m_hasMonitorProfile { false }
private

true, if we found a real monitor profile

Definition at line 73 of file ToolboxFrame.h.

Referenced by HasMonitorProfile(), and ToolboxFrame().

◆ m_logPanel

MyExecPanel* ToolboxFrame::m_logPanel { nullptr }
private

Definition at line 65 of file ToolboxFrame.h.

Referenced by ToolboxFrame().

◆ m_mainNotebook

wxNotebook* ToolboxFrame::m_mainNotebook { nullptr }
private

Definition at line 64 of file ToolboxFrame.h.

Referenced by OnQueueProgress(), ToolboxFrame(), and ~ToolboxFrame().

◆ m_mainSplitter

wxSplitterWindow* ToolboxFrame::m_mainSplitter { nullptr }
private

Definition at line 66 of file ToolboxFrame.h.

Referenced by ToolboxFrame(), and ~ToolboxFrame().

◆ m_monitorProfile

cmsHPROFILE ToolboxFrame::m_monitorProfile { nullptr }
private

monitor profile

Definition at line 71 of file ToolboxFrame.h.

Referenced by GetMonitorProfile(), and ToolboxFrame().

◆ m_perspectivePanel

PerspectivePanel* ToolboxFrame::m_perspectivePanel { nullptr }
private

Definition at line 69 of file ToolboxFrame.h.

Referenced by OnQueueProgress(), and ToolboxFrame().

◆ m_stackerPanel

StackerPanel* ToolboxFrame::m_stackerPanel { nullptr }
private

Definition at line 68 of file ToolboxFrame.h.

Referenced by OnQueueProgress(), and ToolboxFrame().


The documentation for this class was generated from the following files: