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

@ -66,7 +66,10 @@ ConfCertDialog::ConfCertDialog(const std::string& id, QWidget *parent, Qt::WFlag
/* Invoke Qt Designer generated QObject setup routine */
ui.setupUi(this);
setAttribute(Qt::WA_DeleteOnClose, true);
ui.headerFrame->setHeaderImage(QPixmap(":/images/user/identityinfo48.png"));
ui.headerFrame->setHeaderText(tr("Friend Details"));
setAttribute(Qt::WA_DeleteOnClose, true);
connect(ui.applyButton, SIGNAL(clicked()), this, SLOT(applyDialog()));
connect(ui.cancelButton, SIGNAL(clicked()), this, SLOT(close()));