]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOWxGimmickTools.h
move directory
[creaImageIO.git] / src2 / creaImageIOWxGimmickTools.h
index 0cc976a06c28e4010881a15a2982617730c30a2d..88e862f5aff694c853b31fb07e195852a7afeec1 100644 (file)
@@ -11,37 +11,31 @@ namespace creaImageIO
    * \ingroup Tools
    */
   //=====================================================================
-  
+
   //=====================================================================
 
   class WxGimmickTools : public wxPanel
   {
        public:
-               WxGimmickTools(wxWindow * parent);              
+               WxGimmickTools(wxWindow *parent, wxString mCurrentDirectory);           
                ~WxGimmickTools();
-               
-               void onThresholdStop();
-               void onThresholdInstantChange(double range[]);
 
+               wxString getInputDir();
+               wxString getOutputDir();
+               bool getAddToDBCheckBoxValue();
+               bool getMHDCheckBoxValue();
        private:
-
-               mBarRange* _mBarThreshold;
-               wxSlider* _opacity;
-               bool _thresholdGo;
-               wxCheckBox* _interpolationCheckBox;     
-
-               void onThresholdChange(wxCommandEvent& event);
-
-               void onThresholdGo(wxCommandEvent& event);
-
-               void onThresholdRemove(wxCommandEvent& event);
-
-               void onThresholdInterpolation(wxCommandEvent& event);
-
-               void onChangeOpacity(wxScrollEvent& event);
-
-               DECLARE_EVENT_TABLE()
-    
+               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