]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOWxTreeView.h
export from storage to storage functionality
[creaImageIO.git] / src2 / creaImageIOWxTreeView.h
index 586eea2b5a8aaba9d4e65b7ffbc13b09de0ed7d5..e620a4a7b63ccb31d24e49a97fef8829c16bc0b3 100644 (file)
@@ -49,7 +49,7 @@ namespace creaImageIO
       virtual void UpdateLevel( int );
 
       ///Removes selected nodes on given level
-      virtual void RemoveSelected();
+         virtual void RemoveSelected(std::string &i_save);
 
          ///Returns the last selected level
          virtual unsigned int GetLastSelectedLevel(){return mLastLevel;}
@@ -74,6 +74,12 @@ namespace creaImageIO
 
          ///Callback when the user needs to edit a field
       void OnEditField(wxCommandEvent& event);
+
+         ///Callback when the user needs to display alll dicom tags for a file
+         void OnDumpTags(wxCommandEvent &event);
+      
+         ///Callback when the user needs to transfer data from storage to storage
+         void OnExportToStorage(wxCommandEvent &event);
       
       ///Callback on mouse click
       void OnMouseClick(wxMouseEvent& event);
@@ -97,6 +103,7 @@ namespace creaImageIO
       /// Called by OnItemSelected and OnItemDeSelected
       //      void ProcessItem
     private:
+               wxBoxSizer      *msizer;
       /// The struct holding the data for one level
       /// Holds the wx control and other data
       /// such as the vector of attribute keys corresponding to the columns
@@ -180,9 +187,13 @@ namespace creaImageIO
       unsigned int mLastLevel;
       
          wxMenu* menuItem;
+         wxMenu *subExportMenu;
          int mAnonymizingID;
          int mLocalCopyID;
          int mEditFieldID;
+         int mDumpID;
+         int mExportID;
+         int mExport2StorageID;
          
       // If set to true then OnSelectedChanged returns immediately.
       // Used to do avoid useless process during multiple selections 
@@ -194,6 +205,22 @@ namespace creaImageIO
     // EO class WxTreeView
     //=====================================================================
 
+       class RemoveAlertDlg : public wxDialog
+       {
+       public:
+               RemoveAlertDlg(wxWindow *parent, 
+                                              wxString title,    
+                                                  const wxSize& size);
+               ~RemoveAlertDlg();
+
+               bool isChecked();
+
+       private :
+               void onCheck(wxCommandEvent &Event);
+               bool mSave;
+               wxCheckBox *mcheck;
+
+       };
 
 
 } // EO namespace creaImageIO