#ifndef BOOKINFODIALOG_H #define BOOKINFODIALOG_H #include #include "textwidget.h" namespace Ui { class bookInfoDialog; } class bookInfoDialog : public QDialog { Q_OBJECT public: QString className = this->metaObject()->className(); explicit bookInfoDialog(QWidget *parent = nullptr); ~bookInfoDialog(); float sH; float sW; float stdIconHeight; float stdIconWidth; private slots: void on_closeBtn_clicked(); void on_getBtn_clicked(); void waitForBookFetch(); signals: void showToast(QString messageToDisplay); void closeIndefiniteToast(); private: Ui::bookInfoDialog * ui; textwidget * textwidgetWindow; }; #endif // BOOKINFODIALOG_H