quill/librarywidget.h

57 lines
1.3 KiB
C
Raw Normal View History

#ifndef LIBRARYWIDGET_H
#define LIBRARYWIDGET_H
#include <QWidget>
2021-12-26 10:28:43 -08:00
#include <toast.h>
2021-12-27 12:04:39 -08:00
#include <bookinfodialog.h>
namespace Ui {
class libraryWidget;
}
class libraryWidget : public QWidget
{
Q_OBJECT
public:
explicit libraryWidget(QWidget *parent = nullptr);
~libraryWidget();
2021-12-26 16:08:21 -08:00
float sH;
float sW;
float stdIconHeight;
float stdIconWidth;
private:
2021-12-26 10:28:43 -08:00
Ui::libraryWidget * ui;
toast * toastWindow;
2021-12-27 12:04:39 -08:00
bookInfoDialog * bookInfoDialogWindow;
2021-12-26 10:28:43 -08:00
private slots:
2021-12-26 16:08:21 -08:00
void syncCatalog();
2021-12-26 10:28:43 -08:00
void setupView();
void showToast(QString messageToDisplay);
2021-12-27 11:07:40 -08:00
QString getTitle(int bookNumber);
void openLatestBookInfoDialog(int bookNumber, QString title);
2021-12-26 10:28:43 -08:00
void on_previousBtn_clicked();
void on_nextBtn_clicked();
2021-12-27 11:07:40 -08:00
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