Files
yacreader/YACReaderLibrary/empty_container_info.h
2026-03-13 11:06:25 +01:00

34 lines
705 B
C++

#ifndef EMPTY_CONTAINER_INFO_H
#define EMPTY_CONTAINER_INFO_H
#include <QLabel>
#include <QPaintEvent>
#include <QPixmap>
#include <QString>
#include <QVBoxLayout>
#include <QWidget>
#include "themable.h"
class EmptyContainerInfo : public QWidget, protected Themable
{
Q_OBJECT
public:
explicit EmptyContainerInfo(QWidget *parent = nullptr);
void setPixmap(const QPixmap &pixmap);
void setText(const QString &text);
QVBoxLayout *setUpDefaultLayout(bool addStretch);
signals:
public slots:
protected:
void paintEvent(QPaintEvent *) override;
void applyTheme(const Theme &theme) override;
QLabel *iconLabel;
QLabel *titleLabel;
};
#endif // EMPTY_CONTAINER_INFO_H