-// Copyright (C) 2014 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+#ifndef DEPENDENCYTREE_VIEWMODEL_H
+#define DEPENDENCYTREE_VIEWMODEL_H
+
#include <GraphicsView_Viewer.h>
-#include <QWidget>
-class DependencyTree_ViewModel: public GraphicsView_Viewer
+#include "DependencyTree.h"
+
+class DEPENDENCYTREE_EXPORT DependencyTree_ViewModel: public GraphicsView_Viewer
{
+
Q_OBJECT
public:
DependencyTree_ViewModel( const QString& title, QWidget* w );
~DependencyTree_ViewModel();
-public:
- virtual void contextMenuPopup( QMenu* );
-// virtual SUIT_ViewWindow* createView( SUIT_Desktop* );
-
-// static QString Type() { return "DependencyTree"; }
+ virtual void contextMenuPopup( QMenu* );
private slots:
- void onShowSelected();
- void onShowOnlySelected();
+
+ void onShowSelected();
+ void onShowOnlySelected();
};
+
+#endif