]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ui/EmbeddedFilesUi.ui
Embedding: add embedCB checkboxes to IncludeUi and ExternalUi
[lyx.git] / src / frontends / qt4 / ui / EmbeddedFilesUi.ui
index bcf320acc858f9b841f04a5db67b695205d325ff..afbf0cfc0446efa184b7c4b32089835fcbdde96a 100644 (file)
 <ui version="4.0" >
- <class>GuiEmbeddedFilesUi</class>
- <widget class="QWidget" name="GuiEmbeddedFilesUi" >
-  <property name="windowModality" >
-   <enum>Qt::NonModal</enum>
-  </property>
+ <class>EmbeddedFilesUi</class>
+ <widget class="QWidget" name="EmbeddedFilesUi" >
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>145</width>
-    <height>390</height>
+    <width>409</width>
+    <height>346</height>
    </rect>
   </property>
   <property name="windowTitle" >
-   <string/>
+   <string>EmbeddedFiles</string>
   </property>
-  <layout class="QVBoxLayout" >
+  <layout class="QGridLayout" >
    <property name="margin" >
     <number>9</number>
    </property>
    <property name="spacing" >
     <number>6</number>
    </property>
-   <item>
-    <widget class="QCheckBox" name="enableCB" >
+   <item row="6" column="1" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>20</width>
+       <height>40</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="5" column="1" >
+    <widget class="QPushButton" name="removePB" >
      <property name="text" >
-      <string>Enable embedding</string>
+      <string>Remove</string>
      </property>
     </widget>
    </item>
-   <item>
-    <widget class="QListWidget" name="filesLW" >
-     <property name="toolTip" >
-      <string>List of embedded files</string>
-     </property>
-     <property name="selectionMode" >
-      <enum>QAbstractItemView::ExtendedSelection</enum>
-     </property>
-     <property name="currentRow" >
-      <number>-1</number>
+   <item row="4" column="1" >
+    <widget class="QPushButton" name="addPB" >
+     <property name="text" >
+      <string>Add</string>
      </property>
     </widget>
    </item>
-   <item>
-    <widget class="QLabel" name="pathLBL" >
+   <item rowspan="3" row="4" column="0" >
+    <widget class="QListWidget" name="extraLW" />
+   </item>
+   <item row="3" column="0" >
+    <widget class="QLabel" name="extraLBL" >
      <property name="text" >
-      <string>External FIle Name:</string>
+      <string>Extra embedded files:</string>
      </property>
     </widget>
    </item>
-   <item>
-    <widget class="QLineEdit" name="fullpathLE" />
+   <item row="2" column="0" >
+    <widget class="QListWidget" name="filesLW" />
    </item>
-   <item>
-    <layout class="QHBoxLayout" >
-     <property name="margin" >
-      <number>0</number>
+   <item row="0" column="0" >
+    <widget class="QCheckBox" name="bundleCB" >
+     <property name="text" >
+      <string>Save this document in bundled format</string>
      </property>
-     <property name="spacing" >
-      <number>6</number>
+    </widget>
+   </item>
+   <item row="1" column="0" >
+    <widget class="QLabel" name="filesLBL" >
+     <property name="text" >
+      <string>Embedded files:</string>
      </property>
-     <item>
-      <widget class="QToolButton" name="addPB" >
-       <property name="toolTip" >
-        <string>Add embedded file</string>
-       </property>
-       <property name="text" >
-        <string>...</string>
-       </property>
-       <property name="icon" >
-        <iconset>../../../../lib/images/file-open.png</iconset>
-       </property>
-       <property name="iconSize" >
-        <size>
-         <width>20</width>
-         <height>20</height>
-        </size>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="extractPB" >
-       <property name="toolTip" >
-        <string>Extract selected file.</string>
-       </property>
-       <property name="text" >
-        <string>...</string>
-       </property>
-       <property name="icon" >
-        <iconset>../../../../lib/images/depth-increment.png</iconset>
-       </property>
-       <property name="iconSize" >
-        <size>
-         <width>20</width>
-         <height>20</height>
-        </size>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="updatePB" >
-       <property name="toolTip" >
-        <string>Update selected file with external files</string>
-       </property>
-       <property name="text" >
-        <string>...</string>
-       </property>
-       <property name="icon" >
-        <iconset>../../../../lib/images/copy.png</iconset>
-       </property>
-       <property name="iconSize" >
-        <size>
-         <width>20</width>
-         <height>20</height>
-        </size>
-       </property>
-      </widget>
-     </item>
-    </layout>
+    </widget>
    </item>
   </layout>
  </widget>
+ <layoutdefault spacing="6" margin="11" />
  <includes>
   <include location="local" >qt_helpers.h</include>
  </includes>