Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 More...
 
virtual ~ToolboxFrame ()
 destructor More...
 
const wxString & GetXRCPath () const
 get the path to the xrc directory More...
 
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 More...
 
void taskFinished ()
 call when a task has finished and the status message should be cleared More...
 
bool updateDisplay ()
 updates the display, return true, if update was successful, false if cancel was pressed More...
 
bool updateDisplay (const std::string &message)
 
bool updateDisplayValue ()
 
void setMaximum (int newMaximum)
 sets the new maximum value of the progress value More...
 
bool wasCancelled ()
 return true, if process should be canceled by user e.g. More...
 

Protected Member Functions

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

Private Attributes

wxNotebook * m_mainNotebook { nullptr }
 
MyExecPanelm_logPanel { nullptr }
 
wxSplitterWindow * m_mainSplitter { nullptr }
 
EnfusePanelm_enfusePanel { nullptr }
 
PerspectivePanelm_perspectivePanel { nullptr }
 
cmsHPROFILE m_monitorProfile { nullptr }
 monitor profile More...
 
bool m_hasMonitorProfile { false }
 true, if we found a real monitor profile More...
 

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 42 of file ToolboxFrame.h.

Constructor & Destructor Documentation

ToolboxFrame::ToolboxFrame ( wxWindow *  parent)
explicit
ToolboxFrame::~ToolboxFrame ( )
virtual

destructor

Definition at line 109 of file ToolboxFrame.cpp.

References m_mainNotebook, m_mainSplitter, and StoreFramePosition().

Member Function Documentation

cmsHPROFILE ToolboxFrame::GetMonitorProfile ( ) const

Definition at line 128 of file ToolboxFrame.cpp.

References m_monitorProfile.

const wxString & ToolboxFrame::GetXRCPath ( ) const

get the path to the xrc directory

Definition at line 118 of file ToolboxFrame.cpp.

Referenced by ToolboxFrame().

bool ToolboxFrame::HasMonitorProfile ( ) const

Definition at line 123 of file ToolboxFrame.cpp.

References m_hasMonitorProfile.

void ToolboxFrame::OnExit ( wxCommandEvent &  e)
protected

Definition at line 133 of file ToolboxFrame.cpp.

Referenced by ToolboxFrame().

void ToolboxFrame::OnQueueProgress ( wxCommandEvent &  e)
protected
void ToolboxFrame::updateProgressDisplay ( )
protectedvirtual

called when a progress message should be displayed

Implements AppBase::ProgressDisplay.

Definition at line 138 of file ToolboxFrame.cpp.

References HUGIN_CONV_FILENAME, AppBase::ProgressDisplay::m_filename, and AppBase::ProgressDisplay::m_message.

Member Data Documentation

EnfusePanel* ToolboxFrame::m_enfusePanel { nullptr }
private

Definition at line 66 of file ToolboxFrame.h.

Referenced by OnQueueProgress(), and ToolboxFrame().

bool ToolboxFrame::m_hasMonitorProfile { false }
private

true, if we found a real monitor profile

Definition at line 71 of file ToolboxFrame.h.

Referenced by HasMonitorProfile(), and ToolboxFrame().

MyExecPanel* ToolboxFrame::m_logPanel { nullptr }
private

Definition at line 64 of file ToolboxFrame.h.

Referenced by ToolboxFrame().

wxNotebook* ToolboxFrame::m_mainNotebook { nullptr }
private

Definition at line 63 of file ToolboxFrame.h.

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

wxSplitterWindow* ToolboxFrame::m_mainSplitter { nullptr }
private

Definition at line 65 of file ToolboxFrame.h.

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

cmsHPROFILE ToolboxFrame::m_monitorProfile { nullptr }
private

monitor profile

Definition at line 69 of file ToolboxFrame.h.

Referenced by GetMonitorProfile(), and ToolboxFrame().

PerspectivePanel* ToolboxFrame::m_perspectivePanel { nullptr }
private

Definition at line 67 of file ToolboxFrame.h.

Referenced by OnQueueProgress(), and ToolboxFrame().


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