Files
yacreader/YACReaderLibrary/comic_vine/title_header.h
2026-02-19 18:06:32 +01:00

30 lines
516 B
C++

#ifndef TITLE_HEADER_H
#define TITLE_HEADER_H
#include <QWidget>
#include "themable.h"
class QLabel;
class TitleHeader : public QWidget, protected Themable
{
Q_OBJECT
public:
TitleHeader(QWidget *parent = nullptr);
public slots:
void setTitle(const QString &title);
void setSubTitle(const QString &title);
void showButtons(bool show);
private:
QLabel *mainTitleLabel;
QLabel *subTitleLabel;
protected:
void applyTheme(const Theme &theme) override;
};
#endif // TITLE_HEADER_H