22 #ifndef DOUBLESTRINGSLISTSELECTIONWIDGET_H_
23 #define DOUBLESTRINGSLISTSELECTIONWIDGET_H_
27 #include "StringsListSelectionWidgetInterface.h"
30 class DoubleStringsListSelectionData;
35 class TLP_QT_SCOPE DoubleStringsListSelectionWidget :
public QWidget,
public StringsListSelectionWidgetInterface {
39 Ui::DoubleStringsListSelectionData *_ui;
43 DoubleStringsListSelectionWidget(QWidget *parent = NULL,
const unsigned int maxSelectedStringsListSize = 0);
44 ~DoubleStringsListSelectionWidget();
46 void setUnselectedStringsList(
const std::vector<std::string> &unselectedStringsList);
48 void setSelectedStringsList(
const std::vector<std::string> &selectedStringsList);
50 void clearUnselectedStringsList();
52 void clearSelectedStringsList();
54 void setMaxSelectedStringsListSize(
const unsigned int maxSelectedStringsListSize);
56 std::vector<std::string> getSelectedStringsList()
const;
58 std::vector<std::string> getUnselectedStringsList()
const;
60 void selectAllStrings();
62 void unselectAllStrings();
64 void setUnselectedStringsListLabel(
const std::string &unselectedStringsListLabel);
66 void setSelectedStringsListLabel(
const std::string &selectedStringsListLabel);
70 void pressButtonSelectAll();
71 void pressButtonUnselectAll();
72 void pressButtonAdd();
73 void pressButtonRem();
75 void pressButtonDown();
79 void qtWidgetsConnection();