Files
yacreader/YACReaderLibrary/empty_container_info.h
luisangelsm 3709b6e737
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
Format includes using clang-format
2026-03-13 18:21:38 +01:00

34 lines
705 B
C++

#ifndef EMPTY_CONTAINER_INFO_H
#define EMPTY_CONTAINER_INFO_H
#include "themable.h"
#include <QLabel>
#include <QPaintEvent>
#include <QPixmap>
#include <QString>
#include <QVBoxLayout>
#include <QWidget>
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