creaImageIO_lib
|
#include <creaImageIOWxAttributeSelectionPanel.h>
Public Member Functions | |
WxAttributeSelectionPanel () | |
WxAttributeSelectionPanel (wxWindow *parent, wxDialog *dial, WxGimmickView *view, std::vector< std::string > sAtts, std::vector< std::string > nsAtts, int numLev) | |
~WxAttributeSelectionPanel () | |
Destructor. More... | |
void | OnSaveConfig (wxCommandEvent &event) |
Saves the configuration. More... | |
void | OnAdd (wxCommandEvent &event) |
Changes items from shown to notShown. More... | |
void | OnRemove (wxCommandEvent &event) |
Changes items from notShown to shown. More... | |
void | OnComboChange (wxCommandEvent &event) |
Private Member Functions | |
void | LoadCtrls () |
Loads the information on the vectors onto the lists. More... | |
Private Attributes | |
std::vector< std::string > | shownA |
std::vector< std::string > | notShownA |
wxComboBox * | levels |
wxListCtrl * | shownAtts |
wxListCtrl * | notShownAtts |
wxDialog * | dialog |
WxGimmickView * | mView |
Definition at line 45 of file creaImageIOWxAttributeSelectionPanel.h.
creaImageIO::WxAttributeSelectionPanel::WxAttributeSelectionPanel | ( | ) |
creaImageIO::WxAttributeSelectionPanel::WxAttributeSelectionPanel | ( | wxWindow * | parent, |
wxDialog * | dial, | ||
WxGimmickView * | view, | ||
std::vector< std::string > | sAtts, | ||
std::vector< std::string > | nsAtts, | ||
int | numLev | ||
) |
fix warning: unused variable aa
fix warning: unused variable na
Definition at line 40 of file creaImageIOWxAttributeSelectionPanel.cpp.
References GimmickDebugMessage, creaImageIO::ID_COMBO, levels, LoadCtrls(), notShownAtts, OnAdd(), OnRemove(), OnSaveConfig(), and shownAtts.
creaImageIO::WxAttributeSelectionPanel::~WxAttributeSelectionPanel | ( | ) |
Destructor.
Definition at line 107 of file creaImageIOWxAttributeSelectionPanel.cpp.
References GimmickDebugMessage.
|
private |
Loads the information on the vectors onto the lists.
Definition at line 180 of file creaImageIOWxAttributeSelectionPanel.cpp.
References notShownA, notShownAtts, shownA, and shownAtts.
Referenced by OnAdd(), OnComboChange(), OnRemove(), and WxAttributeSelectionPanel().
void creaImageIO::WxAttributeSelectionPanel::OnAdd | ( | wxCommandEvent & | event | ) |
Changes items from shown to notShown.
Definition at line 121 of file creaImageIOWxAttributeSelectionPanel.cpp.
References LoadCtrls(), notShownA, shownA, and shownAtts.
Referenced by WxAttributeSelectionPanel().
void creaImageIO::WxAttributeSelectionPanel::OnComboChange | ( | wxCommandEvent & | event | ) |
Definition at line 208 of file creaImageIOWxAttributeSelectionPanel.cpp.
References creaImageIO::WxGimmickView::GetVisibleAttributes(), levels, LoadCtrls(), mView, notShownA, and shownA.
void creaImageIO::WxAttributeSelectionPanel::OnRemove | ( | wxCommandEvent & | event | ) |
Changes items from notShown to shown.
Definition at line 149 of file creaImageIOWxAttributeSelectionPanel.cpp.
References LoadCtrls(), notShownA, notShownAtts, and shownA.
Referenced by WxAttributeSelectionPanel().
void creaImageIO::WxAttributeSelectionPanel::OnSaveConfig | ( | wxCommandEvent & | event | ) |
Saves the configuration.
Definition at line 113 of file creaImageIOWxAttributeSelectionPanel.cpp.
References dialog, levels, mView, notShownA, and creaImageIO::WxGimmickView::OnAttributesChanged().
Referenced by WxAttributeSelectionPanel().
|
private |
Definition at line 74 of file creaImageIOWxAttributeSelectionPanel.h.
Referenced by OnSaveConfig().
|
private |
Definition at line 71 of file creaImageIOWxAttributeSelectionPanel.h.
Referenced by OnComboChange(), OnSaveConfig(), and WxAttributeSelectionPanel().
|
private |
Definition at line 75 of file creaImageIOWxAttributeSelectionPanel.h.
Referenced by OnComboChange(), and OnSaveConfig().
|
private |
Definition at line 70 of file creaImageIOWxAttributeSelectionPanel.h.
Referenced by LoadCtrls(), OnAdd(), OnComboChange(), OnRemove(), and OnSaveConfig().
|
private |
Definition at line 73 of file creaImageIOWxAttributeSelectionPanel.h.
Referenced by LoadCtrls(), OnRemove(), and WxAttributeSelectionPanel().
|
private |
Definition at line 69 of file creaImageIOWxAttributeSelectionPanel.h.
Referenced by LoadCtrls(), OnAdd(), OnComboChange(), and OnRemove().
|
private |
Definition at line 72 of file creaImageIOWxAttributeSelectionPanel.h.
Referenced by LoadCtrls(), OnAdd(), and WxAttributeSelectionPanel().