|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<ui version="4.0"> |
| 3 | + <class>MnemonicVerificationDialog</class> |
| 4 | + <widget class="QDialog" name="MnemonicVerificationDialog"> |
| 5 | + <property name="windowTitle"> |
| 6 | + <string>Save Your Mnemonic</string> |
| 7 | + </property> |
| 8 | + <layout class="QVBoxLayout" name="verticalLayout"> |
| 9 | + <item> |
| 10 | + <widget class="QStackedWidget" name="stackedWidget"> |
| 11 | + <property name="currentIndex"> |
| 12 | + <number>0</number> |
| 13 | + </property> |
| 14 | + <widget class="QWidget" name="step1Page"> |
| 15 | + <layout class="QVBoxLayout" name="verticalLayout_step1"> |
| 16 | + <item> |
| 17 | + <widget class="QLabel" name="warningLabel"> |
| 18 | + <property name="text"> |
| 19 | + <string>WARNING: If you lose your mnemonic seed phrase, you will lose access to your wallet forever.</string> |
| 20 | + </property> |
| 21 | + <property name="textFormat"> |
| 22 | + <enum>Qt::RichText</enum> |
| 23 | + </property> |
| 24 | + <property name="wordWrap"> |
| 25 | + <bool>true</bool> |
| 26 | + </property> |
| 27 | + </widget> |
| 28 | + </item> |
| 29 | + <item> |
| 30 | + <widget class="QLabel" name="instructionLabel"> |
| 31 | + <property name="text"> |
| 32 | + <string>Please write down these words in order. You will need them to restore your wallet.</string> |
| 33 | + </property> |
| 34 | + <property name="wordWrap"> |
| 35 | + <bool>true</bool> |
| 36 | + </property> |
| 37 | + </widget> |
| 38 | + </item> |
| 39 | + <item> |
| 40 | + <widget class="QScrollArea" name="mnemonicScroll"> |
| 41 | + <property name="frameShape"> |
| 42 | + <enum>QFrame::NoFrame</enum> |
| 43 | + </property> |
| 44 | + <property name="widgetResizable"> |
| 45 | + <bool>true</bool> |
| 46 | + </property> |
| 47 | + <widget class="QWidget" name="mnemonicGridWidget"> |
| 48 | + <layout class="QGridLayout" name="mnemonicGridLayout"/> |
| 49 | + </widget> |
| 50 | + </widget> |
| 51 | + </item> |
| 52 | + <item> |
| 53 | + <layout class="QHBoxLayout" name="horizontalLayout_buttons"> |
| 54 | + <item> |
| 55 | + <widget class="QPushButton" name="showMnemonicButton"> |
| 56 | + <property name="text"> |
| 57 | + <string>Show</string> |
| 58 | + </property> |
| 59 | + </widget> |
| 60 | + </item> |
| 61 | + <item> |
| 62 | + <widget class="QPushButton" name="hideMnemonicButton"> |
| 63 | + <property name="text"> |
| 64 | + <string>Hide</string> |
| 65 | + </property> |
| 66 | + </widget> |
| 67 | + </item> |
| 68 | + <item> |
| 69 | + <spacer name="horizontalSpacer_1"> |
| 70 | + <property name="orientation"> |
| 71 | + <enum>Qt::Horizontal</enum> |
| 72 | + </property> |
| 73 | + <property name="sizeHint" stdset="0"> |
| 74 | + <size> |
| 75 | + <width>20</width> |
| 76 | + <height>20</height> |
| 77 | + </size> |
| 78 | + </property> |
| 79 | + </spacer> |
| 80 | + </item> |
| 81 | + <item> |
| 82 | + <widget class="QCheckBox" name="writtenDownCheckbox"> |
| 83 | + <property name="text"> |
| 84 | + <string>I have written down my mnemonic</string> |
| 85 | + </property> |
| 86 | + </widget> |
| 87 | + </item> |
| 88 | + </layout> |
| 89 | + </item> |
| 90 | + </layout> |
| 91 | + </widget> |
| 92 | + <widget class="QWidget" name="step2Page"> |
| 93 | + <layout class="QVBoxLayout" name="verticalLayout_step2"> |
| 94 | + <item> |
| 95 | + <widget class="QLabel" name="verificationLabel"> |
| 96 | + <property name="text"> |
| 97 | + <string>To verify you've saved your mnemonic, please enter the following words:</string> |
| 98 | + </property> |
| 99 | + <property name="wordWrap"> |
| 100 | + <bool>true</bool> |
| 101 | + </property> |
| 102 | + </widget> |
| 103 | + </item> |
| 104 | + <item> |
| 105 | + <layout class="QFormLayout" name="formLayout"> |
| 106 | + <item row="0" column="0"> |
| 107 | + <widget class="QLabel" name="word1Label"> |
| 108 | + <property name="text"> |
| 109 | + <string>Word #1:</string> |
| 110 | + </property> |
| 111 | + </widget> |
| 112 | + </item> |
| 113 | + <item row="0" column="1"> |
| 114 | + <layout class="QHBoxLayout" name="horizontalLayout_word1"> |
| 115 | + <item> |
| 116 | + <widget class="QLineEdit" name="word1Edit"/> |
| 117 | + </item> |
| 118 | + <item> |
| 119 | + <widget class="QLabel" name="word1Status"/> |
| 120 | + </item> |
| 121 | + </layout> |
| 122 | + </item> |
| 123 | + <item row="1" column="0"> |
| 124 | + <widget class="QLabel" name="word2Label"> |
| 125 | + <property name="text"> |
| 126 | + <string>Word #2:</string> |
| 127 | + </property> |
| 128 | + </widget> |
| 129 | + </item> |
| 130 | + <item row="1" column="1"> |
| 131 | + <layout class="QHBoxLayout" name="horizontalLayout_word2"> |
| 132 | + <item> |
| 133 | + <widget class="QLineEdit" name="word2Edit"/> |
| 134 | + </item> |
| 135 | + <item> |
| 136 | + <widget class="QLabel" name="word2Status"/> |
| 137 | + </item> |
| 138 | + </layout> |
| 139 | + </item> |
| 140 | + <item row="2" column="0"> |
| 141 | + <widget class="QLabel" name="word3Label"> |
| 142 | + <property name="text"> |
| 143 | + <string>Word #3:</string> |
| 144 | + </property> |
| 145 | + </widget> |
| 146 | + </item> |
| 147 | + <item row="2" column="1"> |
| 148 | + <layout class="QHBoxLayout" name="horizontalLayout_word3"> |
| 149 | + <item> |
| 150 | + <widget class="QLineEdit" name="word3Edit"/> |
| 151 | + </item> |
| 152 | + <item> |
| 153 | + <widget class="QLabel" name="word3Status"/> |
| 154 | + </item> |
| 155 | + </layout> |
| 156 | + </item> |
| 157 | + </layout> |
| 158 | + </item> |
| 159 | + <item> |
| 160 | + <layout class="QHBoxLayout" name="horizontalLayout_actions"> |
| 161 | + <item> |
| 162 | + <widget class="QPushButton" name="showMnemonicAgainButton"> |
| 163 | + <property name="text"> |
| 164 | + <string>Back</string> |
| 165 | + </property> |
| 166 | + </widget> |
| 167 | + </item> |
| 168 | + <item> |
| 169 | + <spacer name="horizontalSpacer_2"> |
| 170 | + <property name="orientation"> |
| 171 | + <enum>Qt::Horizontal</enum> |
| 172 | + </property> |
| 173 | + </spacer> |
| 174 | + </item> |
| 175 | + </layout> |
| 176 | + </item> |
| 177 | + </layout> |
| 178 | + </widget> |
| 179 | + </widget> |
| 180 | + </item> |
| 181 | + <item> |
| 182 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 183 | + <property name="standardButtons"> |
| 184 | + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 185 | + </property> |
| 186 | + </widget> |
| 187 | + </item> |
| 188 | + </layout> |
| 189 | + </widget> |
| 190 | + <resources/> |
| 191 | + <connections> |
| 192 | + <connection> |
| 193 | + <sender>buttonBox</sender> |
| 194 | + <signal>accepted()</signal> |
| 195 | + <receiver>MnemonicVerificationDialog</receiver> |
| 196 | + <slot>accept()</slot> |
| 197 | + </connection> |
| 198 | + <connection> |
| 199 | + <sender>buttonBox</sender> |
| 200 | + <signal>rejected()</signal> |
| 201 | + <receiver>MnemonicVerificationDialog</receiver> |
| 202 | + <slot>reject()</slot> |
| 203 | + </connection> |
| 204 | + </connections> |
| 205 | +</ui> |
| 206 | + |
0 commit comments