mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed/hid the certificate and ID from settings since it duplicates functionality of HomePage with different options
This commit is contained in:
parent
c3c171125d
commit
33800e9cb9
@ -93,12 +93,12 @@ HomePage::HomePage(QWidget *parent) :
|
|||||||
menu->addAction(mIncludeIPsAct);
|
menu->addAction(mIncludeIPsAct);
|
||||||
}
|
}
|
||||||
|
|
||||||
QAction *useOldFormatAct = new QAction(QIcon(), tr("Use old certificate format"),this);
|
mUseOldFormatAct = new QAction(QIcon(), tr("Use old certificate format"),this);
|
||||||
useOldFormatAct->setToolTip(tr("Displays the certificate format used up to version 0.6.5\nOld Retroshare nodes will not understand the\nnew short format"));
|
mUseOldFormatAct->setToolTip(tr("Displays the certificate format used up to version 0.6.5\nOld Retroshare nodes will not understand the\nnew short format"));
|
||||||
connect(useOldFormatAct, SIGNAL(triggered()), this, SLOT(updateOwnCert()));
|
connect(mUseOldFormatAct, SIGNAL(triggered()), this, SLOT(updateOwnCert()));
|
||||||
useOldFormatAct->setCheckable(true);
|
mUseOldFormatAct->setCheckable(true);
|
||||||
useOldFormatAct->setChecked(false);
|
mUseOldFormatAct->setChecked(false);
|
||||||
menu->addAction(useOldFormatAct);
|
menu->addAction(mUseOldFormatAct);
|
||||||
|
|
||||||
ui->shareButton->setMenu(menu);
|
ui->shareButton->setMenu(menu);
|
||||||
|
|
||||||
|
@ -61,6 +61,10 @@ CryptoPage::CryptoPage(QWidget * parent, Qt::WindowFlags flags)
|
|||||||
//connect(ui.exportprofile,SIGNAL(clicked()), this, SLOT(profilemanager()));
|
//connect(ui.exportprofile,SIGNAL(clicked()), this, SLOT(profilemanager()));
|
||||||
connect(ui.exportprofile,SIGNAL(clicked()), this, SLOT(exportProfile()));
|
connect(ui.exportprofile,SIGNAL(clicked()), this, SLOT(exportProfile()));
|
||||||
|
|
||||||
|
// Remove this because it duplicates functionality of the HomePage.
|
||||||
|
ui.retroshareId_LB->hide();
|
||||||
|
ui.retroshareId_content_LB->hide();
|
||||||
|
ui.stackPageCertificate->hide();
|
||||||
|
|
||||||
ui.onlinesince->setText(DateTime::formatLongDateTime(Rshare::startupTime()));
|
ui.onlinesince->setText(DateTime::formatLongDateTime(Rshare::startupTime()));
|
||||||
}
|
}
|
||||||
@ -104,7 +108,7 @@ void CryptoPage::showEvent ( QShowEvent * /*event*/ )
|
|||||||
|
|
||||||
std::string invite ;
|
std::string invite ;
|
||||||
rsPeers->getShortInvite(invite,rsPeers->getOwnId(),RetroshareInviteFlags::RADIX_FORMAT | RsPeers::defaultCertificateFlags);
|
rsPeers->getShortInvite(invite,rsPeers->getOwnId(),RetroshareInviteFlags::RADIX_FORMAT | RsPeers::defaultCertificateFlags);
|
||||||
ui.retroshareid->setText(QString::fromUtf8(invite.c_str()));
|
ui.retroshareId_content_LB->setText(QString::fromUtf8(invite.c_str()));
|
||||||
|
|
||||||
/* set retroshare version */
|
/* set retroshare version */
|
||||||
ui.version->setText(Rshare::retroshareVersion(true));
|
ui.version->setText(Rshare::retroshareVersion(true));
|
||||||
|
@ -7,25 +7,19 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>869</width>
|
<width>869</width>
|
||||||
<height>487</height>
|
<height>493</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_2">
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
<widget class="QStackedWidget" name="stackedWidget">
|
||||||
<property name="currentIndex">
|
<widget class="QWidget" name="stackPageNodeInfo" native="true">
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<widget class="QWidget" name="tab">
|
|
||||||
<attribute name="title">
|
|
||||||
<string>Node information</string>
|
|
||||||
</attribute>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="groupBox_1">
|
<widget class="QGroupBox" name="groupBox_1">
|
||||||
<layout class="QGridLayout" name="gridLayout_4">
|
<layout class="QGridLayout" name="gridLayout_4">
|
||||||
<item row="6" column="0">
|
<item row="6" column="0">
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="retroshareId_LB">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Retroshare ID:</string>
|
<string>Retroshare ID:</string>
|
||||||
</property>
|
</property>
|
||||||
@ -248,7 +242,7 @@
|
|||||||
<item row="14" column="1">
|
<item row="14" column="1">
|
||||||
<widget class="QPushButton" name="exportprofile">
|
<widget class="QPushButton" name="exportprofile">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string><html><head/><body><p>Use this to export your profile key. You can then import it in a different computer and make a new node with the same profile. Doing so, existing friends that you also add to the new node will automatically recognise that new node as friend.</p></body></html></string>
|
<string><html><head/><body><p>Use this button to export your profile key. You can then import it in a different computer and make a new node with the same profile. Doing so, existing friends that you also add to the new node will automatically recognise that new node as friend.</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Export</string>
|
<string>Export</string>
|
||||||
@ -474,7 +468,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="6" column="1" colspan="3">
|
<item row="6" column="1" colspan="3">
|
||||||
<widget class="QLabel" name="retroshareid">
|
<widget class="QLabel" name="retroshareId_content_LB">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<weight>75</weight>
|
<weight>75</weight>
|
||||||
@ -539,10 +533,7 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab_2">
|
<widget class="QWidget" name="stackPageCertificate" native="true">
|
||||||
<attribute name="title">
|
|
||||||
<string>Certificate</string>
|
|
||||||
</attribute>
|
|
||||||
<layout class="QGridLayout" name="gridLayout_7">
|
<layout class="QGridLayout" name="gridLayout_7">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QPlainTextEdit" name="certplainTextEdit">
|
<widget class="QPlainTextEdit" name="certplainTextEdit">
|
||||||
|
Loading…
Reference in New Issue
Block a user