2013-04-13 09:12:13 -04:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CreateMsgLinkDialog</class>
<widget class="QDialog" name="CreateMsgLinkDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2013-06-11 17:26:12 -04:00
<width>590</width>
2013-06-19 09:18:15 -04:00
<height>427</height>
2013-04-13 09:12:13 -04:00
</rect>
</property>
<property name="windowTitle">
2013-06-16 10:39:44 -04:00
<string>Create distant chat invite</string>
2013-04-13 09:12:13 -04:00
</property>
2013-09-04 20:57:48 -04:00
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="HeaderFrame" name="headerFrame">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
</widget>
</item>
<item row="1" column="0">
2013-04-13 18:40:17 -04:00
<widget class="QFrame" name="_new_link_F">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
2013-04-13 09:12:13 -04:00
</property>
2013-04-13 18:40:17 -04:00
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
2013-09-04 20:57:48 -04:00
<widget class="QLabel" name="distantchatinfo_label">
2013-06-16 10:39:44 -04:00
<property name="text">
<string><html><head/><body><p align="justify">To create a private chat invite for a non-friend person, select his key below and a validity time for your invite, then press &quot;Create&quot;. The invite will contain the information required to open a tunnel to chat with you. </p><p align="justify">The invite is encrypted, and does not reveal your identity. Only the selected peer can decrypt the link, and use it to contact you.</p></body></html></string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
2013-04-13 09:12:13 -04:00
</property>
2013-09-04 20:57:48 -04:00
<property name="margin">
<number>2</number>
</property>
2013-04-13 09:12:13 -04:00
</widget>
</item>
</layout>
</widget>
</item>
2013-09-04 20:57:48 -04:00
<item row="2" column="0">
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
2013-06-19 09:18:15 -04:00
</property>
2013-09-04 20:57:48 -04:00
<layout class="QGridLayout" name="gridLayout">
<property name="topMargin">
<number>0</number>
</property>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Invite type:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="_link_type_CB">
<item>
<property name="text">
<string>Private chat</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Validity time :</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="_validity_time_SB">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>30</number>
</property>
<property name="value">
<number>5</number>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="_validity_time_CB">
<item>
<property name="text">
<string>hour</string>
</property>
</item>
<item>
<property name="text">
<string>day</string>
</property>
</item>
<item>
<property name="text">
<string>week</string>
</property>
</item>
<item>
<property name="text">
<string>month</string>
</property>
</item>
<item>
<property name="text">
<string>year</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QPushButton" name="_create_link_PB">
<property name="text">
<string>Create!</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="FriendSelectionWidget" name="friendSelectionWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
2013-06-19 09:18:15 -04:00
</widget>
</item>
2013-04-13 09:12:13 -04:00
</layout>
</widget>
2013-06-19 09:18:15 -04:00
<customwidgets>
<customwidget>
<class>FriendSelectionWidget</class>
<extends>QWidget</extends>
<header>gui/common/FriendSelectionWidget.h</header>
<container>1</container>
</customwidget>
2013-09-04 20:57:48 -04:00
<customwidget>
<class>HeaderFrame</class>
<extends>QFrame</extends>
2013-09-05 07:24:29 -04:00
<header>gui/common/HeaderFrame.h</header>
2013-09-04 20:57:48 -04:00
<container>1</container>
</customwidget>
2013-06-19 09:18:15 -04:00
</customwidgets>
2013-04-13 09:12:13 -04:00
<resources/>
2013-04-13 18:40:17 -04:00
<connections/>
2013-04-13 09:12:13 -04:00
</ui>