mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
22a0f89751
Added new base class DropLineEdit. Fixed german language. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5181 b45a01b8-16f6-495d-af2f-9b41ad6348cc
636 lines
20 KiB
XML
636 lines
20 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ConnectFriendWizard</class>
|
|
<widget class="QWizard" name="ConnectFriendWizard">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>454</width>
|
|
<height>370</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Connect Friend Wizard</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
|
|
</property>
|
|
<widget class="ConnectFriendPage" name="IntroPage">
|
|
<property name="title">
|
|
<string>Add a new Friend</string>
|
|
</property>
|
|
<property name="subTitle">
|
|
<string>This wizard will help you to connect to your friend(s) to RetroShare network.<br>These ways are possible to do this:</string>
|
|
</property>
|
|
<attribute name="pageId">
|
|
<string notr="true">ConnectFriendWizard::Page_Intro</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QRadioButton" name="textRadioButton">
|
|
<property name="text">
|
|
<string>&Enter the certificate manually</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="certRadioButton">
|
|
<property name="text">
|
|
<string>&You get a certificate file from your friend</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="foffRadioButton">
|
|
<property name="text">
|
|
<string>&Make friend with selected friends of my friends</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="rsidRadioButton">
|
|
<property name="text">
|
|
<string>&Enter RetroShare ID manually</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="emailRadioButton">
|
|
<property name="text">
|
|
<string>&Send a Invitation by Email
|
|
(She/He receives a email with instructions howto to download RetroShare)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="ConnectFriendPage" name="TextPage">
|
|
<property name="title">
|
|
<string>Text certificate</string>
|
|
</property>
|
|
<property name="subTitle">
|
|
<string>Use text representation of the PGP certificates.</string>
|
|
</property>
|
|
<attribute name="pageId">
|
|
<string notr="true">ConnectFriendWizard::Page_Text</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="userCertLabel">
|
|
<property name="text">
|
|
<string>The text below is your PGP certificate. You have to provide it to your friend</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="userCertEdit">
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier New</family>
|
|
</font>
|
|
</property>
|
|
<property name="lineWrapMode">
|
|
<enum>QPlainTextEdit::NoWrap</enum>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QPushButton" name="userCertHelpButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>20</horstretch>
|
|
<verstretch>20</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/info16.png</normaloff>:/images/info16.png</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="userCertIncludeSignaturesButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>20</horstretch>
|
|
<verstretch>20</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Include signatures</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/gpgp_key_generate.png</normaloff>:/images/gpgp_key_generate.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="userCertCopyButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>20</horstretch>
|
|
<verstretch>20</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Copy your Cert to Clipboard</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/copyrslink.png</normaloff>:/images/copyrslink.png</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="userCertSaveButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>20</horstretch>
|
|
<verstretch>20</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Save your Cert into a File</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/document_save.png</normaloff>:/images/document_save.png</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="userCertMailButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>20</horstretch>
|
|
<verstretch>20</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Run Email program</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/mail_send.png</normaloff>:/images/mail_send.png</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="friendCertLabel">
|
|
<property name="text">
|
|
<string>Please, paste your friends PGP certificate into the box below</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="friendCertEdit">
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier New</family>
|
|
</font>
|
|
</property>
|
|
<property name="lineWrapMode">
|
|
<enum>QPlainTextEdit::NoWrap</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QPushButton" name="friendCertCleanButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>20</horstretch>
|
|
<verstretch>20</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Clean certificate</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/accepted16.png</normaloff>:/images/accepted16.png</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="ConnectFriendPage" name="CertificatePage">
|
|
<property name="title">
|
|
<string>Certificate files</string>
|
|
</property>
|
|
<property name="subTitle">
|
|
<string>Use PGP certificates saved in files.</string>
|
|
</property>
|
|
<attribute name="pageId">
|
|
<string notr="true">ConnectFriendWizard::Page_Cert</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<widget class="QGroupBox" name="userFileFrame">
|
|
<property name="title">
|
|
<string>Import friend's certificate...</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QLabel" name="userFileLabel">
|
|
<property name="text">
|
|
<string>You have to generate a file with your certificate and give it to your friend. Also, you can use a file generated before.</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="userFileCreateButton">
|
|
<property name="text">
|
|
<string>Export my certificate...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="friendFileLabel">
|
|
<property name="text">
|
|
<string>Drag and Drop your friends's certificate in this Window or specify path in the box below</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="DropLineEdit" name="friendFileNameEdit"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="friendFileNameOpenButton">
|
|
<property name="text">
|
|
<string>Browse</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="ConnectFriendPage" name="FofPage">
|
|
<property name="title">
|
|
<string>Friends of friends</string>
|
|
</property>
|
|
<property name="subTitle">
|
|
<string>Select now who you want to make friends with.</string>
|
|
</property>
|
|
<attribute name="pageId">
|
|
<string notr="true">ConnectFriendWizard::Page_Foff</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_11">
|
|
<item>
|
|
<widget class="QLabel" name="userFileLabel_2">
|
|
<property name="text">
|
|
<string>Show me:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="userSelectionCB"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableWidget" name="selectedPeersTW">
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="columnCount">
|
|
<number>4</number>
|
|
</property>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column/>
|
|
<column/>
|
|
<column/>
|
|
<column/>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="makeFriendButton">
|
|
<property name="text">
|
|
<string>Make friend with these peers</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="ConnectFriendPage" name="RsidPage">
|
|
<property name="title">
|
|
<string>RetroShare ID</string>
|
|
</property>
|
|
<property name="subTitle">
|
|
<string>Use RetroShare ID for adding a Friend which is available in your network.</string>
|
|
</property>
|
|
<attribute name="pageId">
|
|
<string notr="true">ConnectFriendWizard::Page_Rsid</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
<item>
|
|
<widget class="QGroupBox" name="userRsidFrame">
|
|
<property name="title">
|
|
<string>Add Friends RetroShare ID...</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_8"/>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="friendRsidLabel">
|
|
<property name="text">
|
|
<string>Paste Friends RetroShare ID in the box below</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="friendRsidEdit">
|
|
<property name="whatsThis">
|
|
<string>Enter the RetroShare ID of your Friend, e.g. Peer@BDE8D16A46D938CF</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="ConnectFriendPage" name="EmailPage">
|
|
<property name="title">
|
|
<string>Invite Friends by Email</string>
|
|
</property>
|
|
<property name="subTitle">
|
|
<string>Enter your friends' email addresses (seperate each on with a semicolon)</string>
|
|
</property>
|
|
<attribute name="pageId">
|
|
<string notr="true">ConnectFriendWizard::Page_Email</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_9">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="QLabel" name="addressLabel">
|
|
<property name="text">
|
|
<string>Your friends' email addresses:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="addressEdit">
|
|
<property name="whatsThis">
|
|
<string>Enter Friends Email addresses</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QLabel" name="subjectLabel">
|
|
<property name="text">
|
|
<string>Subject:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="subjectEdit"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="inviteTextEdit">
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="ConnectFriendPage" name="ErrorMessagePage">
|
|
<property name="title">
|
|
<string>Sorry, some error appeared</string>
|
|
</property>
|
|
<property name="subTitle">
|
|
<string>Here is the error message:</string>
|
|
</property>
|
|
<attribute name="pageId">
|
|
<string notr="true">ConnectFriendWizard::Page_ErrorMessage</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
<item>
|
|
<widget class="QLabel" name="messageLabel">
|
|
<property name="text">
|
|
<string notr="true">error text</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="ConnectFriendPage" name="ConclusionPage">
|
|
<property name="title">
|
|
<string>Make Friend</string>
|
|
</property>
|
|
<property name="subTitle">
|
|
<string>Details about your friend:</string>
|
|
</property>
|
|
<attribute name="pageId">
|
|
<string notr="true">ConnectFriendWizard::Page_Conclusion</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_10">
|
|
<item>
|
|
<widget class="QGroupBox" name="peerDetailsFrame">
|
|
<property name="title">
|
|
<string>Peer details</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="fieldGrowthPolicy">
|
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="trustLabel">
|
|
<property name="text">
|
|
<string>Key validity:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLabel" name="trustEdit">
|
|
<property name="text">
|
|
<string notr="true">Trust level</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="nameLabel">
|
|
<property name="text">
|
|
<string>Name:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="nameEdit">
|
|
<property name="text">
|
|
<string notr="true">Name</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="emailLabel">
|
|
<property name="text">
|
|
<string>Email:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLabel" name="emailEdit">
|
|
<property name="text">
|
|
<string notr="true">Email</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="locationLabel">
|
|
<property name="text">
|
|
<string>Location:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QLabel" name="locationEdit">
|
|
<property name="text">
|
|
<string notr="true">Location</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="signersLabel">
|
|
<property name="text">
|
|
<string>Signers</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QPlainTextEdit" name="signersEdit">
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0" colspan="2">
|
|
<widget class="QLabel" name="alreadyRegisteredLabel">
|
|
<property name="text">
|
|
<string>It seems your friend is already registered. Adding it might just set it's ip address.</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="optionsFrame">
|
|
<property name="title">
|
|
<string>Options</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="groupLabel">
|
|
<property name="text">
|
|
<string>Add friend to group:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="groupComboBox"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QCheckBox" name="signGPGCheckBox">
|
|
<property name="text">
|
|
<string>Authenticate friend (Sign GPG Key)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QCheckBox" name="acceptNoSignGPGCheckBox">
|
|
<property name="text">
|
|
<string>Add as friend to connect with</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>DropLineEdit</class>
|
|
<extends>QLineEdit</extends>
|
|
<header>gui/common/DropLineEdit.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>ConnectFriendPage</class>
|
|
<extends>QWizardPage</extends>
|
|
<header>gui/connect/ConnectFriendWizard.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../images.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|