X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvMainWindow.h;h=7da8a9171ecc8e0018cdf5606daef1f947eb75ed;hb=2fc09af39b364b82ddf930be3fee40ca192218ff;hp=d95e7fa166e0468f68e12ee24b8f910e205293fb;hpb=573d80d0f7a17607d2ee883c21c940c0ba020282;p=clitk.git diff --git a/vv/vvMainWindow.h b/vv/vvMainWindow.h index d95e7fa..7da8a91 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); @@ -139,10 +139,11 @@ public slots: void OpenField(); void SelectOverlayImage(); void SelectFusionImage(); + void ResetTransformationToIdentity(); 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 +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; @@ -203,6 +211,4 @@ private: }; -#include "vvMainWindow.txx" - #endif