1 #ifndef LIBRARYDIALOG_H
2 #define LIBRARYDIALOG_H
6 #include <QModelIndexList>
10 class QListWidgetItem;
15 class LibraryDialog: public QDialog
20 explicit LibraryDialog(QWidget *parent = 0);
23 QPushButton *detailsButton;
24 QPushButton *removeButton;
25 QPushButton *readButton;
27 QPushButton *addButton;
36 void onItemSelectionChanged();
39 void onItemActivated(QListWidgetItem *item);
40 void onCurrentBookChanged();
43 QString createItemText(const Book *book);
46 #endif // LIBRARYDIALOG_H