mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-25 15:17:21 -08:00
38 lines
767 B
C++
38 lines
767 B
C++
#ifndef BOOKOPTIONSDIALOG_H
|
|
#define BOOKOPTIONSDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QJsonObject>
|
|
|
|
namespace Ui {
|
|
class bookOptionsDialog;
|
|
}
|
|
|
|
class bookOptionsDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QString className = this->metaObject()->className();
|
|
explicit bookOptionsDialog(QWidget *parent = nullptr);
|
|
~bookOptionsDialog();
|
|
QString bookPath;
|
|
bool bookPinned;
|
|
|
|
private slots:
|
|
void on_pinBtn_clicked();
|
|
void on_deleteBtn_clicked();
|
|
void on_infoBtn_clicked();
|
|
void pinBook(int bookID);
|
|
void unpinBook(int bookID);
|
|
bool isBookPinned(int bookID);
|
|
|
|
signals:
|
|
void openLocalBookInfoDialog();
|
|
void showToast(QString messageToDisplay);
|
|
|
|
private:
|
|
Ui::bookOptionsDialog *ui;
|
|
};
|
|
|
|
#endif // BOOKOPTIONSDIALOG_H
|