set tooltip for OK Button

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1247 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-05-16 17:17:46 +00:00
parent 270c7c70d7
commit 17512e15af
2 changed files with 281 additions and 284 deletions

View file

@ -48,7 +48,7 @@ ConfCertDialog::ConfCertDialog(QWidget *parent, Qt::WFlags flags)
connect(ui._makeFriendPB, SIGNAL(clicked()), this, SLOT(makeFriend())); connect(ui._makeFriendPB, SIGNAL(clicked()), this, SLOT(makeFriend()));
//setFixedSize(QSize(434, 462)); ui.applyButton->setToolTip(tr("Apply and Close"));
} }
void ConfCertDialog::show(const std::string& peer_id) void ConfCertDialog::show(const std::string& peer_id)

View file

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" > <ui version="4.0" >
<class>ConfCertDialog</class> <class>ConfCertDialog</class>
<widget class="QDialog" name="ConfCertDialog" > <widget class="QDialog" name="ConfCertDialog" >
@ -6,12 +5,12 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>598</width> <width>493</width>
<height>428</height> <height>428</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
@ -503,23 +502,21 @@
<string>Details</string> <string>Details</string>
</property> </property>
<property name="windowIcon" > <property name="windowIcon" >
<iconset resource="../images.qrc"> <iconset resource="../images.qrc" >:/images/rstray3.png</iconset>
<normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_8"> <layout class="QVBoxLayout" >
<item> <item>
<widget class="QTabWidget" name="stabWidget" > <widget class="QTabWidget" name="stabWidget" >
<property name="currentIndex" > <property name="currentIndex" >
<number>1</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="tab" > <widget class="QWidget" name="tab" >
<attribute name="icon">
<iconset resource="../images.qrc">
<normaloff>:/images/peerdetails_16x16.png</normaloff>:/images/peerdetails_16x16.png</iconset>
</attribute>
<attribute name="title" > <attribute name="title" >
<string>Details</string> <string>Details</string>
</attribute> </attribute>
<attribute name="icon" >
<iconset resource="../images.qrc" >:/images/peerdetails_16x16.png</iconset>
</attribute>
<layout class="QGridLayout" > <layout class="QGridLayout" >
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QGroupBox" name="groupBox_2" > <widget class="QGroupBox" name="groupBox_2" >
@ -605,11 +602,11 @@
<property name="title" > <property name="title" >
<string>Peer Address</string> <string>Peer Address</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_7"> <layout class="QVBoxLayout" >
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" >
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_6"> <layout class="QVBoxLayout" >
<item> <item>
<widget class="QLabel" name="label" > <widget class="QLabel" name="label" >
<property name="layoutDirection" > <property name="layoutDirection" >
@ -633,7 +630,7 @@
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_5"> <layout class="QVBoxLayout" >
<item> <item>
<widget class="QLineEdit" name="localAddress" /> <widget class="QLineEdit" name="localAddress" />
</item> </item>
@ -643,7 +640,7 @@
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" >
<item> <item>
<widget class="QLabel" name="label_5" > <widget class="QLabel" name="label_5" >
<property name="text" > <property name="text" >
@ -661,7 +658,7 @@
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" >
<item> <item>
<widget class="QSpinBox" name="localPort" > <widget class="QSpinBox" name="localPort" >
<property name="minimum" > <property name="minimum" >
@ -693,11 +690,11 @@
</layout> </layout>
</item> </item>
<item> <item>
<spacer name="verticalSpacer"> <spacer>
<property name="orientation" > <property name="orientation" >
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" >
<size> <size>
<width>20</width> <width>20</width>
<height>47</height> <height>47</height>
@ -712,19 +709,19 @@
</widget> </widget>
<widget class="QWidget" name="tab" > <widget class="QWidget" name="tab" >
<attribute name="title" > <attribute name="title" >
<string>Trust Settings</string> <string>Trust </string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" >
<item> <item>
<widget class="QGroupBox" name="groupBox_3" > <widget class="QGroupBox" name="groupBox_3" >
<property name="title" > <property name="title" >
<string>Trust Settings</string> <string>Trust Settings</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_9"> <layout class="QVBoxLayout" >
<item> <item>
<widget class="QCheckBox" name="signBox" > <widget class="QCheckBox" name="signBox" >
<property name="toolTip" > <property name="toolTip" >
<string comment="Once signed, you cannot unsign a certificate, only deny connexions." extracomment="Once signed, you cannot unsign a certificate, only deny connexions."/> <string comment="Once signed, you cannot unsign a certificate, only deny connexions." />
</property> </property>
<property name="text" > <property name="text" >
<string>Sign this certificate</string> <string>Sign this certificate</string>
@ -741,7 +738,7 @@
<item> <item>
<widget class="QCheckBox" name="_peerTrustsMeCB" > <widget class="QCheckBox" name="_peerTrustsMeCB" >
<property name="toolTip" > <property name="toolTip" >
<string extracomment="This info is obtained through your other friends, so it is only reliable when checked."/> <string/>
</property> </property>
<property name="text" > <property name="text" >
<string>Peer has signed my certficate</string> <string>Peer has signed my certficate</string>
@ -756,7 +753,7 @@
<property name="title" > <property name="title" >
<string>Certificate signers</string> <string>Certificate signers</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" >
<item> <item>
<widget class="QTextBrowser" name="signers" /> <widget class="QTextBrowser" name="signers" />
</item> </item>
@ -775,7 +772,7 @@
<property name="orientation" > <property name="orientation" >
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" >
<size> <size>
<width>451</width> <width>451</width>
<height>131</height> <height>131</height>
@ -794,7 +791,7 @@
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" >
<size> <size>
<width>311</width> <width>311</width>
<height>20</height> <height>20</height>
@ -812,7 +809,7 @@
<item row="0" column="2" > <item row="0" column="2" >
<widget class="QPushButton" name="applyButton" > <widget class="QPushButton" name="applyButton" >
<property name="text" > <property name="text" >
<string>Apply and close</string> <string>OK</string>
</property> </property>
<property name="autoDefault" > <property name="autoDefault" >
<bool>false</bool> <bool>false</bool>