Tulip  4.2.0
Better Visualization Through Research
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Groups Pages
NodeLinkDiagramComponentInteractor.h
1 /*
2  *
3  * This file is part of Tulip (www.tulip-software.org)
4  *
5  * Authors: David Auber and the Tulip development Team
6  * from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest
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 
20 /**
21  *
22  * This file is part of Tulip (www.tulip-software.org)
23  *
24  * Authors: David Auber and the Tulip development Team
25  * from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest
26  *
27  * Tulip is free software; you can redistribute it and/or modify
28  * it under the terms of the GNU Lesser General Public License
29  * as published by the Free Software Foundation, either version 3
30  * of the License, or (at your option) any later version.
31  *
32  * Tulip is distributed in the hope that it will be useful,
33  * but WITHOUT ANY WARRANTY; without even the implied warranty of
34  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
35  * See the GNU General Public License for more details.
36  *
37  */
38 #ifndef NODELINKDIAGRAMCOMPONENTINTERACTOR_H
39 #define NODELINKDIAGRAMCOMPONENTINTERACTOR_H
40 
41 #include <tulip/GLInteractor.h>
42 
43 class QLabel;
44 
45 namespace tlp {
46 
47 /** \brief Tulip interactor abstract class for NodeLinkDiagramComponent
48  *
49  */
51  : public GLInteractorComposite {
52  QLabel* _label;
53  unsigned int _priority;
54 
55 public :
56 
57  NodeLinkDiagramComponentInteractor(const QString &iconPath, const QString &text, unsigned int priority=0);
58 
60 
61  void setConfigurationWidgetText(const QString& text);
62 
63  virtual QWidget* configurationWidget() const;
64 
65  virtual unsigned int priority() const;
66 
67  void setPriority(const unsigned int p);
68 
69 };
70 }
71 
72 #endif // NODELINKDIAGRAMCOMPONENTINTERACTOR_H