2021-12-26 05:36:29 -08:00
|
|
|
#ifndef LIBRARYWIDGET_H
|
|
|
|
#define LIBRARYWIDGET_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
2021-12-26 10:28:43 -08:00
|
|
|
#include <toast.h>
|
2021-12-26 05:36:29 -08:00
|
|
|
|
|
|
|
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;
|
2021-12-26 05:36:29 -08:00
|
|
|
|
|
|
|
private:
|
2021-12-26 10:28:43 -08:00
|
|
|
Ui::libraryWidget * ui;
|
|
|
|
toast * toastWindow;
|
|
|
|
|
|
|
|
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-26 16:49:22 -08:00
|
|
|
void on_previousBtn_clicked();
|
|
|
|
void on_nextBtn_clicked();
|
2021-12-26 05:36:29 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LIBRARYWIDGET_H
|