allow adding address to address book in send dialog
[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="5" 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="5" column="1">
94       <widget class="BitcoinAmountField" name="payAmount" native="true"/>
95      </item>
96      <item row="4" column="1">
97       <layout class="QHBoxLayout" name="horizontalLayout_2">
98        <item>
99         <widget class="QCheckBox" name="addToAddressBook">
100          <property name="toolTip">
101           <string>Add specified destination address to address book</string>
102          </property>
103          <property name="text">
104           <string>Add to address book as</string>
105          </property>
106         </widget>
107        </item>
108        <item>
109         <widget class="QLineEdit" name="addAsLabel">
110          <property name="enabled">
111           <bool>false</bool>
112          </property>
113          <property name="toolTip">
114           <string>Label to add address as</string>
115          </property>
116         </widget>
117        </item>
118       </layout>
119      </item>
120     </layout>
121    </item>
122    <item>
123     <spacer name="verticalSpacer">
124      <property name="orientation">
125       <enum>Qt::Vertical</enum>
126      </property>
127      <property name="sizeHint" stdset="0">
128       <size>
129        <width>20</width>
130        <height>40</height>
131       </size>
132      </property>
133     </spacer>
134    </item>
135    <item>
136     <layout class="QHBoxLayout" name="horizontalLayout">
137      <item>
138       <spacer name="horizontalSpacer">
139        <property name="orientation">
140         <enum>Qt::Horizontal</enum>
141        </property>
142        <property name="sizeHint" stdset="0">
143         <size>
144          <width>40</width>
145          <height>20</height>
146         </size>
147        </property>
148       </spacer>
149      </item>
150      <item>
151       <widget class="QPushButton" name="sendButton">
152        <property name="toolTip">
153         <string>Confirm the send action</string>
154        </property>
155        <property name="text">
156         <string>&amp;Send</string>
157        </property>
158        <property name="icon">
159         <iconset resource="../bitcoin.qrc">
160          <normaloff>:/icons/send</normaloff>:/icons/send</iconset>
161        </property>
162        <property name="default">
163         <bool>true</bool>
164        </property>
165       </widget>
166      </item>
167      <item>
168       <widget class="QDialogButtonBox" name="buttonBox">
169        <property name="sizePolicy">
170         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
171          <horstretch>0</horstretch>
172          <verstretch>0</verstretch>
173         </sizepolicy>
174        </property>
175        <property name="toolTip">
176         <string>Abort the send action</string>
177        </property>
178        <property name="standardButtons">
179         <set>QDialogButtonBox::Cancel</set>
180        </property>
181       </widget>
182      </item>
183     </layout>
184    </item>
185   </layout>
186  </widget>
187  <customwidgets>
188   <customwidget>
189    <class>BitcoinAmountField</class>
190    <extends>QWidget</extends>
191    <header>bitcoinamountfield.h</header>
192    <container>1</container>
193   </customwidget>
194  </customwidgets>
195  <tabstops>
196   <tabstop>payTo</tabstop>
197   <tabstop>addToAddressBook</tabstop>
198   <tabstop>addAsLabel</tabstop>
199   <tabstop>payAmount</tabstop>
200   <tabstop>pasteButton</tabstop>
201   <tabstop>addressBookButton</tabstop>
202   <tabstop>sendButton</tabstop>
203   <tabstop>buttonBox</tabstop>
204  </tabstops>
205  <resources>
206   <include location="../bitcoin.qrc"/>
207  </resources>
208  <connections/>
209 </ui>