]> Creatis software - creaImageIO.git/blob - src2/creaImageIOWxGimmickTools.h
*** empty log message ***
[creaImageIO.git] / src2 / creaImageIOWxGimmickTools.h
1 #ifndef __creaImageIOWxGimmickTools_h_INCLUDED__
2 #define __creaImageIOWxGimmickTools_h_INCLUDED__
3
4 #ifdef USE_WXWIDGETS
5
6 #include <creaWx.h>
7
8 namespace creaImageIO
9 {
10   /**
11    * \ingroup Tools
12    */
13   //=====================================================================
14   
15   //=====================================================================
16
17   class WxGimmickTools : public wxPanel
18   {
19         public:
20                 WxGimmickTools(wxWindow * parent, wxString mCurrentDirectory);          
21                 ~WxGimmickTools();
22                 
23                 wxString getInputDir();
24                 
25                 wxString getOutputDir();
26                 
27                 bool getCheckBoxValue();
28                 
29
30         private:
31
32                 wxCheckBox * _addCheckBox;      
33
34                 wxTextCtrl * _inputPath;
35
36                 wxTextCtrl * _outputPath;
37                 
38                 wxString _currentDir;
39                 
40                 bool _addFiles;
41
42                 void onInputDir(wxCommandEvent& event);
43
44                 void onOutputDir(wxCommandEvent& event);
45
46                 void onAddToDatabase(wxCommandEvent& event);
47     
48         };
49   
50 } // EO namespace creaImageIO
51
52 #endif // USE_WIDGETS
53 // EOF
54 #endif