22 #ifndef GRAPHPROPERTYSELECTIONWIDGET_H_ 23 #define GRAPHPROPERTYSELECTIONWIDGET_H_ 25 #include "StringsListSelectionWidget.h" 35 class TLP_QT_SCOPE GraphPropertiesSelectionWidget :
public StringsListSelectionWidget {
42 GraphPropertiesSelectionWidget(QWidget *parent = NULL,
const StringsListSelectionWidget::ListType &listType = StringsListSelectionWidget::SIMPLE_LIST,
43 const unsigned int maxNbSelectedProperties = 0);
52 GraphPropertiesSelectionWidget(Graph *graph, QWidget *parent = NULL,
const StringsListSelectionWidget::ListType &listType = StringsListSelectionWidget::SIMPLE_LIST,
53 const unsigned int maxNbSelectedProperties = 0,
const std::vector<std::string> &propertiesTypes = std::vector<std::string>(),
54 const bool includeViewProperties =
false);
63 void setWidgetParameters(Graph *graph,
const std::vector<std::string> &propertiesTypes = std::vector<std::string>(),
const bool includeViewProperties =
false);
70 void setInputPropertiesList(std::vector<std::string> &inputPropertiesList);
77 void setOutputPropertiesList(std::vector<std::string> &outputPropertiesList);
82 std::vector<std::string> getSelectedProperties()
const;
93 bool propertySelectable(
const std::string &propertyName);
96 std::vector<std::string> propertiesTypes;
97 bool includeViewProperties;