]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/ui/BiblioUi.ui
Rework default bibliography style UI
[features.git] / src / frontends / qt4 / ui / BiblioUi.ui
index 9f6787721fe0e49ff19a8fbb52c57b88b2205565..b6ce417432ceefd4d0ae0e6e4fcb02ae03308253 100644 (file)
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>BiblioUi</class>
- <widget class="QWidget" name="BiblioUi" >
-  <property name="geometry" >
+ <widget class="QWidget" name="BiblioUi">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>418</width>
-    <height>376</height>
+    <width>475</width>
+    <height>394</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string/>
   </property>
-  <layout class="QGridLayout" >
-   <property name="margin" >
-    <number>11</number>
-   </property>
-   <property name="spacing" >
-    <number>6</number>
-   </property>
-   <item row="0" column="0" >
-    <widget class="QGroupBox" name="CiteStyleBG" >
-     <property name="title" >
+  <layout class="QGridLayout" name="gridLayout_3">
+   <item row="0" column="0">
+    <widget class="QGroupBox" name="CiteStyleBG">
+     <property name="title">
       <string>Citation Style</string>
      </property>
-     <layout class="QGridLayout" >
-      <property name="margin" >
-       <number>11</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item row="2" column="0" >
-       <widget class="QRadioButton" name="citeJurabibRB" >
-        <property name="toolTip" >
-         <string>Use the jurabib styles for law and humanities</string>
-        </property>
-        <property name="text" >
-         <string>&amp;Jurabib</string>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="0" >
-       <widget class="QRadioButton" name="citeNatbibRB" >
-        <property name="toolTip" >
-         <string>Use the natbib styles for natural sciences and arts</string>
-        </property>
-        <property name="text" >
-         <string>&amp;Natbib</string>
+     <property name="flat">
+      <bool>true</bool>
+     </property>
+     <layout class="QGridLayout" name="gridLayout">
+      <item row="0" column="0">
+       <layout class="QHBoxLayout">
+        <property name="spacing">
+         <number>6</number>
         </property>
-       </widget>
-      </item>
-      <item row="0" column="0" >
-       <widget class="QRadioButton" name="citeDefaultRB" >
-        <property name="toolTip" >
-         <string>Use BibTeX's default numerical styles</string>
+        <property name="leftMargin">
+         <number>0</number>
         </property>
-        <property name="text" >
-         <string>&amp;Default (numerical)</string>
+        <property name="topMargin">
+         <number>0</number>
         </property>
-       </widget>
-      </item>
-      <item row="1" column="1" >
-       <layout class="QHBoxLayout" >
-        <property name="margin" >
+        <property name="rightMargin">
          <number>0</number>
         </property>
-        <property name="spacing" >
-         <number>6</number>
+        <property name="bottomMargin">
+         <number>0</number>
         </property>
         <item>
-         <widget class="QLabel" name="citationStyleL" >
-          <property name="enabled" >
+         <widget class="QLabel" name="citeEngineLA">
+          <property name="toolTip">
+           <string/>
+          </property>
+          <property name="text">
+           <string>Sty&amp;le engine:</string>
+          </property>
+          <property name="buddy">
+           <cstring>citeEngineCO</cstring>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QComboBox" name="citeEngineCO">
+          <property name="toolTip">
+           <string>A selection of different style engines (such as natbib) that respectively provide support for specific citytion and bibliography styles. Expand to get more information.</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QLabel" name="citationStyleL">
+          <property name="enabled">
            <bool>false</bool>
           </property>
-          <property name="text" >
-           <string>Natbib &amp;style:</string>
+          <property name="text">
+           <string>&amp;Variant:</string>
           </property>
-          <property name="buddy" >
+          <property name="buddy">
            <cstring>citeStyleCO</cstring>
           </property>
          </widget>
         </item>
         <item>
-         <widget class="QComboBox" name="citeStyleCO" >
-          <property name="enabled" >
+         <widget class="QComboBox" name="citeStyleCO">
+          <property name="enabled">
            <bool>false</bool>
           </property>
-          <property name="sizePolicy" >
-           <sizepolicy>
-            <hsizetype>5</hsizetype>
-            <vsizetype>0</vsizetype>
+          <property name="sizePolicy">
+           <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
+          <property name="toolTip">
+           <string>Provides available cite style variants.</string>
+          </property>
+         </widget>
+        </item>
+       </layout>
+      </item>
+      <item row="0" column="1">
+       <spacer>
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>40</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="1" column="0">
+    <widget class="QGroupBox" name="BiblioStyleBG">
+     <property name="title">
+      <string>Bibliography Style</string>
+     </property>
+     <property name="flat">
+      <bool>true</bool>
+     </property>
+     <layout class="QGridLayout" name="gridLayout_1">
+      <item row="1" column="0">
+       <widget class="QCheckBox" name="bibtopicCB">
+        <property name="toolTip">
+         <string>Select this if you want to split your bibliography into sections</string>
+        </property>
+        <property name="text">
+         <string>S&amp;ectioned bibliography</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="0">
+       <layout class="QHBoxLayout" name="horizontalLayout_1">
+        <item>
+         <widget class="QLabel" name="bibtexStyleLA">
+          <property name="text">
+           <string>Default BibTeX st&amp;yle:</string>
+          </property>
+          <property name="buddy">
+           <cstring>defaultBiblioCO</cstring>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QComboBox" name="defaultBiblioCO">
+          <property name="toolTip">
+           <string>Here, you can define a BibTeX style that is suggested in the BibTeX dialog by default</string>
+          </property>
+          <property name="editable">
+           <bool>true</bool>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QPushButton" name="rescanBibliosPB">
+          <property name="toolTip">
+           <string>Rescan style files</string>
+          </property>
+          <property name="text">
+           <string>Re&amp;scan</string>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QPushButton" name="resetDefaultBiblioPB">
+          <property name="toolTip">
+           <string>Reset to the preset default</string>
+          </property>
+          <property name="text">
+           <string>&amp;Reset</string>
+          </property>
          </widget>
         </item>
        </layout>
       </item>
+      <item row="0" column="1">
+       <spacer name="horizontalSpacer_2">
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>40</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
      </layout>
     </widget>
    </item>
-   <item row="2" column="0" >
+   <item row="2" column="0">
+    <widget class="QGroupBox" name="bibtexGB">
+     <property name="toolTip">
+      <string>Here you can define an alternative program to or specific options of BibTeX.</string>
+     </property>
+     <property name="title">
+      <string>Bibliography Generation</string>
+     </property>
+     <property name="flat">
+      <bool>true</bool>
+     </property>
+     <layout class="QGridLayout" name="gridLayout_2">
+      <item row="0" column="0">
+       <layout class="QHBoxLayout" name="horizontalLayout">
+        <item>
+         <widget class="QLabel" name="bibtexLA">
+          <property name="text">
+           <string>&amp;Processor:</string>
+          </property>
+          <property name="buddy">
+           <cstring>bibtexCO</cstring>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QComboBox" name="bibtexCO">
+          <property name="toolTip">
+           <string>Select a processor</string>
+          </property>
+         </widget>
+        </item>
+       </layout>
+      </item>
+      <item row="0" column="1" rowspan="2">
+       <spacer name="horizontalSpacer">
+        <property name="orientation">
+         <enum>Qt::Horizontal</enum>
+        </property>
+        <property name="sizeHint" stdset="0">
+         <size>
+          <width>183</width>
+          <height>20</height>
+         </size>
+        </property>
+       </spacer>
+      </item>
+      <item row="1" column="0">
+       <layout class="QHBoxLayout" name="horizontalLayout_2">
+        <item>
+         <widget class="QLabel" name="bibtexOptionsLA">
+          <property name="text">
+           <string>Op&amp;tions:</string>
+          </property>
+          <property name="buddy">
+           <cstring>bibtexOptionsLE</cstring>
+          </property>
+         </widget>
+        </item>
+        <item>
+         <widget class="QLineEdit" name="bibtexOptionsLE">
+          <property name="toolTip">
+           <string>Define options such as --min-crossrefs (see the documentation of BibTeX)</string>
+          </property>
+         </widget>
+        </item>
+       </layout>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="3" column="0">
     <spacer>
-     <property name="orientation" >
+     <property name="orientation">
       <enum>Qt::Vertical</enum>
      </property>
-     <property name="sizeType" >
+     <property name="sizeType">
       <enum>QSizePolicy::Expanding</enum>
      </property>
-     <property name="sizeHint" >
+     <property name="sizeHint" stdset="0">
       <size>
        <width>20</width>
        <height>20</height>
      </property>
     </spacer>
    </item>
-   <item row="1" column="0" >
-    <widget class="QCheckBox" name="bibtopicCB" >
-     <property name="toolTip" >
-      <string>Select this if you want to split your bibliography into sections</string>
-     </property>
-     <property name="text" >
-      <string>S&amp;ectioned bibliography</string>
-     </property>
-    </widget>
-   </item>
   </layout>
  </widget>
- <pixmapfunction></pixmapfunction>
  <includes>
-  <include location="local" >qt_helpers.h</include>
+  <include location="local">qt_i18n.h</include>
  </includes>
  <resources/>
  <connections/>