From 828900919c9e2cd952c442ded66a1a816cd4cb98 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sat, 26 Mar 2016 21:08:33 -0400 Subject: [PATCH] UI tweaks. --- glabels/ui/PrintView.ui | 142 +++---- glabels/ui/PropertiesView.ui | 589 +++++++++++++++--------------- glabels/ui/SelectProductDialog.ui | 4 +- 3 files changed, 354 insertions(+), 381 deletions(-) diff --git a/glabels/ui/PrintView.ui b/glabels/ui/PrintView.ui index 900c806..4a919c9 100644 --- a/glabels/ui/PrintView.ui +++ b/glabels/ui/PrintView.ui @@ -6,8 +6,8 @@ 0 0 - 833 - 633 + 839 + 769 @@ -19,7 +19,7 @@ Form - + @@ -100,25 +100,25 @@ - + - QLayout::SetFixedSize + QLayout::SetDefaultConstraint - 24 + 12 - + 0 0 - 350 + 300 0 @@ -136,6 +136,12 @@ + + + 0 + 0 + + Labels from: @@ -194,6 +200,9 @@ Qt::Horizontal + + QSizePolicy::MinimumExpanding + 40 @@ -204,14 +213,17 @@ - + Qt::Horizontal + + QSizePolicy::MinimumExpanding + - 40 + 10 20 @@ -223,14 +235,14 @@ - + 0 0 - 350 + 300 0 @@ -272,6 +284,9 @@ Qt::Horizontal + + QSizePolicy::MinimumExpanding + 40 @@ -306,6 +321,9 @@ Qt::Horizontal + + QSizePolicy::MinimumExpanding + 40 @@ -316,33 +334,20 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + 0 0 - 350 + 300 0 @@ -381,74 +386,39 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + + + + 0 + 0 + + - 350 + 300 0 - - - 350 - 16777215 - + + Qt::LeftToRight + + + text-align:left; padding:3px; + + + Print + + + + :/icons/24x24/actions/fallback-file-print.png:/icons/24x24/actions/fallback-file-print.png + + + Qt::ToolButtonTextBesideIcon - - - - - - 0 - 0 - - - - Qt::LeftToRight - - - Print - - - - :/icons/24x24/actions/fallback-file-print.png:/icons/24x24/actions/fallback-file-print.png - - - Qt::ToolButtonTextBesideIcon - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - @@ -466,7 +436,7 @@ - + Qt::Vertical diff --git a/glabels/ui/PropertiesView.ui b/glabels/ui/PropertiesView.ui index f4bec41..e495f98 100644 --- a/glabels/ui/PropertiesView.ui +++ b/glabels/ui/PropertiesView.ui @@ -6,8 +6,8 @@ 0 0 - 793 - 769 + 806 + 742 @@ -38,204 +38,235 @@ + + + + + + 12 + - - - Qt::Vertical + + + + 0 + 0 + + + + 300 + 0 + + + + Product + + + + + + + + + 0 + 0 + + + + Vendor: + + + + + + + + 0 + 0 + + + + TextLabel + + + + + + + + 0 + 0 + + + + Part #: + + + + + + + + 0 + 0 + + + + TextLabel + + + + + + + + 0 + 0 + + + + Description: + + + + + + + + 0 + 0 + + + + TextLabel + + + + + + + + 0 + 0 + + + + Page size: + + + + + + + + 0 + 0 + + + + TextLabel + + + + + + + + 0 + 0 + + + + Label size: + + + + + + + + 0 + 0 + + + + TextLabel + + + + + + + + 0 + 0 + + + + Layout: + + + + + + + + 0 + 0 + + + + TextLabel + + + + + + + + + text-align:left; padding:3px; + + + Select another product + + + + :/icons/32x32/actions/select-product.png:/icons/32x32/actions/select-product.png + + + + 32 + 32 + + + + + - - - - - - 0 - 0 - - - - - 300 - 0 - - - - Product - - - - - - - - - 0 - 0 - - - - Vendor: - - - - - - - - 0 - 0 - - - - TextLabel - - - - - - - - 0 - 0 - - - - Part #: - - - - - - - - 0 - 0 - - - - TextLabel - - - - - - - - 0 - 0 - - - - Description: - - - - - - - - 0 - 0 - - - - TextLabel - - - - - - - - 0 - 0 - - - - Page size: - - - - - - - - 0 - 0 - - - - TextLabel - - - - - - - - 0 - 0 - - - - Label size: - - - - - - - - 0 - 0 - - - - TextLabel - - - - - - - - 0 - 0 - - - - Layout: - - - - - - - - 0 - 0 - - - - TextLabel - - - - - - - - - text-align:left; padding:3px; - - - Select another product - - - - :/icons/32x32/actions/select-product.png:/icons/32x32/actions/select-product.png + + + + 0 + 0 + + + + Orientation + + + + + + + + + 0 + 0 + @@ -243,112 +274,84 @@ 32 - - - - - - - - - - 0 - 0 - - - - Orientation - - - - - - - - 0 - 0 - - - - - 32 - 32 - - - - - Horizontal orientation - - - - :/icons/32x32/actions/horizontal-orientation.png:/icons/32x32/actions/horizontal-orientation.png - - - - - Vertical orientation - - - - :/icons/32x32/actions/vertical-orientation.png:/icons/32x32/actions/vertical-orientation.png - - - + + Horizontal orientation + + + + :/icons/32x32/actions/horizontal-orientation.png:/icons/32x32/actions/horizontal-orientation.png + + + + + Vertical orientation + + + + :/icons/32x32/actions/vertical-orientation.png:/icons/32x32/actions/vertical-orientation.png + - - - - - - - - - - 0 - 0 - - - - Similar Products - - - - - - - 0 - 0 - - - - false - - - QFrame::NoFrame - - - Qt::ScrollBarAlwaysOff - - - - - - - - 0 - 0 - - - - - + + + + + + + + + 0 + 0 + + + + Similar Products + + + + + + + 0 + 0 + + + + false + + + QFrame::NoFrame + + + Qt::ScrollBarAlwaysOff + + + + + + + + + + + 0 + 0 + + + + + + + Qt::Vertical + + + diff --git a/glabels/ui/SelectProductDialog.ui b/glabels/ui/SelectProductDialog.ui index 549fa1b..7112b45 100644 --- a/glabels/ui/SelectProductDialog.ui +++ b/glabels/ui/SelectProductDialog.ui @@ -6,8 +6,8 @@ 0 0 - 690 - 720 + 967 + 660