X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.h;h=35a5d90adbf2f2ca0ce3a4b6be77e0f60d4f5475;hb=67e045ab3d3951f68eef713e6a7162d68a492154;hp=d95e7fa166e0468f68e12ee24b8f910e205293fb;hpb=573d80d0f7a17607d2ee883c21c940c0ba020282;p=clitk.git diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index d95e7fa..35a5d90 100644 --- a/vv/vvMainWindow.h +++ b/vv/vvMainWindow.h @@ -87,6 +87,7 @@ public slots: void ImageInfoChanged(); void ShowHelpDialog(); void ShowDocumentation(); + void PopupRegisterForm(bool checkCanPush=false); void ComputeDeformableRegistration(); void WarpImage(); void ChangeViewMode(); @@ -152,7 +153,13 @@ public slots: } void UpdateRenderWindows(); void UpdateMemoryUsage(); - + void show(); + +protected: + + void createRecentlyOpenedFilesMenu(); + void updateRecentlyOpenedFilesMenu(const std::list &files); + private: //variables @@ -184,6 +191,7 @@ private: int GetImageDuplicateFilenameNumber(std::string filename); QMenu contextMenu; + QMenu* recentlyOpenedFilesMenu; //QMenu *AddSubImageMenu; std::vector contextActions; std::vector horizontalSliders;