intro.ui raw

   1  <?xml version="1.0" encoding="UTF-8"?>
   2  <ui version="4.0">
   3   <class>Intro</class>
   4   <widget class="QDialog" name="Intro">
   5    <property name="geometry">
   6     <rect>
   7      <x>0</x>
   8      <y>0</y>
   9      <width>674</width>
  10      <height>447</height>
  11     </rect>
  12    </property>
  13    <property name="windowTitle">
  14     <string>Welcome</string>
  15    </property>
  16    <layout class="QVBoxLayout" name="verticalLayout">
  17     <item>
  18      <widget class="QLabel" name="welcomeLabel">
  19       <property name="styleSheet">
  20        <string notr="true">QLabel { font-style:italic; }</string>
  21       </property>
  22       <property name="text">
  23        <string>Welcome to %1.</string>
  24       </property>
  25       <property name="wordWrap">
  26        <bool>true</bool>
  27       </property>
  28      </widget>
  29     </item>
  30     <item>
  31      <spacer name="verticalSpacer_4">
  32       <property name="orientation">
  33        <enum>Qt::Vertical</enum>
  34       </property>
  35       <property name="sizeType">
  36        <enum>QSizePolicy::Minimum</enum>
  37       </property>
  38       <property name="sizeHint" stdset="0">
  39        <size>
  40         <width>20</width>
  41         <height>15</height>
  42        </size>
  43       </property>
  44      </spacer>
  45     </item>
  46     <item>
  47      <widget class="QLabel" name="storageLabel">
  48       <property name="text">
  49        <string>As this is the first time the program is launched, you can choose where %1 will store its data.</string>
  50       </property>
  51       <property name="wordWrap">
  52        <bool>true</bool>
  53       </property>
  54      </widget>
  55     </item>
  56     <item>
  57      <widget class="QLabel" name="sizeWarningLabel">
  58       <property name="wordWrap">
  59        <bool>true</bool>
  60       </property>
  61      </widget>
  62     </item>
  63     <item>
  64      <widget class="QRadioButton" name="dataDirDefault">
  65       <property name="text">
  66        <string>Use the default data directory</string>
  67       </property>
  68      </widget>
  69     </item>
  70     <item>
  71      <widget class="QRadioButton" name="dataDirCustom">
  72       <property name="text">
  73        <string>Use a custom data directory:</string>
  74       </property>
  75      </widget>
  76     </item>
  77     <item>
  78      <layout class="QHBoxLayout" name="horizontalLayout">
  79       <property name="spacing">
  80        <number>0</number>
  81       </property>
  82       <property name="sizeConstraint">
  83        <enum>QLayout::SetDefaultConstraint</enum>
  84       </property>
  85       <item>
  86        <spacer name="horizontalSpacer">
  87         <property name="orientation">
  88          <enum>Qt::Horizontal</enum>
  89         </property>
  90         <property name="sizeType">
  91          <enum>QSizePolicy::Fixed</enum>
  92         </property>
  93         <property name="sizeHint" stdset="0">
  94          <size>
  95           <width>60</width>
  96           <height>20</height>
  97          </size>
  98         </property>
  99        </spacer>
 100       </item>
 101       <item>
 102        <layout class="QVBoxLayout" name="verticalLayout_2">
 103         <property name="sizeConstraint">
 104          <enum>QLayout::SetDefaultConstraint</enum>
 105         </property>
 106         <item>
 107          <layout class="QHBoxLayout" name="horizontalLayout_2">
 108           <item>
 109            <widget class="QLineEdit" name="dataDirectory"/>
 110           </item>
 111           <item>
 112            <widget class="QPushButton" name="ellipsisButton">
 113             <property name="sizePolicy">
 114              <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
 115               <horstretch>0</horstretch>
 116               <verstretch>0</verstretch>
 117              </sizepolicy>
 118             </property>
 119             <property name="maximumSize">
 120              <size>
 121               <width>30</width>
 122               <height>16777215</height>
 123              </size>
 124             </property>
 125             <property name="text">
 126              <string notr="true">…</string>
 127             </property>
 128             <property name="autoDefault">
 129              <bool>false</bool>
 130             </property>
 131            </widget>
 132           </item>
 133          </layout>
 134         </item>
 135         <item>
 136          <spacer name="verticalSpacer_3">
 137           <property name="orientation">
 138            <enum>Qt::Vertical</enum>
 139           </property>
 140           <property name="sizeType">
 141            <enum>QSizePolicy::Fixed</enum>
 142           </property>
 143           <property name="sizeHint" stdset="0">
 144            <size>
 145             <width>20</width>
 146             <height>5</height>
 147            </size>
 148           </property>
 149          </spacer>
 150         </item>
 151         <item>
 152          <widget class="QLabel" name="freeSpace">
 153           <property name="sizePolicy">
 154            <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
 155             <horstretch>1</horstretch>
 156             <verstretch>0</verstretch>
 157            </sizepolicy>
 158           </property>
 159           <property name="text">
 160            <string/>
 161           </property>
 162           <property name="wordWrap">
 163            <bool>true</bool>
 164           </property>
 165          </widget>
 166         </item>
 167         <item>
 168          <spacer name="verticalSpacer_2">
 169           <property name="orientation">
 170            <enum>Qt::Vertical</enum>
 171           </property>
 172           <property name="sizeType">
 173            <enum>QSizePolicy::Fixed</enum>
 174           </property>
 175           <property name="sizeHint" stdset="0">
 176            <size>
 177             <width>20</width>
 178             <height>5</height>
 179            </size>
 180           </property>
 181          </spacer>
 182         </item>
 183         <item>
 184          <widget class="QLabel" name="errorMessage">
 185           <property name="sizePolicy">
 186            <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
 187             <horstretch>0</horstretch>
 188             <verstretch>0</verstretch>
 189            </sizepolicy>
 190           </property>
 191           <property name="textFormat">
 192            <enum>Qt::RichText</enum>
 193           </property>
 194           <property name="wordWrap">
 195            <bool>true</bool>
 196           </property>
 197          </widget>
 198         </item>
 199        </layout>
 200       </item>
 201      </layout>
 202     </item>
 203     <item>
 204      <widget class="QLabel" name="lblExplanation1">
 205       <property name="text">
 206        <string>When you click OK, %1 will begin to download and process the full %4 block chain (%2 GB) starting with the earliest transactions in %3 when %4 initially launched.</string>
 207       </property>
 208       <property name="wordWrap">
 209        <bool>true</bool>
 210       </property>
 211      </widget>
 212     </item>
 213     <item>
 214      <widget class="QLabel" name="lblExplanation2">
 215       <property name="text">
 216        <string>This initial synchronisation is very demanding, and may expose hardware problems with your computer that had previously gone unnoticed. Each time you run %1, it will continue downloading where it left off.</string>
 217       </property>
 218       <property name="wordWrap">
 219        <bool>true</bool>
 220       </property>
 221      </widget>
 222     </item>
 223     <item>
 224      <widget class="QLabel" name="lblExplanation3">
 225       <property name="text">
 226        <string>If you have chosen to limit block chain storage (pruning), the historical data must still be downloaded and processed, but will be deleted afterward to keep your disk usage low.</string>
 227       </property>
 228       <property name="wordWrap">
 229        <bool>true</bool>
 230       </property>
 231      </widget>
 232     </item>
 233     <item>
 234      <layout class="QHBoxLayout" name="pruneOptLayout">
 235       <item>
 236        <widget class="QCheckBox" name="prune">
 237         <property name="text">
 238          <string>Limit block chain storage to</string>
 239         </property>
 240         <property name="toolTip">
 241          <string>Reverting this setting requires re-downloading the entire blockchain. It is faster to download the full chain first and prune it later. Disables some advanced features.</string>
 242         </property>
 243        </widget>
 244       </item>
 245       <item>
 246        <widget class="QSpinBox" name="pruneGB">
 247         <property name="suffix">
 248          <string> GB</string>
 249         </property>
 250        </widget>
 251       </item>
 252       <item>
 253        <widget class="QLabel" name="lblPruneSuffix">
 254         <property name="buddy">
 255          <cstring>pruneGB</cstring>
 256         </property>
 257        </widget>
 258       </item>
 259       <item>
 260        <spacer name="horizontalSpacer_2">
 261         <property name="orientation">
 262          <enum>Qt::Horizontal</enum>
 263         </property>
 264         <property name="sizeHint" stdset="0">
 265          <size>
 266           <width>40</width>
 267           <height>20</height>
 268          </size>
 269         </property>
 270        </spacer>
 271       </item>
 272      </layout>
 273     </item>
 274     <item>
 275      <spacer name="verticalSpacer">
 276       <property name="orientation">
 277        <enum>Qt::Vertical</enum>
 278       </property>
 279       <property name="sizeHint" stdset="0">
 280        <size>
 281         <width>20</width>
 282         <height>40</height>
 283        </size>
 284       </property>
 285      </spacer>
 286     </item>
 287     <item>
 288      <widget class="QDialogButtonBox" name="buttonBox">
 289       <property name="orientation">
 290        <enum>Qt::Horizontal</enum>
 291       </property>
 292       <property name="standardButtons">
 293        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
 294       </property>
 295      </widget>
 296     </item>
 297    </layout>
 298   </widget>
 299   <resources/>
 300   <connections>
 301    <connection>
 302     <sender>buttonBox</sender>
 303     <signal>accepted()</signal>
 304     <receiver>Intro</receiver>
 305     <slot>accept()</slot>
 306     <hints>
 307      <hint type="sourcelabel">
 308       <x>20</x>
 309       <y>20</y>
 310      </hint>
 311      <hint type="destinationlabel">
 312       <x>20</x>
 313       <y>20</y>
 314      </hint>
 315     </hints>
 316    </connection>
 317    <connection>
 318     <sender>buttonBox</sender>
 319     <signal>rejected()</signal>
 320     <receiver>Intro</receiver>
 321     <slot>reject()</slot>
 322     <hints>
 323      <hint type="sourcelabel">
 324       <x>20</x>
 325       <y>20</y>
 326      </hint>
 327      <hint type="destinationlabel">
 328       <x>20</x>
 329       <y>20</y>
 330      </hint>
 331     </hints>
 332    </connection>
 333   </connections>
 334  </ui>
 335