X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaImageIOWxGimmickTools.h;fp=src%2FcreaImageIOWxGimmickTools.h;h=88e862f5aff694c853b31fb07e195852a7afeec1;hb=3a22e19184c369b130d4caa992a8e98e50c7a0ee;hp=0000000000000000000000000000000000000000;hpb=916a5e3008de7387aaf45e9d4e4ebbe6503205c3;p=creaImageIO.git diff --git a/src/creaImageIOWxGimmickTools.h b/src/creaImageIOWxGimmickTools.h new file mode 100644 index 0000000..88e862f --- /dev/null +++ b/src/creaImageIOWxGimmickTools.h @@ -0,0 +1,45 @@ +#ifndef __creaImageIOWxGimmickTools_h_INCLUDED__ +#define __creaImageIOWxGimmickTools_h_INCLUDED__ + +#ifdef USE_WXWIDGETS + +#include + +namespace creaImageIO +{ + /** + * \ingroup Tools + */ + //===================================================================== + + //===================================================================== + + class WxGimmickTools : public wxPanel + { + public: + WxGimmickTools(wxWindow *parent, wxString mCurrentDirectory); + ~WxGimmickTools(); + + wxString getInputDir(); + wxString getOutputDir(); + bool getAddToDBCheckBoxValue(); + bool getMHDCheckBoxValue(); + private: + wxCheckBox * _addCheckBox; + wxCheckBox * _mhdCheckBox; + wxTextCtrl * _inputPath; + wxTextCtrl * _outputPath; + wxString _currentDir; + bool _addFiles; + bool _mhd; + void onInputDir(wxCommandEvent& event); + void onOutputDir(wxCommandEvent& event); + void onAddToDatabase(wxCommandEvent& event); + void onMHD(wxCommandEvent& event); + }; + +} // EO namespace creaImageIO + +#endif // USE_WIDGETS +// EOF +#endif