quill/librarywidget.h
2022-01-04 19:06:47 -05:00

57 lines
1.3 KiB
C++

#ifndef LIBRARYWIDGET_H
#define LIBRARYWIDGET_H
#include <QWidget>
#include <toast.h>
#include <bookinfodialog.h>
namespace Ui {
class libraryWidget;
}
class libraryWidget : public QWidget
{
Q_OBJECT
public:
explicit libraryWidget(QWidget *parent = nullptr);
~libraryWidget();
float sH;
float sW;
float stdIconHeight;
float stdIconWidth;
private:
Ui::libraryWidget * ui;
toast * toastWindow;
bookInfoDialog * bookInfoDialogWindow;
private slots:
void syncCatalog();
void setupView();
void showToast(QString messageToDisplay);
void closeIndefiniteToast();
QString getTitle(int bookNumber);
void openLatestBookInfoDialog(int bookNumber, QString title);
void on_previousBtn_clicked();
void on_nextBtn_clicked();
void on_book1Btn_clicked();
void on_book2Btn_clicked();
void on_book3Btn_clicked();
void on_book4Btn_clicked();
void on_book5Btn_clicked();
void on_book6Btn_clicked();
void on_book7Btn_clicked();
void on_book8Btn_clicked();
void on_book9Btn_clicked();
void on_book10Btn_clicked();
void on_book11Btn_clicked();
void on_book12Btn_clicked();
void on_book13Btn_clicked();
void on_book14Btn_clicked();
void on_book15Btn_clicked();
void on_book16Btn_clicked();
};
#endif // LIBRARYWIDGET_H