]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/ui/BibtexUi.ui
Start using QDialogButtonGroup rather than manual OK etc. buttons
[features.git] / src / frontends / qt4 / ui / BibtexUi.ui
index 54b22b52a8a239b1b0cc6989a25fe95d5f7622a4..847cb539238ee03d076ffdd598c42b98fc936344 100644 (file)
       </spacer>
      </item>
      <item>
-      <widget class="QPushButton" name="okPB">
-       <property name="text">
-        <string>&amp;OK</string>
-       </property>
-       <property name="autoDefault">
-        <bool>false</bool>
-       </property>
-       <property name="default">
-        <bool>true</bool>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="applyPB">
-       <property name="text">
-        <string>App&amp;ly</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="closePB">
-       <property name="text">
-        <string>Cancel</string>
-       </property>
-       <property name="autoDefault">
-        <bool>false</bool>
+      <widget class="QDialogButtonBox" name="buttonBox">
+       <property name="standardButtons">
+        <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
        </property>
       </widget>
      </item>
   <tabstop>stylePB</tabstop>
   <tabstop>bibtocCB</tabstop>
   <tabstop>btPrintCO</tabstop>
-  <tabstop>okPB</tabstop>
-  <tabstop>closePB</tabstop>
  </tabstops>
  <includes>
   <include location="local">qt_i18n.h</include>