enable wordWrap on lblQRCode / small code comment change
[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      <property name="wordWrap">
38       <bool>true</bool>
39      </property>
40     </widget>
41    </item>
42    <item>
43     <widget class="QWidget" name="widget" native="true">
44      <layout class="QVBoxLayout" name="verticalLayout_2">
45       <item>
46        <layout class="QHBoxLayout" name="horizontalLayout_2">
47         <item>
48          <layout class="QVBoxLayout" name="verticalLayout">
49           <item>
50            <widget class="QCheckBox" name="chkReqPayment">
51             <property name="enabled">
52              <bool>true</bool>
53             </property>
54             <property name="text">
55              <string>Request Payment</string>
56             </property>
57            </widget>
58           </item>
59           <item>
60            <layout class="QHBoxLayout" name="horizontalLayout">
61             <item>
62              <widget class="QLabel" name="lblAmount">
63               <property name="sizePolicy">
64                <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
65                 <horstretch>0</horstretch>
66                 <verstretch>0</verstretch>
67                </sizepolicy>
68               </property>
69               <property name="text">
70                <string>Amount:</string>
71               </property>
72               <property name="alignment">
73                <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
74               </property>
75               <property name="buddy">
76                <cstring>lnReqAmount</cstring>
77               </property>
78              </widget>
79             </item>
80             <item>
81              <widget class="QLineEdit" name="lnReqAmount">
82               <property name="enabled">
83                <bool>false</bool>
84               </property>
85               <property name="minimumSize">
86                <size>
87                 <width>60</width>
88                 <height>0</height>
89                </size>
90               </property>
91               <property name="alignment">
92                <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
93               </property>
94              </widget>
95             </item>
96             <item>
97              <widget class="QLabel" name="lblBTC">
98               <property name="sizePolicy">
99                <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
100                 <horstretch>0</horstretch>
101                 <verstretch>0</verstretch>
102                </sizepolicy>
103               </property>
104               <property name="text">
105                <string>BTC</string>
106               </property>
107               <property name="buddy">
108                <cstring>lnReqAmount</cstring>
109               </property>
110              </widget>
111             </item>
112            </layout>
113           </item>
114          </layout>
115         </item>
116         <item>
117          <layout class="QGridLayout" name="gridLayout">
118           <item row="0" column="0">
119            <widget class="QLabel" name="lblLabel">
120             <property name="text">
121              <string>Label:</string>
122             </property>
123             <property name="alignment">
124              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
125             </property>
126             <property name="buddy">
127              <cstring>lnLabel</cstring>
128             </property>
129            </widget>
130           </item>
131           <item row="0" column="1">
132            <widget class="QLineEdit" name="lnLabel">
133             <property name="minimumSize">
134              <size>
135               <width>100</width>
136               <height>0</height>
137              </size>
138             </property>
139            </widget>
140           </item>
141           <item row="1" column="0">
142            <widget class="QLabel" name="lblMessage">
143             <property name="text">
144              <string>Message:</string>
145             </property>
146             <property name="alignment">
147              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
148             </property>
149             <property name="buddy">
150              <cstring>lnMessage</cstring>
151             </property>
152            </widget>
153           </item>
154           <item row="1" column="1">
155            <widget class="QLineEdit" name="lnMessage">
156             <property name="minimumSize">
157              <size>
158               <width>100</width>
159               <height>0</height>
160              </size>
161             </property>
162            </widget>
163           </item>
164          </layout>
165         </item>
166        </layout>
167       </item>
168       <item>
169        <layout class="QHBoxLayout" name="horizontalLayout_3">
170         <item>
171          <spacer name="horizontalSpacer">
172           <property name="orientation">
173            <enum>Qt::Horizontal</enum>
174           </property>
175           <property name="sizeHint" stdset="0">
176            <size>
177             <width>40</width>
178             <height>20</height>
179            </size>
180           </property>
181          </spacer>
182         </item>
183         <item>
184          <widget class="QPushButton" name="btnSaveAs">
185           <property name="text">
186            <string>&amp;Save As...</string>
187           </property>
188          </widget>
189         </item>
190        </layout>
191       </item>
192      </layout>
193     </widget>
194    </item>
195   </layout>
196  </widget>
197  <resources/>
198  <connections>
199   <connection>
200    <sender>chkReqPayment</sender>
201    <signal>clicked(bool)</signal>
202    <receiver>lnReqAmount</receiver>
203    <slot>setEnabled(bool)</slot>
204    <hints>
205     <hint type="sourcelabel">
206      <x>92</x>
207      <y>285</y>
208     </hint>
209     <hint type="destinationlabel">
210      <x>98</x>
211      <y>311</y>
212     </hint>
213    </hints>
214   </connection>
215  </connections>
216 </ui>