Skip to content

Commit 45cf550

Browse files
author
macho
committed
small ui update in messageviewer -> buttonbox
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12074 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 81bb122 commit 45cf550

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/ui/qgsmessageviewer.ui

+9-10
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
</widget>
4545
</item>
4646
<item row="2" column="1">
47-
<widget class="QPushButton" name="btnClose">
48-
<property name="text">
49-
<string>Close</string>
47+
<widget class="QDialogButtonBox" name="buttonBox">
48+
<property name="standardButtons">
49+
<set>QDialogButtonBox::Close</set>
5050
</property>
5151
</widget>
5252
</item>
@@ -72,23 +72,22 @@
7272
<tabstops>
7373
<tabstop>txtMessage</tabstop>
7474
<tabstop>checkBox</tabstop>
75-
<tabstop>btnClose</tabstop>
7675
</tabstops>
7776
<resources/>
7877
<connections>
7978
<connection>
80-
<sender>btnClose</sender>
81-
<signal>clicked()</signal>
79+
<sender>buttonBox</sender>
80+
<signal>rejected()</signal>
8281
<receiver>QgsMessageViewer</receiver>
8382
<slot>reject()</slot>
8483
<hints>
8584
<hint type="sourcelabel">
86-
<x>483</x>
87-
<y>271</y>
85+
<x>450</x>
86+
<y>257</y>
8887
</hint>
8988
<hint type="destinationlabel">
90-
<x>249</x>
91-
<y>141</y>
89+
<x>495</x>
90+
<y>188</y>
9291
</hint>
9392
</hints>
9493
</connection>

0 commit comments

Comments
 (0)