2021-12-27 12:04:39 -08:00
|
|
|
#ifndef BOOKINFODIALOG_H
|
|
|
|
#define BOOKINFODIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class bookInfoDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class bookInfoDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2022-04-04 21:47:15 -07:00
|
|
|
QString className = this->metaObject()->className();
|
2021-12-27 12:04:39 -08:00
|
|
|
explicit bookInfoDialog(QWidget *parent = nullptr);
|
|
|
|
~bookInfoDialog();
|
|
|
|
float sH;
|
|
|
|
float sW;
|
|
|
|
float stdIconHeight;
|
|
|
|
float stdIconWidth;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_closeBtn_clicked();
|
2021-12-29 20:09:51 -08:00
|
|
|
void on_getBtn_clicked();
|
|
|
|
void waitForBookFetch();
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void showToast(QString messageToDisplay);
|
|
|
|
void closeIndefiniteToast();
|
2021-12-27 12:04:39 -08:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::bookInfoDialog *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // BOOKINFODIALOG_H
|