]> Creatis software - creaImageIO.git/blob - src/creaImageIOWxGimmickTools.h
88e862f5aff694c853b31fb07e195852a7afeec1
[creaImageIO.git] / src / 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                 wxString getOutputDir();
25                 bool getAddToDBCheckBoxValue();
26                 bool getMHDCheckBoxValue();
27         private:
28                 wxCheckBox * _addCheckBox;
29                 wxCheckBox * _mhdCheckBox;
30                 wxTextCtrl * _inputPath;
31                 wxTextCtrl * _outputPath;
32                 wxString _currentDir;
33                 bool _addFiles;
34                 bool _mhd;
35                 void onInputDir(wxCommandEvent& event);
36                 void onOutputDir(wxCommandEvent& event);
37                 void onAddToDatabase(wxCommandEvent& event);
38                 void onMHD(wxCommandEvent& event);
39         };
40   
41 } // EO namespace creaImageIO
42
43 #endif // USE_WIDGETS
44 // EOF
45 #endif