/ src / bitmessageqt / newchandialog.ui
newchandialog.ui
  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <ui version="4.0">
  3   <class>newChanDialog</class>
  4   <widget class="QDialog" name="newChanDialog">
  5    <property name="geometry">
  6     <rect>
  7      <x>0</x>
  8      <y>0</y>
  9      <width>473</width>
 10      <height>444</height>
 11     </rect>
 12    </property>
 13    <property name="sizePolicy">
 14     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
 15      <horstretch>0</horstretch>
 16      <verstretch>0</verstretch>
 17     </sizepolicy>
 18    </property>
 19    <property name="minimumSize">
 20     <size>
 21      <width>0</width>
 22      <height>0</height>
 23     </size>
 24    </property>
 25    <property name="windowTitle">
 26     <string>Create or join a chan</string>
 27    </property>
 28    <layout class="QFormLayout" name="formLayout">
 29     <item row="0" column="0">
 30      <layout class="QVBoxLayout" name="mainLayout"/>
 31     </item>
 32     <item row="0" column="1">
 33      <widget class="QLabel" name="introduction">
 34       <property name="sizePolicy">
 35        <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
 36         <horstretch>0</horstretch>
 37         <verstretch>0</verstretch>
 38        </sizepolicy>
 39       </property>
 40       <property name="text">
 41        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;A chan exists when a group of people share the same decryption keys. The keys and bitmessage address used by a chan are generated from a human-friendly word or phrase (the chan name). To send a message to everyone in the chan, send a message to the chan address.&lt;/p&gt;&lt;p&gt;Chans are experimental and completely unmoderatable.&lt;/p&gt;&lt;p&gt;Enter a name for your chan. If you choose a sufficiently complex chan name (like a strong and unique passphrase) and none of your friends share it publicly, then the chan will be secure and private. However if you and someone else both create a chan with the same chan name, the same chan will be shared.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 42       </property>
 43       <property name="wordWrap">
 44        <bool>true</bool>
 45       </property>
 46      </widget>
 47     </item>
 48     <item row="2" column="1">
 49      <layout class="QGridLayout" name="formLayout_2">
 50       <item row="0" column="1">
 51        <widget class="QLineEdit" name="chanPassPhrase"/>
 52       </item>
 53       <item row="0" column="0">
 54        <widget class="QLabel" name="chanPassPhraseLabel">
 55         <property name="text">
 56          <string>Chan passphrase/name:</string>
 57         </property>
 58        </widget>
 59       </item>
 60       <item row="1" column="1">
 61        <widget class="QLineEdit" name="chanAddress">
 62         <property name="placeholderText">
 63          <string>Optional, for advanced usage</string>
 64         </property>
 65        </widget>
 66       </item>
 67       <item row="1" column="0">
 68        <widget class="QLabel" name="chanAddressLabel">
 69         <property name="sizePolicy">
 70          <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
 71           <horstretch>0</horstretch>
 72           <verstretch>0</verstretch>
 73          </sizepolicy>
 74         </property>
 75         <property name="text">
 76          <string>Chan address</string>
 77         </property>
 78        </widget>
 79       </item>
 80      </layout>
 81     </item>
 82     <item row="4" column="1">
 83      <widget class="QDialogButtonBox" name="buttonBox">
 84       <property name="standardButtons">
 85        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
 86       </property>
 87       <property name="centerButtons">
 88        <bool>false</bool>
 89       </property>
 90      </widget>
 91     </item>
 92     <item row="1" column="1">
 93      <widget class="QLabel" name="validatorFeedback">
 94       <property name="sizePolicy">
 95        <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
 96         <horstretch>0</horstretch>
 97         <verstretch>0</verstretch>
 98        </sizepolicy>
 99       </property>
100       <property name="text">
101        <string>Please input chan name/passphrase:</string>
102       </property>
103       <property name="wordWrap">
104        <bool>true</bool>
105       </property>
106      </widget>
107     </item>
108    </layout>
109   </widget>
110   <resources/>
111   <connections>
112    <connection>
113     <sender>buttonBox</sender>
114     <signal>accepted()</signal>
115     <receiver>newChanDialog</receiver>
116     <slot>accept()</slot>
117     <hints>
118      <hint type="sourcelabel">
119       <x>240</x>
120       <y>372</y>
121      </hint>
122      <hint type="destinationlabel">
123       <x>236</x>
124       <y>221</y>
125      </hint>
126     </hints>
127    </connection>
128    <connection>
129     <sender>buttonBox</sender>
130     <signal>rejected()</signal>
131     <receiver>newChanDialog</receiver>
132     <slot>reject()</slot>
133     <hints>
134      <hint type="sourcelabel">
135       <x>240</x>
136       <y>372</y>
137      </hint>
138      <hint type="destinationlabel">
139       <x>236</x>
140       <y>221</y>
141      </hint>
142     </hints>
143    </connection>
144   </connections>
145  </ui>