PreferencesDialog.cpp File Reference

implementation of PreferencesDialog Class More...

#include <config.h>
#include "panoinc_WX.h"
#include "wx/listbook.h"
#include <wx/stdpaths.h>
#include "panoinc.h"
#include "base_wx/wxPlatform.h"
#include "base_wx/LensTools.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:

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_BUTTON(XRCID("pref_exiftool_argfile_choose")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnExifArgfile 
EVT_BUTTON (XRCID("pref_exiftool_argfile_edit"), PreferencesDialog::OnExifArgfileEdit) EVT_BUTTON(XRCID("pref_exiftool_argfile2_choose")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnExifArgfile
PreferencesDialog::OnExifArgfile2 
EVT_BUTTON (XRCID("pref_exiftool_argfile2_edit"), PreferencesDialog::OnExifArgfileEdit2) EVT_CHECKBOX(XRCID("pref_exiftool_metadata")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnExifArgfile
PreferencesDialog::OnExifArgfile2
PreferencesDialog::OnExifTool 
EVT_CHECKBOX (XRCID("prefs_ft_RotationSearch"), PreferencesDialog::OnRotationCheckBox) EVT_CHECKBOX(XRCID("prefs_enblend_Custom")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnExifArgfile
PreferencesDialog::OnExifArgfile2
PreferencesDialog::OnExifTool
PreferencesDialog::OnCustomEnblend 
EVT_CHECKBOX (XRCID("prefs_enblend_enfuseCustom"), PreferencesDialog::OnCustomEnfuse) EVT_BUTTON(XRCID("pref_cpdetector_new")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnExifArgfile
PreferencesDialog::OnExifArgfile2
PreferencesDialog::OnExifTool
PreferencesDialog::OnCustomEnblend
PreferencesDialog::OnCPDetectorAdd 
EVT_BUTTON (XRCID("pref_cpdetector_edit"), PreferencesDialog::OnCPDetectorEdit) EVT_BUTTON(XRCID("pref_cpdetector_del")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnExifArgfile
PreferencesDialog::OnExifArgfile2
PreferencesDialog::OnExifTool
PreferencesDialog::OnCustomEnblend
PreferencesDialog::OnCPDetectorAdd
PreferencesDialog::OnCPDetectorDelete 
EVT_BUTTON (XRCID("pref_cpdetector_moveup"), PreferencesDialog::OnCPDetectorMoveUp) EVT_BUTTON(XRCID("pref_cpdetector_movedown")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnExifArgfile
PreferencesDialog::OnExifArgfile2
PreferencesDialog::OnExifTool
PreferencesDialog::OnCustomEnblend
PreferencesDialog::OnCPDetectorAdd
PreferencesDialog::OnCPDetectorDelete
PreferencesDialog::OnCPDetectorMoveDown 
EVT_BUTTON (XRCID("pref_cpdetector_default"), PreferencesDialog::OnCPDetectorDefault) EVT_LISTBOX_DCLICK(XRCID("pref_cpdetector_list")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnExifArgfile
PreferencesDialog::OnExifArgfile2
PreferencesDialog::OnExifTool
PreferencesDialog::OnCustomEnblend
PreferencesDialog::OnCPDetectorAdd
PreferencesDialog::OnCPDetectorDelete
PreferencesDialog::OnCPDetectorMoveDown
PreferencesDialog::OnCPDetectorListDblClick 
EVT_BUTTON (XRCID("pref_cpdetector_load"), PreferencesDialog::OnCPDetectorLoad) EVT_BUTTON(XRCID("pref_cpdetector_save")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnExifArgfile
PreferencesDialog::OnExifArgfile2
PreferencesDialog::OnExifTool
PreferencesDialog::OnCustomEnblend
PreferencesDialog::OnCPDetectorAdd
PreferencesDialog::OnCPDetectorDelete
PreferencesDialog::OnCPDetectorMoveDown
PreferencesDialog::OnCPDetectorListDblClick
PreferencesDialog::OnCPDetectorSave 
EVT_CHOICE (XRCID("pref_ldr_output_file_format"), PreferencesDialog::OnFileFormatChanged) EVT_CHOICE(XRCID("pref_processor_gui")
PreferencesDialog::OnEnblendExe
PreferencesDialog::OnExifArgfile
PreferencesDialog::OnExifArgfile2
PreferencesDialog::OnExifTool
PreferencesDialog::OnCustomEnblend
PreferencesDialog::OnCPDetectorAdd
PreferencesDialog::OnCPDetectorDelete
PreferencesDialog::OnCPDetectorMoveDown
PreferencesDialog::OnCPDetectorListDblClick
PreferencesDialog::OnCPDetectorSave
PreferencesDialog::OnProcessorChanged 
EVT_TEXT (XRCID("prefs_project_filename"), PreferencesDialog::OnUpdateProjectFilename) EVT_TEXT(XRCID("prefs_output_filename")
void CreateNewArgFile (const wxString &newFilename)


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, see <http://www.gnu.org/licenses/>.

Definition in file PreferencesDialog.cpp.


Define Documentation

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

Definition at line 49 of file PreferencesDialog.cpp.

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

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

Definition at line 50 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateDisplayData().

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

Definition at line 55 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateConfigData().

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

Definition at line 56 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 54 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateConfigData().

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

Definition at line 53 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateConfigData().

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

Definition at line 48 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateDisplayData().

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

Definition at line 51 of file PreferencesDialog.cpp.

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

Definition at line 47 of file PreferencesDialog.cpp.

Referenced by PreferencesDialog::UpdateDisplayData().


Function Documentation

void CreateNewArgFile ( const wxString &  newFilename  ) 

Definition at line 361 of file PreferencesDialog.cpp.

References MainFrame::Get().

Referenced by PreferencesDialog::OnExifArgfileEdit().

PreferencesDialog::OnEnblendExe PreferencesDialog::OnExifArgfile PreferencesDialog::OnExifArgfile2 PreferencesDialog::OnExifTool PreferencesDialog::OnCustomEnblend PreferencesDialog::OnCPDetectorAdd PreferencesDialog::OnCPDetectorDelete PreferencesDialog::OnCPDetectorMoveDown PreferencesDialog::OnCPDetectorListDblClick EVT_BUTTON ( XRCID("pref_cpdetector_load")  ,
PreferencesDialog::OnCPDetectorLoad   
)

PreferencesDialog::OnEnblendExe PreferencesDialog::OnExifArgfile PreferencesDialog::OnExifArgfile2 PreferencesDialog::OnExifTool PreferencesDialog::OnCustomEnblend PreferencesDialog::OnCPDetectorAdd PreferencesDialog::OnCPDetectorDelete PreferencesDialog::OnCPDetectorMoveDown EVT_BUTTON ( XRCID("pref_cpdetector_default")  ,
PreferencesDialog::OnCPDetectorDefault   
)

PreferencesDialog::OnEnblendExe PreferencesDialog::OnExifArgfile PreferencesDialog::OnExifArgfile2 PreferencesDialog::OnExifTool PreferencesDialog::OnCustomEnblend PreferencesDialog::OnCPDetectorAdd PreferencesDialog::OnCPDetectorDelete EVT_BUTTON ( XRCID("pref_cpdetector_moveup")  ,
PreferencesDialog::OnCPDetectorMoveUp   
)

PreferencesDialog::OnEnblendExe PreferencesDialog::OnExifArgfile PreferencesDialog::OnExifArgfile2 PreferencesDialog::OnExifTool PreferencesDialog::OnCustomEnblend PreferencesDialog::OnCPDetectorAdd EVT_BUTTON ( XRCID("pref_cpdetector_edit")  ,
PreferencesDialog::OnCPDetectorEdit   
)

PreferencesDialog::OnEnblendExe PreferencesDialog::OnExifArgfile PreferencesDialog::OnExifArgfile2 EVT_BUTTON ( XRCID("pref_exiftool_argfile2_edit")  ,
PreferencesDialog::OnExifArgfileEdit2   
)

PreferencesDialog::OnEnblendExe PreferencesDialog::OnExifArgfile EVT_BUTTON ( XRCID("pref_exiftool_argfile_edit")  ,
PreferencesDialog::OnExifArgfileEdit   
)

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

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

PreferencesDialog::OnEnblendExe PreferencesDialog::OnExifArgfile PreferencesDialog::OnExifArgfile2 PreferencesDialog::OnExifTool PreferencesDialog::OnCustomEnblend EVT_CHECKBOX ( XRCID("prefs_enblend_enfuseCustom")  ,
PreferencesDialog::OnCustomEnfuse   
)

PreferencesDialog::OnEnblendExe PreferencesDialog::OnExifArgfile PreferencesDialog::OnExifArgfile2 PreferencesDialog::OnExifTool EVT_CHECKBOX ( XRCID("prefs_ft_RotationSearch")  ,
PreferencesDialog::OnRotationCheckBox   
)

PreferencesDialog::OnEnblendExe PreferencesDialog::OnExifArgfile PreferencesDialog::OnExifArgfile2 PreferencesDialog::OnExifTool PreferencesDialog::OnCustomEnblend PreferencesDialog::OnCPDetectorAdd PreferencesDialog::OnCPDetectorDelete PreferencesDialog::OnCPDetectorMoveDown PreferencesDialog::OnCPDetectorListDblClick PreferencesDialog::OnCPDetectorSave EVT_CHOICE ( XRCID("pref_ldr_output_file_format")  ,
PreferencesDialog::OnFileFormatChanged   
)

PreferencesDialog::OnEnblendExe PreferencesDialog::OnExifArgfile PreferencesDialog::OnExifArgfile2 PreferencesDialog::OnExifTool PreferencesDialog::OnCustomEnblend PreferencesDialog::OnCPDetectorAdd PreferencesDialog::OnCPDetectorDelete PreferencesDialog::OnCPDetectorMoveDown PreferencesDialog::OnCPDetectorListDblClick PreferencesDialog::OnCPDetectorSave PreferencesDialog::OnProcessorChanged EVT_TEXT ( XRCID("prefs_project_filename")  ,
PreferencesDialog::OnUpdateProjectFilename   
)


Generated on 27 Jul 2015 for Hugintrunk by  doxygen 1.4.7