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
This commit is contained in:
defnax 2010-03-26 00:39:53 +00:00
parent 145c10fdbb
commit b3f24432f6
3 changed files with 28 additions and 2 deletions

View File

@ -45,6 +45,11 @@ CryptoPage::CryptoPage(QWidget * parent, Qt::WFlags flags)
connect(ui.copykeyButton, SIGNAL(clicked()), this, SLOT(copyPublicKey())); connect(ui.copykeyButton, SIGNAL(clicked()), this, SLOT(copyPublicKey()));
connect(ui.saveButton, SIGNAL(clicked()), this, SLOT(fileSaveAs())); 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(); loadPublicKey();

View File

@ -500,12 +500,30 @@
<enum>Qt::NoContextMenu</enum> <enum>Qt::NoContextMenu</enum>
</property> </property>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<item row="0" column="0" colspan="3"> <item row="0" column="0" colspan="3">
<widget class="QGroupBox" name="groupBox"> <widget class="QGroupBox" name="groupBox">
<property name="title"> <property name="title">
<string>Public Key</string> <string>Public Key</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>1</number>
</property>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QTextEdit" name="certtextEdit"> <widget class="QTextEdit" name="certtextEdit">
<property name="font"> <property name="font">

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>458</width> <width>663</width>
<height>366</height> <height>397</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -59,6 +59,9 @@
<property name="layoutMode"> <property name="layoutMode">
<enum>QListView::SinglePass</enum> <enum>QListView::SinglePass</enum>
</property> </property>
<property name="spacing">
<number>0</number>
</property>
<property name="gridSize"> <property name="gridSize">
<size> <size>
<width>100</width> <width>100</width>