|
Hugintrunk
0.1
|
Dialog for editing expression to change image variables. More...
#include <ChangeImageVariableDialog.h>

Public Member Functions | |
| ImageVariablesExpressionDialog (wxWindow *parent, HuginBase::Panorama *pano) | |
| Constructor, read from xrc ressource; restore last uses settings and position. More... | |
| ~ImageVariablesExpressionDialog () | |
| destructor, saves position More... | |
| std::string | GetExpression () |
Protected Member Functions | |
| void | OnOk (wxCommandEvent &e) |
| Saves current expression when closing dialog with Ok. More... | |
| void | OnLoad (wxCommandEvent &e) |
| loads the selected preset into control More... | |
| void | OnSave (wxCommandEvent &e) |
| saves the current expression as preset More... | |
| void | OnDelete (wxCommandEvent &e) |
| deletes the seletected preset More... | |
| void | OnTest (wxCommandEvent &e) |
| tests the current expression More... | |
| void | OnTextChange (wxCommandEvent &e) |
| text change event, used to format text More... | |
Private Member Functions | |
| void | SetExpression (const wxString &s) |
Private Attributes | |
| HuginBase::Panorama * | m_pano |
| wxChoice * | m_presetsList |
| wxTextCtrl * | m_textInput |
| wxFileConfig * | m_presets |
| wxTextAttr | m_textAttrInactive |
| wxTextAttr | m_textAttrDefault |
Dialog for editing expression to change image variables.
Definition at line 33 of file ChangeImageVariableDialog.h.
| ImageVariablesExpressionDialog::ImageVariablesExpressionDialog | ( | wxWindow * | parent, |
| HuginBase::Panorama * | pano | ||
| ) |
Constructor, read from xrc ressource; restore last uses settings and position.
Definition at line 35 of file ChangeImageVariableDialog.cpp.
References hugin_utils::GetDataDir(), hugin_utils::GetUserAppDataDir(), m_pano, m_presets, m_presetsList, m_textAttrDefault, m_textAttrInactive, m_textInput, OnDelete(), OnLoad(), OnOk(), OnSave(), OnTest(), OnTextChange(), hugin_utils::RestoreFramePosition(), and SetExpression().
| ImageVariablesExpressionDialog::~ImageVariablesExpressionDialog | ( | ) |
destructor, saves position
Definition at line 77 of file ChangeImageVariableDialog.cpp.
References m_presets, and hugin_utils::StoreFramePosition().
| std::string ImageVariablesExpressionDialog::GetExpression | ( | ) |
Definition at line 99 of file ChangeImageVariableDialog.cpp.
References m_textInput.
Referenced by PanoOperation::ImageVariablesExpressionOperation::GetInternalCommand(), and OnTest().
|
protected |
deletes the seletected preset
Definition at line 170 of file ChangeImageVariableDialog.cpp.
References m_presets, and m_presetsList.
Referenced by ImageVariablesExpressionDialog().
|
protected |
loads the selected preset into control
Definition at line 113 of file ChangeImageVariableDialog.cpp.
References m_presets, m_presetsList, and SetExpression().
Referenced by ImageVariablesExpressionDialog().
|
protected |
Saves current expression when closing dialog with Ok.
Definition at line 104 of file ChangeImageVariableDialog.cpp.
References m_textInput, and hugin_utils::StoreFramePosition().
Referenced by ImageVariablesExpressionDialog().
|
protected |
saves the current expression as preset
Definition at line 133 of file ChangeImageVariableDialog.cpp.
References hugin_utils::HuginMessageBox(), m_presets, m_presetsList, and m_textInput.
Referenced by ImageVariablesExpressionDialog().
|
protected |
tests the current expression
Definition at line 187 of file ChangeImageVariableDialog.cpp.
References HuginBase::Panorama::duplicate(), GetExpression(), m_pano, Parser::PanoParseExpression(), hugin_utils::RestoreFramePosition(), and hugin_utils::StoreFramePosition().
Referenced by ImageVariablesExpressionDialog().
|
protected |
text change event, used to format text
Definition at line 213 of file ChangeImageVariableDialog.cpp.
References m_textAttrDefault, m_textAttrInactive, and m_textInput.
Referenced by ImageVariablesExpressionDialog(), and SetExpression().
|
private |
Definition at line 83 of file ChangeImageVariableDialog.cpp.
References m_textInput, and OnTextChange().
Referenced by ImageVariablesExpressionDialog(), and OnLoad().
|
private |
Definition at line 57 of file ChangeImageVariableDialog.h.
Referenced by ImageVariablesExpressionDialog(), and OnTest().
|
private |
Definition at line 60 of file ChangeImageVariableDialog.h.
Referenced by ImageVariablesExpressionDialog(), OnDelete(), OnLoad(), OnSave(), and ~ImageVariablesExpressionDialog().
|
private |
Definition at line 58 of file ChangeImageVariableDialog.h.
Referenced by ImageVariablesExpressionDialog(), OnDelete(), OnLoad(), and OnSave().
|
private |
Definition at line 61 of file ChangeImageVariableDialog.h.
Referenced by ImageVariablesExpressionDialog(), and OnTextChange().
|
private |
Definition at line 61 of file ChangeImageVariableDialog.h.
Referenced by ImageVariablesExpressionDialog(), and OnTextChange().
|
private |
Definition at line 59 of file ChangeImageVariableDialog.h.
Referenced by GetExpression(), ImageVariablesExpressionDialog(), OnOk(), OnSave(), OnTextChange(), and SetExpression().
1.8.5