mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
b18a95ac9b
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
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);
|
|
}
|