mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
a735928749
Changes: - Invitation text contains only certificate information; - buttons for saving/opening pqi-files become more noticeable; In our pogram this mechanism works fine, and there are no bugs with it. It ill be good to stimulate users to invite friends with this way. - removed "Email" button from invite dialog. There are other ways for transferring a piece of text: icq, irc, forums... Also, this button worked only on Windows, and, some people use web-based mail, not standard clients. I tried to make the dialog as simple, as possibe, so I removed unnessessary buttons git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1085 b45a01b8-16f6-495d-af2f-9b41ad6348cc
520 lines
15 KiB
XML
520 lines
15 KiB
XML
<ui version="4.0" >
|
|
<class>InviteDialog</class>
|
|
<widget class="QDialog" name="InviteDialog" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>577</width>
|
|
<height>273</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Invite a Friend</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="invitefriendLabel" >
|
|
<property name="maximumSize" >
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>93</height>
|
|
</size>
|
|
</property>
|
|
<property name="palette" >
|
|
<palette>
|
|
<active>
|
|
<colorrole role="WindowText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Button" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Light" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Midlight" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>241</red>
|
|
<green>239</green>
|
|
<blue>226</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Dark" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>140</red>
|
|
<green>140</green>
|
|
<blue>140</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Mid" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>163</red>
|
|
<green>163</green>
|
|
<blue>163</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Text" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ButtonText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Shadow" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>106</red>
|
|
<green>106</green>
|
|
<blue>106</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Highlight" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>197</red>
|
|
<green>231</green>
|
|
<blue>246</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="HighlightedText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="AlternateBase" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>232</red>
|
|
<green>232</green>
|
|
<blue>232</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="WindowText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Button" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Light" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Midlight" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>241</red>
|
|
<green>239</green>
|
|
<blue>226</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Dark" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>140</red>
|
|
<green>140</green>
|
|
<blue>140</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Mid" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>163</red>
|
|
<green>163</green>
|
|
<blue>163</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Text" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ButtonText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Shadow" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>106</red>
|
|
<green>106</green>
|
|
<blue>106</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Highlight" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="HighlightedText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="AlternateBase" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>232</red>
|
|
<green>232</green>
|
|
<blue>232</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="WindowText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>122</red>
|
|
<green>122</green>
|
|
<blue>122</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Button" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Light" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Midlight" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Dark" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>140</red>
|
|
<green>140</green>
|
|
<blue>140</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Mid" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>163</red>
|
|
<green>163</green>
|
|
<blue>163</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Text" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>122</red>
|
|
<green>122</green>
|
|
<blue>122</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="ButtonText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>122</red>
|
|
<green>122</green>
|
|
<blue>122</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>244</red>
|
|
<green>244</green>
|
|
<blue>244</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Shadow" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Highlight" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>197</red>
|
|
<green>231</green>
|
|
<blue>246</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="HighlightedText" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="AlternateBase" >
|
|
<brush brushstyle="SolidPattern" >
|
|
<color alpha="255" >
|
|
<red>232</red>
|
|
<green>232</green>
|
|
<blue>232</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="styleSheet" >
|
|
<string notr="true" >background-image: url(:/images/invitefriendlabel.png);</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:8pt;"><span style=" font-size:16pt; font-weight:600; color:#32cd32;">Invite a Friend</span><br /><span style=" font-size:10pt;">To invite your friends to your retsoshare network you have to provide them your key. Just send them the text below</span></p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial';"></p></body></html></string>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="wordWrap" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="indent" >
|
|
<number>100</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTextEdit" name="emailText" >
|
|
<property name="font" >
|
|
<font>
|
|
<family>Courier New</family>
|
|
<pointsize>10</pointsize>
|
|
<kerning>false</kerning>
|
|
</font>
|
|
</property>
|
|
<property name="readOnly" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="html" >
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Courier New'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:8pt;"></p></body></html></string>
|
|
</property>
|
|
<property name="acceptRichText" >
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="fileSelectLabel" >
|
|
<property name="text" >
|
|
<string>Alternatively, you can save the certificate information to a file. Please, press button to do this.</string>
|
|
</property>
|
|
<property name="wordWrap" >
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="sCertButton" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="MinimumExpanding" hsizetype="Fixed" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Save Cert To File</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>emailText</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|