Added new base class HeaderFrame - image and text at top of the windows.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5464 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-08-24 10:49:08 +00:00
parent e00f64450b
commit 3f2ab9259d
42 changed files with 488 additions and 1583 deletions

View file

@ -44,6 +44,9 @@ CreateChannelMsg::CreateChannelMsg(std::string cId)
/* Invoke the Qt Designer generated object setup routine */
setupUi(this);
headerFrame->setHeaderImage(QPixmap(":/images/channels.png"));
headerFrame->setHeaderText(tr("New Channel Post"));
setAttribute ( Qt::WA_DeleteOnClose, true );
connect(buttonBox, SIGNAL(accepted()), this, SLOT(sendMsg()));