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-04-13 18:40:17 -04:00
<layout class="QVBoxLayout" name="verticalLayout_6">
2013-04-13 09:12:13 -04:00
<item>
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-06-16 10:39:44 -04:00
<widget class="QLabel" name="label_3">
<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>
</widget>
</item>
</layout>
</widget>
</item>
2013-06-11 17:26:12 -04:00
<item>
2013-06-16 10:39:44 -04:00
<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>
2013-06-11 17:26:12 -04:00
</item>
2013-06-19 09:18:15 -04:00
<item>
<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>
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>
</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>