18 #ifndef LISTSELECTIONDIALOG_H
19 #define LISTSELECTIONDIALOG_H
24 class ListSelectionDialog;
26 class QListWidgetItem;
27 class QDialogButtonBox;
29 class ListSelectionDialog :
public QDialog
34 explicit ListSelectionDialog(
const QStringList& list, QWidget *parent = 0);
35 ~ListSelectionDialog();
36 void setSelection(
const QStringList& selection);
37 QStringList selection()
const;
38 QDialogButtonBox* buttonBox()
const;
41 Ui::ListSelectionDialog *ui;
44 void onItemActivated(QListWidgetItem* item);
47 #endif // LISTSELECTIONDIALOG_H