creaImageIOWxEditFieldsPanel.h

Go to the documentation of this file.
00001 #ifndef __creaImageIOWxEditFieldsPanel_h_INCLUDED__
00002 #define __creaImageIOWxEditFieldsPanel_h_INCLUDED__
00003 
00004 #ifdef USE_WXWIDGETS
00005 #include <creaWx.h>
00006 #include <creaImageIOWxGimmickView.h>
00007 
00008 
00009 namespace creaImageIO
00010 {
00014   //=====================================================================
00015  //=====================================================================
00016   class WxEditFieldsPanel : public wxPanel
00017   {
00018   public:
00019     WxEditFieldsPanel();    
00020         WxEditFieldsPanel(wxWindow *parent, 
00021                 wxDialog* dial,
00022                 WxGimmickView* view, 
00023                 tree::Node* nod, 
00024                 const std::vector<std::string> name,
00025                 const std::vector<std::string> key);
00026     
00027     ~WxEditFieldsPanel();
00029          void OnEdit(wxCommandEvent& event);
00030          void OnComboChange(wxCommandEvent& event);
00031 
00032   private :
00033         tree::Node* node; 
00034         std::vector<std::string> names;
00035         std::vector<std::string> keys;
00036         wxDialog* dialog;
00037         WxGimmickView* mView;
00038         wxComboBox* attributes;
00039         wxStaticText * actualVal;
00040         wxTextCtrl* newVal;
00041 
00042         DECLARE_EVENT_TABLE()
00043 
00044 
00045   }; // class WxEditFieldsPanel
00046   //=====================================================================
00047 
00048   
00049 } // EO namespace creaImageIO
00050 
00051 
00052 #endif // USE_WIDGETS
00053 // EOF
00054 #endif
00055