RetroShare/retroshare-gui/src/gui/common/HeaderFrame.cpp
2012-08-24 10:49:08 +00:00

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);
}