mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
25 lines
444 B
C++
25 lines
444 B
C++
|
#include "HeaderFrame.h"
|
||
|
#include "ui_HeaderFrame.h"
|
||
|
|
||
|
HeaderFrame::HeaderFrame(QWidget *parent) :
|
||
|
QFrame(parent),
|
||
|
ui(new Ui::HeaderFrame)
|
||
|
{
|
||
|
ui->setupUi(this);
|
||
|
}
|
||
|
|
||
|
HeaderFrame::~HeaderFrame()
|
||
|
{
|
||
|
delete ui;
|
||
|
}
|
||
|
|
||
|
void HeaderFrame::setHeaderText(const QString &headerText)
|
||
|
{
|
||
|
ui->headerLabel->setText(headerText);
|
||
|
}
|
||
|
|
||
|
void HeaderFrame::setHeaderImage(const QPixmap &headerImage)
|
||
|
{
|
||
|
ui->headerImage->setPixmap(headerImage);
|
||
|
}
|