|
16 | 16 | <property name="autoFillBackground">
|
17 | 17 | <bool>false</bool>
|
18 | 18 | </property>
|
19 |
| - <property name="currentIndex"> |
20 |
| - <number>0</number> |
21 |
| - </property> |
22 | 19 | <widget class="QFrame" name="SendCoins">
|
23 | 20 | <property name="toolTip">
|
24 | 21 | <string>This is a normal payment.</string>
|
|
33 | 30 | <property name="spacing">
|
34 | 31 | <number>12</number>
|
35 | 32 | </property>
|
36 |
| - <item row="5" column="0"> |
37 |
| - <widget class="QLabel" name="amountLabel"> |
38 |
| - <property name="text"> |
39 |
| - <string>A&mount:</string> |
40 |
| - </property> |
41 |
| - <property name="alignment"> |
42 |
| - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
43 |
| - </property> |
44 |
| - <property name="buddy"> |
45 |
| - <cstring>payAmount</cstring> |
46 |
| - </property> |
47 |
| - </widget> |
48 |
| - </item> |
49 |
| - <item row="3" column="0"> |
| 33 | + <item row="0" column="0"> |
50 | 34 | <widget class="QLabel" name="payToLabel">
|
51 | 35 | <property name="text">
|
52 | 36 | <string>Pay &To:</string>
|
|
59 | 43 | </property>
|
60 | 44 | </widget>
|
61 | 45 | </item>
|
62 |
| - <item row="5" column="1"> |
63 |
| - <widget class="BitcoinAmountField" name="payAmount"/> |
64 |
| - </item> |
65 |
| - <item row="4" column="0"> |
66 |
| - <widget class="QLabel" name="labellLabel"> |
67 |
| - <property name="text"> |
68 |
| - <string>&Label:</string> |
69 |
| - </property> |
70 |
| - <property name="alignment"> |
71 |
| - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
72 |
| - </property> |
73 |
| - <property name="buddy"> |
74 |
| - <cstring>addAsLabel</cstring> |
75 |
| - </property> |
76 |
| - </widget> |
77 |
| - </item> |
78 |
| - <item row="3" column="1"> |
| 46 | + <item row="0" column="1"> |
79 | 47 | <layout class="QHBoxLayout" name="payToLayout">
|
80 | 48 | <property name="spacing">
|
81 | 49 | <number>0</number>
|
|
85 | 53 | <property name="toolTip">
|
86 | 54 | <string>The address to send the payment to (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</string>
|
87 | 55 | </property>
|
88 |
| - <property name="maxLength"> |
89 |
| - <number>34</number> |
90 |
| - </property> |
91 | 56 | </widget>
|
92 | 57 | </item>
|
93 | 58 | <item>
|
|
127 | 92 | <item>
|
128 | 93 | <widget class="QToolButton" name="deleteButton">
|
129 | 94 | <property name="toolTip">
|
130 |
| - <string>Remove this recipient</string> |
| 95 | + <string>Remove this entry</string> |
131 | 96 | </property>
|
132 | 97 | <property name="text">
|
133 | 98 | <string/>
|
|
140 | 105 | </item>
|
141 | 106 | </layout>
|
142 | 107 | </item>
|
143 |
| - <item row="4" column="1"> |
| 108 | + <item row="1" column="0"> |
| 109 | + <widget class="QLabel" name="labellLabel"> |
| 110 | + <property name="text"> |
| 111 | + <string>&Label:</string> |
| 112 | + </property> |
| 113 | + <property name="alignment"> |
| 114 | + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 115 | + </property> |
| 116 | + <property name="buddy"> |
| 117 | + <cstring>addAsLabel</cstring> |
| 118 | + </property> |
| 119 | + </widget> |
| 120 | + </item> |
| 121 | + <item row="1" column="1"> |
144 | 122 | <widget class="QLineEdit" name="addAsLabel">
|
145 | 123 | <property name="toolTip">
|
146 | 124 | <string>Enter a label for this address to add it to the list of used addresses</string>
|
147 | 125 | </property>
|
148 | 126 | </widget>
|
149 | 127 | </item>
|
| 128 | + <item row="2" column="0"> |
| 129 | + <widget class="QLabel" name="amountLabel"> |
| 130 | + <property name="text"> |
| 131 | + <string>A&mount:</string> |
| 132 | + </property> |
| 133 | + <property name="alignment"> |
| 134 | + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 135 | + </property> |
| 136 | + <property name="buddy"> |
| 137 | + <cstring>payAmount</cstring> |
| 138 | + </property> |
| 139 | + </widget> |
| 140 | + </item> |
| 141 | + <item row="2" column="1"> |
| 142 | + <widget class="BitcoinAmountField" name="payAmount"/> |
| 143 | + </item> |
150 | 144 | </layout>
|
151 | 145 | </widget>
|
152 | 146 | <widget class="QFrame" name="SendCoins_InsecurePaymentRequest">
|
|
581 | 575 | <property name="spacing">
|
582 | 576 | <number>12</number>
|
583 | 577 | </property>
|
584 |
| - <item row="4" column="0"> |
585 |
| - <widget class="QLabel" name="memoLabel_is"> |
| 578 | + <item row="0" column="0"> |
| 579 | + <widget class="QLabel" name="payToLabel_is"> |
586 | 580 | <property name="text">
|
587 |
| - <string>Memo:</string> |
| 581 | + <string>Pay To:</string> |
588 | 582 | </property>
|
589 | 583 | <property name="alignment">
|
590 | 584 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
591 | 585 | </property>
|
592 | 586 | </widget>
|
593 | 587 | </item>
|
594 |
| - <item row="5" column="0"> |
595 |
| - <widget class="QLabel" name="amountLabel_is"> |
| 588 | + <item row="0" column="1"> |
| 589 | + <layout class="QHBoxLayout" name="payToLayout_is"> |
| 590 | + <property name="spacing"> |
| 591 | + <number>0</number> |
| 592 | + </property> |
| 593 | + <item> |
| 594 | + <widget class="QLabel" name="payTo_is"/> |
| 595 | + </item> |
| 596 | + <item> |
| 597 | + <widget class="QToolButton" name="deleteButton_is"> |
| 598 | + <property name="toolTip"> |
| 599 | + <string>Remove this entry</string> |
| 600 | + </property> |
| 601 | + <property name="text"> |
| 602 | + <string/> |
| 603 | + </property> |
| 604 | + <property name="icon"> |
| 605 | + <iconset resource="../bitcoin.qrc"> |
| 606 | + <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> |
| 607 | + </property> |
| 608 | + </widget> |
| 609 | + </item> |
| 610 | + </layout> |
| 611 | + </item> |
| 612 | + <item row="1" column="0"> |
| 613 | + <widget class="QLabel" name="memoLabel_is"> |
596 | 614 | <property name="text">
|
597 |
| - <string>Amount:</string> |
| 615 | + <string>Memo:</string> |
598 | 616 | </property>
|
599 | 617 | <property name="alignment">
|
600 | 618 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
601 | 619 | </property>
|
602 | 620 | </widget>
|
603 | 621 | </item>
|
604 |
| - <item row="3" column="0"> |
605 |
| - <widget class="QLabel" name="payToLabel_is"> |
| 622 | + <item row="1" column="1"> |
| 623 | + <widget class="QLabel" name="memoTextLabel_is"> |
| 624 | + <property name="textFormat"> |
| 625 | + <enum>Qt::PlainText</enum> |
| 626 | + </property> |
| 627 | + </widget> |
| 628 | + </item> |
| 629 | + <item row="2" column="0"> |
| 630 | + <widget class="QLabel" name="amountLabel_is"> |
606 | 631 | <property name="text">
|
607 |
| - <string>Pay To:</string> |
| 632 | + <string>A&mount:</string> |
608 | 633 | </property>
|
609 | 634 | <property name="alignment">
|
610 | 635 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
611 | 636 | </property>
|
| 637 | + <property name="buddy"> |
| 638 | + <cstring>payAmount_is</cstring> |
| 639 | + </property> |
612 | 640 | </widget>
|
613 | 641 | </item>
|
614 |
| - <item row="5" column="2"> |
| 642 | + <item row="2" column="1"> |
615 | 643 | <widget class="BitcoinAmountField" name="payAmount_is">
|
616 | 644 | <property name="acceptDrops">
|
617 | 645 | <bool>false</bool>
|
618 | 646 | </property>
|
619 | 647 | </widget>
|
620 | 648 | </item>
|
621 |
| - <item row="3" column="2"> |
622 |
| - <layout class="QHBoxLayout" name="payToLayout_is"> |
623 |
| - <property name="spacing"> |
624 |
| - <number>0</number> |
625 |
| - </property> |
626 |
| - <item> |
627 |
| - <widget class="QLabel" name="payTo_is"/> |
628 |
| - </item> |
629 |
| - </layout> |
630 |
| - </item> |
631 |
| - <item row="4" column="2"> |
632 |
| - <widget class="QLabel" name="memoTextLabel_is"> |
633 |
| - <property name="textFormat"> |
634 |
| - <enum>Qt::PlainText</enum> |
635 |
| - </property> |
636 |
| - </widget> |
637 |
| - </item> |
638 | 649 | </layout>
|
639 | 650 | </widget>
|
640 | 651 | <widget class="QFrame" name="SendCoins_SecurePaymentRequest">
|
|
1096 | 1107 | <property name="spacing">
|
1097 | 1108 | <number>12</number>
|
1098 | 1109 | </property>
|
1099 |
| - <item row="4" column="0"> |
1100 |
| - <widget class="QLabel" name="memoLabel_s"> |
1101 |
| - <property name="text"> |
1102 |
| - <string>Memo:</string> |
1103 |
| - </property> |
1104 |
| - <property name="alignment"> |
1105 |
| - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
1106 |
| - </property> |
1107 |
| - </widget> |
1108 |
| - </item> |
1109 |
| - <item row="5" column="0"> |
1110 |
| - <widget class="QLabel" name="amountLabel_s"> |
1111 |
| - <property name="text"> |
1112 |
| - <string>Amount:</string> |
1113 |
| - </property> |
1114 |
| - <property name="alignment"> |
1115 |
| - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
1116 |
| - </property> |
1117 |
| - </widget> |
1118 |
| - </item> |
1119 |
| - <item row="3" column="0"> |
| 1110 | + <item row="0" column="0"> |
1120 | 1111 | <widget class="QLabel" name="payToLabel_s">
|
1121 | 1112 | <property name="text">
|
1122 | 1113 | <string>Pay To:</string>
|
|
1126 | 1117 | </property>
|
1127 | 1118 | </widget>
|
1128 | 1119 | </item>
|
1129 |
| - <item row="5" column="2"> |
1130 |
| - <widget class="BitcoinAmountField" name="payAmount_s"> |
1131 |
| - <property name="acceptDrops"> |
1132 |
| - <bool>false</bool> |
1133 |
| - </property> |
1134 |
| - </widget> |
1135 |
| - </item> |
1136 |
| - <item row="3" column="2"> |
| 1120 | + <item row="0" column="1"> |
1137 | 1121 | <layout class="QHBoxLayout" name="payToLayout_s">
|
1138 | 1122 | <property name="spacing">
|
1139 | 1123 | <number>0</number>
|
|
1145 | 1129 | </property>
|
1146 | 1130 | </widget>
|
1147 | 1131 | </item>
|
| 1132 | + <item> |
| 1133 | + <widget class="QToolButton" name="deleteButton_s"> |
| 1134 | + <property name="toolTip"> |
| 1135 | + <string>Remove this entry</string> |
| 1136 | + </property> |
| 1137 | + <property name="text"> |
| 1138 | + <string/> |
| 1139 | + </property> |
| 1140 | + <property name="icon"> |
| 1141 | + <iconset resource="../bitcoin.qrc"> |
| 1142 | + <normaloff>:/icons/remove</normaloff>:/icons/remove</iconset> |
| 1143 | + </property> |
| 1144 | + </widget> |
| 1145 | + </item> |
1148 | 1146 | </layout>
|
1149 | 1147 | </item>
|
1150 |
| - <item row="4" column="2"> |
| 1148 | + <item row="1" column="0"> |
| 1149 | + <widget class="QLabel" name="memoLabel_s"> |
| 1150 | + <property name="text"> |
| 1151 | + <string>Memo:</string> |
| 1152 | + </property> |
| 1153 | + <property name="alignment"> |
| 1154 | + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 1155 | + </property> |
| 1156 | + </widget> |
| 1157 | + </item> |
| 1158 | + <item row="1" column="1"> |
1151 | 1159 | <widget class="QLabel" name="memoTextLabel_s">
|
1152 | 1160 | <property name="textFormat">
|
1153 | 1161 | <enum>Qt::PlainText</enum>
|
1154 | 1162 | </property>
|
1155 | 1163 | </widget>
|
1156 | 1164 | </item>
|
| 1165 | + <item row="2" column="0"> |
| 1166 | + <widget class="QLabel" name="amountLabel_s"> |
| 1167 | + <property name="text"> |
| 1168 | + <string>A&mount:</string> |
| 1169 | + </property> |
| 1170 | + <property name="alignment"> |
| 1171 | + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 1172 | + </property> |
| 1173 | + <property name="buddy"> |
| 1174 | + <cstring>payAmount_s</cstring> |
| 1175 | + </property> |
| 1176 | + </widget> |
| 1177 | + </item> |
| 1178 | + <item row="2" column="1"> |
| 1179 | + <widget class="BitcoinAmountField" name="payAmount_s"> |
| 1180 | + <property name="acceptDrops"> |
| 1181 | + <bool>false</bool> |
| 1182 | + </property> |
| 1183 | + </widget> |
| 1184 | + </item> |
1157 | 1185 | </layout>
|
1158 | 1186 | </widget>
|
1159 | 1187 | </widget>
|
1160 | 1188 | <customwidgets>
|
1161 | 1189 | <customwidget>
|
1162 |
| - <class>BitcoinAmountField</class> |
| 1190 | + <class>QValidatedLineEdit</class> |
1163 | 1191 | <extends>QLineEdit</extends>
|
1164 |
| - <header>bitcoinamountfield.h</header> |
| 1192 | + <header>qvalidatedlineedit.h</header> |
1165 | 1193 | </customwidget>
|
1166 | 1194 | <customwidget>
|
1167 |
| - <class>QValidatedLineEdit</class> |
| 1195 | + <class>BitcoinAmountField</class> |
1168 | 1196 | <extends>QLineEdit</extends>
|
1169 |
| - <header>qvalidatedlineedit.h</header> |
| 1197 | + <header>bitcoinamountfield.h</header> |
1170 | 1198 | </customwidget>
|
1171 | 1199 | </customwidgets>
|
| 1200 | + <tabstops> |
| 1201 | + <tabstop>payTo</tabstop> |
| 1202 | + <tabstop>addressBookButton</tabstop> |
| 1203 | + <tabstop>pasteButton</tabstop> |
| 1204 | + <tabstop>deleteButton</tabstop> |
| 1205 | + <tabstop>addAsLabel</tabstop> |
| 1206 | + <tabstop>payAmount</tabstop> |
| 1207 | + <tabstop>payAmount_is</tabstop> |
| 1208 | + <tabstop>deleteButton_is</tabstop> |
| 1209 | + <tabstop>payAmount_s</tabstop> |
| 1210 | + <tabstop>deleteButton_s</tabstop> |
| 1211 | + </tabstops> |
1172 | 1212 | <resources>
|
1173 | 1213 | <include location="../bitcoin.qrc"/>
|
1174 | 1214 | </resources>
|
|
0 commit comments