RetroShare/retroshare-gui/src/gui/common/HeaderFrame.cpp
defnax b18a95ac9b Added a headerframee icon for Create Album
Added a close button

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5865 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-21 13:41:10 +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);
}