From b3f24432f6a4144e8333f66593f677cfbf00a2cd Mon Sep 17 00:00:00 2001 From: defnax Date: Fri, 26 Mar 2010 00:39:53 +0000 Subject: [PATCH] Fixed to display Certificate in CryptoPage userfriendly git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2635 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/settings/CryptoPage.cpp | 5 +++++ retroshare-gui/src/gui/settings/CryptoPage.ui | 18 ++++++++++++++++++ retroshare-gui/src/gui/settings/settings.ui | 7 +++++-- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/settings/CryptoPage.cpp b/retroshare-gui/src/gui/settings/CryptoPage.cpp index c45ff1049..af353ee3c 100755 --- a/retroshare-gui/src/gui/settings/CryptoPage.cpp +++ b/retroshare-gui/src/gui/settings/CryptoPage.cpp @@ -44,6 +44,11 @@ CryptoPage::CryptoPage(QWidget * parent, Qt::WFlags flags) connect(ui.copykeyButton, SIGNAL(clicked()), this, SLOT(copyPublicKey())); connect(ui.saveButton, SIGNAL(clicked()), this, SLOT(fileSaveAs())); + + QFont font("Courier New",8,50,false); + font.setStyleHint(QFont::TypeWriter,QFont::PreferMatch); + font.setStyle(QFont::StyleNormal); + ui.certtextEdit->setFont(font); loadPublicKey(); diff --git a/retroshare-gui/src/gui/settings/CryptoPage.ui b/retroshare-gui/src/gui/settings/CryptoPage.ui index e444f169b..f1a5a7baf 100755 --- a/retroshare-gui/src/gui/settings/CryptoPage.ui +++ b/retroshare-gui/src/gui/settings/CryptoPage.ui @@ -500,12 +500,30 @@ Qt::NoContextMenu + + 9 + + + 9 + Public Key + + 1 + + + 6 + + + 1 + + + 1 + diff --git a/retroshare-gui/src/gui/settings/settings.ui b/retroshare-gui/src/gui/settings/settings.ui index 00a914679..cd53c1623 100755 --- a/retroshare-gui/src/gui/settings/settings.ui +++ b/retroshare-gui/src/gui/settings/settings.ui @@ -6,8 +6,8 @@ 0 0 - 458 - 366 + 663 + 397 @@ -59,6 +59,9 @@ QListView::SinglePass + + 0 + 100