]> Creatis software - creaImageIO.git/blob - src/creaImageIOWxCustomizeConfigPanel.h
c54fcd39c03d9aa760b0de7b6edb026aeffbad27
[creaImageIO.git] / src / creaImageIOWxCustomizeConfigPanel.h
1 #ifndef __creaImageIOWxCustomizeConfigPanel_h_INCLUDED__
2 #define __creaImageIOWxCustomizeConfigPanel_h_INCLUDED__
3
4 #ifdef USE_WXWIDGETS
5 #include <creaWx.h>
6 #include <creaImageIOWxGimmickView.h>
7
8
9 namespace creaImageIO
10 {
11   /**
12    * \ingroup GUI
13    */
14   //=====================================================================
15  //=====================================================================
16   class WxCustomizeConfigPanel : public wxPanel
17   {
18   public:
19     WxCustomizeConfigPanel();    
20     WxCustomizeConfigPanel(wxWindow *parent, 
21                            wxDialog* dial,
22                            WxGimmickView* view,
23                            const std::string& cPath, 
24                            const std::string& dPath,
25                            const std::string& sEvent,
26                            const std::string& sFreq);
27     
28     ~WxCustomizeConfigPanel();
29     ///Saves the configuration
30     void OnSaveConfig(wxCommandEvent& event);
31
32   private :
33         std::string copyP;
34         std::string databaseP;
35         std::string syncEv;
36         std::string syncFr;
37         wxTextCtrl* copyPath;
38         wxTextCtrl* dbPath;
39         wxTextCtrl* syncEvent;
40         wxTextCtrl* syncFrequency;
41         wxDialog* dialog;
42         WxGimmickView* mView;
43
44   }; // class WxCustomizeConfigPanel
45   
46   //=====================================================================
47   
48 } // EO namespace creaImageIO
49
50 #endif // USE_WIDGETS
51 // EOF
52 #endif