From 95169237dcbb8b161ac16d6a384eeec12705374b Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Wed, 19 Sep 2007 09:08:07 +0000 Subject: [PATCH] layout tweaks git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20356 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/ui/GraphicsUi.ui | 254 +++++++------- src/frontends/qt4/ui/PageLayoutUi.ui | 385 +++++++++++++--------- src/frontends/qt4/ui/TextLayoutUi.ui | 472 ++++++++++++++------------- 3 files changed, 596 insertions(+), 515 deletions(-) diff --git a/src/frontends/qt4/ui/GraphicsUi.ui b/src/frontends/qt4/ui/GraphicsUi.ui index e4799ad4b5..45574777f1 100644 --- a/src/frontends/qt4/ui/GraphicsUi.ui +++ b/src/frontends/qt4/ui/GraphicsUi.ui @@ -5,8 +5,8 @@ 0 0 - 450 - 379 + 481 + 354 @@ -50,6 +50,13 @@ 6 + + + E&mbed + + + + &Edit @@ -62,7 +69,7 @@ - + Select an image file @@ -71,33 +78,6 @@ &Browse... - - - - - - - - - - - - File name of image - - - - - - - File name of image - - - &File: - - - filename - - @@ -105,7 +85,7 @@ Output Size - false + true @@ -227,7 +207,7 @@ Rotate Graphics - false + true @@ -297,6 +277,26 @@ + + + + File name of image + + + &File: + + + filename + + + + + + + File name of image + + + @@ -474,98 +474,7 @@ 6 - - - - Qt::Vertical - - - - 20 - 21 - - - - - - - - Qt::Vertical - - - - 20 - 41 - - - - - - - - Don't uncompress image before exporting to LaTeX - - - Don't un&zip on export - - - - - - - Qt::StrongFocus - - - S&ubfigure - - - false - - - true - - - false - - - - 9 - - - 6 - - - - - The caption for the sub-figure - - - Ca&ption: - - - subcaption - - - - - - - - 3 - 0 - 0 - 0 - - - - The caption for the sub-figure - - - - - - - + Qt::StrongFocus @@ -574,7 +483,7 @@ Sho&w in LyX - false + true true @@ -586,6 +495,19 @@ 6 + + + + Qt::Horizontal + + + + 40 + 20 + + + + @@ -660,7 +582,30 @@ - + + + + Qt::Vertical + + + + 20 + 41 + + + + + + + + Don't uncompress image before exporting to LaTeX + + + Don't un&zip on export + + + + @@ -688,7 +633,7 @@ - + Draft mode @@ -698,6 +643,61 @@ + + + + Qt::StrongFocus + + + S&ubfigure + + + true + + + true + + + false + + + + 9 + + + 6 + + + + + The caption for the sub-figure + + + Ca&ption: + + + subcaption + + + + + + + + 3 + 0 + 0 + 0 + + + + The caption for the sub-figure + + + + + + diff --git a/src/frontends/qt4/ui/PageLayoutUi.ui b/src/frontends/qt4/ui/PageLayoutUi.ui index 7261b5f3bd..d0322d5e8e 100644 --- a/src/frontends/qt4/ui/PageLayoutUi.ui +++ b/src/frontends/qt4/ui/PageLayoutUi.ui @@ -5,153 +5,21 @@ 0 0 - 388 - 448 + 287 + 264 - + - 11 + 9 6 - - - - Paper Size - - - - 11 - - - 6 - - - - - false - - - &Height: - - - paperheightLE - - - - - - - false - - - &Width: - - - paperwidthLE - - - - - - - - 1 - 0 - 0 - 0 - - - - Choose a particular paper size, or set your own with "Custom" - - - - - - - false - - - - 5 - 0 - 0 - 0 - - - - - - - - false - - - - 5 - 0 - 0 - 0 - - - - - - - - false - - - - - - - false - - - - - - - - - - Orientation - - - - 11 - - - 6 - - - - - &Portrait - - - true - - - - - - - &Landscape - - - - - - - + 0 @@ -160,43 +28,207 @@ 6 - + - Page &style: + Page Layout + + + + + + + + 7 + 0 + 0 + 0 + + + + QFrame::HLine - - pagestyleCO + + QFrame::Sunken + + + + + + 0 + + + 6 + - + + + Paper Format + + + + + - 5 + 7 0 0 0 - - Style used for the page header and footer + + QFrame::HLine + + + QFrame::Sunken - - + + + + + 7 + 0 + 0 + 0 + + - Lay out the page for double-sided printing + Choose a particular paper size, or set your own with "Custom" + + + + + + + + 7 + 0 + 0 + 0 + + + + Style used for the page header and footer + + + + - &Two-sided document + Headings &style: + + + pagestyleCO - + + + + &Landscape + + + + + + + &Portrait + + + true + + + + + + + + + + + + + false + + + + 5 + 0 + 0 + 0 + + + + + + + + false + + + + 5 + 0 + 0 + 0 + + + + + + + + &Format: + + + papersizeCO + + + + + + + false + + + &Height: + + + paperheightLE + + + + + + + false + + + &Width: + + + paperwidthLE + + + + + + + &Orientation: + + + portraitRB + + + + Qt::Vertical @@ -206,7 +238,43 @@ - 20 + 51 + 131 + + + + + + + + Lay out the page for double-sided printing + + + &Two-sided document + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Qt::Horizontal + + + + 40 20 @@ -214,28 +282,27 @@ - - - qt_helpers.h - LengthCombo - -
LengthCombo.h
- 0 - + QComboBox +
lengthcombo.h
papersizeCO paperheightLE + paperheightUnitCO paperwidthLE + paperwidthUnitCO portraitRB landscapeRB pagestyleCO facingPagesCB + + qt_helpers.h + diff --git a/src/frontends/qt4/ui/TextLayoutUi.ui b/src/frontends/qt4/ui/TextLayoutUi.ui index a0ec721117..862da70a18 100644 --- a/src/frontends/qt4/ui/TextLayoutUi.ui +++ b/src/frontends/qt4/ui/TextLayoutUi.ui @@ -5,202 +5,91 @@ 0 0 - 415 - 398 + 418 + 328 - + 9 6 - - - - Separate Paragraphs With + + + + 0 - - - 9 - - - 6 - - - - - false - - - - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 178 - 22 - - - - - - - - false - - - - - - - false - - - - 1 - 0 - 0 - 0 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 31 - 58 - - - - - - - - - - - &Vertical space - - - - - - - Indent consecutive paragraphs - - - &Indentation - - - - - + + 6 + + + + + Spacing + + + + + + + + 7 + 0 + 0 + 0 + + + + QFrame::HLine + + + QFrame::Sunken + + + +
- - - - Spacing + + + + 0 - - - 9 - - - 6 - - - - - 0 - - - 6 - - - - - 0 - - - 6 - - - - - &Line spacing: - - - lspacingCO - - - - - - - - 5 - 0 - 0 - 0 - - - - false - - - - - - - false - - - - 1 - 0 - 0 - 0 - - - - - - - - - - Format text into two columns - - - Two-&column document - - - - - - - + + 6 + + + + + Separate paragraphs with + + + + + + + + 7 + 0 + 0 + 0 + + + + QFrame::HLine + + + QFrame::Sunken + + + + - + @@ -222,14 +111,17 @@ Listing settings - + + true + + 9 6 - + Check it to enter parameters that are not recognizable by LyX @@ -239,55 +131,49 @@ - - - - Qt::Horizontal + + + + + 7 + 7 + 0 + 0 + + + + 0 + + + false + + + QFrame::Box + + + QFrame::Plain + + + false + + + + + + + + 7 + 7 + 0 + 0 + - - - - 7 - 7 - 0 - 0 - - - - 0 - - - false - - - QFrame::NoFrame - - - QFrame::Plain - - - 0 - - - false - - - - - - 7 - 7 - 0 - 0 - - - - + Qt::Vertical @@ -297,19 +183,147 @@ - 412 + 400 16 + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 31 + 26 + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Format text into two columns + + + Two-&column document + + + + + + + + + + &Vertical space + + + + + + + Indent consecutive paragraphs + + + &Indentation + + + + + + + false + + + + + + + false + + + + 1 + 0 + 0 + 0 + + + + + + + + false + + + + + + + false + + + + 1 + 0 + 0 + 0 + + + + + + + + + 5 + 0 + 0 + 0 + + + + false + + + + + + + &Line spacing: + + + lspacingCO + + + LengthCombo - QWidget -
LengthCombo.h
+ QComboBox +
lengthcombo.h
-- 2.39.2