X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOWxGimmickView.h;h=a9cef83f9a04602bc098e4e0a5068f0b444609f4;hb=8279b278e033c618adcaf00bc0a217ff323ee972;hp=302698fa701f382e55f30ac5ce556c86765bd792;hpb=42f7c93a6f8fc2beeb8709be1b3616ec40f4699e;p=creaImageIO.git diff --git a/src2/creaImageIOWxGimmickView.h b/src2/creaImageIOWxGimmickView.h index 302698f..a9cef83 100644 --- a/src2/creaImageIOWxGimmickView.h +++ b/src2/creaImageIOWxGimmickView.h @@ -59,8 +59,12 @@ namespace creaImageIO bool isSelection, int selection, bool mProcess); ///Stops the player void StopPlayer(){mViewer->StopPlayer();} + ///Adds a file to ignore + void AddIgnoreFile(tree::Node* toRemove); ///Resets the default image void ClearSelection(); + ///Copies selected files + void CopyFiles(const std::vector& filenames); ///Sends a request to read the currently selected node and the ones that surround it. @@ -73,7 +77,7 @@ namespace creaImageIO /// Create the tree view for TreeHandler provided /// (overloaded from GimmickView) - void CreateTreeView( TreeHandler*, TimestampDatabaseHandler* ); + void CreateTreeView( TreeHandler* ); private: @@ -88,6 +92,9 @@ namespace creaImageIO wxToolBarToolBase* mToolRemove; wxToolBarToolBase* mToolAddDatabase; wxToolBarToolBase* mToolHelp; + wxToolBarToolBase* mToolSynchronize; + wxToolBarToolBase* mToolSettings; + wxToolBarToolBase* mToolTools; wxSplitterWindow* mSplitter; wxPanel* mBottomPanel; @@ -105,6 +112,14 @@ namespace creaImageIO void OnAddDir(wxCommandEvent& event); /// Callback for removing files void OnRemove(wxCommandEvent& event); + /// Callback for synchronization + void OnSynchronize(wxCommandEvent& event); + /// Callback for settings edition + void OnSettings(wxCommandEvent& event); + /// Callback for settings edition + void OnTools(wxCommandEvent& event); + ///Creates the settings dialog (the pages inside and the information) + void CreateSettingsDialog(wxNotebook* nb); /// Display a message box with the last addition statistics void DisplayAddSummary(); @@ -116,7 +131,13 @@ namespace creaImageIO void OnAddProgress( Gimmick::AddProgress& ); /// Called upon to refresh the viewer once there are no actions to be done void OnInternalIdle(); + + // callback to add a database + void OnAddDB(wxCommandEvent& event); + //Create a DB from an Attributes Descriptor files + void OnCreateDB(wxCommandEvent& event); + /// Progress dialog wxProgressDialog* mProgressDialog; ///The selection's maximum dimension