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