Skip to content

Commit f05fa03

Browse files
author
Philip Kaufmann
committed
[Qt] small .ui cleanup for optionsdialog and coincontrol
1 parent 29ecccb commit f05fa03

File tree

2 files changed

+80
-83
lines changed

2 files changed

+80
-83
lines changed

src/qt/forms/coincontroldialog.ui

Lines changed: 71 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -346,83 +346,77 @@
346346
<property name="frameShadow">
347347
<enum>QFrame::Sunken</enum>
348348
</property>
349-
<widget class="QWidget" name="horizontalLayoutWidget">
350-
<property name="geometry">
351-
<rect>
352-
<x>10</x>
353-
<y>0</y>
354-
<width>781</width>
355-
<height>41</height>
356-
</rect>
357-
</property>
358-
<layout class="QHBoxLayout" name="horizontalLayoutPanel" stretch="0,0,0,0,0">
359-
<property name="spacing">
360-
<number>14</number>
361-
</property>
362-
<item>
363-
<widget class="QPushButton" name="pushButtonSelectAll">
364-
<property name="sizePolicy">
365-
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
366-
<horstretch>0</horstretch>
367-
<verstretch>0</verstretch>
368-
</sizepolicy>
369-
</property>
370-
<property name="text">
371-
<string>(un)select all</string>
372-
</property>
373-
</widget>
374-
</item>
375-
<item>
376-
<widget class="QRadioButton" name="radioTreeMode">
377-
<property name="sizePolicy">
378-
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
379-
<horstretch>0</horstretch>
380-
<verstretch>0</verstretch>
381-
</sizepolicy>
382-
</property>
383-
<property name="text">
384-
<string>Tree mode</string>
385-
</property>
386-
<property name="checked">
387-
<bool>true</bool>
388-
</property>
389-
</widget>
390-
</item>
391-
<item>
392-
<widget class="QRadioButton" name="radioListMode">
393-
<property name="sizePolicy">
394-
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
395-
<horstretch>0</horstretch>
396-
<verstretch>0</verstretch>
397-
</sizepolicy>
398-
</property>
399-
<property name="text">
400-
<string>List mode</string>
401-
</property>
402-
</widget>
403-
</item>
404-
<item>
405-
<widget class="QLabel" name="labelLocked">
406-
<property name="text">
407-
<string notr="true">(1 locked)</string>
408-
</property>
409-
</widget>
410-
</item>
411-
<item>
412-
<spacer name="horizontalSpacer">
413-
<property name="orientation">
414-
<enum>Qt::Horizontal</enum>
415-
</property>
416-
<property name="sizeHint" stdset="0">
417-
<size>
418-
<width>40</width>
419-
<height>20</height>
420-
</size>
421-
</property>
422-
</spacer>
423-
</item>
424-
</layout>
425-
</widget>
349+
<layout class="QHBoxLayout" name="horizontalLayout">
350+
<item>
351+
<layout class="QHBoxLayout" name="horizontalLayoutPanel" stretch="0,0,0,0,0">
352+
<property name="spacing">
353+
<number>14</number>
354+
</property>
355+
<item>
356+
<widget class="QPushButton" name="pushButtonSelectAll">
357+
<property name="sizePolicy">
358+
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
359+
<horstretch>0</horstretch>
360+
<verstretch>0</verstretch>
361+
</sizepolicy>
362+
</property>
363+
<property name="text">
364+
<string>(un)select all</string>
365+
</property>
366+
</widget>
367+
</item>
368+
<item>
369+
<widget class="QRadioButton" name="radioTreeMode">
370+
<property name="sizePolicy">
371+
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
372+
<horstretch>0</horstretch>
373+
<verstretch>0</verstretch>
374+
</sizepolicy>
375+
</property>
376+
<property name="text">
377+
<string>Tree mode</string>
378+
</property>
379+
<property name="checked">
380+
<bool>true</bool>
381+
</property>
382+
</widget>
383+
</item>
384+
<item>
385+
<widget class="QRadioButton" name="radioListMode">
386+
<property name="sizePolicy">
387+
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
388+
<horstretch>0</horstretch>
389+
<verstretch>0</verstretch>
390+
</sizepolicy>
391+
</property>
392+
<property name="text">
393+
<string>List mode</string>
394+
</property>
395+
</widget>
396+
</item>
397+
<item>
398+
<widget class="QLabel" name="labelLocked">
399+
<property name="text">
400+
<string notr="true">(1 locked)</string>
401+
</property>
402+
</widget>
403+
</item>
404+
<item>
405+
<spacer name="horizontalSpacer">
406+
<property name="orientation">
407+
<enum>Qt::Horizontal</enum>
408+
</property>
409+
<property name="sizeHint" stdset="0">
410+
<size>
411+
<width>40</width>
412+
<height>20</height>
413+
</size>
414+
</property>
415+
</spacer>
416+
</item>
417+
</layout>
418+
</item>
419+
</layout>
426420
</widget>
427421
</item>
428422
<item>

src/qt/forms/optionsdialog.ui

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
<attribute name="title">
153153
<string>W&amp;allet</string>
154154
</attribute>
155-
<layout class="QVBoxLayout" name="verticalLayout_Network">
155+
<layout class="QVBoxLayout" name="verticalLayout_Wallet">
156156
<item>
157157
<widget class="QLabel" name="transactionFeeInfoLabel">
158158
<property name="text">
@@ -167,7 +167,7 @@
167167
</widget>
168168
</item>
169169
<item>
170-
<layout class="QHBoxLayout" name="horizontalLayout_1_Main">
170+
<layout class="QHBoxLayout" name="horizontalLayout_1_Wallet">
171171
<item>
172172
<widget class="QLabel" name="transactionFeeLabel">
173173
<property name="text">
@@ -185,7 +185,7 @@
185185
<widget class="BitcoinAmountField" name="transactionFee"/>
186186
</item>
187187
<item>
188-
<spacer name="horizontalSpacer_1_Main">
188+
<spacer name="horizontalSpacer_1_Wallet">
189189
<property name="orientation">
190190
<enum>Qt::Horizontal</enum>
191191
</property>
@@ -200,10 +200,13 @@
200200
</layout>
201201
</item>
202202
<item>
203-
<widget class="QLabel" name="label">
203+
<widget class="QLabel" name="spendZeroConfChangeInfoLabel">
204204
<property name="text">
205205
<string>If you disable the spending of unconfirmed change, the change from a transaction cannot be used until that transaction has at least one confirmation. This also affects how your balance is computed.</string>
206206
</property>
207+
<property name="textFormat">
208+
<enum>Qt::PlainText</enum>
209+
</property>
207210
<property name="wordWrap">
208211
<bool>true</bool>
209212
</property>
@@ -212,12 +215,12 @@
212215
<item>
213216
<widget class="QCheckBox" name="spendZeroConfChange">
214217
<property name="text">
215-
<string>Spend unconfirmed change (experts only)</string>
218+
<string>&amp;Spend unconfirmed change (experts only)</string>
216219
</property>
217220
</widget>
218221
</item>
219222
<item>
220-
<spacer name="verticalSpacer">
223+
<spacer name="verticalSpacer_Wallet">
221224
<property name="orientation">
222225
<enum>Qt::Vertical</enum>
223226
</property>

0 commit comments

Comments
 (0)