PreferencesDialog.cpp File Reference

implementation of PreferencesDialog Class More...

#include <config.h>
#include "panoinc_WX.h"
#include "wx/listbook.h"
#include "panoinc.h"
#include "base_wx/wxPlatform.h"
#include "hugin/huginApp.h"
#include "hugin/config_defaults.h"
#include "hugin/PreferencesDialog.h"
#include "hugin/CPDetectorDialog.h"
#include "hugin/MainFrame.h"
#include "base_wx/huginConfig.h"

Include dependency graph for PreferencesDialog.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define MY_STR_VAL(id, val)   { XRCCTRL(*this, id, wxTextCtrl)->SetValue(val); };
#define MY_SPIN_VAL(id, val)   { XRCCTRL(*this, id, wxSpinCtrl)->SetValue(val); };
#define MY_BOOL_VAL(id, val)   { XRCCTRL(*this, id, wxCheckBox)->SetValue(val); };
#define MY_CHOICE_VAL(id, val)   { XRCCTRL(*this, id, wxChoice)->SetSelection(val); };
#define MY_STATIC_VAL(id, val)   { XRCCTRL(*this, id, wxStaticText)->SetLabel(val); };
#define MY_G_STR_VAL(id)   XRCCTRL(*this, id, wxTextCtrl)->GetValue()
#define MY_G_SPIN_VAL(id)   XRCCTRL(*this, id, wxSpinCtrl)->GetValue()
#define MY_G_BOOL_VAL(id)   XRCCTRL(*this, id, wxCheckBox)->GetValue()
#define MY_G_CHOICE_VAL(id)   XRCCTRL(*this, id, wxChoice)->GetSelection()

Functions

 EVT_BUTTON (XRCID("prefs_defaults"), PreferencesDialog::OnRestoreDefaults) EVT_BUTTON(XRCID("prefs_enblend_select")
PreferencesDialog::OnEnblendExe EVT_BUTTON (XRCID("prefs_enblend_enfuse_select"), PreferencesDialog::OnEnfuseExe) EVT_CHECKBOX(XRCID("prefs_ft_RotationSearch")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnRotationCheckBox 
EVT_CHECKBOX (XRCID("prefs_enblend_Custom"), PreferencesDialog::OnCustomEnblend) EVT_CHECKBOX(XRCID("prefs_enblend_enfuseCustom")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnRotationCheckBox
PreferencesDialog::OnCustomEnfuse 
EVT_BUTTON (XRCID("pref_cpdetector_new"), PreferencesDialog::OnCPDetectorAdd) EVT_BUTTON(XRCID("pref_cpdetector_edit")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnRotationCheckBox
PreferencesDialog::OnCustomEnfuse
PreferencesDialog::OnCPDetectorEdit 
EVT_BUTTON (XRCID("pref_cpdetector_del"), PreferencesDialog::OnCPDetectorDelete) EVT_BUTTON(XRCID("pref_cpdetector_moveup")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnRotationCheckBox
PreferencesDialog::OnCustomEnfuse
PreferencesDialog::OnCPDetectorEdit
PreferencesDialog::OnCPDetectorMoveUp 
EVT_BUTTON (XRCID("pref_cpdetector_movedown"), PreferencesDialog::OnCPDetectorMoveDown) EVT_BUTTON(XRCID("pref_cpdetector_default")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnRotationCheckBox
PreferencesDialog::OnCustomEnfuse
PreferencesDialog::OnCPDetectorEdit
PreferencesDialog::OnCPDetectorMoveUp
PreferencesDialog::OnCPDetectorDefault 
EVT_LISTBOX_DCLICK (XRCID("pref_cpdetector_list"), PreferencesDialog::OnCPDetectorListDblClick) EVT_BUTTON(XRCID("pref_cpdetector_load")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnRotationCheckBox
PreferencesDialog::OnCustomEnfuse
PreferencesDialog::OnCPDetectorEdit
PreferencesDialog::OnCPDetectorMoveUp
PreferencesDialog::OnCPDetectorDefault
PreferencesDialog::OnCPDetectorLoad 
EVT_BUTTON (XRCID("pref_cpdetector_save"), PreferencesDialog::OnCPDetectorSave) EVT_CHOICE(XRCID("pref_ldr_output_file_format")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnRotationCheckBox
PreferencesDialog::OnCustomEnfuse
PreferencesDialog::OnCPDetectorEdit
PreferencesDialog::OnCPDetectorMoveUp
PreferencesDialog::OnCPDetectorDefault
PreferencesDialog::OnCPDetectorLoad
PreferencesDialog::OnFileFormatChanged 
EVT_CHOICE (XRCID("pref_processor_gui"), PreferencesDialog::OnProcessorChanged) EVT_TEXT(XRCID("prefs_project_filename")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnRotationCheckBox
PreferencesDialog::OnCustomEnfuse
PreferencesDialog::OnCPDetectorEdit
PreferencesDialog::OnCPDetectorMoveUp
PreferencesDialog::OnCPDetectorDefault
PreferencesDialog::OnCPDetectorLoad
PreferencesDialog::OnFileFormatChanged
PreferencesDialog::OnUpdateProjectFilename 
EVT_TEXT (XRCID("prefs_output_filename"), PreferencesDialog::OnUpdateOutputFilename) PreferencesDialog


Detailed Description

implementation of PreferencesDialog Class

Author:
Pablo d'Angelo <pablo.dangelo@web.de>
$Id$

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file PreferencesDialog.cpp.


Define Documentation

#define MY_BOOL_VAL id,
val   )     { XRCCTRL(*this, id, wxCheckBox)->SetValue(val); };
 

Definition at line 47 of file PreferencesDialog.cpp.

Referenced by EVT_TEXT(), and PreferencesDialog::UpdateDisplayData().

#define MY_CHOICE_VAL id,
val   )     { XRCCTRL(*this, id, wxChoice)->SetSelection(val); };
 

Definition at line 48 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateDisplayData().

#define MY_G_BOOL_VAL id   )     XRCCTRL(*this, id, wxCheckBox)->GetValue()
 

Definition at line 53 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateConfigData().

#define MY_G_CHOICE_VAL id   )     XRCCTRL(*this, id, wxChoice)->GetSelection()
 

Definition at line 54 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateConfigData(), PreferencesDialog::UpdateFileFormatControls(), and PreferencesDialog::UpdateProcessorControls().

#define MY_G_SPIN_VAL id   )     XRCCTRL(*this, id, wxSpinCtrl)->GetValue()
 

Definition at line 52 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateConfigData().

#define MY_G_STR_VAL id   )     XRCCTRL(*this, id, wxTextCtrl)->GetValue()
 

Definition at line 51 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateConfigData().

#define MY_SPIN_VAL id,
val   )     { XRCCTRL(*this, id, wxSpinCtrl)->SetValue(val); };
 

Definition at line 46 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateDisplayData().

#define MY_STATIC_VAL id,
val   )     { XRCCTRL(*this, id, wxStaticText)->SetLabel(val); };
 

Definition at line 49 of file PreferencesDialog.cpp.

#define MY_STR_VAL id,
val   )     { XRCCTRL(*this, id, wxTextCtrl)->SetValue(val); };
 

Definition at line 45 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateDisplayData().


Function Documentation

PreferencesDialog::OnEnblendExe PreferencesDialog::OnRotationCheckBox PreferencesDialog::OnCustomEnfuse PreferencesDialog::OnCPDetectorEdit PreferencesDialog::OnCPDetectorMoveUp PreferencesDialog::OnCPDetectorDefault PreferencesDialog::OnCPDetectorLoad EVT_BUTTON XRCID("pref_cpdetector_save")  ,
PreferencesDialog::OnCPDetectorSave 
 

PreferencesDialog::OnEnblendExe PreferencesDialog::OnRotationCheckBox PreferencesDialog::OnCustomEnfuse PreferencesDialog::OnCPDetectorEdit PreferencesDialog::OnCPDetectorMoveUp EVT_BUTTON XRCID("pref_cpdetector_movedown")  ,
PreferencesDialog::OnCPDetectorMoveDown 
 

PreferencesDialog::OnEnblendExe PreferencesDialog::OnRotationCheckBox PreferencesDialog::OnCustomEnfuse PreferencesDialog::OnCPDetectorEdit EVT_BUTTON XRCID("pref_cpdetector_del")  ,
PreferencesDialog::OnCPDetectorDelete 
 

PreferencesDialog::OnEnblendExe PreferencesDialog::OnRotationCheckBox PreferencesDialog::OnCustomEnfuse EVT_BUTTON XRCID("pref_cpdetector_new")  ,
PreferencesDialog::OnCPDetectorAdd 
 

PreferencesDialog::OnEnblendExe EVT_BUTTON XRCID("prefs_enblend_enfuse_select")  ,
PreferencesDialog::OnEnfuseExe 
 

EVT_BUTTON XRCID("prefs_defaults")  ,
PreferencesDialog::OnRestoreDefaults 
 

PreferencesDialog::OnEnblendExe PreferencesDialog::OnRotationCheckBox EVT_CHECKBOX XRCID("prefs_enblend_Custom")  ,
PreferencesDialog::OnCustomEnblend 
 

PreferencesDialog::OnEnblendExe PreferencesDialog::OnRotationCheckBox PreferencesDialog::OnCustomEnfuse PreferencesDialog::OnCPDetectorEdit PreferencesDialog::OnCPDetectorMoveUp PreferencesDialog::OnCPDetectorDefault PreferencesDialog::OnCPDetectorLoad PreferencesDialog::OnFileFormatChanged EVT_CHOICE XRCID("pref_processor_gui")  ,
PreferencesDialog::OnProcessorChanged 
 

PreferencesDialog::OnEnblendExe PreferencesDialog::OnRotationCheckBox PreferencesDialog::OnCustomEnfuse PreferencesDialog::OnCPDetectorEdit PreferencesDialog::OnCPDetectorMoveUp PreferencesDialog::OnCPDetectorDefault EVT_LISTBOX_DCLICK XRCID("pref_cpdetector_list")  ,
PreferencesDialog::OnCPDetectorListDblClick 
 

PreferencesDialog::OnEnblendExe PreferencesDialog::OnRotationCheckBox PreferencesDialog::OnCustomEnfuse PreferencesDialog::OnCPDetectorEdit PreferencesDialog::OnCPDetectorMoveUp PreferencesDialog::OnCPDetectorDefault PreferencesDialog::OnCPDetectorLoad PreferencesDialog::OnFileFormatChanged PreferencesDialog::OnUpdateProjectFilename EVT_TEXT XRCID("prefs_output_filename")  ,
PreferencesDialog::OnUpdateOutputFilename 
 

outdated lp = new long; lp = wxLANGUAGE_BULGARIAN; lang_choice->Append(_("Bulgarian"), lp); lp = new long; lp = wxLANGUAGE_CATALAN; lang_choice->Append(_("Catalan"), lp);

outdated lp = new long; lp = wxLANGUAGE_KOREAN; lang_choice->Append(_("Korean"), lp);

outdated lp = new long; lp = wxLANGUAGE_SLOVENIAN; lang_choice->Append(_("Slovenian"), lp);

outdated lp = new long; lp = wxLANGUAGE_UKRAINIAN; lang_choice->Append(_("Ukrainian"), lp);

Definition at line 80 of file PreferencesDialog.cpp.

References DEBUG_TRACE, HUGIN_ENBLEND_EXE_CUSTOM, HUGIN_ENFUSE_EXE_CUSTOM, MY_BOOL_VAL, and RestoreFramePosition().


Generated on Sat Aug 2 01:25:43 2014 for Hugintrunk by  doxygen 1.3.9.1