]> git.lyx.org Git - features.git/commitdiff
first commit new graphics dialog
authorEdwin Leuven <e.leuven@gmail.com>
Thu, 31 Jan 2002 13:15:33 +0000 (13:15 +0000)
committerEdwin Leuven <e.leuven@gmail.com>
Thu, 31 Jan 2002 13:15:33 +0000 (13:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3464 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt2/ChangeLog
src/frontends/qt2/QAbout.C
src/frontends/qt2/QGraphics.C
src/frontends/qt2/QGraphics.h
src/frontends/qt2/QGraphicsDialog.C
src/frontends/qt2/QGraphicsDialog.h
src/frontends/qt2/lengthcombo.C
src/frontends/qt2/ui/QAboutDialog.ui
src/frontends/qt2/ui/QFloatDialog.ui
src/frontends/qt2/ui/QGraphicsDialog.ui

index 459c1f6d368b1cee651691af2aa1138c0982812d..34caf1ee682e80e80d9d37fcc6e016e95d2f4a76 100644 (file)
@@ -1,3 +1,15 @@
+2002-01-31  Edwin Leuven  <leuven@fee.uva.nl>
+       
+       * qt2/QGraphics.C
+       * qt2/QGraphics.h
+       * qt2/QGraphicsDialog.C
+       * qt2/QGraphicsDialog.h
+       * qt2/lengthcombo.C
+       * qt2/ui/QGraphicsDialog.ui: new dialog
+       * qt2/QAbout.C:
+       * qt2/ui/QAboutDialog.ui: reduce size
+       * qt2/ui/QFloatDialog.ui: update dialog
+
 2002-01-29  Edwin Leuven  <leuven@fee.uva.nl>
 
        * Makefile.am:
index bfaa65f1bbbbaeb309051ba19f132893ab2c00ca..73ea5e3f91f5039247a9e8f8255235c74ee4d331 100644 (file)
@@ -40,9 +40,12 @@ void QAbout::build_dialog()
        connect(dialog_.get()->closePB, SIGNAL(clicked()),
                this, SLOT(slotClose()));
 
-       dialog_->copyrightLA->setText(controller().getCopyright().c_str());
-       dialog_->licenseLA->setText(controller().getLicense().c_str());
-       dialog_->disclaimerLA->setText(controller().getDisclaimer().c_str());
+       dialog_->copyright->setText(controller().getCopyright().c_str());
+       dialog_->copyright->append("\n");
+       dialog_->copyright->append(controller().getLicense().c_str());
+       dialog_->copyright->append("\n");
+       dialog_->copyright->append(controller().getDisclaimer().c_str());
+
        dialog_->versionLA->setText(controller().getVersion().c_str()); 
  
        stringstream in;
index 40a8bc4565927fdbc25fc6203dbe70185acdc725..dfe5026e18a0fe8d83d090b14c267992fb2e01b5 100644 (file)
@@ -4,6 +4,7 @@
  * Read the file COPYING
  *
  * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author Edwin Leuven <leuven@fee.uva.nl>
  */
 
 #include <config.h>
 #pragma implementation
 #endif
 
+#include <qlineedit.h>
+#include <qpushbutton.h>
+#include <qcheckbox.h>
+#include <qradiobutton.h>
+#include <qcombobox.h>
+#include <qgroupbox.h>
+#include <qbuttongroup.h>
+#include <qlabel.h>
+
+#include "lengthcombo.h"
+
 #include "QGraphicsDialog.h"
-#include "ControlGraphics.h"
 #include "QGraphics.h"
 #include "Qt2BC.h"
 #include "gettext.h"
 #include "debug.h" 
 
+#include "QtLyXView.h"
+#include "ControlGraphics.h"
+
 #include "support/lstrings.h"
+#include "support/FileInfo.h"
+#include "support/filetools.h"  // for MakeAbsPath etc
+#include "insets/insetgraphicsParams.h"
+#include "lyxrc.h" // for lyxrc.display_graphics
  
-#include <qlineedit.h>
-#include <qpushbutton.h>
-#include <qcheckbox.h>
-#include <qradiobutton.h>
-#include <qcombobox.h>
 
 typedef Qt2CB<ControlGraphics, Qt2DB<QGraphicsDialog> > base_class;
 
@@ -42,136 +55,246 @@ void QGraphics::build_dialog()
        bc().setOK(dialog_->okPB);
        bc().setApply(dialog_->applyPB);
        bc().setCancel(dialog_->closePB);
-       bc().addReadOnly(dialog_->filenameED);
+       bc().setRestore(dialog_->restorePB);
+       
+       bc().addReadOnly(dialog_->rotateGB);
+       bc().addReadOnly(dialog_->latexoptionsGB);
+       bc().addReadOnly(dialog_->bbGB);
+       bc().addReadOnly(dialog_->sizeBG);
+       bc().addReadOnly(dialog_->displayGB);
+       bc().addReadOnly(dialog_->subfigure);
+       bc().addReadOnly(dialog_->subcaption);
+       bc().addReadOnly(dialog_->filenameL);
+       bc().addReadOnly(dialog_->filename);
        bc().addReadOnly(dialog_->browsePB);
-       bc().addReadOnly(dialog_->widthED);
-       bc().addReadOnly(dialog_->widthCO);
-       bc().addReadOnly(dialog_->heightED);
-       bc().addReadOnly(dialog_->heightCO);
-       bc().addReadOnly(dialog_->scaleCB);
-       bc().addReadOnly(dialog_->rotateED);
-       bc().addReadOnly(dialog_->monochromeRB);
-       bc().addReadOnly(dialog_->grayscaleRB);
-       bc().addReadOnly(dialog_->colorRB);
-       bc().addReadOnly(dialog_->dontRB);
-       bc().addReadOnly(dialog_->subcaptionED);
 }
 
-
-namespace {
-       string const numtostr(double val) {
-               string a(tostr(val));
-               if (a == "0")
-                       a = "";
-               return a;
-       }
-} // namespace anon
 void QGraphics::update_contents()
 {
        InsetGraphicsParams & igp = controller().params();
+       
+       string unit = "cm";
+       if (lyxrc.default_papersize < 3)
+           unit = "in";
+       string const defaultUnit = string(unit);
+       
+       // Update dialog with details from inset
+       dialog_->filename->setText(igp.filename.c_str());
+
+       // set the bounding box values, if exists. First we need the whole
+       // path, because the controller knows nothing about the doc-dir
+       controller().bbChanged = false;
+       if (igp.bb.empty()) {
+               string const fileWithAbsPath = MakeAbsPath(igp.filename, OnlyPath(igp.filename));       
+               string bb = controller().readBB(fileWithAbsPath);
+               if (!bb.empty()) {
+                       // get the values from the file
+                       // in this case we always have the point-unit
+                       dialog_->lbX->setText(token(bb,' ',0).c_str());
+                       dialog_->lbY->setText(token(bb,' ',1).c_str());
+                       dialog_->rtX->setText(token(bb,' ',2).c_str());
+                       dialog_->rtY->setText(token(bb,' ',3).c_str());
+               }
+       } else {
+               // get the values from the inset
+               controller().bbChanged = true;
+               dialog_->lbX->setText(token(igp.bb,' ',0).c_str());
+               dialog_->lbY->setText(token(igp.bb,' ',1).c_str());
+               dialog_->rtX->setText(token(igp.bb,' ',2).c_str());
+               dialog_->rtY->setText(token(igp.bb,' ',3).c_str());
+       }
+       
+       // Update the draft and clip mode
+       dialog_->draft->setChecked(igp.draft);
+       dialog_->clip->setChecked(igp.clip);
+       
+       // Update the subcaption check button and input field
+       dialog_->subfigure->setChecked(igp.subcaption);
+       dialog_->subcaption->setText(igp.subcaptionText.c_str());
 
-       dialog_->filenameED->setText(igp.filename.c_str());
-       QRadioButton * button;
        switch (igp.display) {
-               case InsetGraphicsParams::COLOR: button = dialog_->colorRB; break;
-               case InsetGraphicsParams::GRAYSCALE: button = dialog_->grayscaleRB; break;
-               case InsetGraphicsParams::MONOCHROME: button = dialog_->monochromeRB; break;
-               case InsetGraphicsParams::NONE: button = dialog_->dontRB; break;
+           case InsetGraphicsParams::MONOCHROME: {
+                   dialog_->show->setCurrentItem(0);
+                   break;
+           }
+           case InsetGraphicsParams::GRAYSCALE: {
+                   dialog_->show->setCurrentItem(1);
+                   break;
+           }
+           case InsetGraphicsParams::COLOR: {
+                   dialog_->show->setCurrentItem(2);
+                   break;
+           }
+           case InsetGraphicsParams::NONE: {
+                   dialog_->show->setCurrentItem(3);
+                   break;
+           }
        }
-       button->setChecked(true);
-
-       int item = 0;
-       switch (igp.widthResize) {
-               case InsetGraphicsParams::INCH: item = 1; break;
-               case InsetGraphicsParams::PERCENT_PAGE: item = 2; break;
-               case InsetGraphicsParams::PERCENT_COLUMN: item = 3; break;
-               default: break;
+       
+       dialog_->widthUnit->setCurrentItem(igp.width.unit());
+       dialog_->heightUnit->setCurrentItem(igp.height.unit());
+       
+       switch (igp.size_type) {
+           case InsetGraphicsParams::DEFAULT_SIZE: {
+                   dialog_->defaultRB->setChecked(TRUE);
+                   break;
+           }
+           case InsetGraphicsParams::WH: {
+                   dialog_->customRB->setChecked(TRUE);
+                   break;
+           }
+           case InsetGraphicsParams::SCALE: {
+                   dialog_->scaleRB->setChecked(TRUE);
+                   dialog_->scale->setText(tostr(igp.scale).c_str());
+                   break;
+           }
        }
-       dialog_->widthCO->setCurrentItem(item);
-       item = 0;
-       switch (igp.heightResize) {
-               case InsetGraphicsParams::INCH: item = 1; break;
-               case InsetGraphicsParams::PERCENT_PAGE: item = 2; break;
-               default: break;
+
+       // aspect ratio
+       dialog_->aspectratio->setChecked(igp.keepAspectRatio);
+       
+       // now the lyx-internally viewsize
+       dialog_->displaywidthUnit->setCurrentItem(igp.lyxwidth.unit());
+       dialog_->displayheightUnit->setCurrentItem(igp.lyxheight.unit());
+       
+       // Update the rotate angle
+       dialog_->angle->setText(tostr(igp.rotateAngle).c_str());
+       
+       if (igp.rotateOrigin.empty()) {
+               dialog_->origin->setCurrentItem(0);
+       } else {
+               //fl_set_choice_text(special_->choice_origin,igp.rotateOrigin.c_str());
        }
-       dialog_->heightCO->setCurrentItem(item);
-       // FIXME: scale ???
-       dialog_->widthED->setText(numtostr(igp.widthSize).c_str());
-       dialog_->heightED->setText(numtostr(igp.heightSize).c_str());
-       dialog_->rotateED->setText(numtostr(igp.rotateAngle).c_str());
-       dialog_->subcaptionED->setText(igp.subcaptionText.c_str());
+
+
+       // latex options
+       dialog_->latexoptions->setText(igp.special.c_str());
 }
 
 
 void QGraphics::apply()
 {
+       // Create the parameters structure and fill the data from the dialog.
        InsetGraphicsParams & igp = controller().params();
-       if (dialog_->colorRB->isChecked())
-               igp.display = InsetGraphicsParams::COLOR;
-       else if (dialog_->grayscaleRB->isChecked())
-               igp.display = InsetGraphicsParams::GRAYSCALE;
-       else if (dialog_->monochromeRB->isChecked())
-               igp.display = InsetGraphicsParams::MONOCHROME;
-       else
-               igp.display = InsetGraphicsParams::NONE;
-        
-       igp.subcaptionText = dialog_->subcaptionED->text().latin1();
-       igp.subcaption = !igp.subcaptionText.empty();
-
-       switch (dialog_->widthCO->currentItem()) {
-               case 0: igp.widthResize = InsetGraphicsParams::CM; break;
-               case 1: igp.widthResize = InsetGraphicsParams::INCH; break;
-               case 2: igp.widthResize = InsetGraphicsParams::PERCENT_PAGE; break;
-               case 3: igp.widthResize = InsetGraphicsParams::PERCENT_COLUMN; break;
-               default:;
-       }
-       if (string(dialog_->widthED->text().latin1()).empty()) {
-               igp.widthResize = InsetGraphicsParams::DEFAULT_SIZE;
-               igp.widthSize = 0.0; 
-       } else {
-               igp.widthSize = strToDbl(dialog_->widthED->text().latin1());
+       
+       igp.filename = dialog_->filename->text();
+       
+       if (!controller().bbChanged)            // different to the original one?
+               igp.bb = string();                      // don't write anything     
+       else {
+               string bb;
+               string lbX(dialog_->lbX->text());
+               string lbY(dialog_->lbY->text());
+               string rtX(dialog_->rtX->text());
+               string rtY(dialog_->rtY->text());
+               
+               if (lbX.empty())
+                       bb = "0 ";
+               else
+                       bb = lbX + " ";
+               if (lbY.empty())
+                       bb += "0 ";
+               else
+                       bb += (lbY + " ");
+               if (rtX.empty())
+                       bb += "0 ";
+               else
+                       bb += (rtX + " ");
+               if (rtY.empty())
+                       bb += "0 ";
+               else
+                       bb += (rtY + " ");
+
+               igp.bb = bb;
        }
-       switch (dialog_->heightCO->currentItem()) {
-               case 0: igp.heightResize = InsetGraphicsParams::CM; break;
-               case 1: igp.heightResize = InsetGraphicsParams::INCH; break;
-               case 2: igp.heightResize = InsetGraphicsParams::PERCENT_PAGE; break;
+       
+       igp.draft = dialog_->draft->isChecked();
+       
+       igp.clip = dialog_->clip->isChecked();
+       
+       igp.subcaption = dialog_->subfigure->isChecked();
+       
+       igp.subcaptionText = dialog_->subcaption->text();
+
+       switch(dialog_->show->currentItem()) {
+               case 0: igp.display = InsetGraphicsParams::MONOCHROME; break;
+               case 1: igp.display = InsetGraphicsParams::GRAYSCALE; break;
+               case 2: igp.display = InsetGraphicsParams::COLOR; break;
+               case 3: igp.display = InsetGraphicsParams::NONE; break;
                default:;
        }
-       if (string(dialog_->heightED->text().latin1()).empty()) {
-               igp.heightResize = InsetGraphicsParams::DEFAULT_SIZE;
-               igp.heightSize = 0.0; 
-       } else {
-               igp.heightSize = strToDbl(dialog_->heightED->text().latin1());
-       } 
+       
+       if (dialog_->defaultRB->isChecked())
+           igp.size_type = InsetGraphicsParams::DEFAULT_SIZE;
+       else if (dialog_->customRB->isChecked())
+           igp.size_type = InsetGraphicsParams::WH;
+       else
+           igp.size_type = InsetGraphicsParams::SCALE;
+
+       string value(dialog_->width->text());
+       igp.width = LyXLength(strToDbl(value), dialog_->widthUnit->currentLengthItem());
+
+       value = string(dialog_->height->text());
+       igp.height = LyXLength(strToDbl(value), dialog_->heightUnit->currentLengthItem());
+
+       value = string(dialog_->displaywidth->text());
+       igp.lyxwidth = LyXLength(strToDbl(value), dialog_->displaywidthUnit->currentLengthItem());
 
-       // FIXME: scale ??? 
+       value = string(dialog_->displayheight->text());
+       igp.lyxheight = LyXLength(strToDbl(value), dialog_->displayheightUnit->currentLengthItem());
 
-       igp.rotateAngle = strToDbl(dialog_->rotateED->text().latin1());
+       igp.scale = strToInt(string(dialog_->scale->text()));
 
-       igp.filename = dialog_->filenameED->text().latin1();
+       igp.keepAspectRatio = dialog_->aspectratio->isChecked();
+
+       igp.rotateAngle = strToDbl(string(dialog_->angle->text()));
+       
+       while (igp.rotateAngle < 0.0 || igp.rotateAngle > 360.0) {
+               if (igp.rotateAngle < 0.0) {
+                       igp.rotateAngle += 360.0;
+               } else if (igp.rotateAngle > 360.0) {
+                       igp.rotateAngle -= 360.0;
+               }
+       }
+       
+       if ((dialog_->origin->currentItem()) > 0)
+               igp.rotateOrigin = dialog_->origin->currentText();
+       else
+           igp.rotateOrigin = string();
+       
+       igp.special = dialog_->latexoptions->text();
+       
+       igp.testInvariant();
 }
 
 
 void QGraphics::browse()
 {
-       string const & name = controller().Browse(dialog_->filenameED->text().latin1());
+       string const & name = controller().Browse(dialog_->filename->text().latin1());
        if (!name.empty())
-               dialog_->filenameED->setText(name.c_str()); 
+               dialog_->filename->setText(name.c_str()); 
+}
+
+void QGraphics::get()
+{
+    string const filename(dialog_->filename->text());
+    if (!filename.empty()) {
+       string const fileWithAbsPath = MakeAbsPath(filename, OnlyPath(filename));       
+       string bb = controller().readBB(fileWithAbsPath);
+       if (!bb.empty()) {              
+               dialog_->lbX->setText(token(bb,' ',0).c_str());
+               dialog_->lbY->setText(token(bb,' ',1).c_str());
+               dialog_->rtX->setText(token(bb,' ',2).c_str());
+               dialog_->rtY->setText(token(bb,' ',3).c_str());
+       }
+       controller().bbChanged = false;
+    }
 }
 
 
 bool QGraphics::isValid()
 {
-       return !string(dialog_->filenameED->text().latin1()).empty();
+       return !string(dialog_->filename->text().latin1()).empty();
 }
+
+
index 75253a7de86fd47b413716928a9ddcb3524dfb1c..11c3dffa4858688ee5c408421a2eb6fe26f9376e 100644 (file)
@@ -43,6 +43,14 @@ private:
 
        /// browse for a file
        void browse(); 
+       /// get bounding box from file
+       void get(); 
 };
 
 #endif // QGRAPHICS_H
+
+
+
+
+
+
index 51fc9510c73edf57a2b66b330b7aeb23d00a3325..13fa42f744c6204d80c77612fcc4b603a5edc3ec 100644 (file)
@@ -28,9 +28,11 @@ QGraphicsDialog::QGraphicsDialog(QGraphics * form)
        connect(okPB, SIGNAL(clicked()),
                form, SLOT(slotOK()));
        connect(applyPB, SIGNAL(clicked()),
-               form, SLOT(slotOK()));
+               form, SLOT(slotApply()));
        connect(closePB, SIGNAL(clicked()),
                form, SLOT(slotClose()));
+       connect(restorePB, SIGNAL(clicked()),
+               form, SLOT(slotRestore()));
 }
 
  
@@ -47,7 +49,13 @@ void QGraphicsDialog::closeEvent(QCloseEvent * e)
 }
 
 
-void QGraphicsDialog::browseClicked()
+void QGraphicsDialog::browse_clicked()
 {
        form_->browse();
 }
+
+void QGraphicsDialog::get_clicked()
+{
+       form_->get();
+}
+
index 1135c7fe197e4212794672c245b2a32f42dc845d..671f33608762755f53258cdeeffb10b21724b86f 100644 (file)
@@ -23,7 +23,8 @@ public:
 
 protected slots:
        virtual void change_adaptor();
-       virtual void browseClicked();
+       virtual void browse_clicked();
+       virtual void get_clicked();
 
 protected:
        virtual void closeEvent(QCloseEvent * e);
index 7b300eb952c5aa707614f2d4d07a66ec5cb2e146..736a5eb056c5e55dd66d0edad1b066d6cd4ceb3a 100644 (file)
 LengthCombo::LengthCombo(QWidget * parent, char * name)
        : QComboBox(parent, name)
 {
-       insertItem(_("Centimetres"));
-       insertItem(_("Inches"));
-       insertItem(_("Points"));
-       insertItem(_("Millimetres"));
-       insertItem(_("Picas"));
-       insertItem(_("ex units"));
-       insertItem(_("em units"));
-       insertItem(_("Scaled points"));
-       insertItem(_("Big/PS points"));
-       insertItem(_("Didot points"));
-       insertItem(_("Cicero points"));
-       insertItem(_("Mathematical units"));
-       insertItem(_("Percent of page"));
-       insertItem(_("Percent of column"));
-       insertItem(_("Percent of line width"));
+       insertItem(_("cm"));
+       insertItem(_("in"));
+       insertItem(_("pt"));
+       insertItem(_("mm"));
+       insertItem(_("pc"));
+       insertItem(_("ex"));
+       insertItem(_("em"));
+       insertItem(_("sp"));
+       insertItem(_("bp"));
+       insertItem(_("dd"));
+       insertItem(_("cc"));
+       insertItem(_("mu"));
+       insertItem(_("%p"));
+       insertItem(_("%c"));
+       insertItem(_("%l"));
 
        connect(this, SIGNAL(activated(int)),
                this, SLOT(has_activated(int)));
index 0095bd9090c5a96864e41c2ff05ef53c3f87f8bc..4b1ad1c4e5cfcd9b9df500ac10111d43a5ab6b39 100644 (file)
@@ -13,8 +13,8 @@
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>444</width>
-            <height>454</height>
+            <width>331</width>
+            <height>232</height>
         </rect>
     </property>
     <property stdset="1">
                         </property>
                         <property stdset="1">
                             <name>alignment</name>
-                            <set>AlignCenter</set>
+                            <set>WordBreak|AlignCenter</set>
                         </property>
                         <property>
                             <name>hAlign</name>
                         </property>
+                        <property>
+                            <name>wordwrap</name>
+                        </property>
                     </widget>
                 </vbox>
             </widget>
                             <name>name</name>
                             <cstring>creditsTV</cstring>
                         </property>
-                        <property stdset="1">
-                            <name>textFormat</name>
-                            <enum>RichText</enum>
-                        </property>
                         <property stdset="1">
                             <name>text</name>
                             <string></string>
                         </property>
+                        <property stdset="1">
+                            <name>textFormat</name>
+                            <enum>RichText</enum>
+                        </property>
                     </widget>
                 </vbox>
             </widget>
                     <name>title</name>
                     <string>Copyright</string>
                 </attribute>
-                <vbox>
+                <grid>
                     <property stdset="1">
                         <name>margin</name>
                         <number>11</number>
                         <name>spacing</name>
                         <number>6</number>
                     </property>
-                    <widget>
-                        <class>QLabel</class>
-                        <property stdset="1">
-                            <name>name</name>
-                            <cstring>copyrightLA</cstring>
-                        </property>
-                        <property stdset="1">
-                            <name>frameShape</name>
-                            <enum>Box</enum>
-                        </property>
-                        <property stdset="1">
-                            <name>frameShadow</name>
-                            <enum>Sunken</enum>
-                        </property>
-                        <property stdset="1">
-                            <name>margin</name>
-                            <number>6</number>
-                        </property>
-                        <property stdset="1">
-                            <name>text</name>
-                            <string>Copyright notice goes here</string>
-                        </property>
-                        <property stdset="1">
-                            <name>alignment</name>
-                            <set>AlignCenter</set>
-                        </property>
-                        <property>
-                            <name>hAlign</name>
-                        </property>
-                    </widget>
-                    <widget>
-                        <class>QLabel</class>
-                        <property stdset="1">
-                            <name>name</name>
-                            <cstring>disclaimerLA</cstring>
-                        </property>
-                        <property stdset="1">
-                            <name>sizePolicy</name>
-                            <sizepolicy>
-                                <hsizetype>5</hsizetype>
-                                <vsizetype>5</vsizetype>
-                            </sizepolicy>
-                        </property>
-                        <property stdset="1">
-                            <name>minimumSize</name>
-                            <size>
-                                <width>0</width>
-                                <height>0</height>
-                            </size>
-                        </property>
-                        <property stdset="1">
-                            <name>frameShape</name>
-                            <enum>Box</enum>
-                        </property>
-                        <property stdset="1">
-                            <name>frameShadow</name>
-                            <enum>Sunken</enum>
-                        </property>
-                        <property stdset="1">
-                            <name>margin</name>
-                            <number>6</number>
-                        </property>
-                        <property stdset="1">
-                            <name>text</name>
-                            <string>Warranty goes here</string>
-                        </property>
-                        <property stdset="1">
-                            <name>alignment</name>
-                            <set>WordBreak|AlignCenter</set>
-                        </property>
-                        <property>
-                            <name>hAlign</name>
-                        </property>
-                        <property>
-                            <name>wordwrap</name>
-                        </property>
-                    </widget>
-                    <widget>
-                        <class>QLabel</class>
+                    <widget row="0"  column="0" >
+                        <class>QTextView</class>
                         <property stdset="1">
                             <name>name</name>
-                            <cstring>licenseLA</cstring>
-                        </property>
-                        <property stdset="1">
-                            <name>sizePolicy</name>
-                            <sizepolicy>
-                                <hsizetype>5</hsizetype>
-                                <vsizetype>5</vsizetype>
-                            </sizepolicy>
-                        </property>
-                        <property stdset="1">
-                            <name>frameShape</name>
-                            <enum>Box</enum>
-                        </property>
-                        <property stdset="1">
-                            <name>frameShadow</name>
-                            <enum>Sunken</enum>
-                        </property>
-                        <property stdset="1">
-                            <name>margin</name>
-                            <number>6</number>
-                        </property>
-                        <property stdset="1">
-                            <name>text</name>
-                            <string>GPL goes here</string>
-                        </property>
-                        <property stdset="1">
-                            <name>alignment</name>
-                            <set>WordBreak|AlignCenter</set>
-                        </property>
-                        <property>
-                            <name>hAlign</name>
-                        </property>
-                        <property>
-                            <name>wordwrap</name>
+                            <cstring>copyright</cstring>
                         </property>
                     </widget>
-                </vbox>
+                </grid>
             </widget>
         </widget>
         <widget>
-            <class>QPushButton</class>
+            <class>QLayoutWidget</class>
             <property stdset="1">
                 <name>name</name>
-                <cstring>closePB</cstring>
-            </property>
-            <property stdset="1">
-                <name>text</name>
-                <string>&amp;Close</string>
-            </property>
-            <property stdset="1">
-                <name>sizePolicy</name>
-                <sizepolicy>
-                    <hsizetype>0</hsizetype>
-                    <vsizetype>0</vsizetype>
-                </sizepolicy>
-            </property>
-            <property stdset="1">
-                <name>default</name>
-                <bool>true</bool>
+                <cstring>Layout1</cstring>
             </property>
+            <hbox>
+                <property stdset="1">
+                    <name>margin</name>
+                    <number>0</number>
+                </property>
+                <property stdset="1">
+                    <name>spacing</name>
+                    <number>6</number>
+                </property>
+                <spacer>
+                    <property>
+                        <name>name</name>
+                        <cstring>Spacer1</cstring>
+                    </property>
+                    <property stdset="1">
+                        <name>orientation</name>
+                        <enum>Horizontal</enum>
+                    </property>
+                    <property stdset="1">
+                        <name>sizeType</name>
+                        <enum>Expanding</enum>
+                    </property>
+                    <property>
+                        <name>sizeHint</name>
+                        <size>
+                            <width>20</width>
+                            <height>20</height>
+                        </size>
+                    </property>
+                </spacer>
+                <widget>
+                    <class>QPushButton</class>
+                    <property stdset="1">
+                        <name>name</name>
+                        <cstring>closePB</cstring>
+                    </property>
+                    <property stdset="1">
+                        <name>sizePolicy</name>
+                        <sizepolicy>
+                            <hsizetype>0</hsizetype>
+                            <vsizetype>0</vsizetype>
+                        </sizepolicy>
+                    </property>
+                    <property stdset="1">
+                        <name>text</name>
+                        <string>&amp;Close</string>
+                    </property>
+                    <property stdset="1">
+                        <name>default</name>
+                        <bool>true</bool>
+                    </property>
+                </widget>
+            </hbox>
         </widget>
     </vbox>
 </widget>
index 03ea4bf6584a1507d7bcc405dcdea2fdb435fdce..7bce5b921b09856c8a227293a8431bc734ffa939 100644 (file)
         <receiver>placement</receiver>
         <slot>setDisabled(bool)</slot>
     </connection>
+    <connection>
+        <sender>top</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>QFloatDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>page</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>QFloatDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>bottom</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>QFloatDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>here</sender>
+        <signal>stateChanged(int)</signal>
+        <receiver>QFloatDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>forcehere</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>QFloatDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <slot access="protected">change_adaptor()</slot>
 </connections>
 <tabstops>
     <tabstop>top</tabstop>
index 7365c20ca5f6196b0edb4fe3e1eed2f0a1ebdbc8..9060c6ea0d7c15ac17866aeb7789d0414b0941fc 100644 (file)
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>372</width>
-            <height>310</height>
+            <width>369</width>
+            <height>292</height>
         </rect>
     </property>
     <property stdset="1">
         <name>caption</name>
-        <string>Graphics</string>
+        <string>Form1</string>
     </property>
-    <grid>
+    <vbox>
         <property stdset="1">
             <name>margin</name>
             <number>11</number>
             <name>spacing</name>
             <number>6</number>
         </property>
-        <widget row="1"  column="0"  rowspan="1"  colspan="2" >
-            <class>QLayoutWidget</class>
-            <property stdset="1">
-                <name>name</name>
-                <cstring>Layout75</cstring>
-            </property>
-            <hbox>
-                <property stdset="1">
-                    <name>margin</name>
-                    <number>0</number>
-                </property>
-                <property stdset="1">
-                    <name>spacing</name>
-                    <number>6</number>
-                </property>
-                <widget>
-                    <class>QLineEdit</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>filenameED</cstring>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>File name to include</string>
-                    </property>
-                </widget>
-                <widget>
-                    <class>QPushButton</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>browsePB</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;Browse ...</string>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>Select a file</string>
-                    </property>
-                </widget>
-            </hbox>
-        </widget>
-        <widget row="0"  column="0" >
-            <class>QLabel</class>
-            <property stdset="1">
-                <name>name</name>
-                <cstring>filenameLA</cstring>
-            </property>
-            <property stdset="1">
-                <name>text</name>
-                <string>&amp;Filename:</string>
-            </property>
-            <property>
-                <name>buddy</name>
-                <cstring>filenameED</cstring>
-            </property>
-            <property>
-                <name>toolTip</name>
-                <string></string>
-            </property>
-        </widget>
-        <widget row="2"  column="1" >
-            <class>QButtonGroup</class>
-            <property stdset="1">
-                <name>name</name>
-                <cstring>displayBG</cstring>
-            </property>
-            <property stdset="1">
-                <name>sizePolicy</name>
-                <sizepolicy>
-                    <hsizetype>5</hsizetype>
-                    <vsizetype>7</vsizetype>
-                </sizepolicy>
-            </property>
-            <property stdset="1">
-                <name>title</name>
-                <string>LyX display</string>
-            </property>
-            <vbox>
-                <property stdset="1">
-                    <name>margin</name>
-                    <number>11</number>
-                </property>
-                <property stdset="1">
-                    <name>spacing</name>
-                    <number>6</number>
-                </property>
-                <widget>
-                    <class>QRadioButton</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>monochromeRB</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;Monochrome</string>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>FIXME</string>
-                    </property>
-                </widget>
-                <widget>
-                    <class>QRadioButton</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>grayscaleRB</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;Grayscale</string>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>FIXME</string>
-                    </property>
-                </widget>
-                <widget>
-                    <class>QRadioButton</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>colorRB</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;Color</string>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>FIXME</string>
-                    </property>
-                </widget>
-                <widget>
-                    <class>QRadioButton</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>dontRB</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;Don't display</string>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>FIXME</string>
-                    </property>
-                </widget>
-            </vbox>
-        </widget>
-        <widget row="2"  column="0" >
-            <class>QGroupBox</class>
+        <widget>
+            <class>QTabWidget</class>
             <property stdset="1">
                 <name>name</name>
-                <cstring>parametersGB</cstring>
+                <cstring>TabWidget</cstring>
             </property>
-            <property stdset="1">
-                <name>title</name>
-                <string>Graphics parameters</string>
-            </property>
-            <grid>
-                <property stdset="1">
-                    <name>margin</name>
-                    <number>11</number>
-                </property>
+            <widget>
+                <class>QWidget</class>
                 <property stdset="1">
-                    <name>spacing</name>
-                    <number>6</number>
+                    <name>name</name>
+                    <cstring>tab</cstring>
                 </property>
-                <widget row="0"  column="0" >
-                    <class>QLabel</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>widthLA</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;Width:</string>
-                    </property>
-                    <property>
-                        <name>buddy</name>
-                        <cstring>widthED</cstring>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>Width of graphics</string>
-                    </property>
-                </widget>
-                <widget row="3"  column="0" >
-                    <class>QLabel</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>rotateLA</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;Rotation:</string>
-                    </property>
-                    <property>
-                        <name>buddy</name>
-                        <cstring>rotateED</cstring>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>FIXME</string>
-                    </property>
-                </widget>
-                <widget row="0"  column="1" >
-                    <class>QLineEdit</class>
+                <attribute>
+                    <name>title</name>
+                    <string>File</string>
+                </attribute>
+                <vbox>
                     <property stdset="1">
-                        <name>name</name>
-                        <cstring>widthED</cstring>
+                        <name>margin</name>
+                        <number>11</number>
                     </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>Width of graphics</string>
-                    </property>
-                </widget>
-                <widget row="2"  column="1"  rowspan="1"  colspan="2" >
-                    <class>QLayoutWidget</class>
                     <property stdset="1">
-                        <name>name</name>
-                        <cstring>Layout74</cstring>
+                        <name>spacing</name>
+                        <number>6</number>
                     </property>
-                    <hbox>
-                        <property stdset="1">
-                            <name>margin</name>
-                            <number>0</number>
-                        </property>
+                    <widget>
+                        <class>QLayoutWidget</class>
                         <property stdset="1">
-                            <name>spacing</name>
-                            <number>6</number>
+                            <name>name</name>
+                            <cstring>Layout2</cstring>
                         </property>
-                        <widget>
-                            <class>QCheckBox</class>
+                        <hbox>
                             <property stdset="1">
-                                <name>name</name>
-                                <cstring>scaleCB</cstring>
+                                <name>margin</name>
+                                <number>0</number>
                             </property>
                             <property stdset="1">
-                                <name>text</name>
-                                <string>Sca&amp;le Height</string>
+                                <name>spacing</name>
+                                <number>6</number>
                             </property>
-                            <property>
-                                <name>toolTip</name>
-                                <string>FIXME</string>
-                            </property>
-                        </widget>
-                        <spacer>
-                            <property>
-                                <name>name</name>
-                                <cstring>Spacer11_2</cstring>
+                            <widget>
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>filenameL</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>&amp;File:</string>
+                                </property>
+                                <property>
+                                    <name>buddy</name>
+                                    <cstring>filename</cstring>
+                                </property>
+                            </widget>
+                            <widget>
+                                <class>QLineEdit</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>filename</cstring>
+                                </property>
+                                <property>
+                                    <name>toolTip</name>
+                                    <string>File name to include</string>
+                                </property>
+                            </widget>
+                            <widget>
+                                <class>QPushButton</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>browsePB</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>&amp;Browse ...</string>
+                                </property>
+                                <property>
+                                    <name>toolTip</name>
+                                    <string>Select a file</string>
+                                </property>
+                            </widget>
+                        </hbox>
+                    </widget>
+                    <widget>
+                        <class>QGroupBox</class>
+                        <property stdset="1">
+                            <name>name</name>
+                            <cstring>displayGB</cstring>
+                        </property>
+                        <property stdset="1">
+                            <name>title</name>
+                            <string>Screen Options</string>
+                        </property>
+                        <grid>
+                            <property stdset="1">
+                                <name>margin</name>
+                                <number>11</number>
                             </property>
                             <property stdset="1">
-                                <name>orientation</name>
-                                <enum>Horizontal</enum>
+                                <name>spacing</name>
+                                <number>6</number>
                             </property>
+                            <widget row="1"  column="1" >
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>TextLabel7</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>Width</string>
+                                </property>
+                            </widget>
+                            <widget row="0"  column="1"  rowspan="1"  colspan="2" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout5</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <widget>
+                                        <class>QComboBox</class>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>Monochrome</string>
+                                            </property>
+                                        </item>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>Grayscale</string>
+                                            </property>
+                                        </item>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>Color</string>
+                                            </property>
+                                        </item>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>Do not display</string>
+                                            </property>
+                                        </item>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>show</cstring>
+                                        </property>
+                                    </widget>
+                                    <spacer>
+                                        <property>
+                                            <name>name</name>
+                                            <cstring>Spacer23</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>orientation</name>
+                                            <enum>Horizontal</enum>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>sizeType</name>
+                                            <enum>Expanding</enum>
+                                        </property>
+                                        <property>
+                                            <name>sizeHint</name>
+                                            <size>
+                                                <width>20</width>
+                                                <height>20</height>
+                                            </size>
+                                        </property>
+                                    </spacer>
+                                </hbox>
+                            </widget>
+                            <widget row="2"  column="0" >
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>displaysizeL</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>Si&amp;ze:</string>
+                                </property>
+                                <property>
+                                    <name>buddy</name>
+                                    <cstring>displaywidth</cstring>
+                                </property>
+                            </widget>
+                            <widget row="0"  column="0" >
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>displayshowL</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>S&amp;how:</string>
+                                </property>
+                                <property>
+                                    <name>buddy</name>
+                                    <cstring>show</cstring>
+                                </property>
+                            </widget>
+                            <widget row="2"  column="1" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout16</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <widget>
+                                        <class>QLineEdit</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>displaywidth</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>enabled</name>
+                                            <bool>true</bool>
+                                        </property>
+                                    </widget>
+                                    <widget>
+                                        <class>LengthCombo</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>displaywidthUnit</cstring>
+                                        </property>
+                                    </widget>
+                                </hbox>
+                            </widget>
+                            <widget row="2"  column="2" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout17</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <widget>
+                                        <class>QLineEdit</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>displayheight</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>enabled</name>
+                                            <bool>true</bool>
+                                        </property>
+                                    </widget>
+                                    <widget>
+                                        <class>LengthCombo</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>displayheightUnit</cstring>
+                                        </property>
+                                    </widget>
+                                </hbox>
+                            </widget>
+                            <widget row="1"  column="2" >
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>TextLabel7_2</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>Height</string>
+                                </property>
+                            </widget>
+                        </grid>
+                    </widget>
+                    <widget>
+                        <class>QLayoutWidget</class>
+                        <property stdset="1">
+                            <name>name</name>
+                            <cstring>Layout18</cstring>
+                        </property>
+                        <hbox>
                             <property stdset="1">
-                                <name>sizeType</name>
-                                <enum>Expanding</enum>
+                                <name>margin</name>
+                                <number>0</number>
                             </property>
-                            <property>
-                                <name>sizeHint</name>
-                                <size>
-                                    <width>20</width>
-                                    <height>20</height>
-                                </size>
+                            <property stdset="1">
+                                <name>spacing</name>
+                                <number>6</number>
                             </property>
-                        </spacer>
-                    </hbox>
-                </widget>
-                <widget row="3"  column="1"  rowspan="1"  colspan="2" >
-                    <class>QLineEdit</class>
+                            <widget>
+                                <class>QCheckBox</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>draft</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>&amp;Draft mode</string>
+                                </property>
+                                <property>
+                                    <name>toolTip</name>
+                                    <string>draft mode</string>
+                                </property>
+                            </widget>
+                            <spacer>
+                                <property>
+                                    <name>name</name>
+                                    <cstring>Spacer8</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>orientation</name>
+                                    <enum>Horizontal</enum>
+                                </property>
+                                <property stdset="1">
+                                    <name>sizeType</name>
+                                    <enum>Expanding</enum>
+                                </property>
+                                <property>
+                                    <name>sizeHint</name>
+                                    <size>
+                                        <width>20</width>
+                                        <height>20</height>
+                                    </size>
+                                </property>
+                            </spacer>
+                        </hbox>
+                    </widget>
+                </vbox>
+            </widget>
+            <widget>
+                <class>QWidget</class>
+                <property stdset="1">
+                    <name>name</name>
+                    <cstring>tab</cstring>
+                </property>
+                <attribute>
+                    <name>title</name>
+                    <string>Size</string>
+                </attribute>
+                <grid>
                     <property stdset="1">
-                        <name>name</name>
-                        <cstring>rotateED</cstring>
+                        <name>margin</name>
+                        <number>11</number>
                     </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>FIXME</string>
+                    <property stdset="1">
+                        <name>spacing</name>
+                        <number>6</number>
                     </property>
-                </widget>
-                <widget row="1"  column="2" >
-                    <class>QComboBox</class>
-                    <item>
-                        <property>
-                            <name>text</name>
-                            <string>cm</string>
+                    <widget row="0"  column="0" >
+                        <class>QButtonGroup</class>
+                        <property stdset="1">
+                            <name>name</name>
+                            <cstring>sizeBG</cstring>
                         </property>
-                    </item>
-                    <item>
-                        <property>
-                            <name>text</name>
-                            <string>inches</string>
+                        <property stdset="1">
+                            <name>frameShape</name>
+                            <enum>Box</enum>
                         </property>
-                    </item>
-                    <item>
-                        <property>
-                            <name>text</name>
-                            <string>% of page</string>
+                        <property stdset="1">
+                            <name>title</name>
+                            <string></string>
                         </property>
-                    </item>
+                        <grid>
+                            <property stdset="1">
+                                <name>margin</name>
+                                <number>11</number>
+                            </property>
+                            <property stdset="1">
+                                <name>spacing</name>
+                                <number>6</number>
+                            </property>
+                            <widget row="1"  column="0" >
+                                <class>QRadioButton</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>scaleRB</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>&amp;Scale</string>
+                                </property>
+                            </widget>
+                            <widget row="0"  column="0" >
+                                <class>QRadioButton</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>defaultRB</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>&amp;Default</string>
+                                </property>
+                                <property stdset="1">
+                                    <name>checked</name>
+                                    <bool>true</bool>
+                                </property>
+                            </widget>
+                            <widget row="3"  column="0" >
+                                <class>QRadioButton</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>customRB</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>&amp;Custom</string>
+                                </property>
+                            </widget>
+                            <widget row="1"  column="1"  rowspan="1"  colspan="2" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout7</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <widget>
+                                        <class>QLineEdit</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>scale</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>enabled</name>
+                                            <bool>false</bool>
+                                        </property>
+                                    </widget>
+                                    <widget>
+                                        <class>QLabel</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>TextLabel4_2</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>enabled</name>
+                                            <bool>false</bool>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>text</name>
+                                            <string>%</string>
+                                        </property>
+                                    </widget>
+                                    <spacer>
+                                        <property>
+                                            <name>name</name>
+                                            <cstring>Spacer12</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>orientation</name>
+                                            <enum>Horizontal</enum>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>sizeType</name>
+                                            <enum>Expanding</enum>
+                                        </property>
+                                        <property>
+                                            <name>sizeHint</name>
+                                            <size>
+                                                <width>20</width>
+                                                <height>20</height>
+                                            </size>
+                                        </property>
+                                    </spacer>
+                                </hbox>
+                            </widget>
+                            <widget row="4"  column="1"  rowspan="1"  colspan="2" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout8</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <widget>
+                                        <class>QCheckBox</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>aspectratio</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>enabled</name>
+                                            <bool>false</bool>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>text</name>
+                                            <string>Keep aspect&amp;ratio</string>
+                                        </property>
+                                    </widget>
+                                    <spacer>
+                                        <property>
+                                            <name>name</name>
+                                            <cstring>Spacer13</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>orientation</name>
+                                            <enum>Horizontal</enum>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>sizeType</name>
+                                            <enum>Expanding</enum>
+                                        </property>
+                                        <property>
+                                            <name>sizeHint</name>
+                                            <size>
+                                                <width>20</width>
+                                                <height>20</height>
+                                            </size>
+                                        </property>
+                                    </spacer>
+                                </hbox>
+                            </widget>
+                            <widget row="2"  column="1" >
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>sizewidthL</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>enabled</name>
+                                    <bool>false</bool>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>Width</string>
+                                </property>
+                            </widget>
+                            <widget row="2"  column="2" >
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>sizeheightL</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>enabled</name>
+                                    <bool>false</bool>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>Height</string>
+                                </property>
+                            </widget>
+                            <widget row="3"  column="2" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout19</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <widget>
+                                        <class>QLineEdit</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>height</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>enabled</name>
+                                            <bool>false</bool>
+                                        </property>
+                                    </widget>
+                                    <widget>
+                                        <class>LengthCombo</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>heightUnit</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>enabled</name>
+                                            <bool>false</bool>
+                                        </property>
+                                    </widget>
+                                </hbox>
+                            </widget>
+                            <widget row="3"  column="1" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout18</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <widget>
+                                        <class>QLineEdit</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>width</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>enabled</name>
+                                            <bool>false</bool>
+                                        </property>
+                                    </widget>
+                                    <widget>
+                                        <class>LengthCombo</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>widthUnit</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>enabled</name>
+                                            <bool>false</bool>
+                                        </property>
+                                    </widget>
+                                </hbox>
+                            </widget>
+                        </grid>
+                    </widget>
+                </grid>
+            </widget>
+            <widget>
+                <class>QWidget</class>
+                <property stdset="1">
+                    <name>name</name>
+                    <cstring>tab</cstring>
+                </property>
+                <attribute>
+                    <name>title</name>
+                    <string>EPS Options</string>
+                </attribute>
+                <vbox>
                     <property stdset="1">
-                        <name>name</name>
-                        <cstring>heightCO</cstring>
+                        <name>margin</name>
+                        <number>11</number>
                     </property>
                     <property stdset="1">
-                        <name>sizePolicy</name>
-                        <sizepolicy>
-                            <hsizetype>3</hsizetype>
-                            <vsizetype>0</vsizetype>
-                        </sizepolicy>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>Height units</string>
+                        <name>spacing</name>
+                        <number>6</number>
                     </property>
-                </widget>
-                <widget row="0"  column="2" >
-                    <class>QComboBox</class>
-                    <item>
-                        <property>
-                            <name>text</name>
-                            <string>cm</string>
+                    <widget>
+                        <class>QGroupBox</class>
+                        <property stdset="1">
+                            <name>name</name>
+                            <cstring>bbGB</cstring>
                         </property>
-                    </item>
-                    <item>
-                        <property>
-                            <name>text</name>
-                            <string>inches</string>
+                        <property stdset="1">
+                            <name>enabled</name>
+                            <bool>true</bool>
                         </property>
-                    </item>
-                    <item>
-                        <property>
-                            <name>text</name>
-                            <string>% of page</string>
+                        <property stdset="1">
+                            <name>title</name>
+                            <string>Bounding box</string>
                         </property>
-                    </item>
-                    <item>
-                        <property>
-                            <name>text</name>
-                            <string>% of column</string>
+                        <grid>
+                            <property stdset="1">
+                                <name>margin</name>
+                                <number>11</number>
+                            </property>
+                            <property stdset="1">
+                                <name>spacing</name>
+                                <number>6</number>
+                            </property>
+                            <widget row="1"  column="0" >
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>lbL</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>Left &amp;bottom:</string>
+                                </property>
+                                <property>
+                                    <name>buddy</name>
+                                    <cstring>lbX</cstring>
+                                </property>
+                            </widget>
+                            <widget row="2"  column="0" >
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>rtL</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>Right &amp;top:</string>
+                                </property>
+                                <property>
+                                    <name>buddy</name>
+                                    <cstring>rtX</cstring>
+                                </property>
+                            </widget>
+                            <widget row="0"  column="2" >
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>yL</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>Y</string>
+                                </property>
+                            </widget>
+                            <widget row="0"  column="1" >
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>xL</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>X</string>
+                                </property>
+                            </widget>
+                            <widget row="1"  column="1" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout25</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <widget>
+                                        <class>QLineEdit</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>lbX</cstring>
+                                        </property>
+                                    </widget>
+                                    <widget>
+                                        <class>QComboBox</class>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>pt</string>
+                                            </property>
+                                        </item>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>cm</string>
+                                            </property>
+                                        </item>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>in</string>
+                                            </property>
+                                        </item>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>lbXunit</cstring>
+                                        </property>
+                                    </widget>
+                                </hbox>
+                            </widget>
+                            <widget row="2"  column="1" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout25_2</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <widget>
+                                        <class>QLineEdit</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>rtX</cstring>
+                                        </property>
+                                    </widget>
+                                    <widget>
+                                        <class>QComboBox</class>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>pt</string>
+                                            </property>
+                                        </item>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>cm</string>
+                                            </property>
+                                        </item>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>in</string>
+                                            </property>
+                                        </item>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>rtXunit</cstring>
+                                        </property>
+                                    </widget>
+                                </hbox>
+                            </widget>
+                            <widget row="2"  column="2" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout25_2_2</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <widget>
+                                        <class>QLineEdit</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>rtY</cstring>
+                                        </property>
+                                    </widget>
+                                    <widget>
+                                        <class>QComboBox</class>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>pt</string>
+                                            </property>
+                                        </item>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>cm</string>
+                                            </property>
+                                        </item>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>in</string>
+                                            </property>
+                                        </item>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>rtYXunit</cstring>
+                                        </property>
+                                    </widget>
+                                </hbox>
+                            </widget>
+                            <widget row="1"  column="2" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout25_3</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <widget>
+                                        <class>QLineEdit</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>lbY</cstring>
+                                        </property>
+                                    </widget>
+                                    <widget>
+                                        <class>QComboBox</class>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>pt</string>
+                                            </property>
+                                        </item>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>cm</string>
+                                            </property>
+                                        </item>
+                                        <item>
+                                            <property>
+                                                <name>text</name>
+                                                <string>in</string>
+                                            </property>
+                                        </item>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>lbYunit</cstring>
+                                        </property>
+                                    </widget>
+                                </hbox>
+                            </widget>
+                            <widget row="3"  column="1"  rowspan="1"  colspan="2" >
+                                <class>QLayoutWidget</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>Layout16</cstring>
+                                </property>
+                                <hbox>
+                                    <property stdset="1">
+                                        <name>margin</name>
+                                        <number>0</number>
+                                    </property>
+                                    <property stdset="1">
+                                        <name>spacing</name>
+                                        <number>6</number>
+                                    </property>
+                                    <spacer>
+                                        <property>
+                                            <name>name</name>
+                                            <cstring>Spacer6</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>orientation</name>
+                                            <enum>Horizontal</enum>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>sizeType</name>
+                                            <enum>Expanding</enum>
+                                        </property>
+                                        <property>
+                                            <name>sizeHint</name>
+                                            <size>
+                                                <width>20</width>
+                                                <height>20</height>
+                                            </size>
+                                        </property>
+                                    </spacer>
+                                    <widget>
+                                        <class>QPushButton</class>
+                                        <property stdset="1">
+                                            <name>name</name>
+                                            <cstring>getPB</cstring>
+                                        </property>
+                                        <property stdset="1">
+                                            <name>text</name>
+                                            <string>&amp;Get</string>
+                                        </property>
+                                        <property>
+                                            <name>toolTip</name>
+                                            <string>Get bounding box from file</string>
+                                        </property>
+                                    </widget>
+                                </hbox>
+                            </widget>
+                        </grid>
+                    </widget>
+                    <widget>
+                        <class>QLayoutWidget</class>
+                        <property stdset="1">
+                            <name>name</name>
+                            <cstring>Layout17</cstring>
                         </property>
-                    </item>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>widthCO</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>sizePolicy</name>
-                        <sizepolicy>
-                            <hsizetype>3</hsizetype>
-                            <vsizetype>0</vsizetype>
-                        </sizepolicy>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>Width units</string>
-                    </property>
-                </widget>
-                <widget row="1"  column="1" >
-                    <class>QLineEdit</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>heightED</cstring>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>Height of graphics</string>
-                    </property>
-                </widget>
-                <widget row="1"  column="0" >
-                    <class>QLabel</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>heightLA</cstring>
-                    </property>
+                        <hbox>
+                            <property stdset="1">
+                                <name>margin</name>
+                                <number>0</number>
+                            </property>
+                            <property stdset="1">
+                                <name>spacing</name>
+                                <number>6</number>
+                            </property>
+                            <widget>
+                                <class>QCheckBox</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>clip</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>&amp;Clip to bounding box</string>
+                                </property>
+                                <property>
+                                    <name>toolTip</name>
+                                    <string>clip to bounding box</string>
+                                </property>
+                            </widget>
+                            <spacer>
+                                <property>
+                                    <name>name</name>
+                                    <cstring>Spacer7</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>orientation</name>
+                                    <enum>Horizontal</enum>
+                                </property>
+                                <property stdset="1">
+                                    <name>sizeType</name>
+                                    <enum>Expanding</enum>
+                                </property>
+                                <property>
+                                    <name>sizeHint</name>
+                                    <size>
+                                        <width>20</width>
+                                        <height>20</height>
+                                    </size>
+                                </property>
+                            </spacer>
+                        </hbox>
+                    </widget>
+                </vbox>
+            </widget>
+            <widget>
+                <class>QWidget</class>
+                <property stdset="1">
+                    <name>name</name>
+                    <cstring>tab</cstring>
+                </property>
+                <attribute>
+                    <name>title</name>
+                    <string>Extra</string>
+                </attribute>
+                <vbox>
                     <property stdset="1">
-                        <name>text</name>
-                        <string>&amp;Height:</string>
-                    </property>
-                    <property>
-                        <name>buddy</name>
-                        <cstring>heightED</cstring>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>Height of graphics</string>
+                        <name>margin</name>
+                        <number>11</number>
                     </property>
-                </widget>
-                <widget row="5"  column="0"  rowspan="1"  colspan="3" >
-                    <class>QLayoutWidget</class>
                     <property stdset="1">
-                        <name>name</name>
-                        <cstring>Layout76</cstring>
+                        <name>spacing</name>
+                        <number>6</number>
                     </property>
-                    <vbox>
+                    <widget>
+                        <class>QGroupBox</class>
                         <property stdset="1">
-                            <name>margin</name>
-                            <number>0</number>
+                            <name>name</name>
+                            <cstring>rotateGB</cstring>
                         </property>
                         <property stdset="1">
-                            <name>spacing</name>
-                            <number>6</number>
+                            <name>title</name>
+                            <string>Rotation</string>
                         </property>
-                        <widget>
-                            <class>QLabel</class>
+                        <hbox>
                             <property stdset="1">
-                                <name>name</name>
-                                <cstring>subcaptionLA</cstring>
+                                <name>margin</name>
+                                <number>11</number>
                             </property>
                             <property stdset="1">
-                                <name>text</name>
-                                <string>&amp;Subcaption:</string>
+                                <name>spacing</name>
+                                <number>6</number>
                             </property>
-                            <property>
-                                <name>buddy</name>
-                                <cstring>subcaptionED</cstring>
+                            <widget>
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>angleL</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>&amp;Angle:</string>
+                                </property>
+                                <property>
+                                    <name>buddy</name>
+                                    <cstring>angle</cstring>
+                                </property>
+                            </widget>
+                            <widget>
+                                <class>QLineEdit</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>angle</cstring>
+                                </property>
+                            </widget>
+                            <widget>
+                                <class>QLabel</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>originL</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>&amp;Origin:</string>
+                                </property>
+                                <property>
+                                    <name>buddy</name>
+                                    <cstring>origin</cstring>
+                                </property>
+                            </widget>
+                            <widget>
+                                <class>QComboBox</class>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>default</string>
+                                    </property>
+                                </item>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>leftTop</string>
+                                    </property>
+                                </item>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>leftBottom</string>
+                                    </property>
+                                </item>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>leftBaseline</string>
+                                    </property>
+                                </item>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>center</string>
+                                    </property>
+                                </item>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>centerTop</string>
+                                    </property>
+                                </item>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>centerBottom</string>
+                                    </property>
+                                </item>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>centerBaseline</string>
+                                    </property>
+                                </item>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>rightTop</string>
+                                    </property>
+                                </item>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>rightBottom</string>
+                                    </property>
+                                </item>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>rightBaseline</string>
+                                    </property>
+                                </item>
+                                <item>
+                                    <property>
+                                        <name>text</name>
+                                        <string>referencePoint</string>
+                                    </property>
+                                </item>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>origin</cstring>
+                                </property>
+                            </widget>
+                        </hbox>
+                    </widget>
+                    <widget>
+                        <class>QGroupBox</class>
+                        <property stdset="1">
+                            <name>name</name>
+                            <cstring>latexoptionsGB</cstring>
+                        </property>
+                        <property stdset="1">
+                            <name>title</name>
+                            <string>LaTeX options</string>
+                        </property>
+                        <grid>
+                            <property stdset="1">
+                                <name>margin</name>
+                                <number>11</number>
                             </property>
-                            <property>
-                                <name>toolTip</name>
-                                <string>The sub-caption of the figure</string>
+                            <property stdset="1">
+                                <name>spacing</name>
+                                <number>6</number>
                             </property>
-                        </widget>
-                        <widget>
-                            <class>QLineEdit</class>
+                            <widget row="0"  column="0" >
+                                <class>QLineEdit</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>latexoptions</cstring>
+                                </property>
+                            </widget>
+                        </grid>
+                    </widget>
+                    <widget>
+                        <class>QLayoutWidget</class>
+                        <property stdset="1">
+                            <name>name</name>
+                            <cstring>Layout6</cstring>
+                        </property>
+                        <hbox>
                             <property stdset="1">
-                                <name>name</name>
-                                <cstring>subcaptionED</cstring>
+                                <name>margin</name>
+                                <number>0</number>
                             </property>
-                            <property>
-                                <name>toolTip</name>
-                                <string>The sub-caption for the figure</string>
+                            <property stdset="1">
+                                <name>spacing</name>
+                                <number>6</number>
                             </property>
-                        </widget>
-                    </vbox>
-                </widget>
-                <spacer row="4"  column="1" >
-                    <property>
-                        <name>name</name>
-                        <cstring>Spacer104</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>orientation</name>
-                        <enum>Vertical</enum>
-                    </property>
-                    <property stdset="1">
-                        <name>sizeType</name>
-                        <enum>Expanding</enum>
-                    </property>
-                    <property>
-                        <name>sizeHint</name>
-                        <size>
-                            <width>20</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-            </grid>
+                            <widget>
+                                <class>QCheckBox</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>subfigure</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>text</name>
+                                    <string>Su&amp;bfigure</string>
+                                </property>
+                            </widget>
+                            <widget>
+                                <class>QLineEdit</class>
+                                <property stdset="1">
+                                    <name>name</name>
+                                    <cstring>subcaption</cstring>
+                                </property>
+                                <property stdset="1">
+                                    <name>enabled</name>
+                                    <bool>false</bool>
+                                </property>
+                                <property>
+                                    <name>toolTip</name>
+                                    <string>The sub-caption for the figure</string>
+                                </property>
+                            </widget>
+                        </hbox>
+                    </widget>
+                    <spacer>
+                        <property>
+                            <name>name</name>
+                            <cstring>Spacer26</cstring>
+                        </property>
+                        <property stdset="1">
+                            <name>orientation</name>
+                            <enum>Vertical</enum>
+                        </property>
+                        <property stdset="1">
+                            <name>sizeType</name>
+                            <enum>Expanding</enum>
+                        </property>
+                        <property>
+                            <name>sizeHint</name>
+                            <size>
+                                <width>20</width>
+                                <height>20</height>
+                            </size>
+                        </property>
+                    </spacer>
+                </vbox>
+            </widget>
         </widget>
-        <widget row="3"  column="0"  rowspan="1"  colspan="2" >
+        <widget>
             <class>QLayoutWidget</class>
             <property stdset="1">
                 <name>name</name>
-                <cstring>Layout13</cstring>
+                <cstring>Layout1</cstring>
             </property>
             <hbox>
                 <property stdset="1">
                     <name>spacing</name>
                     <number>6</number>
                 </property>
+                <widget>
+                    <class>QPushButton</class>
+                    <property stdset="1">
+                        <name>name</name>
+                        <cstring>restorePB</cstring>
+                    </property>
+                    <property stdset="1">
+                        <name>text</name>
+                        <string>&amp;Restore</string>
+                    </property>
+                    <property stdset="1">
+                        <name>default</name>
+                        <bool>true</bool>
+                    </property>
+                </widget>
                 <spacer>
                     <property>
                         <name>name</name>
                     </property>
                     <property stdset="1">
                         <name>text</name>
-                        <string>Close</string>
+                        <string>&amp;Close</string>
                     </property>
                 </widget>
             </hbox>
         </widget>
-    </grid>
+    </vbox>
 </widget>
+<customwidgets>
+    <customwidget>
+        <class>LengthCombo</class>
+        <header location="local">lengthcombo.h</header>
+        <sizehint>
+            <width>-1</width>
+            <height>-1</height>
+        </sizehint>
+        <container>0</container>
+        <sizepolicy>
+            <hordata>5</hordata>
+            <verdata>5</verdata>
+        </sizepolicy>
+        <pixmap>image0</pixmap>
+        <signal>selectionChanged(LyXLength::UNIT)</signal>
+    </customwidget>
+</customwidgets>
+<images>
+    <image>
+        <name>image0</name>
+        <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>
+    </image>
+</images>
 <connections>
     <connection>
-        <sender>grayscaleRB</sender>
+        <sender>scaleRB</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>scale</receiver>
+        <slot>setEnabled(bool)</slot>
+    </connection>
+    <connection>
+        <sender>scaleRB</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>TextLabel4_2</receiver>
+        <slot>setEnabled(bool)</slot>
+    </connection>
+    <connection>
+        <sender>customRB</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>width</receiver>
+        <slot>setEnabled(bool)</slot>
+    </connection>
+    <connection>
+        <sender>customRB</sender>
         <signal>toggled(bool)</signal>
+        <receiver>height</receiver>
+        <slot>setEnabled(bool)</slot>
+    </connection>
+    <connection>
+        <sender>customRB</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>sizewidthL</receiver>
+        <slot>setEnabled(bool)</slot>
+    </connection>
+    <connection>
+        <sender>customRB</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>sizeheightL</receiver>
+        <slot>setEnabled(bool)</slot>
+    </connection>
+    <connection>
+        <sender>customRB</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>aspectratio</receiver>
+        <slot>setEnabled(bool)</slot>
+    </connection>
+    <connection>
+        <sender>subfigure</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>subcaption</receiver>
+        <slot>setEnabled(bool)</slot>
+    </connection>
+    <connection>
+        <sender>browsePB</sender>
+        <signal>clicked()</signal>
         <receiver>QGraphicsDialogBase</receiver>
-        <slot>change_adaptor()</slot>
+        <slot>browse_clicked()</slot>
+    </connection>
+    <connection>
+        <sender>getPB</sender>
+        <signal>clicked()</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>get_clicked()</slot>
+    </connection>
+    <connection>
+        <sender>customRB</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>widthUnit</receiver>
+        <slot>setEnabled(bool)</slot>
     </connection>
     <connection>
-        <sender>colorRB</sender>
+        <sender>customRB</sender>
         <signal>toggled(bool)</signal>
+        <receiver>heightUnit</receiver>
+        <slot>setEnabled(bool)</slot>
+    </connection>
+    <connection>
+        <sender>filename</sender>
+        <signal>textChanged(const QString&amp;)</signal>
         <receiver>QGraphicsDialogBase</receiver>
         <slot>change_adaptor()</slot>
     </connection>
     <connection>
-        <sender>filenameED</sender>
+        <sender>displaywidth</sender>
         <signal>textChanged(const QString&amp;)</signal>
         <receiver>QGraphicsDialogBase</receiver>
         <slot>change_adaptor()</slot>
     </connection>
     <connection>
-        <sender>browsePB</sender>
-        <signal>clicked()</signal>
+        <sender>displayheight</sender>
+        <signal>textChanged(const QString&amp;)</signal>
         <receiver>QGraphicsDialogBase</receiver>
-        <slot>browseClicked()</slot>
+        <slot>change_adaptor()</slot>
     </connection>
     <connection>
-        <sender>monochromeRB</sender>
-        <signal>toggled(bool)</signal>
+        <sender>displaywidthUnit</sender>
+        <signal>selectionChanged(LyXLength::UNIT)</signal>
         <receiver>QGraphicsDialogBase</receiver>
         <slot>change_adaptor()</slot>
     </connection>
     <connection>
-        <sender>dontRB</sender>
-        <signal>toggled(bool)</signal>
+        <sender>displayheightUnit</sender>
+        <signal>selectionChanged(LyXLength::UNIT)</signal>
         <receiver>QGraphicsDialogBase</receiver>
         <slot>change_adaptor()</slot>
     </connection>
     <connection>
-        <sender>heightCO</sender>
-        <signal>highlighted(int)</signal>
+        <sender>subcaption</sender>
+        <signal>textChanged(const QString&amp;)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>subfigure</sender>
+        <signal>stateChanged(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>defaultRB</sender>
+        <signal>stateChanged(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>scaleRB</sender>
+        <signal>stateChanged(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>customRB</sender>
+        <signal>stateChanged(int)</signal>
         <receiver>QGraphicsDialogBase</receiver>
         <slot>change_adaptor()</slot>
     </connection>
     <connection>
-        <sender>heightED</sender>
+        <sender>angle</sender>
         <signal>textChanged(const QString&amp;)</signal>
         <receiver>QGraphicsDialogBase</receiver>
         <slot>change_adaptor()</slot>
     </connection>
     <connection>
-        <sender>widthED</sender>
+        <sender>latexoptions</sender>
         <signal>textChanged(const QString&amp;)</signal>
         <receiver>QGraphicsDialogBase</receiver>
         <slot>change_adaptor()</slot>
     </connection>
     <connection>
-        <sender>widthCO</sender>
-        <signal>highlighted(int)</signal>
+        <sender>clip</sender>
+        <signal>stateChanged(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>draft</sender>
+        <signal>stateChanged(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>lbX</sender>
+        <signal>textChanged(const QString&amp;)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>lbY</sender>
+        <signal>returnPressed()</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>rtX</sender>
+        <signal>returnPressed()</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>rtY</sender>
+        <signal>returnPressed()</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>scale</sender>
+        <signal>textChanged(const QString&amp;)</signal>
         <receiver>QGraphicsDialogBase</receiver>
         <slot>change_adaptor()</slot>
     </connection>
     <connection>
-        <sender>rotateED</sender>
+        <sender>width</sender>
         <signal>textChanged(const QString&amp;)</signal>
         <receiver>QGraphicsDialogBase</receiver>
         <slot>change_adaptor()</slot>
     </connection>
     <connection>
-        <sender>subcaptionED</sender>
+        <sender>widthUnit</sender>
+        <signal>selectionChanged(LyXLength::UNIT)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>height</sender>
         <signal>textChanged(const QString&amp;)</signal>
         <receiver>QGraphicsDialogBase</receiver>
         <slot>change_adaptor()</slot>
     </connection>
-    <slot access="public">browseClicked()</slot>
-    <slot access="public">change_adaptor()</slot>
+    <connection>
+        <sender>heightUnit</sender>
+        <signal>selectionChanged(LyXLength::UNIT)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>aspectratio</sender>
+        <signal>stateChanged(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>show</sender>
+        <signal>highlighted(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>lbXunit</sender>
+        <signal>highlighted(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>lbYunit</sender>
+        <signal>highlighted(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>rtXunit</sender>
+        <signal>highlighted(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>rtYXunit</sender>
+        <signal>highlighted(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <connection>
+        <sender>origin</sender>
+        <signal>highlighted(int)</signal>
+        <receiver>QGraphicsDialogBase</receiver>
+        <slot>change_adaptor()</slot>
+    </connection>
+    <slot access="protected">browse_clicked()</slot>
+    <slot access="protected">get_clicked()</slot>
+    <slot access="protected">change_adaptor()</slot>
 </connections>
 <tabstops>
-    <tabstop>filenameED</tabstop>
+    <tabstop>TabWidget</tabstop>
+    <tabstop>filename</tabstop>
     <tabstop>browsePB</tabstop>
-    <tabstop>widthED</tabstop>
-    <tabstop>widthCO</tabstop>
-    <tabstop>heightED</tabstop>
-    <tabstop>heightCO</tabstop>
-    <tabstop>scaleCB</tabstop>
-    <tabstop>rotateED</tabstop>
-    <tabstop>subcaptionED</tabstop>
-    <tabstop>monochromeRB</tabstop>
-    <tabstop>grayscaleRB</tabstop>
-    <tabstop>colorRB</tabstop>
-    <tabstop>dontRB</tabstop>
+    <tabstop>show</tabstop>
+    <tabstop>displaywidth</tabstop>
+    <tabstop>displayheight</tabstop>
+    <tabstop>subfigure</tabstop>
+    <tabstop>subcaption</tabstop>
+    <tabstop>defaultRB</tabstop>
+    <tabstop>scale</tabstop>
+    <tabstop>customRB</tabstop>
+    <tabstop>width</tabstop>
+    <tabstop>height</tabstop>
+    <tabstop>aspectratio</tabstop>
+    <tabstop>lbX</tabstop>
+    <tabstop>clip</tabstop>
+    <tabstop>draft</tabstop>
+    <tabstop>getPB</tabstop>
+    <tabstop>angle</tabstop>
+    <tabstop>origin</tabstop>
+    <tabstop>latexoptions</tabstop>
+    <tabstop>restorePB</tabstop>
     <tabstop>okPB</tabstop>
     <tabstop>applyPB</tabstop>
     <tabstop>closePB</tabstop>