]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/ui/CharacterUi.ui
Start using QDialogButtonGroup rather than manual OK etc. buttons
[features.git] / src / frontends / qt4 / ui / CharacterUi.ui
index ca07dd0e31e15d918fcec8db94dcd695f775644f..d22868fefcca99e9f9252e272dcc93c77b20ac38 100644 (file)
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>523</width>
-    <height>412</height>
+    <height>372</height>
    </rect>
   </property>
   <property name="windowTitle">
       </spacer>
      </item>
      <item>
-      <widget class="QPushButton" name="okPB">
-       <property name="text">
-        <string>&amp;OK</string>
-       </property>
-       <property name="default">
-        <bool>true</bool>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="applyPB">
-       <property name="text">
-        <string>&amp;Apply</string>
-       </property>
-       <property name="autoDefault">
-        <bool>false</bool>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="closePB">
-       <property name="text">
-        <string>Close</string>
-       </property>
-       <property name="autoDefault">
-        <bool>false</bool>
-       </property>
-       <property name="default">
-        <bool>false</bool>
+      <widget class="QDialogButtonBox" name="buttonBox">
+       <property name="standardButtons">
+        <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
        </property>
       </widget>
      </item>
   <tabstop>shapeCO</tabstop>
   <tabstop>colorCO</tabstop>
   <tabstop>langCO</tabstop>
-  <tabstop>okPB</tabstop>
-  <tabstop>applyPB</tabstop>
-  <tabstop>closePB</tabstop>
  </tabstops>
  <includes>
   <include location="local">qt_i18n.h</include>