[QGIS Commit] r12074 - trunk/qgis/src/ui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Nov 10 11:43:51 EST 2009


Author: macho
Date: 2009-11-10 11:43:50 -0500 (Tue, 10 Nov 2009)
New Revision: 12074

Modified:
   trunk/qgis/src/ui/qgsmessageviewer.ui
Log:
small ui update in messageviewer -> buttonbox


Modified: trunk/qgis/src/ui/qgsmessageviewer.ui
===================================================================
--- trunk/qgis/src/ui/qgsmessageviewer.ui	2009-11-10 16:16:38 UTC (rev 12073)
+++ trunk/qgis/src/ui/qgsmessageviewer.ui	2009-11-10 16:43:50 UTC (rev 12074)
@@ -44,9 +44,9 @@
     </widget>
    </item>
    <item row="2" column="1">
-    <widget class="QPushButton" name="btnClose">
-     <property name="text">
-      <string>Close</string>
+    <widget class="QDialogButtonBox" name="buttonBox">
+     <property name="standardButtons">
+      <set>QDialogButtonBox::Close</set>
      </property>
     </widget>
    </item>
@@ -72,23 +72,22 @@
  <tabstops>
   <tabstop>txtMessage</tabstop>
   <tabstop>checkBox</tabstop>
-  <tabstop>btnClose</tabstop>
  </tabstops>
  <resources/>
  <connections>
   <connection>
-   <sender>btnClose</sender>
-   <signal>clicked()</signal>
+   <sender>buttonBox</sender>
+   <signal>rejected()</signal>
    <receiver>QgsMessageViewer</receiver>
    <slot>reject()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>483</x>
-     <y>271</y>
+     <x>450</x>
+     <y>257</y>
     </hint>
     <hint type="destinationlabel">
-     <x>249</x>
-     <y>141</y>
+     <x>495</x>
+     <y>188</y>
     </hint>
    </hints>
   </connection>



More information about the QGIS-commit mailing list