introduce bitcoin amount field with split amount/decimals, to protect against mistake...
[novacoin.git] / src / qt / forms / sendcoinsdialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>SendCoinsDialog</class>
4  <widget class="QDialog" name="SendCoinsDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>736</width>
10     <height>149</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Send Coins</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <item>
18     <layout class="QGridLayout" name="gridLayout">
19      <item row="4" column="0">
20       <widget class="QLabel" name="label">
21        <property name="text">
22         <string>&amp;Amount:</string>
23        </property>
24        <property name="alignment">
25         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
26        </property>
27        <property name="buddy">
28         <cstring>payAmount</cstring>
29        </property>
30       </widget>
31      </item>
32      <item row="3" column="0">
33       <widget class="QLabel" name="label_2">
34        <property name="text">
35         <string>Pay &amp;To:</string>
36        </property>
37        <property name="alignment">
38         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
39        </property>
40        <property name="buddy">
41         <cstring>payTo</cstring>
42        </property>
43       </widget>
44      </item>
45      <item row="3" column="1">
46       <widget class="QLineEdit" name="payTo">
47        <property name="toolTip">
48         <string>The address to send the payment to  (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</string>
49        </property>
50        <property name="maxLength">
51         <number>34</number>
52        </property>
53       </widget>
54      </item>
55      <item row="3" column="2">
56       <widget class="QPushButton" name="pasteButton">
57        <property name="toolTip">
58         <string>Paste address from system clipboard</string>
59        </property>
60        <property name="text">
61         <string>&amp;Paste</string>
62        </property>
63        <property name="autoDefault">
64         <bool>false</bool>
65        </property>
66       </widget>
67      </item>
68      <item row="3" column="3">
69       <widget class="QPushButton" name="addressBookButton">
70        <property name="toolTip">
71         <string>Look up adress in address book</string>
72        </property>
73        <property name="text">
74         <string>Address &amp;Book...</string>
75        </property>
76        <property name="autoDefault">
77         <bool>false</bool>
78        </property>
79       </widget>
80      </item>
81      <item row="2" column="1">
82       <widget class="QLabel" name="label_3">
83        <property name="font">
84         <font>
85          <pointsize>9</pointsize>
86         </font>
87        </property>
88        <property name="text">
89         <string>Enter a Bitcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</string>
90        </property>
91       </widget>
92      </item>
93      <item row="4" column="1">
94       <widget class="BitcoinAmountField" name="payAmount" native="true">
95        <property name="focusPolicy">
96         <enum>Qt::TabFocus</enum>
97        </property>
98       </widget>
99      </item>
100     </layout>
101    </item>
102    <item>
103     <spacer name="verticalSpacer">
104      <property name="orientation">
105       <enum>Qt::Vertical</enum>
106      </property>
107      <property name="sizeHint" stdset="0">
108       <size>
109        <width>20</width>
110        <height>40</height>
111       </size>
112      </property>
113     </spacer>
114    </item>
115    <item>
116     <layout class="QHBoxLayout" name="horizontalLayout">
117      <item>
118       <spacer name="horizontalSpacer">
119        <property name="orientation">
120         <enum>Qt::Horizontal</enum>
121        </property>
122        <property name="sizeHint" stdset="0">
123         <size>
124          <width>40</width>
125          <height>20</height>
126         </size>
127        </property>
128       </spacer>
129      </item>
130      <item>
131       <widget class="QPushButton" name="sendButton">
132        <property name="toolTip">
133         <string>Confirm the send action</string>
134        </property>
135        <property name="text">
136         <string>&amp;Send</string>
137        </property>
138        <property name="icon">
139         <iconset resource="../bitcoin.qrc">
140          <normaloff>:/icons/send</normaloff>:/icons/send</iconset>
141        </property>
142        <property name="default">
143         <bool>true</bool>
144        </property>
145       </widget>
146      </item>
147      <item>
148       <widget class="QDialogButtonBox" name="buttonBox">
149        <property name="sizePolicy">
150         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
151          <horstretch>0</horstretch>
152          <verstretch>0</verstretch>
153         </sizepolicy>
154        </property>
155        <property name="toolTip">
156         <string>Abort the send action</string>
157        </property>
158        <property name="standardButtons">
159         <set>QDialogButtonBox::Cancel</set>
160        </property>
161       </widget>
162      </item>
163     </layout>
164    </item>
165   </layout>
166  </widget>
167  <customwidgets>
168   <customwidget>
169    <class>BitcoinAmountField</class>
170    <extends>QWidget</extends>
171    <header>bitcoinamountfield.h</header>
172    <container>1</container>
173   </customwidget>
174  </customwidgets>
175  <tabstops>
176   <tabstop>payTo</tabstop>
177   <tabstop>payAmount</tabstop>
178   <tabstop>pasteButton</tabstop>
179   <tabstop>addressBookButton</tabstop>
180   <tabstop>sendButton</tabstop>
181   <tabstop>buttonBox</tabstop>
182  </tabstops>
183  <resources>
184   <include location="../bitcoin.qrc"/>
185  </resources>
186  <connections/>
187 </ui>