]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ui/PDFSupportUi.ui
Embedding: add embedCB checkboxes to IncludeUi and ExternalUi
[lyx.git] / src / frontends / qt4 / ui / PDFSupportUi.ui
index 553faf29fcd737c4a249f4e8aee2035b6b631c03..9b8389a170d33e9cd66de02b31190b2363978cb5 100644 (file)
 <ui version="4.0" >
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
  <class>PDFSupportUi</class>
  <widget class="QWidget" name="PDFSupportUi" >
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>502</width>
-    <height>417</height>
+    <width>427</width>
+    <height>414</height>
    </rect>
   </property>
-  <widget class="QCheckBox" name="use_hyperrefCB" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>0</y>
-     <width>141</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="toolTip" >
-    <string>Enable clickable crossreferences and header informations</string>
-   </property>
-   <property name="text" >
-    <string>&amp;Use hyperref support</string>
-   </property>
-  </widget>
-  <widget class="QCheckBox" name="fullscreenCB" >
-   <property name="geometry" >
-    <rect>
-     <x>14</x>
-     <y>310</y>
-     <width>161</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <property name="toolTip" >
-    <string>Enable fullscreen PDF presentation</string>
-   </property>
-   <property name="text" >
-    <string>Load in &amp;fullscreen mode</string>
-   </property>
-  </widget>
-  <widget class="QGroupBox" name="bookmarksGB" >
-   <property name="geometry" >
-    <rect>
-     <x>11</x>
-     <y>191</y>
-     <width>201</width>
-     <height>107</height>
-    </rect>
-   </property>
-   <property name="title" >
-    <string>Generate Bookmarks</string>
-   </property>
-   <property name="checkable" >
-    <bool>true</bool>
+  <property name="windowTitle" >
+   <string>Form</string>
+  </property>
+  <layout class="QGridLayout" >
+   <property name="margin" >
+    <number>9</number>
    </property>
-   <property name="checked" >
-    <bool>true</bool>
+   <property name="spacing" >
+    <number>6</number>
    </property>
-   <widget class="QCheckBox" name="bookmarksnumberedCB" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>19</y>
-      <width>151</width>
-      <height>21</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>Numbered bookmarks</string>
-    </property>
-   </widget>
-   <widget class="QGroupBox" name="bookmarksopenGB" >
-    <property name="geometry" >
-     <rect>
-      <x>11</x>
-      <y>46</y>
-      <width>181</width>
-      <height>51</height>
-     </rect>
-    </property>
-    <property name="title" >
-     <string>Open bookmarks</string>
-    </property>
-    <property name="checkable" >
-     <bool>true</bool>
-    </property>
-    <property name="checked" >
-     <bool>false</bool>
-    </property>
-    <widget class="QLineEdit" name="bookmarksopenlevelLE" >
-     <property name="geometry" >
-      <rect>
-       <x>60</x>
-       <y>19</y>
-       <width>101</width>
-       <height>22</height>
-      </rect>
+   <item row="0" column="0" >
+    <widget class="QGroupBox" name="use_hyperrefGB" >
+     <property name="focusPolicy" >
+      <enum>Qt::StrongFocus</enum>
      </property>
-     <property name="toolTip" >
-      <string>Number of levels</string>
+     <property name="title" >
+      <string>&amp;Use hyperref support</string>
      </property>
-    </widget>
-    <widget class="QLabel" name="label" >
-     <property name="geometry" >
-      <rect>
-       <x>21</x>
-       <y>22</y>
-       <width>31</width>
-       <height>16</height>
-      </rect>
+     <property name="flat" >
+      <bool>true</bool>
      </property>
-     <property name="text" >
-      <string>&amp;Level:</string>
+     <property name="checkable" >
+      <bool>true</bool>
      </property>
-     <property name="buddy" >
-      <cstring>bookmarksopenlevelLE</cstring>
+     <property name="checked" >
+      <bool>false</bool>
      </property>
+     <layout class="QGridLayout" >
+      <property name="margin" >
+       <number>9</number>
+      </property>
+      <property name="spacing" >
+       <number>6</number>
+      </property>
+      <item row="2" column="0" >
+       <widget class="QCheckBox" name="pdfusetitleCB" >
+        <property name="toolTip" >
+         <string>If not stated explicitly, fill title and author from appropriate environments</string>
+        </property>
+        <property name="text" >
+         <string>Automatically fill header</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="0" >
+       <widget class="QCheckBox" name="fullscreenCB" >
+        <property name="toolTip" >
+         <string>Enable fullscreen PDF presentation</string>
+        </property>
+        <property name="text" >
+         <string>Load in &amp;fullscreen mode</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="0" >
+       <widget class="QGroupBox" name="bookmarksGB" >
+        <property name="title" >
+         <string>Generate Bookmarks</string>
+        </property>
+        <property name="checkable" >
+         <bool>true</bool>
+        </property>
+        <property name="checked" >
+         <bool>true</bool>
+        </property>
+        <layout class="QGridLayout" >
+         <property name="margin" >
+          <number>9</number>
+         </property>
+         <property name="spacing" >
+          <number>6</number>
+         </property>
+         <item row="1" column="0" colspan="3" >
+          <widget class="QCheckBox" name="bookmarksopenGB" >
+           <property name="enabled" >
+            <bool>true</bool>
+           </property>
+           <property name="text" >
+            <string>Open bookmarks</string>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="3" >
+          <spacer>
+           <property name="orientation" >
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" >
+            <size>
+             <width>40</width>
+             <height>20</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+         <item row="2" column="0" >
+          <spacer>
+           <property name="orientation" >
+            <enum>Qt::Horizontal</enum>
+           </property>
+           <property name="sizeHint" >
+            <size>
+             <width>40</width>
+             <height>20</height>
+            </size>
+           </property>
+          </spacer>
+         </item>
+         <item row="2" column="2" >
+          <widget class="QSpinBox" name="bookmarksopenlevelSB" >
+           <property name="enabled" >
+            <bool>false</bool>
+           </property>
+           <property name="toolTip" >
+            <string>Number of levels</string>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="1" >
+          <widget class="QLabel" name="label" >
+           <property name="enabled" >
+            <bool>false</bool>
+           </property>
+           <property name="text" >
+            <string>&amp;Level:</string>
+           </property>
+           <property name="buddy" >
+            <cstring>bookmarksopenlevelSB</cstring>
+           </property>
+          </widget>
+         </item>
+         <item row="0" column="0" colspan="4" >
+          <widget class="QCheckBox" name="bookmarksnumberedCB" >
+           <property name="text" >
+            <string>Numbered bookmarks</string>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </widget>
+      </item>
+      <item row="0" column="0" colspan="2" >
+       <widget class="QGroupBox" name="groupBox_2" >
+        <property name="title" >
+         <string>Header Information</string>
+        </property>
+        <layout class="QGridLayout" >
+         <property name="margin" >
+          <number>9</number>
+         </property>
+         <property name="spacing" >
+          <number>6</number>
+         </property>
+         <item row="0" column="0" >
+          <widget class="QLabel" name="titleL" >
+           <property name="text" >
+            <string>&amp;Title:</string>
+           </property>
+           <property name="buddy" >
+            <cstring>titleLE</cstring>
+           </property>
+          </widget>
+         </item>
+         <item row="0" column="1" >
+          <widget class="QLineEdit" name="titleLE" />
+         </item>
+         <item row="1" column="0" >
+          <widget class="QLabel" name="authorL" >
+           <property name="text" >
+            <string>&amp;Author:</string>
+           </property>
+           <property name="buddy" >
+            <cstring>authorLE</cstring>
+           </property>
+          </widget>
+         </item>
+         <item row="1" column="1" >
+          <widget class="QLineEdit" name="authorLE" />
+         </item>
+         <item row="2" column="0" >
+          <widget class="QLabel" name="subjectL" >
+           <property name="text" >
+            <string>&amp;Subject:</string>
+           </property>
+           <property name="buddy" >
+            <cstring>subjectLE</cstring>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="1" >
+          <widget class="QLineEdit" name="subjectLE" />
+         </item>
+         <item row="3" column="0" >
+          <widget class="QLabel" name="keywordsL" >
+           <property name="text" >
+            <string>&amp;Keywords:</string>
+           </property>
+           <property name="buddy" >
+            <cstring>keywordsLE</cstring>
+           </property>
+          </widget>
+         </item>
+         <item row="3" column="1" >
+          <widget class="QLineEdit" name="keywordsLE" />
+         </item>
+        </layout>
+       </widget>
+      </item>
+      <item row="4" column="0" colspan="2" >
+       <widget class="QGroupBox" name="groupBox_3" >
+        <property name="title" >
+         <string>Additional o&amp;ptions</string>
+        </property>
+        <property name="flat" >
+         <bool>false</bool>
+        </property>
+        <property name="checkable" >
+         <bool>false</bool>
+        </property>
+        <property name="checked" >
+         <bool>false</bool>
+        </property>
+        <layout class="QGridLayout" >
+         <property name="margin" >
+          <number>9</number>
+         </property>
+         <property name="spacing" >
+          <number>6</number>
+         </property>
+         <item row="0" column="0" >
+          <widget class="QLineEdit" name="optionsLE" >
+           <property name="sizePolicy" >
+            <sizepolicy>
+             <hsizetype>7</hsizetype>
+             <vsizetype>0</vsizetype>
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
+           <property name="toolTip" >
+            <string>e.g.: pdfstartview=XYZ, plainpages=false, pdfpagelabels</string>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </widget>
+      </item>
+      <item rowspan="3" row="1" column="1" >
+       <widget class="QGroupBox" name="groupBox_4" >
+        <property name="title" >
+         <string>Links</string>
+        </property>
+        <property name="checkable" >
+         <bool>false</bool>
+        </property>
+        <layout class="QGridLayout" >
+         <property name="margin" >
+          <number>9</number>
+         </property>
+         <property name="spacing" >
+          <number>6</number>
+         </property>
+         <item row="0" column="0" >
+          <widget class="QCheckBox" name="breaklinksCB" >
+           <property name="toolTip" >
+            <string>Allows link text to break across lines.</string>
+           </property>
+           <property name="text" >
+            <string>Break links over lines</string>
+           </property>
+          </widget>
+         </item>
+         <item row="1" column="0" >
+          <widget class="QCheckBox" name="pdfborderCB" >
+           <property name="text" >
+            <string>No frames around links</string>
+           </property>
+           <property name="tristate" >
+            <bool>false</bool>
+           </property>
+          </widget>
+         </item>
+         <item row="2" column="0" >
+          <widget class="QCheckBox" name="colorlinksCB" >
+           <property name="text" >
+            <string>Color links</string>
+           </property>
+          </widget>
+         </item>
+         <item row="3" column="0" >
+          <widget class="QCheckBox" name="backrefCB" >
+           <property name="toolTip" >
+            <string>Adds "backlink" text to the end of each item in the bibliography</string>
+           </property>
+           <property name="text" >
+            <string>&amp;Bibliographical backreferences</string>
+           </property>
+          </widget>
+         </item>
+         <item row="4" column="0" >
+          <widget class="QCheckBox" name="pagebackrefCB" >
+           <property name="toolTip" >
+            <string>Adds "backlink" text to the end of each item in the bibliography</string>
+           </property>
+           <property name="text" >
+            <string>Backreference by pa&amp;ge number</string>
+           </property>
+          </widget>
+         </item>
+        </layout>
+       </widget>
+      </item>
+     </layout>
     </widget>
-   </widget>
-  </widget>
-  <widget class="QGroupBox" name="groupBox_2" >
-   <property name="geometry" >
-    <rect>
-     <x>11</x>
-     <y>34</y>
-     <width>431</width>
-     <height>141</height>
-    </rect>
-   </property>
-   <property name="title" >
-    <string>Header Information</string>
-   </property>
-   <widget class="QLineEdit" name="titleLE" >
-    <property name="geometry" >
-     <rect>
-      <x>70</x>
-      <y>19</y>
-      <width>351</width>
-      <height>22</height>
-     </rect>
-    </property>
-   </widget>
-   <widget class="QLineEdit" name="authorLE" >
-    <property name="geometry" >
-     <rect>
-      <x>70</x>
-      <y>49</y>
-      <width>351</width>
-      <height>22</height>
-     </rect>
-    </property>
-   </widget>
-   <widget class="QLineEdit" name="subjectLE" >
-    <property name="geometry" >
-     <rect>
-      <x>70</x>
-      <y>79</y>
-      <width>351</width>
-      <height>22</height>
-     </rect>
-    </property>
-   </widget>
-   <widget class="QLabel" name="keywordsL" >
-    <property name="geometry" >
-     <rect>
-      <x>8</x>
-      <y>113</y>
-      <width>71</width>
-      <height>16</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>&amp;Keywords:</string>
-    </property>
-    <property name="buddy" >
-     <cstring>keywordsLE</cstring>
-    </property>
-   </widget>
-   <widget class="QLabel" name="subjectL" >
-    <property name="geometry" >
-     <rect>
-      <x>8</x>
-      <y>83</y>
-      <width>52</width>
-      <height>16</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>&amp;Subject:</string>
-    </property>
-    <property name="buddy" >
-     <cstring>subjectLE</cstring>
-    </property>
-   </widget>
-   <widget class="QLabel" name="authorL" >
-    <property name="geometry" >
-     <rect>
-      <x>8</x>
-      <y>53</y>
-      <width>52</width>
-      <height>16</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>&amp;Author:</string>
-    </property>
-    <property name="buddy" >
-     <cstring>authorLE</cstring>
-    </property>
-   </widget>
-   <widget class="QLabel" name="titleL" >
-    <property name="geometry" >
-     <rect>
-      <x>8</x>
-      <y>23</y>
-      <width>52</width>
-      <height>16</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>&amp;Title:</string>
-    </property>
-    <property name="buddy" >
-     <cstring>titleLE</cstring>
-    </property>
-   </widget>
-  </widget>
-  <widget class="QGroupBox" name="groupBox_3" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>360</y>
-     <width>431</width>
-     <height>51</height>
-    </rect>
-   </property>
-   <property name="title" >
-    <string>Additional o&amp;ptions for hyperref</string>
-   </property>
-   <property name="flat" >
-    <bool>true</bool>
-   </property>
-   <property name="checkable" >
-    <bool>false</bool>
-   </property>
-   <property name="checked" >
-    <bool>false</bool>
-   </property>
-   <widget class="QLineEdit" name="optionsLE" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>20</y>
-      <width>421</width>
-      <height>22</height>
-     </rect>
-    </property>
-    <property name="toolTip" >
-     <string>eg: pdfstartview=XYZ, plainpages=false, pdfpagelabels</string>
-    </property>
-   </widget>
-  </widget>
-  <widget class="QLineEdit" name="keywordsLE" >
-   <property name="geometry" >
-    <rect>
-     <x>81</x>
-     <y>144</y>
-     <width>351</width>
-     <height>22</height>
-    </rect>
-   </property>
-  </widget>
-  <widget class="QGroupBox" name="groupBox_4" >
-   <property name="geometry" >
-    <rect>
-     <x>221</x>
-     <y>191</y>
-     <width>221</width>
-     <height>131</height>
-    </rect>
-   </property>
-   <property name="title" >
-    <string>Links</string>
-   </property>
-   <widget class="QCheckBox" name="pdfborderCB" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>39</y>
-      <width>151</width>
-      <height>21</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>No frames around links</string>
-    </property>
-    <property name="tristate" >
-     <bool>false</bool>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="pagebackrefCB" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>99</y>
-      <width>201</width>
-      <height>21</height>
-     </rect>
-    </property>
-    <property name="toolTip" >
-     <string>Adds "backlink" text to the end of each item in the bibliography</string>
-    </property>
-    <property name="text" >
-     <string>Backreference by pa&amp;ge number</string>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="backrefCB" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>79</y>
-      <width>201</width>
-      <height>21</height>
-     </rect>
-    </property>
-    <property name="toolTip" >
-     <string>Adds "backlink" text to the end of each item in the bibliography</string>
-    </property>
-    <property name="text" >
-     <string>&amp;Bibliographical backreferences</string>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="breaklinksCB" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>19</y>
-      <width>141</width>
-      <height>21</height>
-     </rect>
-    </property>
-    <property name="toolTip" >
-     <string>Allows link text to break across lines.</string>
-    </property>
-    <property name="text" >
-     <string>Break links over lines</string>
-    </property>
-   </widget>
-   <widget class="QCheckBox" name="colorlinksCB" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>59</y>
-      <width>81</width>
-      <height>21</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>Color links</string>
-    </property>
-   </widget>
-  </widget>
+   </item>
+   <item row="1" column="0" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>409</width>
+       <height>16</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+  </layout>
  </widget>
- <tabstops>
-  <tabstop>use_hyperrefCB</tabstop>
-  <tabstop>titleLE</tabstop>
-  <tabstop>authorLE</tabstop>
-  <tabstop>subjectLE</tabstop>
-  <tabstop>keywordsLE</tabstop>
-  <tabstop>bookmarksGB</tabstop>
-  <tabstop>bookmarksnumberedCB</tabstop>
-  <tabstop>bookmarksopenGB</tabstop>
-  <tabstop>bookmarksopenlevelLE</tabstop>
-  <tabstop>optionsLE</tabstop>
-  <tabstop>breaklinksCB</tabstop>
-  <tabstop>pdfborderCB</tabstop>
-  <tabstop>colorlinksCB</tabstop>
-  <tabstop>backrefCB</tabstop>
-  <tabstop>pagebackrefCB</tabstop>
-  <tabstop>fullscreenCB</tabstop>
- </tabstops>
- <includes>
-  <include location="local" >qt_helpers.h</include>
- </includes>
+ <pixmapfunction></pixmapfunction>
  <resources/>
- <connections/>
+ <connections>
+  <connection>
+   <sender>bookmarksopenGB</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>label</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>59</x>
+     <y>242</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>86</x>
+     <y>267</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>bookmarksopenGB</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>bookmarksopenlevelSB</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>82</x>
+     <y>240</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>139</x>
+     <y>275</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>