mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
improved request page design
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5435 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c3db4dacf7
commit
c5ad4ba206
2 changed files with 153 additions and 117 deletions
|
@ -275,6 +275,8 @@ void ConnectFriendWizard::initializePage(int id)
|
|||
case Page_FriendRequest:
|
||||
{
|
||||
std::cerr << "Friend request page id : " << peerDetails.id << "; gpg_id : " << peerDetails.gpg_id << std::endl;
|
||||
|
||||
setPixmap(QWizard::LogoPixmap, QPixmap(":/images/user/user_request48.png"));
|
||||
|
||||
//set the radio button to sign the GPG key
|
||||
if (peerDetails.accept_connection && !peerDetails.ownsign) {
|
||||
|
@ -305,6 +307,8 @@ void ConnectFriendWizard::initializePage(int id)
|
|||
ui->fr_nameEdit->setText(QString::fromUtf8(peerDetails.name.c_str()));
|
||||
ui->fr_emailEdit->setText(QString::fromUtf8(peerDetails.email.c_str()));
|
||||
ui->fr_locationEdit->setText(QString::fromUtf8(peerDetails.location.c_str()));
|
||||
|
||||
ui->fr_label->setText(tr("You have a friend request from") + " " + QString::fromUtf8(peerDetails.name.c_str()));
|
||||
|
||||
fillGroups(this, ui->fr_groupComboBox, groupId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue