mirror of
https://github.com/YACReader/yacreader
synced 2026-03-01 10:22:58 -05:00
31 lines
524 B
C++
31 lines
524 B
C++
#ifndef NO_LIBRARIES_WIDGET_H
|
|
#define NO_LIBRARIES_WIDGET_H
|
|
|
|
#include <QWidget>
|
|
|
|
#include "themable.h"
|
|
|
|
class QLabel;
|
|
|
|
class NoLibrariesWidget : public QWidget, protected Themable
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit NoLibrariesWidget(QWidget *parent = nullptr);
|
|
|
|
signals:
|
|
void createNewLibrary();
|
|
void addExistingLibrary();
|
|
public slots:
|
|
|
|
protected:
|
|
void applyTheme(const Theme &theme) override;
|
|
|
|
private:
|
|
QLabel *iconLabel;
|
|
QLabel *text;
|
|
QLabel *textDescription;
|
|
};
|
|
|
|
#endif // NO_LIBRARIES_WIDGET_H
|