#include <BatchFrame.h>
Public Member Functions | |
| BatchFrame (wxLocale *locale, wxString xrc) | |
| void * | Entry () |
| void | OnUserExit (wxCommandEvent &event) |
| void | OnButtonAddCommand (wxCommandEvent &event) |
| void | OnButtonAddDir (wxCommandEvent &event) |
| void | OnButtonSearchPano (wxCommandEvent &e) |
| void | OnButtonAddToStitchingQueue (wxCommandEvent &event) |
| let the user select a project file which should be added to the stitching queue | |
| void | OnButtonAddToAssistantQueue (wxCommandEvent &event) |
| let the user select a project file which should be added to the stitching queue | |
| void | OnButtonCancel (wxCommandEvent &event) |
| void | OnButtonChangePrefix (wxCommandEvent &event) |
| void | OnButtonClear (wxCommandEvent &event) |
| 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 | OnCheckParallel (wxCommandEvent &event) |
| void | OnCheckShutdown (wxCommandEvent &event) |
| void | OnCheckVerbose (wxCommandEvent &event) |
| void | OnCheckAutoRemove (wxCommandEvent &event) |
| event handler called when auto remove checkbox was changed | |
| void | OnCheckAutoStitch (wxCommandEvent &event) |
| event handler called when auto stitch checkbox was changed | |
| void | OnCheckSaveLog (wxCommandEvent &event) |
| event handler called when always save log checkbox was changed | |
| void | OnClose (wxCloseEvent &event) |
| void | OnMinimize (wxIconizeEvent &e) |
| handle when minimize or restore image | |
| void | PropagateDefaults () |
| void | SetCheckboxes () |
| void | RunBatch () |
| void | SetLocaleAndXRC (wxLocale *locale, wxString xrc) |
| void | SwapProject (int index) |
| bool | GetCheckParallel () |
| return if parallel checkbox is checked | |
| bool | GetCheckShutdown () |
| return if shutdown checkbox is checked | |
| bool | GetCheckOverwrite () |
| return if overwrite checkbox is checked | |
| bool | GetCheckVerbose () |
| return if verbose checkbox is checked | |
| bool | GetCheckAutoRemove () |
| return if auto remove checkbox is checked | |
| bool | GetCheckAutoStitch () |
| return if auto stitch checkbox is checked | |
| bool | GetCheckSaveLog () |
| return if always save log is checked | |
| void | RestoreSize () |
| void | AddToList (wxString aFile, Project::Target target=Project::STITCHING) |
| void | AddDirToList (wxString aDir) |
| void | ChangePrefix (int index, wxString newPrefix) |
| bool | IsRunning () |
| returns true, if batch is running | |
| bool | IsPaused () |
| returns true, if batch is paused | |
| void | SetStatusInformation (wxString status, bool showBalloon) |
| sets status message, also updates tooltip of taskbar icon | |
| void | UpdateBatchVerboseStatus () |
| update visibility of verbose output window depending on status of verbose checkbox | |
| bool | IsStartedMinimized () |
| returns true, if last session was finished minimized | |
| void | SetInternalVerbose (bool newVerbose) |
| sets the current verbose status, does not update the checkbox | |
Public Attributes | |
| ProjectListBox * | projListBox |
Private Member Functions | |
| void | OnProcessTerminate (wxProcessEvent &event) |
| void | OnReloadBatch (wxCommandEvent &event) |
| called by thread when queue was changed outside of PTBatcherGUI | |
| void | OnUpdateListBox (wxCommandEvent &event) |
| called by thread to update listbox | |
| void | OnBatchFailed (wxCommandEvent &event) |
| called when batch was finished and there are failed projects | |
| void | OnBatchInformation (wxCommandEvent &e) |
| called when batch wants to show some progress message | |
| void | OnRefillListBox (wxCommandEvent &e) |
| called if the project box needs to be updated, because projects were added or deleted | |
Private Attributes | |
| wxLocale * | m_locale |
| wxString | m_xrcPrefix |
| Batch * | m_batch |
| bool | m_cancelled |
| bool | m_paused |
| bool | m_closeThread |
| wxHtmlHelpController * | m_help |
| BatchTaskBarIcon * | m_tray |
| bool | m_startedMinimized |
|
||||||||||||
|
|
|
|
Definition at line 433 of file BatchFrame.cpp. References Batch::AddProjectToBatch(), ProjectListBox::AppendProject(), Batch::GetProject(), Batch::GetProjectCount(), DirTraverser::GetProjectFiles(), Project::isAligned, m_batch, projListBox, Batch::SaveTemp(), and Project::target. Referenced by OnButtonAddDir(), and BatchDropTarget::OnDropFiles(). |
|
||||||||||||
|
Definition at line 454 of file BatchFrame.cpp. References Batch::AddProjectToBatch(), ProjectListBox::AppendProject(), Batch::GetProject(), Batch::GetProjectCount(), m_batch, projListBox, Batch::SaveTemp(), and SetStatusInformation(). Referenced by OnButtonAddToAssistantQueue(), OnButtonAddToStitchingQueue(), FindPanoDialog::OnButtonSend(), BatchDropTarget::OnDropFiles(), and BatchIPCConnection::OnRequest(). |
|
||||||||||||
|
Definition at line 524 of file BatchFrame.cpp. References ProjectListBox::ChangePrefix(), Batch::ChangePrefix(), Batch::GetProjectCount(), m_batch, and projListBox. Referenced by OnButtonChangePrefix(), and BatchIPCConnection::OnRequest(). |
|
|
Definition at line 232 of file BatchFrame.cpp. References Batch::GetLastFile(), Batch::GetLastFileDate(), m_batch, wxEVT_COMMAND_RELOAD_BATCH, and wxEVT_COMMAND_UPDATE_LISTBOX. |
|
|
return if auto remove checkbox is checked
Definition at line 942 of file BatchFrame.cpp. Referenced by PropagateDefaults(). |
|
|
return if auto stitch checkbox is checked
Definition at line 947 of file BatchFrame.cpp. Referenced by PropagateDefaults(). |
|
|
return if overwrite checkbox is checked
Definition at line 932 of file BatchFrame.cpp. Referenced by BatchIPCConnection::OnRequest(), and PropagateDefaults(). |
|
|
return if parallel checkbox is checked
Definition at line 922 of file BatchFrame.cpp. Referenced by BatchIPCConnection::OnRequest(), and PropagateDefaults(). |
|
|
return if always save log is checked
Definition at line 952 of file BatchFrame.cpp. |
|
|
return if shutdown checkbox is checked
Definition at line 927 of file BatchFrame.cpp. Referenced by BatchIPCConnection::OnRequest(), and PropagateDefaults(). |
|
|
return if verbose checkbox is checked
Definition at line 937 of file BatchFrame.cpp. Referenced by BatchIPCConnection::OnRequest(), and PropagateDefaults(). |
|
|
returns true, if batch is paused
Definition at line 268 of file BatchFrame.cpp. References Batch::IsPaused(), and m_batch. |
|
|
returns true, if batch is running
Definition at line 263 of file BatchFrame.cpp. References Batch::IsRunning(), and m_batch. Referenced by RunBatch(). |
|
|
returns true, if last session was finished minimized
Definition at line 142 of file BatchFrame.h. |
|
|
called when batch was finished and there are failed projects
Definition at line 1176 of file BatchFrame.cpp. References Batch::GetFailedProjectsCount(), m_batch, and m_xrcPrefix. |
|
|
called when batch wants to show some progress message
Definition at line 1185 of file BatchFrame.cpp. References SetStatusInformation(). |
|
|
Definition at line 341 of file BatchFrame.cpp. References Batch::AddAppToBatch(), ProjectListBox::AppendProject(), Batch::GetProject(), Batch::GetProjectCount(), m_batch, projListBox, and Batch::SaveTemp(). |
|
|
Definition at line 356 of file BatchFrame.cpp. References AddDirToList(). |
|
|
let the user select a project file which should be added to the stitching queue
Definition at line 404 of file BatchFrame.cpp. References AddToList(), m_batch, and Batch::SaveTemp(). |
|
|
let the user select a project file which should be added to the stitching queue
Definition at line 376 of file BatchFrame.cpp. References AddToList(), m_batch, and Batch::SaveTemp(). Referenced by PTBatcherGUI::OnKeyDown(). |
|
|
Definition at line 474 of file BatchFrame.cpp. References Batch::CancelBatch(), m_batch, m_cancelled, and SetStatusInformation(). Referenced by OnButtonResetAll(), and PTBatcherGUI::OnKeyDown(). |
|
|
|
Definition at line 539 of file BatchFrame.cpp. References Batch::ClearBatch(), m_batch, m_cancelled, projListBox, and Batch::SaveTemp(). |
|
|
Definition at line 558 of file BatchFrame.cpp. References DEBUG_INFO, DEBUG_TRACE, m_help, m_locale, and m_xrcPrefix. |
|
|
Definition at line 610 of file BatchFrame.cpp. References ProjectListBox::GetSelectedIndex(), m_batch, projListBox, Batch::SaveTemp(), and SwapProject(). |
|
|
Definition at line 616 of file BatchFrame.cpp. References ProjectListBox::GetSelectedIndex(), m_batch, projListBox, Batch::SaveTemp(), and SwapProject(). |
|
|
Definition at line 622 of file BatchFrame.cpp. References ProjectListBox::Fill(), Batch::LoadBatchFile(), m_batch, projListBox, and Batch::SaveTemp(). |
|
|
Definition at line 646 of file BatchFrame.cpp. References getExePath(), ProjectListBox::GetSelectedIndex(), ProjectListBox::GetSelectedProject(), ProjectListBox::GetText(), and projListBox. Referenced by PTBatcherGUI::OnItemActivated(). |
|
|
Definition at line 685 of file BatchFrame.cpp. References Batch::GetRunningCount(), Batch::IsPaused(), m_batch, Batch::PauseBatch(), and SetStatusInformation(). Referenced by OnButtonRunBatch(). |
|
|
Definition at line 708 of file BatchFrame.cpp. References ProjectListBox::Deselect(), Batch::GetStatus(), m_batch, Batch::NoErrors(), projListBox, Batch::RemoveProjectAtIndex(), and Batch::SaveTemp(). |
|
|
Definition at line 738 of file BatchFrame.cpp. References ProjectListBox::Deselect(), ProjectListBox::GetSelectedIndex(), ProjectListBox::GetSelectedProject(), Batch::GetStatus(), m_batch, OnButtonSkip(), projListBox, Batch::RemoveProjectAtIndex(), and Batch::SaveTemp(). Referenced by PTBatcherGUI::OnKeyDown(). |
|
|
Definition at line 773 of file BatchFrame.cpp. References ProjectListBox::GetSelectedIndex(), ProjectListBox::GetSelectedProject(), Batch::GetStatus(), m_batch, OnButtonSkip(), projListBox, Batch::SaveTemp(), and Batch::SetStatus(). |
|
|
Definition at line 805 of file BatchFrame.cpp. References Batch::GetRunningCount(), m_batch, OnButtonCancel(), projListBox, Batch::SaveTemp(), and Batch::SetStatus(). |
|
|
Definition at line 831 of file BatchFrame.cpp. References Batch::IsPaused(), m_batch, OnButtonPause(), and RunBatch(). |
|
|
Definition at line 844 of file BatchFrame.cpp. References m_batch, and Batch::SaveBatchFile(). |
|
|
Definition at line 370 of file BatchFrame.cpp. References m_xrcPrefix. |
|
|
Definition at line 859 of file BatchFrame.cpp. References Batch::CancelProject(), Batch::CompareProjectsInLists(), Batch::GetRunningCount(), ProjectListBox::GetSelectedIndex(), Batch::GetStatus(), m_batch, projListBox, and Batch::SetStatus(). Referenced by OnButtonRemoveFromList(), and OnButtonReset(). |
|
|
event handler called when auto remove checkbox was changed
Definition at line 1019 of file BatchFrame.cpp. References Batch::autoremove, and m_batch. |
|
|
event handler called when auto stitch checkbox was changed
Definition at line 1034 of file BatchFrame.cpp. References Batch::autostitch, and m_batch. |
|
|
Definition at line 957 of file BatchFrame.cpp. References m_batch, and Batch::overwrite. Referenced by BatchIPCConnection::OnRequest(). |
|
|
Definition at line 971 of file BatchFrame.cpp. References m_batch, and Batch::parallel. Referenced by BatchIPCConnection::OnRequest(). |
|
|
event handler called when always save log checkbox was changed
Definition at line 1049 of file BatchFrame.cpp. References m_batch, and Batch::saveLog. |
|
|
Definition at line 985 of file BatchFrame.cpp. References m_batch, and Batch::shutdown. Referenced by BatchIPCConnection::OnRequest(). |
|
|
Definition at line 999 of file BatchFrame.cpp. References m_batch, Batch::ShowOutput(), and Batch::verbose. Referenced by BatchIPCConnection::OnRequest(). |
|
|
Definition at line 1064 of file BatchFrame.cpp. References m_closeThread, and m_tray. |
|
|
handle when minimize or restore image
Definition at line 1211 of file BatchFrame.cpp. References m_batch, m_tray, Batch::ShowOutput(), and Batch::verbose. |
|
|
Definition at line 1143 of file BatchFrame.cpp. References Batch::GetRunningCount(), and m_batch. |
|
|
called if the project box needs to be updated, because projects were added or deleted
Definition at line 1246 of file BatchFrame.cpp. References ProjectListBox::Fill(), ProjectListBox::GetIndex(), ProjectListBox::GetProjectId(), ProjectListBox::GetSelectedIndex(), m_batch, projListBox, and ProjectListBox::Select(). |
|
|
called by thread when queue was changed outside of PTBatcherGUI
Definition at line 327 of file BatchFrame.cpp. References Batch::ClearBatch(), ProjectListBox::Fill(), Batch::LoadTemp(), m_batch, and projListBox. |
|
|
called by thread to update listbox
Definition at line 273 of file BatchFrame.cpp. References ProjectListBox::GetIndex(), Batch::GetProject(), Batch::GetProjectCount(), Batch::GetStatus(), Project::id, m_batch, Project::modDate, Project::path, projListBox, ProjectListBox::ReloadProject(), Project::ResetOptions(), Batch::SaveTemp(), ProjectListBox::SetMissing(), Batch::SetStatus(), Project::skip, Project::target, and ProjectListBox::UpdateStatus(). |
|
|
Definition at line 336 of file BatchFrame.cpp. |
|
|
Definition at line 1100 of file BatchFrame.cpp. References Batch::autoremove, Batch::autostitch, GetCheckAutoRemove(), GetCheckAutoStitch(), GetCheckOverwrite(), GetCheckParallel(), GetCheckShutdown(), GetCheckVerbose(), m_batch, Batch::overwrite, Batch::parallel, Batch::shutdown, and Batch::verbose. |
|
|
Definition at line 1152 of file BatchFrame.cpp. References m_startedMinimized, and m_tray. |
|
|
Definition at line 1110 of file BatchFrame.cpp. References IsRunning(), m_batch, Batch::RunBatch(), and SetStatusInformation(). Referenced by OnButtonRunBatch(). |
|
|
Definition at line 902 of file BatchFrame.cpp. Referenced by BatchIPCConnection::OnRequest(). |
|
|
sets the current verbose status, does not update the checkbox
Definition at line 1014 of file BatchFrame.cpp. References m_batch, and Batch::verbose. |
|
||||||||||||
|
Definition at line 1119 of file BatchFrame.cpp. References m_locale, and m_xrcPrefix. |
|
||||||||||||
|
sets status message, also updates tooltip of taskbar icon
Definition at line 1190 of file BatchFrame.cpp. References m_tray, and TaskBarBalloon::showBalloon(). Referenced by AddToList(), OnBatchInformation(), OnButtonCancel(), OnButtonPause(), and RunBatch(). |
|
|
Definition at line 1125 of file BatchFrame.cpp. References ProjectListBox::GetSelectedIndex(), m_batch, projListBox, ProjectListBox::Select(), Batch::SwapProject(), and ProjectListBox::SwapProject(). Referenced by OnButtonMoveDown(), and OnButtonMoveUp(). |
|
|
update visibility of verbose output window depending on status of verbose checkbox
Definition at line 1240 of file BatchFrame.cpp. References m_batch, Batch::ShowOutput(), and Batch::verbose. |
|
|
|
Definition at line 164 of file BatchFrame.h. Referenced by OnButtonCancel(), and OnButtonClear(). |
|
|
Definition at line 166 of file BatchFrame.h. Referenced by OnClose(). |
|
|
Definition at line 172 of file BatchFrame.h. Referenced by OnButtonHelp(). |
|
|
Definition at line 161 of file BatchFrame.h. Referenced by OnButtonHelp(), and SetLocaleAndXRC(). |
|
|
Definition at line 165 of file BatchFrame.h. |
|
|
Definition at line 175 of file BatchFrame.h. Referenced by RestoreSize(). |
|
|
Definition at line 174 of file BatchFrame.h. Referenced by OnClose(), OnMinimize(), RestoreSize(), and SetStatusInformation(). |
|
|
Definition at line 162 of file BatchFrame.h. Referenced by OnBatchFailed(), OnButtonHelp(), OnButtonSearchPano(), and SetLocaleAndXRC(). |
|
1.3.9.1