-// Copyright (C) 2010-2014 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA, EDF, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Author: Adrien Bruneton (CEA)
-#ifndef PVGUIBEHAVIORS_H_
-#define PVGUIBEHAVIORS_H_
+#ifndef PVVIEWER_BEHAVIORS_H
+#define PVVIEWER_BEHAVIORS_H
+
+#include "PVViewer.h"
#include <QObject>
-class SalomeApp_Module;
-class SUIT_Desktop;
+class QMainWindow;
class pqPropertiesPanel;
/**!
* Qt/ApplicationComponents/pqParaViewBehaviors.cxx
* Except a few ones, behaviors are destroyed when the module is destroyed.
*/
-class PVViewer_Behaviors: public QObject
+class PVVIEWER_EXPORT PVViewer_Behaviors: public QObject
{
Q_OBJECT
public:
- PVViewer_Behaviors(SUIT_Desktop * parent);
+ PVViewer_Behaviors(QMainWindow*);
- void instanciateMinimalBehaviors(SUIT_Desktop * desk);
- void instanciateAllBehaviors(SUIT_Desktop * desk);
+ void instanciateMinimalBehaviors(QMainWindow*);
+ void instanciateAllBehaviors(QMainWindow*);
virtual ~PVViewer_Behaviors() {}
-//public slots:
-// void onEmulateApply();
-
private:
static int BehaviorLoadingLevel;
};
-#endif /* PVGUIBEHAVIORS_H_ */
+#endif // PVVIEWER_BEHAVIORS_H