Added QRCode generation functions via libqrencode. Switch on with USE_QRENCODE=1.
[novacoin.git] / src / qt / forms / qrcodedialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>QRCodeDialog</class>
4  <widget class="QDialog" name="QRCodeDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>320</width>
10     <height>404</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Dialog</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout_3">
17    <item>
18     <widget class="QLabel" name="lblQRCode">
19      <property name="sizePolicy">
20       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
21        <horstretch>0</horstretch>
22        <verstretch>0</verstretch>
23       </sizepolicy>
24      </property>
25      <property name="minimumSize">
26       <size>
27        <width>300</width>
28        <height>300</height>
29       </size>
30      </property>
31      <property name="text">
32       <string>QR Code</string>
33      </property>
34      <property name="alignment">
35       <set>Qt::AlignCenter</set>
36      </property>
37     </widget>
38    </item>
39    <item>
40     <widget class="QWidget" name="widget" native="true">
41      <layout class="QVBoxLayout" name="verticalLayout_2">
42       <item>
43        <layout class="QHBoxLayout" name="horizontalLayout_2">
44         <item>
45          <layout class="QVBoxLayout" name="verticalLayout">
46           <item>
47            <widget class="QCheckBox" name="chkReq">
48             <property name="enabled">
49              <bool>true</bool>
50             </property>
51             <property name="text">
52              <string>Request Payment</string>
53             </property>
54            </widget>
55           </item>
56           <item>
57            <layout class="QHBoxLayout" name="horizontalLayout">
58             <item>
59              <widget class="QLabel" name="lblAm1">
60               <property name="sizePolicy">
61                <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
62                 <horstretch>0</horstretch>
63                 <verstretch>0</verstretch>
64                </sizepolicy>
65               </property>
66               <property name="text">
67                <string>Amount:</string>
68               </property>
69               <property name="alignment">
70                <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
71               </property>
72               <property name="buddy">
73                <cstring>lnReqAmount</cstring>
74               </property>
75              </widget>
76             </item>
77             <item>
78              <widget class="QLineEdit" name="lnReqAmount">
79               <property name="enabled">
80                <bool>false</bool>
81               </property>
82               <property name="minimumSize">
83                <size>
84                 <width>60</width>
85                 <height>0</height>
86                </size>
87               </property>
88               <property name="alignment">
89                <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
90               </property>
91              </widget>
92             </item>
93             <item>
94              <widget class="QLabel" name="lblAm2">
95               <property name="sizePolicy">
96                <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
97                 <horstretch>0</horstretch>
98                 <verstretch>0</verstretch>
99                </sizepolicy>
100               </property>
101               <property name="text">
102                <string>BTC</string>
103               </property>
104               <property name="buddy">
105                <cstring>lnReqAmount</cstring>
106               </property>
107              </widget>
108             </item>
109            </layout>
110           </item>
111          </layout>
112         </item>
113         <item>
114          <layout class="QGridLayout" name="gridLayout">
115           <item row="0" column="0">
116            <widget class="QLabel" name="label_3">
117             <property name="text">
118              <string>Label:</string>
119             </property>
120             <property name="alignment">
121              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
122             </property>
123             <property name="buddy">
124              <cstring>lnLabel</cstring>
125             </property>
126            </widget>
127           </item>
128           <item row="0" column="1">
129            <widget class="QLineEdit" name="lnLabel">
130             <property name="minimumSize">
131              <size>
132               <width>100</width>
133               <height>0</height>
134              </size>
135             </property>
136            </widget>
137           </item>
138           <item row="1" column="0">
139            <widget class="QLabel" name="label_4">
140             <property name="text">
141              <string>Message:</string>
142             </property>
143             <property name="alignment">
144              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
145             </property>
146             <property name="buddy">
147              <cstring>lnMessage</cstring>
148             </property>
149            </widget>
150           </item>
151           <item row="1" column="1">
152            <widget class="QLineEdit" name="lnMessage">
153             <property name="minimumSize">
154              <size>
155               <width>100</width>
156               <height>0</height>
157              </size>
158             </property>
159            </widget>
160           </item>
161          </layout>
162         </item>
163        </layout>
164       </item>
165       <item>
166        <layout class="QHBoxLayout" name="horizontalLayout_3">
167         <item>
168          <spacer name="horizontalSpacer">
169           <property name="orientation">
170            <enum>Qt::Horizontal</enum>
171           </property>
172           <property name="sizeHint" stdset="0">
173            <size>
174             <width>40</width>
175             <height>20</height>
176            </size>
177           </property>
178          </spacer>
179         </item>
180         <item>
181          <widget class="QPushButton" name="btnSaveAs">
182           <property name="text">
183            <string>&amp;Save As...</string>
184           </property>
185          </widget>
186         </item>
187        </layout>
188       </item>
189      </layout>
190     </widget>
191    </item>
192   </layout>
193  </widget>
194  <resources/>
195  <connections>
196   <connection>
197    <sender>chkReq</sender>
198    <signal>clicked(bool)</signal>
199    <receiver>lnReqAmount</receiver>
200    <slot>setEnabled(bool)</slot>
201    <hints>
202     <hint type="sourcelabel">
203      <x>92</x>
204      <y>285</y>
205     </hint>
206     <hint type="destinationlabel">
207      <x>98</x>
208      <y>311</y>
209     </hint>
210    </hints>
211   </connection>
212  </connections>
213 </ui>