22 #ifndef DOUBLESTRINGSLISTSELECTIONWIDGET_H_
23 #define DOUBLESTRINGSLISTSELECTIONWIDGET_H_
25 #include <QtGui/QWidget>
27 #include "ui_DoubleStringsListSelectionWidget.h"
28 #include "StringsListSelectionWidgetInterface.h"
32 class TLP_QT_SCOPE DoubleStringsListSelectionWidget :
public QWidget,
public StringsListSelectionWidgetInterface,
public Ui::DoubleStringsListSelectionData {
38 DoubleStringsListSelectionWidget(QWidget *parent = NULL,
const unsigned int maxSelectedStringsListSize = 0);
40 void setUnselectedStringsList(
const std::vector<std::string> &unselectedStringsList);
42 void setSelectedStringsList(
const std::vector<std::string> &selectedStringsList);
44 void clearUnselectedStringsList();
46 void clearSelectedStringsList();
48 void setMaxSelectedStringsListSize(
const unsigned int maxSelectedStringsListSize);
50 std::vector<std::string> getSelectedStringsList()
const;
52 std::vector<std::string> getUnselectedStringsList()
const;
54 void selectAllStrings();
56 void unselectAllStrings();
58 void setUnselectedStringsListLabel(
const std::string &unselectedStringsListLabel);
60 void setSelectedStringsListLabel(
const std::string &selectedStringsListLabel);
64 void pressButtonSelectAll();
65 void pressButtonUnselectAll();
66 void pressButtonAdd();
67 void pressButtonRem();
69 void pressButtonDown();
73 void qtWidgetsConnection();