From 32e14c831ea34a83d22f7881340cb10ca15b78ac Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 6 Aug 2009 09:49:33 +0200 Subject: [PATCH] remove QFormLayout, and use QGridLayout instead --- bacula/src/qt-console/job/job.ui | 592 +++++++++---------- bacula/src/qt-console/mediainfo/mediainfo.ui | 66 +-- 2 files changed, 290 insertions(+), 368 deletions(-) diff --git a/bacula/src/qt-console/job/job.ui b/bacula/src/qt-console/job/job.ui index b3873b2e61..4a74afca01 100644 --- a/bacula/src/qt-console/job/job.ui +++ b/bacula/src/qt-console/job/job.ui @@ -211,126 +211,110 @@ Basic Information - - - - 10 - 20 - 211 - 152 - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - JobId: - - - - - - - 2 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - Job Name: - - - - - - - Test - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - Level: - - - - - - - VirtualFull - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - Client: - - - - - - - client-fd - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - FileSet: - - - - - - - TheFileSet - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - Pool: - - - - - - - ThePool - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - + + + + + JobId: + + + + + + + 2 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + Job Name: + + + + + + + Test + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + Level: + + + + + + + VirtualFull + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + Client: + + + + + + + client-fd + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + FileSet: + + + + + + + TheFileSet + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + Pool: + + + + + + + ThePool + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + @@ -356,118 +340,99 @@ Status - - - - 10 - 20 - 141 - 151 - - - - - QFormLayout::AllNonFixedFieldsGrow - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - Files: - - - - - - - 1,924 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - Bytes: - - - - - - - Errors: - - - - - - - 0 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - Status: - - - - - - - - - - :/images/T.png - - - false - - - - - - - Purged: - - - - - - - false - - - - - - true - - - - - - - 109 MB - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - + + + + + Files: + + + + + + + 1,924 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + Bytes: + + + + + + + 109 MB + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + Errors: + + + + + + + 0 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + Status: + + + + + + + + + + :/images/T.png + + + false + + + + + + + Purged: + + + + + + + false + + + + + + true + + + + @@ -493,95 +458,76 @@ Times - - - - 10 - 20 - 247 - 151 - - - - - QFormLayout::AllNonFixedFieldsGrow - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - Sched Time: - - - - - - - 2009-07-31 00:10:00 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - Start Time: - - - - - - - 2009-07-31 00:10:00 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - End Time: - - - - - - - 2009-07-31 00:20:00 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - Duration: - - - - - - - 00:10:00 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - + + + + + Sched Time: + + + + + + + 2009-07-31 00:10:00 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + Start Time: + + + + + + + 2009-07-31 00:10:00 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + End Time: + + + + + + + 2009-07-31 00:20:00 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + Duration: + + + + + + + 00:10:00 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + @@ -675,8 +621,8 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html> +</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"></p></body></html> diff --git a/bacula/src/qt-console/mediainfo/mediainfo.ui b/bacula/src/qt-console/mediainfo/mediainfo.ui index e073e26539..52c76aeb47 100644 --- a/bacula/src/qt-console/mediainfo/mediainfo.ui +++ b/bacula/src/qt-console/mediainfo/mediainfo.ui @@ -6,7 +6,7 @@ 0 0 828 - 852 + 814 @@ -148,16 +148,24 @@ Information - - - QFormLayout::AllNonFixedFieldsGrow - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - + + + + + Name: + + + + + + + Vol0001 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + @@ -274,23 +282,6 @@ - - - - Name: - - - - - - - Vol0001 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - @@ -317,16 +308,7 @@ Statistics - - - QFormLayout::AllNonFixedFieldsGrow - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - + @@ -489,13 +471,7 @@ Limits - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - + -- 2.39.5