Hugintrunk
0.1
|
The main window frame. More...
#include <ToolboxFrame.h>
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 |
![]() | |
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) |
![]() | |
ProgressDisplay (int maximum=0) | |
constructor More... | |
Private Attributes | |
wxNotebook * | m_mainNotebook { nullptr } |
MyExecPanel * | m_logPanel { nullptr } |
wxSplitterWindow * | m_mainSplitter { nullptr } |
EnfusePanel * | m_enfusePanel { nullptr } |
PerspectivePanel * | m_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 | |
![]() | |
bool | m_canceled |
std::string | m_message |
std::string | m_filename |
int | m_maximum |
int | m_progress |
The main window frame.
Definition at line 42 of file ToolboxFrame.h.
|
explicit |
constructor
Definition at line 37 of file ToolboxFrame.cpp.
References EnfusePanel::Create(), PerspectivePanel::Create(), HuginBase::Color::GetMonitorProfile(), GetXRCPath(), HUGIN_IMGCACHE_UPPERBOUND, m_enfusePanel, m_hasMonitorProfile, m_logPanel, m_mainNotebook, m_mainSplitter, m_monitorProfile, m_perspectivePanel, OnExit(), OnQueueProgress(), and RestoreFramePosition().
|
virtual |
destructor
Definition at line 109 of file ToolboxFrame.cpp.
References m_mainNotebook, m_mainSplitter, and StoreFramePosition().
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.
|
protected |
Definition at line 133 of file ToolboxFrame.cpp.
Referenced by ToolboxFrame().
|
protected |
Definition at line 154 of file ToolboxFrame.cpp.
References m_enfusePanel, m_mainNotebook, m_perspectivePanel, PerspectivePanel::OnProcessFinished(), and EnfusePanel::OnProcessFinished().
Referenced by ToolboxFrame().
|
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.
|
private |
Definition at line 66 of file ToolboxFrame.h.
Referenced by OnQueueProgress(), and ToolboxFrame().
|
private |
true, if we found a real monitor profile
Definition at line 71 of file ToolboxFrame.h.
Referenced by HasMonitorProfile(), and ToolboxFrame().
|
private |
Definition at line 64 of file ToolboxFrame.h.
Referenced by ToolboxFrame().
|
private |
Definition at line 63 of file ToolboxFrame.h.
Referenced by OnQueueProgress(), ToolboxFrame(), and ~ToolboxFrame().
|
private |
Definition at line 65 of file ToolboxFrame.h.
Referenced by ToolboxFrame(), and ~ToolboxFrame().
|
private |
monitor profile
Definition at line 69 of file ToolboxFrame.h.
Referenced by GetMonitorProfile(), and ToolboxFrame().
|
private |
Definition at line 67 of file ToolboxFrame.h.
Referenced by OnQueueProgress(), and ToolboxFrame().