|
Hugin trunk 0.1
|
#include <ProjectListBox.h>

Public Member Functions | |
| bool | Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name="panel") |
| void | AppendProject (Project *project) |
| void | ChangePrefix (int index, wxString newPrefix) |
| void | ChangeUserDefined (int index, wxString newUserDefined) |
| void | Deselect (int index) |
| void | Fill (Batch *batch) |
| int | GetIndex (int id) |
| int | GetProjectCountByPath (wxString path) |
| int | GetProjectId (int index) |
| HuginBase::UIntSet | GetSelectedProjects () |
| wxString | GetText (int row, int column) |
| void | ReloadProject (int index, Project *project) |
| void | Select (int index) |
| void | SetMissing (int index) |
| void | SwapProject (int index) |
| bool | UpdateStatus (int index, Project *project) |
Protected Member Functions | |
| void | OnContextMenu (wxContextMenuEvent &e) |
| void | OnChar (wxKeyEvent &e) |
| void | OnChangePrefix (wxCommandEvent &e) |
| void | OnResetProject (wxCommandEvent &e) |
| void | OnEditProject (wxCommandEvent &e) |
| void | OnRemoveProject (wxCommandEvent &e) |
| void | OnChangeUserDefined (wxCommandEvent &e) |
Private Types | |
| enum | ColumnName { ID , PROJECT , PREFIX , MODDATE , FORMAT , PROJECTION , SIZE , STATUS , USERDEFINEDSEQUENCE } |
Private Member Functions | |
| wxString | GetAttributeString (int i, Project *project) |
| wxString | GetLongerFormatName (std::string str) |
| void | OnColumnWidthChange (wxListEvent &event) |
Private Attributes | |
| Batch * | m_batch |
| IntArray | columns |
Static Private Attributes | |
| static const wxString | fileFormat [] |
| static const wxString | outputMode [] |
| static const wxString | HDRMergeType [] |
| static const wxString | blendingMechanism [] |
Definition at line 32 of file ProjectListBox.h.
|
private |
| Enumerator | |
|---|---|
| ID | |
| PROJECT | |
| PREFIX | |
| MODDATE | |
| FORMAT | |
| PROJECTION | |
| SIZE | |
| STATUS | |
| USERDEFINEDSEQUENCE | |
Definition at line 72 of file ProjectListBox.h.
Definition at line 91 of file ProjectListBox.cpp.
References columns, GetAttributeString(), Project::id, Project::path, PROJECT, and threshold().
Referenced by BatchFrame::AddArrayToList(), BatchFrame::AddDirToList(), BatchFrame::AddToList(), Fill(), and BatchFrame::OnButtonAddCommand().
Definition at line 131 of file ProjectListBox.cpp.
References columns, GetAttributeString(), Batch::GetProject(), m_batch, PREFIX, and threshold().
Referenced by BatchFrame::ChangePrefix().
Definition at line 141 of file ProjectListBox.cpp.
References columns, GetAttributeString(), Batch::GetProject(), m_batch, threshold(), and USERDEFINEDSEQUENCE.
Referenced by BatchFrame::ChangeUserDefined(), and BatchFrame::OnButtonChangeUserDefinedSequence().
| bool ProjectListBox::Create | ( | wxWindow * | parent, |
| wxWindowID | id = wxID_ANY, |
||
| const wxPoint & | pos = wxDefaultPosition, |
||
| const wxSize & | size = wxDefaultSize, |
||
| long | style = wxTAB_TRAVERSAL, |
||
| const wxString & | name = "panel" |
||
| ) |
Definition at line 42 of file ProjectListBox.cpp.
References columns, FORMAT, ID, ID_CHANGE_PREFIX, ID_CHANGE_USER_DEFINED, ID_EDIT_PROJECT, ID_REMOVE_PROJECT, ID_RESET_PROJECT, MODDATE, OnChangePrefix(), OnChangeUserDefined(), OnChar(), OnColumnWidthChange(), OnContextMenu(), OnEditProject(), OnRemoveProject(), OnResetProject(), PREFIX, PROJECT, PROJECTION, SIZE, STATUS, threshold(), and USERDEFINEDSEQUENCE.
Definition at line 151 of file ProjectListBox.cpp.
References threshold().
Referenced by BatchFrame::OnButtonRemoveComplete(), BatchFrame::OnButtonRemoveFromList(), and BatchFrame::SwapProject().
Definition at line 156 of file ProjectListBox.cpp.
References AppendProject(), Batch::GetProject(), Batch::GetProjectCount(), m_batch, and threshold().
Referenced by BatchFrame::BatchFrame(), BatchFrame::OnButtonOpenBatch(), and BatchFrame::OnRefillListBox().
Definition at line 288 of file ProjectListBox.cpp.
References HuginBase::PanoramaOptions::getHeight(), GetLongerFormatName(), HuginBase::PanoramaOptions::getProjection(), Project::GetStatusText(), HuginBase::PanoramaOptions::getWidth(), Project::id, Project::MISSING, Project::modDate, Project::options, HuginBase::PanoramaOptions::outputImageType, Project::path, Project::prefix, Project::status, Project::STITCHING, Project::target, threshold(), and Project::userDefindSequence.
Referenced by AppendProject(), ChangePrefix(), ChangeUserDefined(), and ReloadProject().
Definition at line 165 of file ProjectListBox.cpp.
References GetText(), and threshold().
Referenced by BatchFrame::OnRefillListBox(), and BatchFrame::OnUpdateListBox().
|
private |
Definition at line 365 of file ProjectListBox.cpp.
References threshold().
Referenced by GetAttributeString().
Definition at line 179 of file ProjectListBox.cpp.
References GetText(), and threshold().
Definition at line 192 of file ProjectListBox.cpp.
References GetText(), hugin_utils::HuginMessageBox(), and threshold().
| HuginBase::UIntSet ProjectListBox::GetSelectedProjects | ( | ) |
Definition at line 202 of file ProjectListBox.cpp.
References threshold().
Referenced by BatchFrame::OnButtonChangePrefix(), BatchFrame::OnButtonChangeUserDefinedSequence(), BatchFrame::OnButtonMoveDown(), BatchFrame::OnButtonMoveUp(), BatchFrame::OnButtonOpenWithHugin(), BatchFrame::OnButtonRemoveFromList(), BatchFrame::OnButtonReset(), BatchFrame::OnButtonSkip(), OnContextMenu(), and BatchFrame::OnRefillListBox().
Definition at line 215 of file ProjectListBox.cpp.
References threshold().
Referenced by GetIndex(), GetProjectCountByPath(), GetProjectId(), BatchFrame::OnButtonOpenWithHugin(), SwapProject(), and UpdateStatus().
|
protected |
|
protected |
|
protected |
|
private |
Definition at line 389 of file ProjectListBox.cpp.
References columns, and threshold().
Referenced by Create().
|
protected |
Definition at line 396 of file ProjectListBox.cpp.
References Batch::GetProject(), GetSelectedProjects(), ID_CHANGE_PREFIX, ID_CHANGE_USER_DEFINED, ID_EDIT_PROJECT, ID_REMOVE_PROJECT, ID_RESET_PROJECT, m_batch, Project::target, and threshold().
Referenced by Create().
|
protected |
|
protected |
|
protected |
Definition at line 225 of file ProjectListBox.cpp.
References columns, GetAttributeString(), and threshold().
Referenced by BatchFrame::OnUpdateListBox().
Definition at line 233 of file ProjectListBox.cpp.
References threshold().
Referenced by BatchFrame::OnRefillListBox(), and BatchFrame::SwapProject().
Definition at line 241 of file ProjectListBox.cpp.
References columns, ID, PREFIX, PROJECT, STATUS, threshold(), and USERDEFINEDSEQUENCE.
Referenced by BatchFrame::OnUpdateListBox().
Definition at line 256 of file ProjectListBox.cpp.
References GetText(), and threshold().
Referenced by BatchFrame::SwapProject().
Definition at line 267 of file ProjectListBox.cpp.
References columns, Project::GetStatusText(), GetText(), STATUS, and threshold().
Referenced by BatchFrame::OnUpdateListBox().
Definition at line 543 of file ProjectListBox.h.
|
private |
Definition at line 66 of file ProjectListBox.h.
Referenced by AppendProject(), ChangePrefix(), ChangeUserDefined(), Create(), OnColumnWidthChange(), ReloadProject(), SetMissing(), and UpdateStatus().
Definition at line 506 of file ProjectListBox.h.
Definition at line 537 of file ProjectListBox.h.
|
private |
Definition at line 65 of file ProjectListBox.h.
Referenced by ChangePrefix(), ChangeUserDefined(), Fill(), and OnContextMenu().
Definition at line 531 of file ProjectListBox.h.