X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPVGUI%2FPVGUI_Module.h;h=6918361eb1d372d2a3314d3e2d73e83ad2804ce3;hb=0f9c3a16952f077e2cd32193d6ce940e0af45cbf;hp=210b89e1f109c5c4c1879bdc0b478855adb3ba96;hpb=947c7535a518c3583ec8d736fb20f4d8b03ec755;p=modules%2Fparavis.git diff --git a/src/PVGUI/PVGUI_Module.h b/src/PVGUI/PVGUI_Module.h index 210b89e1..6918361e 100644 --- a/src/PVGUI/PVGUI_Module.h +++ b/src/PVGUI/PVGUI_Module.h @@ -23,11 +23,14 @@ // Author : Sergey ANIKIN // + #ifndef PVGUI_Module_H #define PVGUI_Module_H #include +#include + class QMenu; class QDockWidget; class LightApp_Selection; @@ -167,6 +170,10 @@ public: virtual bool eventFilter( QObject*, QEvent* ); + //! Compares the contents of the window with the given reference image, returns true if they "match" within some tolerance + bool compareView( const QString& ReferenceImage, double Threshold, + ostream& Output, const QString& TempDirectory ); + protected: //virtual CAM_DataModel* createDataModel(); @@ -177,7 +184,6 @@ private: static void pvShutdown(); //! Create actions for ParaView GUI operations - //! duplicating menus and toolbars in pqMainWindow ParaView class void pvCreateActions(); //! Create menus for ParaView GUI operations