00001 #ifndef __creaImageIOWxGimmickTools_h_INCLUDED__ 00002 #define __creaImageIOWxGimmickTools_h_INCLUDED__ 00003 00004 #ifdef USE_WXWIDGETS 00005 00006 #include <creaWx.h> 00007 00008 namespace creaImageIO 00009 { 00013 //===================================================================== 00014 00015 //===================================================================== 00016 00017 class WxGimmickTools : public wxPanel 00018 { 00019 public: 00020 WxGimmickTools(wxWindow *parent, wxString mCurrentDirectory); 00021 ~WxGimmickTools(); 00022 00023 wxString getInputDir(); 00024 wxString getOutputDir(); 00025 bool getAddToDBCheckBoxValue(); 00026 bool getMHDCheckBoxValue(); 00027 private: 00028 wxCheckBox * _addCheckBox; 00029 wxCheckBox * _mhdCheckBox; 00030 wxTextCtrl * _inputPath; 00031 wxTextCtrl * _outputPath; 00032 wxString _currentDir; 00033 bool _addFiles; 00034 bool _mhd; 00035 void onInputDir(wxCommandEvent& event); 00036 void onOutputDir(wxCommandEvent& event); 00037 void onAddToDatabase(wxCommandEvent& event); 00038 void onMHD(wxCommandEvent& event); 00039 }; 00040 00041 } // EO namespace creaImageIO 00042 00043 #endif // USE_WIDGETS 00044 // EOF 00045 #endif