X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.h;h=dcfe9ed464798f904625ac7249f44e3a3b993122;hb=11e1f5ecf576e2a700f5c09d4b580c3234bf7e40;hp=d95e7fa166e0468f68e12ee24b8f910e205293fb;hpb=765020625fbc092d283e221e36c83e60a1844cb7;p=clitk.git diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index d95e7fa..dcfe9ed 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(); @@ -100,7 +101,6 @@ public slots: void SegmentationOnCurrentImage(); void SurfaceViewerLaunch(); - void WindowsChanged(int window, int view, int slice); void WindowLevelChanged(double window, double level,int preset, int colormap); void UpdateSlice(int slicer, int slice); void UpdateTSlice(int slicer, int slice); @@ -142,7 +142,7 @@ public slots: void SetVFProperty(int subsampling,int scale,int lut, int width, double r, double g, double b); void SetOverlayProperty(int color); - void SetFusionProperty(int opacity,int colormap,double window,double level); + void SetFusionProperty(int opacity, int tresOpacity, int colormap,double window,double level); void GoToCursor(); void PlayPause(); @@ -152,7 +152,13 @@ public slots: } void UpdateRenderWindows(); void UpdateMemoryUsage(); - + void show(); + +protected: + + void createRecentlyOpenedFilesMenu(); + void updateRecentlyOpenedFilesMenu(const std::list &files); + private: //variables @@ -184,6 +190,7 @@ private: int GetImageDuplicateFilenameNumber(std::string filename); QMenu contextMenu; + QMenu* recentlyOpenedFilesMenu; //QMenu *AddSubImageMenu; std::vector contextActions; std::vector horizontalSliders; @@ -203,6 +210,4 @@ private: }; -#include "vvMainWindow.txx" - #endif