Tulip  5.2.0
Large graphs analysis and drawing
SceneLayersConfigWidget.h
1 /*
2  *
3  * This file is part of Tulip (http://tulip.labri.fr)
4  *
5  * Authors: David Auber and the Tulip development Team
6  * from LaBRI, University of Bordeaux
7  *
8  * Tulip is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation, either version 3
11  * of the License, or (at your option) any later version.
12  *
13  * Tulip is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU General Public License for more details.
17  *
18  */
19 ///@cond DOXYGEN_HIDDEN
20 
21 #ifndef SCENELAYERSCONFIGWIDGET_H
22 #define SCENELAYERSCONFIGWIDGET_H
23 
24 #include <QWidget>
25 
26 #include <tulip/tulipconf.h>
27 
28 namespace Ui {
29 class SceneLayersConfigWidget;
30 }
31 
32 namespace tlp {
33 
34 class GlMainWidget;
35 
36 class TLP_QT_SCOPE SceneLayersConfigWidget : public QWidget {
37  Q_OBJECT
38 
39  Ui::SceneLayersConfigWidget *_ui;
40  tlp::GlMainWidget *_glMainWidget;
41 
42 public:
43  explicit SceneLayersConfigWidget(QWidget *parent = nullptr);
44  ~SceneLayersConfigWidget() override;
45 
46  void setGlMainWidget(tlp::GlMainWidget *glMainWidget);
47 
48 public slots:
49 
50  void resizeFirstColumn();
51 
52 signals:
53  void drawNeeded();
54 };
55 }
56 
57 #endif // SCENELAYERSCONFIGWIDGET_H
58 ///@endcond
This widget provide a simple system to visualize data/graph with OpenGL 3D engine.
Definition: GlMainWidget.h:66