Improve icons. Move some menu items to the toolbar. Don't show buttons in current...
[dorian] / infodialog.h
1 #ifndef INFODIALOG_H
2 #define INFODIALOG_H
3
4 #include "dyalog.h"
5
6 class QWidget;
7 class Book;
8
9 /** Display book information. */
10 class InfoDialog: public Dyalog
11 {
12     Q_OBJECT
13
14 public:
15     explicit InfoDialog(Book *book, QWidget *parent, bool showButtons = true);
16
17 public slots:
18     void onReadBook();
19     void onRemoveBook();
20
21 private:
22     Book *book;
23 };
24
25 #endif // INFODIALOG_H