mirror of
https://github.com/YACReader/yacreader
synced 2025-05-25 09:50:33 -04:00
27 lines
541 B
C++
27 lines
541 B
C++
#ifndef EMPTY_CONTAINER_INFO_H
|
|
#define EMPTY_CONTAINER_INFO_H
|
|
|
|
#include <QtWidgets>
|
|
|
|
class EmptyContainerInfo : public QWidget
|
|
{
|
|
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;
|
|
|
|
QLabel *iconLabel;
|
|
QLabel *titleLabel;
|
|
QString backgroundColor;
|
|
};
|
|
|
|
#endif // EMPTY_CONTAINER_INFO_H
|