[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin1/hugin/NonaOptionsDialog.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00024 #ifndef _NONASTITCHERPANEL_H
00025 #define _NONASTITCHERPANEL_H
00026 
00027 #include "hugin/StitcherPanel.h"
00028 //#include "hugin/MainFrame.h"
00029 
00030 //using namespace PT;
00031 class PanoDialog;
00032 class wxSpinCtrl;
00033 class wxTextCtrl;
00034 class wxChoice;
00035 class wxComboBox;
00036 
00041 class NonaOptionsDialog: public wxDialog, public PT::PanoramaObserver
00042 {
00043 public:
00044     NonaOptionsDialog(wxWindow *parent, PT::Panorama & pano);
00045     virtual ~NonaOptionsDialog();
00046 
00063     virtual void panoramaChanged(PT::Panorama &pano);
00064 
00065 
00066  private:
00067 
00068     // apply changes from the model
00069     void UpdateDisplay(const PT::PanoramaOptions & opt);
00070 
00071     // apply changes to the model. (gui values -> Panorama)
00072     void InterpolatorChanged(wxCommandEvent & e);
00073     void OnSaveCropped(wxCommandEvent & e);
00074 
00075     // the model
00076     PT::Panorama &pano;
00077 
00078     // don't listen to input on gui elements during
00079     // updating the gui from the model, to prevent recursion,
00080     // because the gui might report changes as well.
00081     bool updatesDisabled;
00082     PT::PanoramaOptions m_oldOpt;
00083 
00084     wxChoice    * m_InterpolatorChoice;
00085 
00086     wxCheckBox  * m_SaveCroppedCB;
00087 
00088     DECLARE_EVENT_TABLE()
00089 };
00090 
00091 #endif // _NONASTITCHERPANEL_H

Generated on Mon Sep 20 01:01:26 2010 for Hugintrunk by doxygen 1.3.9.1