Hugintrunk
0.1
|
#include <BatchFrame.h>
Public Member Functions | |
BatchFrame (wxLocale *locale, wxString xrc) | |
wxStatusBar * | OnCreateStatusBar (int number, long style, wxWindowID id, const wxString &name) |
void | OnUserExit (wxCommandEvent &event) |
void | OnButtonAddCommand (wxCommandEvent &event) |
void | OnButtonAddDir (wxCommandEvent &event) |
void | OnButtonSearchPano (wxCommandEvent &e) |
void | OnButtonGenerateSequence (wxCommandEvent &e) |
generate a sequence of panoramas More... | |
void | OnButtonAddToStitchingQueue (wxCommandEvent &event) |
let the user select a project file which should be added to the stitching queue More... | |
void | OnButtonAddToAssistantQueue (wxCommandEvent &event) |
let the user select a project file which should be added to the stitching queue More... | |
void | OnButtonCancel (wxCommandEvent &event) |
void | OnButtonChangePrefix (wxCommandEvent &event) |
void | OnButtonChangeUserDefinedSequence (wxCommandEvent &event) |
void | OnButtonClear (wxCommandEvent &event) |
void | OnMinimizeTrayMenu (wxCommandEvent &e) |
void | OnButtonHelp (wxCommandEvent &event) |
void | OnButtonMoveDown (wxCommandEvent &event) |
void | OnButtonMoveUp (wxCommandEvent &event) |
void | OnButtonOpenBatch (wxCommandEvent &event) |
void | OnButtonOpenWithHugin (wxCommandEvent &event) |
void | OnButtonPause (wxCommandEvent &event) |
void | OnButtonRemoveComplete (wxCommandEvent &event) |
void | OnButtonRemoveFromList (wxCommandEvent &event) |
void | OnButtonReset (wxCommandEvent &event) |
void | OnButtonResetAll (wxCommandEvent &event) |
void | OnButtonRunBatch (wxCommandEvent &event) |
void | OnButtonSaveBatch (wxCommandEvent &event) |
void | OnButtonSkip (wxCommandEvent &event) |
void | OnCheckOverwrite (wxCommandEvent &event) |
void | OnChoiceEnd (wxCommandEvent &event) |
void | OnCheckVerbose (wxCommandEvent &event) |
void | OnCheckAutoRemove (wxCommandEvent &event) |
event handler called when auto remove checkbox was changed More... | |
void | OnCheckAutoStitch (wxCommandEvent &event) |
event handler called when auto stitch checkbox was changed More... | |
void | OnCheckSaveLog (wxCommandEvent &event) |
event handler called when always save log checkbox was changed More... | |
void | OnProgress (wxCommandEvent &event) |
event handler for update progress controls More... | |
void | OnClose (wxCloseEvent &event) |
void | OnMinimize (wxIconizeEvent &e) |
handle when minimize or restore image More... | |
void | PropagateDefaults () |
void | SetCheckboxes () |
void | RunBatch () |
void | SetLocaleAndXRC (wxLocale *locale, wxString xrc) |
void | SwapProject (int index, bool down) |
Batch::EndTask | GetEndTask () |
return which task should be executed at end More... | |
bool | GetCheckOverwrite () |
return if overwrite checkbox is checked More... | |
bool | GetCheckVerbose () |
return if verbose checkbox is checked More... | |
bool | GetCheckAutoRemove () |
return if auto remove checkbox is checked More... | |
bool | GetCheckAutoStitch () |
return if auto stitch checkbox is checked More... | |
bool | GetCheckSaveLog () |
return if always save log is checked More... | |
void | RestoreSize () |
void | AddToList (wxString aFile, Project::Target target=Project::STITCHING, wxString userDefined=wxEmptyString) |
void | AddArrayToList (const wxArrayString &fileList, Project::Target target) |
void | AddDirToList (wxString aDir) |
void | ChangePrefix (int index, wxString newPrefix) |
void | ChangeUserDefined (int index, wxString newUserDefined) |
bool | IsRunning () |
returns true, if batch is running More... | |
bool | IsPaused () |
returns true, if batch is paused More... | |
void | UpdateBatchVerboseStatus () |
update visibility of verbose output window depending on status of verbose checkbox More... | |
bool | IsStartedMinimized () |
returns true, if last session was finished minimized More... | |
void | SetInternalVerbose (bool newVerbose) |
sets the current verbose status, does not update the checkbox More... | |
void | UpdateTaskBarProgressBar () |
update the progress bar in the task bar More... | |
wxHelpController & | GetHelpController () |
return help controller for open help More... | |
Public Attributes | |
ProjectListBox * | projListBox |
Private Member Functions | |
void | OnProcessTerminate (wxProcessEvent &event) |
void | OnUpdateListBox (wxTimerEvent &event) |
called by thread to update listbox More... | |
void | OnBatchFailed (wxCommandEvent &event) |
called when batch was finished and there are failed projects More... | |
void | OnBatchInformation (wxCommandEvent &e) |
called when batch wants to show some progress message More... | |
void | OnRefillListBox (wxCommandEvent &e) |
called if the project box needs to be updated, because projects were added or deleted More... | |
void | UpdateTrayIcon (const bool createTrayIcon) |
create or destroy the tray icon More... | |
Private Attributes | |
wxLocale * | m_locale |
wxString | m_xrcPrefix |
Batch * | m_batch |
bool | m_cancelled |
bool | m_paused |
wxChoice * | m_endChoice |
wxHelpController | m_HelpController |
BatchTaskBarIcon * | m_tray |
ProgressStatusBar * | m_progStatusBar |
wxIcon | m_iconNormal |
wxIcon | m_iconRunning |
wxIcon | m_iconPaused |
wxTimer * | m_updateProjectsTimer |
bool | m_startedMinimized |
Definition at line 56 of file BatchFrame.h.
BatchFrame::BatchFrame | ( | wxLocale * | locale, |
wxString | xrc | ||
) |
Definition at line 86 of file BatchFrame.cpp.
References Batch::CLOSE_PTBATCHERGUI, Batch::DO_NOTHING, EVT_TIMER_UPDATE_LISTBOX, ProjectListBox::Fill(), FixHelpSettings(), Batch::HIBERNATE, hugin_utils::HuginMessageBox(), Batch::LoadTemp(), m_batch, m_cancelled, m_endChoice, m_iconNormal, m_iconPaused, m_iconRunning, m_tray, m_updateProjectsTimer, m_xrcPrefix, OnBatchFailed(), OnBatchInformation(), OnButtonAddCommand(), OnButtonAddDir(), OnButtonAddToAssistantQueue(), OnButtonAddToStitchingQueue(), OnButtonCancel(), OnButtonChangePrefix(), OnButtonChangeUserDefinedSequence(), OnButtonClear(), OnButtonGenerateSequence(), OnButtonHelp(), OnButtonMoveDown(), OnButtonMoveUp(), OnButtonOpenBatch(), OnButtonOpenWithHugin(), OnButtonPause(), OnButtonRemoveComplete(), OnButtonRemoveFromList(), OnButtonReset(), OnButtonResetAll(), OnButtonRunBatch(), OnButtonSaveBatch(), OnButtonSearchPano(), OnButtonSkip(), OnCheckAutoRemove(), OnCheckAutoStitch(), OnCheckOverwrite(), OnCheckSaveLog(), OnCheckVerbose(), OnChoiceEnd(), OnClose(), OnMinimize(), OnMinimizeTrayMenu(), OnProcessTerminate(), OnProgress(), OnRefillListBox(), OnUpdateListBox(), OnUserExit(), projListBox, Batch::SaveTemp(), SetLocaleAndXRC(), Batch::SHUTDOWN, Batch::SUSPEND, UpdateTaskBarProgressBar(), and UpdateTrayIcon().
void BatchFrame::AddArrayToList | ( | const wxArrayString & | fileList, |
Project::Target | target | ||
) |
Definition at line 499 of file BatchFrame.cpp.
References Batch::AddProjectToBatch(), ProjectListBox::AppendProject(), Batch::GetProject(), Batch::GetProjectCount(), m_batch, projListBox, and Batch::SaveTemp().
Referenced by GenerateSequenceDialog::DoGeneratePanorama().
void BatchFrame::AddDirToList | ( | wxString | aDir | ) |
Definition at line 460 of file BatchFrame.cpp.
References Batch::AddProjectToBatch(), ProjectListBox::AppendProject(), Project::DETECTING, Batch::GetProject(), Batch::GetProjectCount(), DirTraverser::GetProjectFiles(), Project::isAligned, m_batch, projListBox, Batch::SaveTemp(), and Project::target.
Referenced by OnButtonAddDir(), and BatchDropTarget::OnDropFiles().
void BatchFrame::AddToList | ( | wxString | aFile, |
Project::Target | target = Project::STITCHING , |
||
wxString | userDefined = wxEmptyString |
||
) |
Definition at line 481 of file BatchFrame.cpp.
References Batch::AddProjectToBatch(), ProjectListBox::AppendProject(), Project::DETECTING, Batch::GetProject(), Batch::GetProjectCount(), m_batch, projListBox, Batch::SaveTemp(), and Project::STITCHING.
Referenced by OnButtonAddToAssistantQueue(), OnButtonAddToStitchingQueue(), FindPanoDialog::OnButtonSend(), BatchDropTarget::OnDropFiles(), PTBatcherGUI::OnInit(), and BatchIPCConnection::OnRequest().
void BatchFrame::ChangePrefix | ( | int | index, |
wxString | newPrefix | ||
) |
Definition at line 590 of file BatchFrame.cpp.
References ProjectListBox::ChangePrefix(), Batch::ChangePrefix(), Batch::GetProjectCount(), m_batch, and projListBox.
Referenced by OnButtonChangePrefix(), PTBatcherGUI::OnInit(), and BatchIPCConnection::OnRequest().
void BatchFrame::ChangeUserDefined | ( | int | index, |
wxString | newUserDefined | ||
) |
Definition at line 605 of file BatchFrame.cpp.
References ProjectListBox::ChangeUserDefined(), Batch::ChangeUserDefined(), Batch::GetProjectCount(), m_batch, and projListBox.
Referenced by BatchIPCConnection::OnRequest().
bool BatchFrame::GetCheckAutoRemove | ( | ) |
return if auto remove checkbox is checked
Definition at line 1057 of file BatchFrame.cpp.
Referenced by PropagateDefaults().
bool BatchFrame::GetCheckAutoStitch | ( | ) |
return if auto stitch checkbox is checked
Definition at line 1062 of file BatchFrame.cpp.
Referenced by PropagateDefaults().
bool BatchFrame::GetCheckOverwrite | ( | ) |
return if overwrite checkbox is checked
Definition at line 1047 of file BatchFrame.cpp.
Referenced by BatchIPCConnection::OnRequest(), and PropagateDefaults().
bool BatchFrame::GetCheckSaveLog | ( | ) |
return if always save log is checked
Definition at line 1067 of file BatchFrame.cpp.
bool BatchFrame::GetCheckVerbose | ( | ) |
return if verbose checkbox is checked
Definition at line 1052 of file BatchFrame.cpp.
Referenced by BatchIPCConnection::OnRequest(), and PropagateDefaults().
Batch::EndTask BatchFrame::GetEndTask | ( | ) |
return which task should be executed at end
Definition at line 1042 of file BatchFrame.cpp.
References m_endChoice.
Referenced by BatchIPCConnection::OnRequest(), and PropagateDefaults().
|
inline |
return help controller for open help
Definition at line 155 of file BatchFrame.h.
References m_HelpController.
Referenced by OnButtonHelp(), and PTBatcherGUI::OnInit().
bool BatchFrame::IsPaused | ( | ) |
returns true, if batch is paused
Definition at line 263 of file BatchFrame.cpp.
References Batch::IsPaused(), and m_batch.
bool BatchFrame::IsRunning | ( | ) |
returns true, if batch is running
Definition at line 258 of file BatchFrame.cpp.
References Batch::IsRunning(), and m_batch.
Referenced by RunBatch().
|
inline |
returns true, if last session was finished minimized
Definition at line 145 of file BatchFrame.h.
References m_startedMinimized.
Referenced by PTBatcherGUI::OnInit().
|
private |
called when batch was finished and there are failed projects
Definition at line 1293 of file BatchFrame.cpp.
References Batch::GetFailedProjectsCount(), m_batch, m_iconNormal, m_tray, and m_xrcPrefix.
Referenced by BatchFrame().
|
private |
called when batch wants to show some progress message
Definition at line 1306 of file BatchFrame.cpp.
References m_iconNormal, and m_tray.
Referenced by BatchFrame().
void BatchFrame::OnButtonAddCommand | ( | wxCommandEvent & | event | ) |
Definition at line 340 of file BatchFrame.cpp.
References Batch::AddAppToBatch(), ProjectListBox::AppendProject(), Batch::GetProject(), Batch::GetProjectCount(), celeste::line, m_batch, projListBox, and Batch::SaveTemp().
Referenced by BatchFrame().
void BatchFrame::OnButtonAddDir | ( | wxCommandEvent & | event | ) |
Definition at line 355 of file BatchFrame.cpp.
References AddDirToList().
Referenced by BatchFrame().
void BatchFrame::OnButtonAddToAssistantQueue | ( | wxCommandEvent & | event | ) |
let the user select a project file which should be added to the stitching queue
Definition at line 431 of file BatchFrame.cpp.
References AddToList(), Project::DETECTING, m_batch, and Batch::SaveTemp().
Referenced by BatchFrame().
void BatchFrame::OnButtonAddToStitchingQueue | ( | wxCommandEvent & | event | ) |
let the user select a project file which should be added to the stitching queue
Definition at line 403 of file BatchFrame.cpp.
References AddToList(), m_batch, and Batch::SaveTemp().
Referenced by BatchFrame().
void BatchFrame::OnButtonCancel | ( | wxCommandEvent & | event | ) |
Definition at line 509 of file BatchFrame.cpp.
References Batch::CancelBatch(), m_batch, m_cancelled, m_iconNormal, and m_tray.
Referenced by BatchFrame(), and OnButtonResetAll().
void BatchFrame::OnButtonChangePrefix | ( | wxCommandEvent & | event | ) |
Definition at line 521 of file BatchFrame.cpp.
References ChangePrefix(), containsInvalidCharacters(), Batch::GetProject(), ProjectListBox::GetSelectedProjects(), hugin_utils::HuginMessageBox(), Project::id, m_batch, Project::path, Project::prefix, projListBox, Batch::SaveTemp(), ShowFilenameWarning(), Project::STITCHING, and Project::target.
Referenced by BatchFrame().
void BatchFrame::OnButtonChangeUserDefinedSequence | ( | wxCommandEvent & | event | ) |
Definition at line 620 of file BatchFrame.cpp.
References ProjectListBox::ChangeUserDefined(), Batch::ChangeUserDefined(), Project::DETECTING, ChangeUserDefinedSequenceDialog::GetNewSequence(), Batch::GetProject(), ProjectListBox::GetSelectedProjects(), Project::id, m_batch, m_xrcPrefix, projListBox, Project::target, and Project::userDefindSequence.
Referenced by BatchFrame().
void BatchFrame::OnButtonClear | ( | wxCommandEvent & | event | ) |
Definition at line 660 of file BatchFrame.cpp.
References Batch::ClearBatch(), m_batch, m_cancelled, projListBox, and Batch::SaveTemp().
Referenced by BatchFrame().
void BatchFrame::OnButtonGenerateSequence | ( | wxCommandEvent & | e | ) |
generate a sequence of panoramas
Definition at line 375 of file BatchFrame.cpp.
References hugin_utils::HuginMessageBox(), and m_xrcPrefix.
Referenced by BatchFrame().
void BatchFrame::OnButtonHelp | ( | wxCommandEvent & | event | ) |
Definition at line 679 of file BatchFrame.cpp.
References DEBUG_TRACE, and GetHelpController().
Referenced by BatchFrame().
void BatchFrame::OnButtonMoveDown | ( | wxCommandEvent & | event | ) |
Definition at line 685 of file BatchFrame.cpp.
References ProjectListBox::GetSelectedProjects(), m_batch, projListBox, Batch::SaveTemp(), and SwapProject().
Referenced by BatchFrame().
void BatchFrame::OnButtonMoveUp | ( | wxCommandEvent & | event | ) |
Definition at line 699 of file BatchFrame.cpp.
References ProjectListBox::GetSelectedProjects(), m_batch, projListBox, Batch::SaveTemp(), and SwapProject().
Referenced by BatchFrame().
void BatchFrame::OnButtonOpenBatch | ( | wxCommandEvent & | event | ) |
Definition at line 713 of file BatchFrame.cpp.
References ProjectListBox::Fill(), Batch::LoadBatchFile(), m_batch, projListBox, and Batch::SaveTemp().
Referenced by BatchFrame().
void BatchFrame::OnButtonOpenWithHugin | ( | wxCommandEvent & | event | ) |
Definition at line 737 of file BatchFrame.cpp.
References Batch::GetProject(), ProjectListBox::GetSelectedProjects(), ProjectListBox::GetText(), hugin_utils::HuginMessageBox(), m_batch, and projListBox.
Referenced by BatchFrame().
void BatchFrame::OnButtonPause | ( | wxCommandEvent & | event | ) |
Definition at line 776 of file BatchFrame.cpp.
References Batch::GetRunningCount(), Batch::IsPaused(), m_batch, m_iconPaused, m_iconRunning, m_tray, Batch::PauseBatch(), and UpdateTaskBarProgressBar().
Referenced by BatchFrame(), and OnButtonRunBatch().
void BatchFrame::OnButtonRemoveComplete | ( | wxCommandEvent & | event | ) |
Definition at line 808 of file BatchFrame.cpp.
References ProjectListBox::Deselect(), Project::FAILED, Project::FINISHED, Batch::GetStatus(), hugin_utils::HuginMessageBox(), m_batch, Batch::NoErrors(), projListBox, Batch::RemoveProjectAtIndex(), and Batch::SaveTemp().
Referenced by BatchFrame().
void BatchFrame::OnButtonRemoveFromList | ( | wxCommandEvent & | event | ) |
Definition at line 831 of file BatchFrame.cpp.
References ProjectListBox::Deselect(), Batch::GetProject(), ProjectListBox::GetSelectedProjects(), Batch::GetStatus(), hugin_utils::HuginMessageBox(), m_batch, OnButtonSkip(), Project::path, Project::PAUSED, projListBox, Batch::RemoveProjectAtIndex(), Project::RUNNING, and Batch::SaveTemp().
Referenced by BatchFrame().
void BatchFrame::OnButtonReset | ( | wxCommandEvent & | event | ) |
Definition at line 864 of file BatchFrame.cpp.
References Batch::GetProject(), ProjectListBox::GetSelectedProjects(), Batch::GetStatus(), hugin_utils::HuginMessageBox(), m_batch, OnButtonSkip(), Project::path, Project::PAUSED, projListBox, Project::RUNNING, Batch::SaveTemp(), Batch::SetStatus(), and Project::WAITING.
Referenced by BatchFrame().
void BatchFrame::OnButtonResetAll | ( | wxCommandEvent & | event | ) |
Definition at line 892 of file BatchFrame.cpp.
References Batch::GetRunningCount(), hugin_utils::HuginMessageBox(), m_batch, OnButtonCancel(), projListBox, Batch::SaveTemp(), Batch::SetStatus(), and Project::WAITING.
Referenced by BatchFrame().
void BatchFrame::OnButtonRunBatch | ( | wxCommandEvent & | event | ) |
Definition at line 911 of file BatchFrame.cpp.
References Batch::IsPaused(), m_batch, OnButtonPause(), and RunBatch().
Referenced by BatchFrame().
void BatchFrame::OnButtonSaveBatch | ( | wxCommandEvent & | event | ) |
Definition at line 924 of file BatchFrame.cpp.
References m_batch, and Batch::SaveBatchFile().
Referenced by BatchFrame().
void BatchFrame::OnButtonSearchPano | ( | wxCommandEvent & | e | ) |
void BatchFrame::OnButtonSkip | ( | wxCommandEvent & | event | ) |
Definition at line 939 of file BatchFrame.cpp.
References Batch::CancelProject(), Batch::CompareProjectsInLists(), Project::FAILED, Batch::GetRunningCount(), ProjectListBox::GetSelectedProjects(), Batch::GetStatus(), m_batch, Project::PAUSED, projListBox, Project::RUNNING, and Batch::SetStatus().
Referenced by BatchFrame(), OnButtonRemoveFromList(), and OnButtonReset().
void BatchFrame::OnCheckAutoRemove | ( | wxCommandEvent & | event | ) |
event handler called when auto remove checkbox was changed
Definition at line 1118 of file BatchFrame.cpp.
References Batch::autoremove, and m_batch.
Referenced by BatchFrame().
void BatchFrame::OnCheckAutoStitch | ( | wxCommandEvent & | event | ) |
event handler called when auto stitch checkbox was changed
Definition at line 1133 of file BatchFrame.cpp.
References Batch::autostitch, and m_batch.
Referenced by BatchFrame().
void BatchFrame::OnCheckOverwrite | ( | wxCommandEvent & | event | ) |
Definition at line 1072 of file BatchFrame.cpp.
References m_batch, and Batch::overwrite.
Referenced by BatchFrame(), and BatchIPCConnection::OnRequest().
void BatchFrame::OnCheckSaveLog | ( | wxCommandEvent & | event | ) |
event handler called when always save log checkbox was changed
Definition at line 1148 of file BatchFrame.cpp.
References m_batch, and Batch::saveLog.
Referenced by BatchFrame().
void BatchFrame::OnCheckVerbose | ( | wxCommandEvent & | event | ) |
Definition at line 1096 of file BatchFrame.cpp.
References m_batch, Batch::ShowOutput(), and Batch::verbose.
Referenced by BatchFrame(), and BatchIPCConnection::OnRequest().
void BatchFrame::OnChoiceEnd | ( | wxCommandEvent & | event | ) |
Definition at line 1088 of file BatchFrame.cpp.
References Batch::atEnd, m_batch, and m_endChoice.
Referenced by BatchFrame(), and BatchIPCConnection::OnRequest().
void BatchFrame::OnClose | ( | wxCloseEvent & | event | ) |
Definition at line 1163 of file BatchFrame.cpp.
References Batch::ClearBatch(), hugin_utils::GetMessageDialog(), Batch::GetProjectCount(), m_batch, m_tray, m_updateProjectsTimer, and Batch::SaveTemp().
Referenced by BatchFrame().
wxStatusBar * BatchFrame::OnCreateStatusBar | ( | int | number, |
long | style, | ||
wxWindowID | id, | ||
const wxString & | name | ||
) |
Definition at line 251 of file BatchFrame.cpp.
References m_progStatusBar.
void BatchFrame::OnMinimize | ( | wxIconizeEvent & | e | ) |
handle when minimize or restore image
Definition at line 1346 of file BatchFrame.cpp.
References m_batch, m_tray, Batch::ShowOutput(), UpdateTaskBarProgressBar(), and Batch::verbose.
Referenced by BatchFrame().
void BatchFrame::OnMinimizeTrayMenu | ( | wxCommandEvent & | e | ) |
Definition at line 1401 of file BatchFrame.cpp.
References UpdateTrayIcon().
Referenced by BatchFrame().
|
private |
Definition at line 1256 of file BatchFrame.cpp.
References Batch::GetRunningCount(), m_batch, m_iconNormal, and m_tray.
Referenced by BatchFrame().
void BatchFrame::OnProgress | ( | wxCommandEvent & | event | ) |
event handler for update progress controls
Definition at line 1316 of file BatchFrame.cpp.
References m_progStatusBar, ProgressStatusBar::SetProgress(), and UpdateTaskBarProgressBar().
Referenced by BatchFrame().
|
private |
called if the project box needs to be updated, because projects were added or deleted
Definition at line 1381 of file BatchFrame.cpp.
References ProjectListBox::Fill(), ProjectListBox::GetIndex(), Batch::GetProject(), ProjectListBox::GetSelectedProjects(), Project::id, m_batch, projListBox, and ProjectListBox::Select().
Referenced by BatchFrame().
|
private |
called by thread to update listbox
Definition at line 268 of file BatchFrame.cpp.
References hugin_utils::FileExists(), Project::FINISHED, ProjectListBox::GetIndex(), Batch::GetProject(), Batch::GetProjectCount(), Batch::GetStatus(), Project::id, m_batch, m_updateProjectsTimer, Project::MISSING, Project::modDate, Project::path, projListBox, ProjectListBox::ReloadProject(), Project::ResetOptions(), Batch::SaveTemp(), ProjectListBox::SetMissing(), Batch::SetStatus(), Project::skip, Project::STITCHING, Project::target, ProjectListBox::UpdateStatus(), Project::userDefindSequence, and Project::WAITING.
Referenced by BatchFrame().
void BatchFrame::OnUserExit | ( | wxCommandEvent & | event | ) |
Definition at line 335 of file BatchFrame.cpp.
Referenced by BatchFrame().
void BatchFrame::PropagateDefaults | ( | ) |
Definition at line 1208 of file BatchFrame.cpp.
References Batch::atEnd, Batch::autoremove, Batch::autostitch, GetCheckAutoRemove(), GetCheckAutoStitch(), GetCheckOverwrite(), GetCheckVerbose(), GetEndTask(), m_batch, Batch::overwrite, and Batch::verbose.
Referenced by PTBatcherGUI::OnInit().
void BatchFrame::RestoreSize | ( | ) |
Definition at line 1269 of file BatchFrame.cpp.
References m_startedMinimized, m_tray, celeste::max(), and celeste::min().
Referenced by PTBatcherGUI::OnInit().
void BatchFrame::RunBatch | ( | ) |
Definition at line 1217 of file BatchFrame.cpp.
References IsRunning(), m_batch, m_iconRunning, m_tray, and Batch::RunBatch().
Referenced by OnButtonRunBatch(), and PTBatcherGUI::OnInit().
void BatchFrame::SetCheckboxes | ( | ) |
Definition at line 998 of file BatchFrame.cpp.
References Batch::atEnd, Batch::autoremove, Batch::autostitch, m_batch, m_endChoice, Batch::overwrite, Batch::saveLog, SelectEndTask(), Batch::SHUTDOWN, and Batch::verbose.
Referenced by PTBatcherGUI::OnInit(), and BatchIPCConnection::OnRequest().
void BatchFrame::SetInternalVerbose | ( | bool | newVerbose | ) |
sets the current verbose status, does not update the checkbox
Definition at line 1113 of file BatchFrame.cpp.
References m_batch, and Batch::verbose.
Referenced by PTBatcherGUI::OnInit().
void BatchFrame::SetLocaleAndXRC | ( | wxLocale * | locale, |
wxString | xrc | ||
) |
Definition at line 1230 of file BatchFrame.cpp.
References m_locale, and m_xrcPrefix.
Referenced by BatchFrame().
void BatchFrame::SwapProject | ( | int | index, |
bool | down | ||
) |
Definition at line 1236 of file BatchFrame.cpp.
References ProjectListBox::Deselect(), m_batch, projListBox, ProjectListBox::Select(), ProjectListBox::SwapProject(), and Batch::SwapProject().
Referenced by OnButtonMoveDown(), and OnButtonMoveUp().
void BatchFrame::UpdateBatchVerboseStatus | ( | ) |
update visibility of verbose output window depending on status of verbose checkbox
Definition at line 1375 of file BatchFrame.cpp.
References m_batch, Batch::ShowOutput(), and Batch::verbose.
void BatchFrame::UpdateTaskBarProgressBar | ( | ) |
update the progress bar in the task bar
Definition at line 1322 of file BatchFrame.cpp.
References ProgressStatusBar::GetProgress(), Batch::IsPaused(), m_batch, and m_progStatusBar.
Referenced by BatchFrame(), OnButtonPause(), OnMinimize(), and OnProgress().
|
private |
create or destroy the tray icon
Definition at line 1409 of file BatchFrame.cpp.
References Batch::IsPaused(), Batch::IsRunning(), m_batch, m_iconNormal, m_iconPaused, m_iconRunning, and m_tray.
Referenced by BatchFrame(), and OnMinimizeTrayMenu().
|
private |
Definition at line 163 of file BatchFrame.h.
Referenced by AddArrayToList(), AddDirToList(), AddToList(), BatchFrame(), ChangePrefix(), ChangeUserDefined(), IsPaused(), IsRunning(), OnBatchFailed(), OnButtonAddCommand(), OnButtonAddToAssistantQueue(), OnButtonAddToStitchingQueue(), OnButtonCancel(), OnButtonChangePrefix(), OnButtonChangeUserDefinedSequence(), OnButtonClear(), OnButtonMoveDown(), OnButtonMoveUp(), OnButtonOpenBatch(), OnButtonOpenWithHugin(), OnButtonPause(), OnButtonRemoveComplete(), OnButtonRemoveFromList(), OnButtonReset(), OnButtonResetAll(), OnButtonRunBatch(), OnButtonSaveBatch(), OnButtonSkip(), OnCheckAutoRemove(), OnCheckAutoStitch(), OnCheckOverwrite(), OnCheckSaveLog(), OnCheckVerbose(), OnChoiceEnd(), OnClose(), OnMinimize(), OnProcessTerminate(), OnRefillListBox(), OnUpdateListBox(), PropagateDefaults(), RunBatch(), SetCheckboxes(), SetInternalVerbose(), SwapProject(), UpdateBatchVerboseStatus(), UpdateTaskBarProgressBar(), and UpdateTrayIcon().
|
private |
Definition at line 164 of file BatchFrame.h.
Referenced by BatchFrame(), OnButtonCancel(), and OnButtonClear().
|
private |
Definition at line 166 of file BatchFrame.h.
Referenced by BatchFrame(), GetEndTask(), OnChoiceEnd(), and SetCheckboxes().
|
private |
Definition at line 168 of file BatchFrame.h.
Referenced by GetHelpController().
|
private |
Definition at line 171 of file BatchFrame.h.
Referenced by BatchFrame(), OnBatchFailed(), OnBatchInformation(), OnButtonCancel(), OnProcessTerminate(), and UpdateTrayIcon().
|
private |
Definition at line 173 of file BatchFrame.h.
Referenced by BatchFrame(), OnButtonPause(), and UpdateTrayIcon().
|
private |
Definition at line 172 of file BatchFrame.h.
Referenced by BatchFrame(), OnButtonPause(), RunBatch(), and UpdateTrayIcon().
|
private |
Definition at line 161 of file BatchFrame.h.
Referenced by SetLocaleAndXRC().
|
private |
Definition at line 165 of file BatchFrame.h.
|
private |
Definition at line 170 of file BatchFrame.h.
Referenced by OnCreateStatusBar(), OnProgress(), and UpdateTaskBarProgressBar().
|
private |
Definition at line 176 of file BatchFrame.h.
Referenced by IsStartedMinimized(), and RestoreSize().
|
private |
Definition at line 169 of file BatchFrame.h.
Referenced by BatchFrame(), OnBatchFailed(), OnBatchInformation(), OnButtonCancel(), OnButtonPause(), OnClose(), OnMinimize(), OnProcessTerminate(), RestoreSize(), RunBatch(), and UpdateTrayIcon().
|
private |
Definition at line 175 of file BatchFrame.h.
Referenced by BatchFrame(), OnClose(), and OnUpdateListBox().
|
private |
Definition at line 162 of file BatchFrame.h.
Referenced by BatchFrame(), OnBatchFailed(), OnButtonChangeUserDefinedSequence(), OnButtonGenerateSequence(), OnButtonSearchPano(), and SetLocaleAndXRC().
ProjectListBox* BatchFrame::projListBox |
Definition at line 158 of file BatchFrame.h.
Referenced by AddArrayToList(), AddDirToList(), AddToList(), BatchFrame(), ChangePrefix(), ChangeUserDefined(), OnButtonAddCommand(), OnButtonChangePrefix(), OnButtonChangeUserDefinedSequence(), OnButtonClear(), OnButtonMoveDown(), OnButtonMoveUp(), OnButtonOpenBatch(), OnButtonOpenWithHugin(), OnButtonRemoveComplete(), OnButtonRemoveFromList(), OnButtonReset(), OnButtonResetAll(), OnButtonSkip(), OnRefillListBox(), OnUpdateListBox(), and SwapProject().