20 #ifndef VIEWGRAPHPROERTIESSELECTIONWIDGET_H_
21 #define VIEWGRAPHPROERTIESSELECTIONWIDGET_H_
28 #include <tulip/Graph.h>
31 class ViewGraphPropertiesSelectionWidgetData;
36 class TLP_QT_SCOPE ViewGraphPropertiesSelectionWidget :
public QWidget,
public Observable {
41 ViewGraphPropertiesSelectionWidget(QWidget *parent =
nullptr);
42 ~ViewGraphPropertiesSelectionWidget()
override;
44 void setWidgetParameters(Graph *graph,
45 const std::vector<std::string> &graphPropertiesTypesFilter);
46 std::vector<std::string> getSelectedGraphProperties();
48 void setWidgetEnabled(
const bool enabled);
49 void setSelectedProperties(
const std::vector<std::string> &selectedProperties);
53 void enableEdgesButton(
const bool enable);
54 void treatEvent(
const Event &)
override;
56 bool configurationChanged();
59 Ui::ViewGraphPropertiesSelectionWidgetData *_ui;
61 std::vector<std::string> graphPropertiesTypesFilter;
62 std::vector<std::string> lastSelectedProperties;