// Author : Sergey ANIKIN
//
+
#ifndef PVGUI_Module_H
#define PVGUI_Module_H
#include <LightApp_Module.h>
+#include <ostream.h>
+
class QMenu;
+class QDockWidget;
class LightApp_Selection;
class LightApp_SelectionMgr;
class PVGUI_ProcessModuleHelper;
pqViewManager* getMultiViewManager() const;
+ 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();
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
//! Create dock widgets context menus
void setupDockWidgetsContextMenu();
+ //! Save states of dockable ParaView widgets
+ void saveDockWidgetsState();
+
+ //! Restore states of dockable ParaView widgets
+ void restoreDockWidgetsState();
+
//! Shows or hides ParaView view window
void showView( bool );
void onDeleteAll();
- void onSelectionModeChanged(int mode);
+ void onSelectionModeChanged( int mode );
- void onShowCenterAxisChanged(bool);
+ void onShowCenterAxisChanged( bool );
- void setTimeRanges(double, double);
+ void setTimeRanges( double, double );
- void onPlaying(bool);
+ void onPlaying( bool );
void onAddCameraLink();
void onHelpAbout();
+ void showHelpForProxy( const QString& proxy );
+ void makeAssistant();
+ void assistantError( const QString& err );
+
+ void onPreAccept();
+ void onPostAccept();
+ void endWaitCursor();
+
public slots:
virtual bool activateModule( SUIT_Study* );
virtual bool deactivateModule( SUIT_Study* );
pqImplementation* Implementation;
int mySelectionControlsTb;
+ int mySourcesMenuId;
+ int myFiltersMenuId;
+
+ QList<QDockWidget*> myDockWidgets;
};
#endif // PVGUI_Module_H