21 #ifndef GRAPHPROPERTYSELECTIONWIDGET_H_ 22 #define GRAPHPROPERTYSELECTIONWIDGET_H_ 24 #include "StringsListSelectionWidget.h" 34 class TLP_QT_SCOPE GraphPropertiesSelectionWidget :
public StringsListSelectionWidget {
40 GraphPropertiesSelectionWidget(QWidget *parent =
nullptr,
41 const StringsListSelectionWidget::ListType &listType =
42 StringsListSelectionWidget::SIMPLE_LIST,
43 const unsigned int maxNbSelectedProperties = 0);
57 GraphPropertiesSelectionWidget(
58 Graph *graph, QWidget *parent =
nullptr,
59 const StringsListSelectionWidget::ListType &listType =
60 StringsListSelectionWidget::SIMPLE_LIST,
61 const unsigned int maxNbSelectedProperties = 0,
62 const std::vector<std::string> &propertiesTypes = std::vector<std::string>(),
63 const bool includeViewProperties =
false);
78 setWidgetParameters(Graph *graph,
79 const std::vector<std::string> &propertiesTypes = std::vector<std::string>(),
80 const bool includeViewProperties =
false);
88 void setInputPropertiesList(std::vector<std::string> &inputPropertiesList);
96 void setOutputPropertiesList(std::vector<std::string> &outputPropertiesList);
101 std::vector<std::string> getSelectedProperties()
const;
110 bool propertySelectable(
const std::string &propertyName);
113 std::vector<std::string> propertiesTypes;
114 bool includeViewProperties;