21 #ifndef DOUBLESTRINGSLISTSELECTIONWIDGET_H_
22 #define DOUBLESTRINGSLISTSELECTIONWIDGET_H_
26 #include "StringsListSelectionWidgetInterface.h"
29 class DoubleStringsListSelectionData;
34 class TLP_QT_SCOPE DoubleStringsListSelectionWidget :
public QWidget,
35 public StringsListSelectionWidgetInterface {
39 Ui::DoubleStringsListSelectionData *_ui;
42 DoubleStringsListSelectionWidget(QWidget *parent =
nullptr,
43 const unsigned int maxSelectedStringsListSize = 0);
44 ~DoubleStringsListSelectionWidget()
override;
46 void setUnselectedStringsList(
const std::vector<std::string> &unselectedStringsList)
override;
48 void setSelectedStringsList(
const std::vector<std::string> &selectedStringsList)
override;
50 void clearUnselectedStringsList()
override;
52 void clearSelectedStringsList()
override;
54 void setMaxSelectedStringsListSize(
const unsigned int maxSelectedStringsListSize)
override;
56 std::vector<std::string> getSelectedStringsList()
const override;
58 std::vector<std::string> getUnselectedStringsList()
const override;
60 void selectAllStrings()
override;
62 void unselectAllStrings()
override;
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();
78 void qtWidgetsConnection();