Files
yacreader/YACReaderLibrary/comic_vine/title_header.h

29 lines
497 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() override;
};
#endif // TITLE_HEADER_H