]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOWxGimmickTools.h
move directory
[creaImageIO.git] / src / creaImageIOWxGimmickTools.h
diff --git a/src/creaImageIOWxGimmickTools.h b/src/creaImageIOWxGimmickTools.h
new file mode 100644 (file)
index 0000000..88e862f
--- /dev/null
@@ -0,0 +1,45 @@
+#ifndef __creaImageIOWxGimmickTools_h_INCLUDED__
+#define __creaImageIOWxGimmickTools_h_INCLUDED__
+
+#ifdef USE_WXWIDGETS
+
+#include <creaWx.h>
+
+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