summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-09-13 14:38:26 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-09-13 20:11:40 +0200
commitf9748f8cce6ed5dc202c0d3cda76dc640f38b305 (patch)
tree3874e51a4f922dde9eb46a8ffe35d5bd9d9e9450
parente3990c358a5ffa0f43ab3ded018f29e468697841 (diff)
Remove uilib and QtUiTools from QtBase
The code gets moved into the qttools repository, where it belongs naturally. Change-Id: Ia50bfe212ead3365d5c3bcb24d2c5e92e2e9de8e
-rw-r--r--.gitignore2
-rw-r--r--examples/examples.pro2
-rw-r--r--examples/uitools/multipleinheritance/calculatorform.cpp65
-rw-r--r--examples/uitools/multipleinheritance/calculatorform.h62
-rw-r--r--examples/uitools/multipleinheritance/calculatorform.ui303
-rw-r--r--examples/uitools/multipleinheritance/main.cpp56
-rw-r--r--examples/uitools/multipleinheritance/multipleinheritance.desktop11
-rw-r--r--examples/uitools/multipleinheritance/multipleinheritance.pro19
-rw-r--r--examples/uitools/textfinder/forms/input.txt9
-rw-r--r--examples/uitools/textfinder/forms/textfinder.ui89
-rw-r--r--examples/uitools/textfinder/main.cpp55
-rw-r--r--examples/uitools/textfinder/textfinder.cpp155
-rw-r--r--examples/uitools/textfinder/textfinder.desktop11
-rw-r--r--examples/uitools/textfinder/textfinder.h74
-rw-r--r--examples/uitools/textfinder/textfinder.pro17
-rw-r--r--examples/uitools/textfinder/textfinder.qrc6
-rw-r--r--examples/uitools/uitools.pro14
-rw-r--r--src/modules/qt_uilib.pri13
-rw-r--r--src/modules/qt_uitools.pri17
-rw-r--r--src/src.pro5
-rw-r--r--src/tools/uic/qclass_lib_map.h1
-rw-r--r--src/uitools/quiloader.cpp954
-rw-r--r--src/uitools/quiloader.h105
-rw-r--r--src/uitools/quiloader_p.h109
-rw-r--r--src/uitools/uitools.pro59
-rw-r--r--sync.profile6
-rw-r--r--tests/auto/compilerwarnings/data/test_cpp.txt2
-rw-r--r--tests/auto/other/headersclean/headersclean.pro1
-rw-r--r--tests/auto/other/headersclean/tst_headersclean.cpp4
-rw-r--r--tests/auto/uiloader/.gitignore1
-rw-r--r--tests/auto/uiloader/README.TXT93
-rw-r--r--tests/auto/uiloader/WTC0090dca226c8.ini11
-rw-r--r--tests/auto/uiloader/baseline/Dialog_with_Buttons_Bottom.ui71
-rw-r--r--tests/auto/uiloader/baseline/Dialog_with_Buttons_Right.ui71
-rw-r--r--tests/auto/uiloader/baseline/Dialog_without_Buttons.ui18
-rw-r--r--tests/auto/uiloader/baseline/Main_Window.ui27
-rw-r--r--tests/auto/uiloader/baseline/Widget.ui41
-rw-r--r--tests/auto/uiloader/baseline/addlinkdialog.ui112
-rw-r--r--tests/auto/uiloader/baseline/addtorrentform.ui266
-rw-r--r--tests/auto/uiloader/baseline/authenticationdialog.ui129
-rw-r--r--tests/auto/uiloader/baseline/backside.ui208
-rw-r--r--tests/auto/uiloader/baseline/batchtranslation.ui236
-rw-r--r--tests/auto/uiloader/baseline/bookmarkdialog.ui161
-rw-r--r--tests/auto/uiloader/baseline/bookwindow.ui149
-rw-r--r--tests/auto/uiloader/baseline/browserwidget.ui199
-rw-r--r--tests/auto/uiloader/baseline/calculator.ui406
-rw-r--r--tests/auto/uiloader/baseline/calculatorform.ui303
-rw-r--r--tests/auto/uiloader/baseline/certificateinfo.ui85
-rw-r--r--tests/auto/uiloader/baseline/chatdialog.ui79
-rw-r--r--tests/auto/uiloader/baseline/chatmainwindow.ui185
-rw-r--r--tests/auto/uiloader/baseline/chatsetnickname.ui149
-rw-r--r--tests/auto/uiloader/baseline/config.ui2528
-rw-r--r--tests/auto/uiloader/baseline/connectdialog.ui150
-rw-r--r--tests/auto/uiloader/baseline/controller.ui64
-rw-r--r--tests/auto/uiloader/baseline/cookies.ui106
-rw-r--r--tests/auto/uiloader/baseline/cookiesexceptions.ui184
-rw-r--r--tests/auto/uiloader/baseline/css_borderimage.ui125
-rw-r--r--tests/auto/uiloader/baseline/css_borderimage_allwidgets.ui247
-rw-r--r--tests/auto/uiloader/baseline/css_borderradius_allwidgets.ui458
-rw-r--r--tests/auto/uiloader/baseline/css_buttons_background.ui271
-rw-r--r--tests/auto/uiloader/baseline/css_combobox_background.ui306
-rw-r--r--tests/auto/uiloader/baseline/css_exemple_coffee.ui469
-rw-r--r--tests/auto/uiloader/baseline/css_exemple_pagefold.ui656
-rw-r--r--tests/auto/uiloader/baseline/css_exemple_usage.ui91
-rw-r--r--tests/auto/uiloader/baseline/css_frames.ui319
-rw-r--r--tests/auto/uiloader/baseline/css_groupboxes.ui150
-rw-r--r--tests/auto/uiloader/baseline/css_itemview_task258382.ui179
-rw-r--r--tests/auto/uiloader/baseline/css_qprogressbar.ui125
-rw-r--r--tests/auto/uiloader/baseline/css_qtabwidget.ui224
-rw-r--r--tests/auto/uiloader/baseline/css_qtbug6855.ui57
-rw-r--r--tests/auto/uiloader/baseline/css_qtbug7737_borderimageradius.ui44
-rw-r--r--tests/auto/uiloader/baseline/css_scroll.ui601
-rw-r--r--tests/auto/uiloader/baseline/css_scrollarea_base.ui197
-rw-r--r--tests/auto/uiloader/baseline/css_splitter.ui63
-rw-r--r--tests/auto/uiloader/baseline/css_tab_border.ui104
-rw-r--r--tests/auto/uiloader/baseline/css_tab_closebutton.ui128
-rw-r--r--tests/auto/uiloader/baseline/css_tab_task213374.ui306
-rw-r--r--tests/auto/uiloader/baseline/css_task255849_downarrow.ui144
-rw-r--r--tests/auto/uiloader/baseline/css_task259226_spinboxes.ui83
-rw-r--r--tests/auto/uiloader/baseline/default.ui329
-rw-r--r--tests/auto/uiloader/baseline/dialog.ui47
-rw-r--r--tests/auto/uiloader/baseline/downloaditem.ui134
-rw-r--r--tests/auto/uiloader/baseline/downloads.ui83
-rw-r--r--tests/auto/uiloader/baseline/embeddeddialog.ui87
-rw-r--r--tests/auto/uiloader/baseline/filespage.ui79
-rw-r--r--tests/auto/uiloader/baseline/filternamedialog.ui67
-rw-r--r--tests/auto/uiloader/baseline/filterpage.ui125
-rw-r--r--tests/auto/uiloader/baseline/finddialog.ui265
-rw-r--r--tests/auto/uiloader/baseline/formwindowsettings.ui311
-rw-r--r--tests/auto/uiloader/baseline/generalpage.ui69
-rw-r--r--tests/auto/uiloader/baseline/gridpanel.ui144
-rw-r--r--tests/auto/uiloader/baseline/helpdialog.ui404
-rw-r--r--tests/auto/uiloader/baseline/history.ui106
-rw-r--r--tests/auto/uiloader/baseline/identifierpage.ui132
-rw-r--r--tests/auto/uiloader/baseline/imagedialog.ui389
-rw-r--r--tests/auto/uiloader/baseline/images/arrow-down.pngbin1006 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/arrow-up.pngbin927 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/borderimage.pngbin1672 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/checkbox_checked.pngbin263 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/checkbox_checked_hover.pngbin266 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/checkbox_checked_pressed.pngbin425 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/checkbox_unchecked.pngbin159 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/checkbox_unchecked_hover.pngbin159 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/checkbox_unchecked_pressed.pngbin320 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/down_arrow.pngbin175 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/down_arrow_disabled.pngbin174 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/frame.pngbin253 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/pagefold.pngbin1545 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/pushbutton.pngbin533 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/pushbutton_hover.pngbin525 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/pushbutton_pressed.pngbin513 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/radiobutton_checked.pngbin355 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/radiobutton_checked_hover.pngbin532 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/radiobutton_checked_pressed.pngbin599 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/radiobutton_unchecked.pngbin240 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/radiobutton_unchecked_hover.pngbin492 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/radiobutton_unchecked_pressed.pngbin556 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/sizegrip.pngbin129 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/spindown.pngbin276 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/spindown_hover.pngbin268 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/spindown_off.pngbin249 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/spindown_pressed.pngbin264 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/spinup.pngbin283 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/spinup_hover.pngbin277 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/spinup_off.pngbin274 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/spinup_pressed.pngbin277 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/splitter_horizontal.pngbin199 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/splitter_vertical.pngbin193 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/up_arrow.pngbin197 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/images/up_arrow_disabled.pngbin172 -> 0 bytes
-rw-r--r--tests/auto/uiloader/baseline/inputpage.ui79
-rw-r--r--tests/auto/uiloader/baseline/installdialog.ui118
-rw-r--r--tests/auto/uiloader/baseline/languagesdialog.ui160
-rw-r--r--tests/auto/uiloader/baseline/listwidgeteditor.ui226
-rw-r--r--tests/auto/uiloader/baseline/mainwindow.ui502
-rw-r--r--tests/auto/uiloader/baseline/mainwindowbase.ui1214
-rw-r--r--tests/auto/uiloader/baseline/mydialog.ui47
-rw-r--r--tests/auto/uiloader/baseline/myform.ui130
-rw-r--r--tests/auto/uiloader/baseline/newactiondialog.ui202
-rw-r--r--tests/auto/uiloader/baseline/newdynamicpropertydialog.ui106
-rw-r--r--tests/auto/uiloader/baseline/newform.ui153
-rw-r--r--tests/auto/uiloader/baseline/orderdialog.ui198
-rw-r--r--tests/auto/uiloader/baseline/outputpage.ui95
-rw-r--r--tests/auto/uiloader/baseline/pagefold.ui349
-rw-r--r--tests/auto/uiloader/baseline/paletteeditor.ui264
-rw-r--r--tests/auto/uiloader/baseline/paletteeditoradvancedbase.ui617
-rw-r--r--tests/auto/uiloader/baseline/passworddialog.ui111
-rw-r--r--tests/auto/uiloader/baseline/pathpage.ui114
-rw-r--r--tests/auto/uiloader/baseline/phrasebookbox.ui211
-rw-r--r--tests/auto/uiloader/baseline/plugindialog.ui153
-rw-r--r--tests/auto/uiloader/baseline/preferencesdialog.ui165
-rw-r--r--tests/auto/uiloader/baseline/previewconfigurationwidget.ui91
-rw-r--r--tests/auto/uiloader/baseline/previewdialogbase.ui224
-rw-r--r--tests/auto/uiloader/baseline/previewwidget.ui238
-rw-r--r--tests/auto/uiloader/baseline/previewwidgetbase.ui340
-rw-r--r--tests/auto/uiloader/baseline/proxy.ui104
-rw-r--r--tests/auto/uiloader/baseline/qfiledialog.ui320
-rw-r--r--tests/auto/uiloader/baseline/qpagesetupwidget.ui353
-rw-r--r--tests/auto/uiloader/baseline/qprintpropertieswidget.ui70
-rw-r--r--tests/auto/uiloader/baseline/qprintsettingsoutput.ui371
-rw-r--r--tests/auto/uiloader/baseline/qprintwidget.ui116
-rw-r--r--tests/auto/uiloader/baseline/qsqlconnectiondialog.ui224
-rw-r--r--tests/auto/uiloader/baseline/qtgradientdialog.ui121
-rw-r--r--tests/auto/uiloader/baseline/qtgradienteditor.ui1377
-rw-r--r--tests/auto/uiloader/baseline/qtgradientview.ui135
-rw-r--r--tests/auto/uiloader/baseline/qtgradientviewdialog.ui121
-rw-r--r--tests/auto/uiloader/baseline/qtresourceeditordialog.ui180
-rw-r--r--tests/auto/uiloader/baseline/qttoolbardialog.ui207
-rw-r--r--tests/auto/uiloader/baseline/querywidget.ui163
-rw-r--r--tests/auto/uiloader/baseline/remotecontrol.ui228
-rw-r--r--tests/auto/uiloader/baseline/saveformastemplate.ui166
-rw-r--r--tests/auto/uiloader/baseline/settings.ui262
-rw-r--r--tests/auto/uiloader/baseline/signalslotdialog.ui129
-rw-r--r--tests/auto/uiloader/baseline/sslclient.ui190
-rw-r--r--tests/auto/uiloader/baseline/sslerrors.ui110
-rw-r--r--tests/auto/uiloader/baseline/statistics.ui242
-rw-r--r--tests/auto/uiloader/baseline/stringlisteditor.ui265
-rw-r--r--tests/auto/uiloader/baseline/stylesheeteditor.ui171
-rw-r--r--tests/auto/uiloader/baseline/tabbedbrowser.ui233
-rw-r--r--tests/auto/uiloader/baseline/tablewidgeteditor.ui403
-rw-r--r--tests/auto/uiloader/baseline/tetrixwindow.ui164
-rw-r--r--tests/auto/uiloader/baseline/textfinder.ui89
-rw-r--r--tests/auto/uiloader/baseline/topicchooser.ui116
-rw-r--r--tests/auto/uiloader/baseline/translatedialog.ui301
-rw-r--r--tests/auto/uiloader/baseline/translationsettings.ui107
-rw-r--r--tests/auto/uiloader/baseline/treewidgeteditor.ui379
-rw-r--r--tests/auto/uiloader/baseline/trpreviewtool.ui189
-rw-r--r--tests/auto/uiloader/baseline/validators.ui467
-rw-r--r--tests/auto/uiloader/baseline/wateringconfigdialog.ui446
-rw-r--r--tests/auto/uiloader/desert.ini11
-rw-r--r--tests/auto/uiloader/dole.ini11
-rw-r--r--tests/auto/uiloader/gravlaks.ini11
-rw-r--r--tests/auto/uiloader/jackychan.ini11
-rw-r--r--tests/auto/uiloader/jeunehomme.ini11
-rw-r--r--tests/auto/uiloader/kangaroo.ini11
-rw-r--r--tests/auto/uiloader/kayak.ini11
-rw-r--r--tests/auto/uiloader/scruffy.ini11
-rw-r--r--tests/auto/uiloader/troll15.ini11
-rw-r--r--tests/auto/uiloader/tst_screenshot/README.TXT13
-rw-r--r--tests/auto/uiloader/tst_screenshot/main.cpp209
-rw-r--r--tests/auto/uiloader/tst_screenshot/tst_screenshot.pro8
-rw-r--r--tests/auto/uiloader/tundra.ini11
-rw-r--r--tests/auto/uiloader/uiloader.pro3
-rw-r--r--tests/auto/uiloader/uiloader/tst_uiloader.cpp107
-rw-r--r--tests/auto/uiloader/uiloader/uiloader.cpp814
-rw-r--r--tests/auto/uiloader/uiloader/uiloader.h109
-rw-r--r--tests/auto/uiloader/uiloader/uiloader.pro30
-rw-r--r--tests/auto/uiloader/wartburg.ini11
-rw-r--r--tools/uilib/abstractformbuilder.cpp3154
-rw-r--r--tools/uilib/abstractformbuilder.h283
-rw-r--r--tools/uilib/container.h82
-rw-r--r--tools/uilib/container.qdoc199
-rw-r--r--tools/uilib/customwidget.h101
-rw-r--r--tools/uilib/customwidget.qdoc295
-rw-r--r--tools/uilib/extension.h109
-rw-r--r--tools/uilib/formbuilder.cpp550
-rw-r--r--tools/uilib/formbuilder.h110
-rw-r--r--tools/uilib/formbuilderextra.cpp533
-rw-r--r--tools/uilib/formbuilderextra_p.h276
-rw-r--r--tools/uilib/formscriptrunner.cpp208
-rw-r--r--tools/uilib/formscriptrunner_p.h120
-rw-r--r--tools/uilib/properties.cpp681
-rw-r--r--tools/uilib/properties_p.h176
-rw-r--r--tools/uilib/qdesignerexportwidget.h66
-rw-r--r--tools/uilib/resourcebuilder.cpp180
-rw-r--r--tools/uilib/resourcebuilder_p.h104
-rw-r--r--tools/uilib/textbuilder.cpp84
-rw-r--r--tools/uilib/textbuilder_p.h93
-rw-r--r--tools/uilib/ui4.cpp8907
-rw-r--r--tools/uilib/ui4_p.h3603
-rw-r--r--tools/uilib/uilib.pri34
-rw-r--r--tools/uilib/uilib_global.h64
-rw-r--r--tools/uilib/widgets.table148
233 files changed, 2 insertions, 52574 deletions
diff --git a/.gitignore b/.gitignore
index 8ce55a5f5d..119b6287df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -275,8 +275,6 @@ work
#generated module def and version header files
mkspecs/modules/qt_*.pri
mkspecs/qmodule.pri
-src/uitools/qtuitoolsversion.h
-tools/uilib/qtdesignerversion.h
#unit tests executables
diff --git a/examples/examples.pro b/examples/examples.pro
index 23271ebe53..93f4b6180f 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -27,7 +27,6 @@ SUBDIRS = \
tools \
tutorials \
widgets \
- uitools \
touch \
gestures
}
@@ -41,7 +40,6 @@ symbian: SUBDIRS = \
draganddrop \
mainwindows \
sql \
- uitools \
animation \
gestures \
xml
diff --git a/examples/uitools/multipleinheritance/calculatorform.cpp b/examples/uitools/multipleinheritance/calculatorform.cpp
deleted file mode 100644
index ae1312f558..0000000000
--- a/examples/uitools/multipleinheritance/calculatorform.cpp
+++ /dev/null
@@ -1,65 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include <QtWidgets>
-#include "calculatorform.h"
-
-
-//! [0]
-CalculatorForm::CalculatorForm(QWidget *parent)
- : QWidget(parent)
-{
- setupUi(this);
-}
-//! [0]
-
-//! [1]
-void CalculatorForm::on_inputSpinBox1_valueChanged(int value)
-{
- outputWidget->setText(QString::number(value + inputSpinBox2->value()));
-}
-//! [1]
-
-//! [2]
-void CalculatorForm::on_inputSpinBox2_valueChanged(int value)
-{
- outputWidget->setText(QString::number(value + inputSpinBox1->value()));
-}
-//! [2]
diff --git a/examples/uitools/multipleinheritance/calculatorform.h b/examples/uitools/multipleinheritance/calculatorform.h
deleted file mode 100644
index 9b8c8880bf..0000000000
--- a/examples/uitools/multipleinheritance/calculatorform.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef CALCULATORFORM_H
-#define CALCULATORFORM_H
-
-//! [0]
-#include "ui_calculatorform.h"
-//! [0]
-
-//! [1]
-class CalculatorForm : public QWidget, private Ui::CalculatorForm
-{
- Q_OBJECT
-
-public:
- CalculatorForm(QWidget *parent = 0);
-
-private slots:
- void on_inputSpinBox1_valueChanged(int value);
- void on_inputSpinBox2_valueChanged(int value);
-};
-//! [1]
-
-#endif
diff --git a/examples/uitools/multipleinheritance/calculatorform.ui b/examples/uitools/multipleinheritance/calculatorform.ui
deleted file mode 100644
index dda0e62ddd..0000000000
--- a/examples/uitools/multipleinheritance/calculatorform.ui
+++ /dev/null
@@ -1,303 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>CalculatorForm</class>
- <widget class="QWidget" name="CalculatorForm" >
- <property name="objectName" >
- <string notr="true" >CalculatorForm</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>276</width>
- <height>98</height>
- </rect>
- </property>
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="windowTitle" >
- <string>Calculator Builder</string>
- </property>
- <layout class="QGridLayout" >
- <property name="objectName" >
- <string notr="true" />
- </property>
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="0" column="0" >
- <layout class="QHBoxLayout" >
- <property name="objectName" >
- <string notr="true" />
- </property>
- <property name="margin" >
- <number>1</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <layout class="QVBoxLayout" >
- <property name="objectName" >
- <string notr="true" />
- </property>
- <property name="margin" >
- <number>1</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLabel" name="label" >
- <property name="objectName" >
- <string notr="true" >label</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>1</y>
- <width>45</width>
- <height>19</height>
- </rect>
- </property>
- <property name="text" >
- <string>Input 1</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="inputSpinBox1" >
- <property name="objectName" >
- <string notr="true" >inputSpinBox1</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>26</y>
- <width>45</width>
- <height>25</height>
- </rect>
- </property>
- <property name="mouseTracking" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QLabel" name="label_3" >
- <property name="objectName" >
- <string notr="true" >label_3</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>54</x>
- <y>1</y>
- <width>7</width>
- <height>52</height>
- </rect>
- </property>
- <property name="text" >
- <string>+</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" >
- <property name="objectName" >
- <string notr="true" />
- </property>
- <property name="margin" >
- <number>1</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLabel" name="label_2" >
- <property name="objectName" >
- <string notr="true" >label_2</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>1</y>
- <width>45</width>
- <height>19</height>
- </rect>
- </property>
- <property name="text" >
- <string>Input 2</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="inputSpinBox2" >
- <property name="objectName" >
- <string notr="true" >inputSpinBox2</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>26</y>
- <width>45</width>
- <height>25</height>
- </rect>
- </property>
- <property name="mouseTracking" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QLabel" name="label_3_2" >
- <property name="objectName" >
- <string notr="true" >label_3_2</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>120</x>
- <y>1</y>
- <width>7</width>
- <height>52</height>
- </rect>
- </property>
- <property name="text" >
- <string>=</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" >
- <property name="objectName" >
- <string notr="true" />
- </property>
- <property name="margin" >
- <number>1</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLabel" name="label_2_2_2" >
- <property name="objectName" >
- <string notr="true" >label_2_2_2</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>1</y>
- <width>37</width>
- <height>17</height>
- </rect>
- </property>
- <property name="text" >
- <string>Output</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="outputWidget" >
- <property name="objectName" >
- <string notr="true" >outputWidget</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>24</y>
- <width>37</width>
- <height>27</height>
- </rect>
- </property>
- <property name="frameShape" >
- <enum>QFrame::Box</enum>
- </property>
- <property name="frameShadow" >
- <enum>QFrame::Sunken</enum>
- </property>
- <property name="text" >
- <string>0</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignAbsolute|Qt::AlignBottom|Qt::AlignCenter|Qt::AlignHCenter|Qt::AlignHorizontal_Mask|Qt::AlignJustify|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing|Qt::AlignVCenter|Qt::AlignVertical_Mask</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item row="1" column="0" >
- <spacer>
- <property name="objectName" >
- <string notr="true" >verticalSpacer</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>85</x>
- <y>69</y>
- <width>20</width>
- <height>20</height>
- </rect>
- </property>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="0" column="1" >
- <spacer>
- <property name="objectName" >
- <string notr="true" >horizontalSpacer</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>188</x>
- <y>26</y>
- <width>79</width>
- <height>20</height>
- </rect>
- </property>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</ui>
diff --git a/examples/uitools/multipleinheritance/main.cpp b/examples/uitools/multipleinheritance/main.cpp
deleted file mode 100644
index 56ba8efe53..0000000000
--- a/examples/uitools/multipleinheritance/main.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include <QApplication>
-#include "calculatorform.h"
-
-//! [0]
-int main(int argc, char *argv[])
-{
- QApplication app(argc, argv);
- CalculatorForm calculator;
-#if defined(Q_OS_SYMBIAN)
- calculator.showMaximized();
-#else
- calculator.show();
-#endif
- return app.exec();
-}
-//! [0]
diff --git a/examples/uitools/multipleinheritance/multipleinheritance.desktop b/examples/uitools/multipleinheritance/multipleinheritance.desktop
deleted file mode 100644
index 7e652f972b..0000000000
--- a/examples/uitools/multipleinheritance/multipleinheritance.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Version=1.0
-Type=Application
-Terminal=false
-Name=Multiple Inheritance
-Exec=/opt/usr/bin/multipleinheritance
-Icon=multipleinheritance
-X-Window-Icon=
-X-HildonDesk-ShowInToolbar=true
-X-Osso-Type=application/x-executable
diff --git a/examples/uitools/multipleinheritance/multipleinheritance.pro b/examples/uitools/multipleinheritance/multipleinheritance.pro
deleted file mode 100644
index 7e64967416..0000000000
--- a/examples/uitools/multipleinheritance/multipleinheritance.pro
+++ /dev/null
@@ -1,19 +0,0 @@
-#! [0]
-SOURCES = calculatorform.cpp main.cpp
-HEADERS = calculatorform.h
-FORMS = calculatorform.ui
-#! [0]
-
-# install
-target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools/multipleinheritance
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools/multipleinheritance
-INSTALLS += target sources
-
-symbian {
- TARGET.UID3 = 0xA000D7C1
- CONFIG += qt_example
-}
-QT += widgets
-maemo5: CONFIG += qt_example
-
diff --git a/examples/uitools/textfinder/forms/input.txt b/examples/uitools/textfinder/forms/input.txt
deleted file mode 100644
index 29dfe5d6c6..0000000000
--- a/examples/uitools/textfinder/forms/input.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-These forms are processed at run-time to produce dynamically-generated user interfaces.
-In order to generate a form at run-time, a resource file containing a UI file is needed.
-Applications that use the form handling classes need to be configured to be built against
-the QtUiTools module. This is done by including the following declaration in a qmake project
-file to ensure that the application is compiled and linked appropriately. A form loader object,
-provided by the QUiLoader class, is used to construct the user interface. This user interface
-can be retrieved from any QIODevice; for example, a QFile object can be used to obtain a form
-stored in a project's resources. The QUiLoader::load() function takes the user interface
-description contained in the file and constructs the form widget. \ No newline at end of file
diff --git a/examples/uitools/textfinder/forms/textfinder.ui b/examples/uitools/textfinder/forms/textfinder.ui
deleted file mode 100644
index af05192dbd..0000000000
--- a/examples/uitools/textfinder/forms/textfinder.ui
+++ /dev/null
@@ -1,89 +0,0 @@
-<ui version="4.0" >
- <class>Form</class>
- <widget class="QWidget" name="Form" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>378</width>
- <height>158</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Find Text</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="0" column="1" >
- <widget class="QLineEdit" name="lineEdit" />
- </item>
- <item row="0" column="0" >
- <widget class="QLabel" name="searchLabel" >
- <property name="text" >
- <string>&amp;Keyword:</string>
- </property>
- <property name="buddy" >
- <cstring>lineEdit</cstring>
- </property>
- </widget>
- </item>
- <item row="0" column="2" >
- <widget class="QPushButton" name="findButton" >
- <property name="text" >
- <string>&amp;Find</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QTextEdit" name="textEdit" />
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>16</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>lineEdit</sender>
- <signal>returnPressed()</signal>
- <receiver>findButton</receiver>
- <slot>animateClick()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>261</x>
- <y>17</y>
- </hint>
- <hint type="destinationlabel" >
- <x>320</x>
- <y>17</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/examples/uitools/textfinder/main.cpp b/examples/uitools/textfinder/main.cpp
deleted file mode 100644
index 2fe9b715d1..0000000000
--- a/examples/uitools/textfinder/main.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include <QApplication>
-#include "textfinder.h"
-
-//! [0]
-int main(int argc, char *argv[])
-{
- Q_INIT_RESOURCE(textfinder);
- QApplication app(argc, argv);
-
- TextFinder *textFinder = new TextFinder;
- textFinder->show();
-
- return app.exec();
-}
-//! [0]
diff --git a/examples/uitools/textfinder/textfinder.cpp b/examples/uitools/textfinder/textfinder.cpp
deleted file mode 100644
index 041c36f218..0000000000
--- a/examples/uitools/textfinder/textfinder.cpp
+++ /dev/null
@@ -1,155 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include <QtUiTools>
-#include <QtWidgets>
-#include "textfinder.h"
-
-//! [0]
-TextFinder::TextFinder(QWidget *parent)
- : QWidget(parent)
-{
- QWidget *formWidget = loadUiFile();
-
-//! [1]
- ui_findButton = findChild<QPushButton*>("findButton");
- ui_textEdit = findChild<QTextEdit*>("textEdit");
- ui_lineEdit = findChild<QLineEdit*>("lineEdit");
-//! [0] //! [1]
-
-//! [2]
- QMetaObject::connectSlotsByName(this);
-//! [2]
-
-//! [3a]
- loadTextFile();
-//! [3a]
-
-//! [3b]
- QVBoxLayout *layout = new QVBoxLayout;
- layout->addWidget(formWidget);
- setLayout(layout);
-//! [3b]
-
-//! [3c]
- setWindowTitle(tr("Text Finder"));
- isFirstTime = true;
-}
-//! [3c]
-
-//! [4]
-QWidget* TextFinder::loadUiFile()
-{
- QUiLoader loader;
-
- QFile file(":/forms/textfinder.ui");
- file.open(QFile::ReadOnly);
-
- QWidget *formWidget = loader.load(&file, this);
- file.close();
-
- return formWidget;
-}
-//! [4]
-
-//! [5]
-void TextFinder::loadTextFile()
-{
- QFile inputFile(":/forms/input.txt");
- inputFile.open(QIODevice::ReadOnly);
- QTextStream in(&inputFile);
- QString line = in.readAll();
- inputFile.close();
-
- ui_textEdit->append(line);
- ui_textEdit->setUndoRedoEnabled(false);
- ui_textEdit->setUndoRedoEnabled(true);
-}
-//! [5]
-
-//! [6] //! [7]
-void TextFinder::on_findButton_clicked()
-{
- QString searchString = ui_lineEdit->text();
- QTextDocument *document = ui_textEdit->document();
-
- bool found = false;
-
- if (isFirstTime == false)
- document->undo();
-
- if (searchString.isEmpty()) {
- QMessageBox::information(this, tr("Empty Search Field"),
- "The search field is empty. Please enter a word and click Find.");
- } else {
-
- QTextCursor highlightCursor(document);
- QTextCursor cursor(document);
-
- cursor.beginEditBlock();
-//! [6]
-
- QTextCharFormat plainFormat(highlightCursor.charFormat());
- QTextCharFormat colorFormat = plainFormat;
- colorFormat.setForeground(Qt::red);
-
- while (!highlightCursor.isNull() && !highlightCursor.atEnd()) {
- highlightCursor = document->find(searchString, highlightCursor, QTextDocument::FindWholeWords);
-
- if (!highlightCursor.isNull()) {
- found = true;
- highlightCursor.movePosition(QTextCursor::WordRight,
- QTextCursor::KeepAnchor);
- highlightCursor.mergeCharFormat(colorFormat);
- }
- }
-
-//! [8]
- cursor.endEditBlock();
-//! [7] //! [9]
- isFirstTime = false;
-
- if (found == false) {
- QMessageBox::information(this, tr("Word Not Found"),
- "Sorry, the word cannot be found.");
- }
- }
-}
-//! [8] //! [9]
diff --git a/examples/uitools/textfinder/textfinder.desktop b/examples/uitools/textfinder/textfinder.desktop
deleted file mode 100644
index e1911cc61c..0000000000
--- a/examples/uitools/textfinder/textfinder.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Version=1.0
-Type=Application
-Terminal=false
-Name=Text Finder
-Exec=/opt/usr/bin/textfinder
-Icon=textfinder
-X-Window-Icon=
-X-HildonDesk-ShowInToolbar=true
-X-Osso-Type=application/x-executable
diff --git a/examples/uitools/textfinder/textfinder.h b/examples/uitools/textfinder/textfinder.h
deleted file mode 100644
index c3cd030cb2..0000000000
--- a/examples/uitools/textfinder/textfinder.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the examples of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef TEXTFINDER_H
-#define TEXTFINDER_H
-
-#include <QWidget>
-
-QT_BEGIN_NAMESPACE
-class QPushButton;
-class QTextEdit;
-class QLineEdit;
-QT_END_NAMESPACE
-
-//! [0]
-class TextFinder : public QWidget
-{
- Q_OBJECT
-
-public:
- TextFinder(QWidget *parent = 0);
-
-private slots:
- void on_findButton_clicked();
-
-private:
- QWidget* loadUiFile();
- void loadTextFile();
-
- QPushButton *ui_findButton;
- QTextEdit *ui_textEdit;
- QLineEdit *ui_lineEdit;
- bool isFirstTime;
-};
-//! [0]
-
-#endif
diff --git a/examples/uitools/textfinder/textfinder.pro b/examples/uitools/textfinder/textfinder.pro
deleted file mode 100644
index 337b7216e4..0000000000
--- a/examples/uitools/textfinder/textfinder.pro
+++ /dev/null
@@ -1,17 +0,0 @@
-CONFIG += uitools
-HEADERS = textfinder.h
-RESOURCES = textfinder.qrc
-SOURCES = textfinder.cpp main.cpp
-
-# install
-target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools/textfinder
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro forms
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools/textfinder
-INSTALLS += target sources
-
-symbian: CONFIG += qt_example
-QT += widgets
-maemo5: CONFIG += qt_example
-
-symbian: warning(This example does not work on Symbian platform)
-simulator: warning(This example does not work on Simulator platform)
diff --git a/examples/uitools/textfinder/textfinder.qrc b/examples/uitools/textfinder/textfinder.qrc
deleted file mode 100644
index a4cea8a77d..0000000000
--- a/examples/uitools/textfinder/textfinder.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<!DOCTYPE RCC><RCC version="1.0">
-<qresource>
- <file>forms/textfinder.ui</file>
- <file>forms/input.txt</file>
-</qresource>
-</RCC> \ No newline at end of file
diff --git a/examples/uitools/uitools.pro b/examples/uitools/uitools.pro
deleted file mode 100644
index f17de666fb..0000000000
--- a/examples/uitools/uitools.pro
+++ /dev/null
@@ -1,14 +0,0 @@
-TEMPLATE = subdirs
-SUBDIRS = multipleinheritance
-
-!wince*:!symbian:contains(QT_BUILD_PARTS, tools): SUBDIRS += textfinder
-
-# install
-target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS uitools.pro README
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools
-INSTALLS += target sources
-
-symbian: CONFIG += qt_example
-QT += widgets
-maemo5: CONFIG += qt_example
diff --git a/src/modules/qt_uilib.pri b/src/modules/qt_uilib.pri
deleted file mode 100644
index 04616ac6af..0000000000
--- a/src/modules/qt_uilib.pri
+++ /dev/null
@@ -1,13 +0,0 @@
-QT.uilib.VERSION = 5.0.0
-QT.uilib.MAJOR_VERSION = 5
-QT.uilib.MINOR_VERSION = 0
-QT.uilib.PATCH_VERSION = 0
-
-QT.uilib.name = QtUiLib
-QT.uilib.bins = $$QT_MODULE_BIN_BASE
-QT.uilib.includes = $$QT_MODULE_INCLUDE_BASE/QtDesigner
-QT.uilib.private_includes = $$QT_MODULE_INCLUDE_BASE/QtDesigner/$$QT.uilib.VERSION
-QT.uilib.sources = $$QT_MODULE_BASE/tools/uilib
-QT.uilib.plugins = $$QT_MODULE_PLUGIN_BASE
-QT.uilib.imports = $$QT_MODULE_IMPORT_BASE
-QT.uilib.depends = xml
diff --git a/src/modules/qt_uitools.pri b/src/modules/qt_uitools.pri
deleted file mode 100644
index 128a20cfd7..0000000000
--- a/src/modules/qt_uitools.pri
+++ /dev/null
@@ -1,17 +0,0 @@
-QT.uitools.VERSION = 5.0.0
-QT.uitools.MAJOR_VERSION = 5
-QT.uitools.MINOR_VERSION = 0
-QT.uitools.PATCH_VERSION = 0
-
-QT.uitools.name = QtUiTools
-QT.uitools.bins = $$QT_MODULE_BIN_BASE
-QT.uitools.includes = $$QT_MODULE_INCLUDE_BASE/QtUiTools
-QT.uitools.private_includes = $$QT_MODULE_INCLUDE_BASE/QtUiTools/$$QT.uitools.VERSION
-QT.uitools.sources = $$QT_MODULE_BASE/src/uitools
-QT.uitools.libs = $$QT_MODULE_LIB_BASE
-QT.uitools.plugins = $$QT_MODULE_PLUGIN_BASE
-QT.uitools.imports = $$QT_MODULE_IMPORT_BASE
-QT.uitools.depends = xml
-QT.uitools.DEFINES = QT_UITOOLS_LIB
-
-QT_CONFIG += uitools
diff --git a/src/src.pro b/src/src.pro
index 4263c0eb92..a0e504a39e 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -10,7 +10,7 @@ SRC_SUBDIRS += src_corelib
!cross_compile {
win32:!wince*: SRC_SUBDIRS += src_tools_idc
}
-SRC_SUBDIRS += src_network src_sql src_gui src_xml src_uitools src_widgets src_printsupport src_testlib src_platformsupport
+SRC_SUBDIRS += src_network src_sql src_gui src_xml src_widgets src_printsupport src_testlib src_platformsupport
nacl: SRC_SUBDIRS -= src_network src_testlib
!symbian:contains(QT_CONFIG, dbus):SRC_SUBDIRS += src_dbus
@@ -36,8 +36,6 @@ src_v8.subdir = $$QT_SOURCE_TREE/src/v8
src_v8.target = sub-v8
src_xml.subdir = $$QT_SOURCE_TREE/src/xml
src_xml.target = sub-xml
-src_uitools.subdir = $$QT_SOURCE_TREE/src/uitools
-src_uitools.target = sub-uitools
src_dbus.subdir = $$QT_SOURCE_TREE/src/dbus
src_dbus.target = sub-dbus
src_gui.subdir = $$QT_SOURCE_TREE/src/gui
@@ -68,7 +66,6 @@ src_platformsupport.target = sub-platformsupport
src_widgets.depends = src_corelib src_gui src_tools_uic
embedded: src_gui.depends += src_network
src_xml.depends = src_corelib
- src_uitools.depends = src_corelib src_widgets
src_dbus.depends = src_corelib src_xml
src_network.depends = src_corelib
src_opengl.depends = src_gui src_widgets
diff --git a/src/tools/uic/qclass_lib_map.h b/src/tools/uic/qclass_lib_map.h
index 09d275d8a1..795a8c12cf 100644
--- a/src/tools/uic/qclass_lib_map.h
+++ b/src/tools/uic/qclass_lib_map.h
@@ -1078,7 +1078,6 @@ QT_CLASS_LIB(QDoubleValidator, QtWidgets, qvalidator.h)
QT_CLASS_LIB(QRegExpValidator, QtWidgets, qvalidator.h)
QT_CLASS_LIB(QWorkspace, QtWidgets, qworkspace.h)
QT_CLASS_LIB(QScriptEngineDebugger, QtScriptTools, qscriptenginedebugger.h)
-QT_CLASS_LIB(QUiLoader, QtUiTools, quiloader.h)
QT_CLASS_LIB(QDesignerComponents, QtDesigner, qdesigner_components.h)
QT_CLASS_LIB(QExtensionFactory, QtDesigner, default_extensionfactory.h)
QT_CLASS_LIB(QAbstractExtensionFactory, QtDesigner, extension.h)
diff --git a/src/uitools/quiloader.cpp b/src/uitools/quiloader.cpp
deleted file mode 100644
index 19d4277aed..0000000000
--- a/src/uitools/quiloader.cpp
+++ /dev/null
@@ -1,954 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the Qt Designer of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** This file may be used under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation and
-** appearing in the file LICENSE.LGPL included in the packaging of this
-** file. Please review the following information to ensure the GNU Lesser
-** General Public License version 2.1 requirements will be met:
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU General
-** Public License version 3.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of this
-** file. Please review the following information to ensure the GNU General
-** Public License version 3.0 requirements will be met:
-** http://www.gnu.org/copyleft/gpl.html.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-
-#include "quiloader.h"
-#include "quiloader_p.h"
-#include "customwidget.h"
-
-#include <formbuilder.h>
-#include <formbuilderextra_p.h>
-#include <textbuilder_p.h>
-#include <ui4_p.h>
-
-#include <QtCore/qdebug.h>
-#include <QtWidgets/QAction>
-#include <QtWidgets/QActionGroup>
-#include <QtWidgets/QApplication>
-#include <QtCore/QDir>
-#include <QtCore/QLibraryInfo>
-#include <QtWidgets/QLayout>
-#include <QtWidgets/QWidget>
-#include <QtCore/QMap>
-#include <QtWidgets/QTabWidget>
-#include <QtWidgets/QTreeWidget>
-#include <QtWidgets/QListWidget>
-#include <QtWidgets/QTableWidget>
-#include <QtWidgets/QToolBox>
-#include <QtWidgets/QComboBox>
-#include <QtWidgets/QFontComboBox>
-
-QT_BEGIN_NAMESPACE
-
-typedef QMap<QString, bool> widget_map;
-Q_GLOBAL_STATIC(widget_map, g_widgets)
-
-class QUiLoader;
-class QUiLoaderPrivate;
-
-#ifdef QFORMINTERNAL_NAMESPACE
-namespace QFormInternal
-{
-#endif
-
-class TranslatingTextBuilder : public QTextBuilder
-{
-public:
- TranslatingTextBuilder(bool trEnabled, const QByteArray &className) :
- m_trEnabled(trEnabled), m_className(className) {}
-
- virtual QVariant loadText(const DomProperty *icon) const;
-
- virtual QVariant toNativeValue(const QVariant &value) const;
-
-private:
- bool m_trEnabled;
- QByteArray m_className;
-};
-
-QVariant TranslatingTextBuilder::loadText(const DomProperty *text) const
-{
- const DomString *str = text->elementString();
- if (!str)
- return QVariant();
- if (str->hasAttributeNotr()) {
- const QString notr = str->attributeNotr();
- if (notr == QLatin1String("true") || notr == QLatin1String("yes"))
- return QVariant::fromValue(str->text());
- }
- QUiTranslatableStringValue strVal;
- strVal.setValue(str->text().toUtf8());
- if (str->hasAttributeComment())
- strVal.setComment(str->attributeComment().toUtf8());
- return QVariant::fromValue(strVal);
-}
-
-QVariant TranslatingTextBuilder::toNativeValue(const QVariant &value) const
-{
- if (value.canConvert<QUiTranslatableStringValue>()) {
- QUiTranslatableStringValue tsv = qvariant_cast<QUiTranslatableStringValue>(value);
- if (!m_trEnabled)
- return QString::fromUtf8(tsv.value().data());
- return QVariant::fromValue(
- QApplication::translate(m_className, tsv.value(), tsv.comment(),
- QCoreApplication::UnicodeUTF8));
- }
- if (value.canConvert<QString>())
- return QVariant::fromValue(qvariant_cast<QString>(value));
- return value;
-}
-
-// This is "exported" to linguist
-const QUiItemRolePair qUiItemRoles[] = {
- { Qt::DisplayRole, Qt::DisplayPropertyRole },
-#ifndef QT_NO_TOOLTIP
- { Qt::ToolTipRole, Qt::ToolTipPropertyRole },
-#endif
-#ifndef QT_NO_STATUSTIP
- { Qt::StatusTipRole, Qt::StatusTipPropertyRole },
-#endif
-#ifndef QT_NO_WHATSTHIS
- { Qt::WhatsThisRole, Qt::WhatsThisPropertyRole },
-#endif
- { -1 , -1 }
-};
-
-static void recursiveReTranslate(QTreeWidgetItem *item, const QByteArray &class_name)
-{
- const QUiItemRolePair *irs = qUiItemRoles;
-
- int cnt = item->columnCount();
- for (int i = 0; i < cnt; ++i) {
- for (unsigned j = 0; irs[j].shadowRole >= 0; j++) {
- QVariant v = item->data(i, irs[j].shadowRole);
- if (v.isValid()) {
- QUiTranslatableStringValue tsv = qvariant_cast<QUiTranslatableStringValue>(v);
- const QString text = QApplication::translate(class_name,
- tsv.value(), tsv.comment(),
- QCoreApplication::UnicodeUTF8);
- item->setData(i, irs[j].realRole, text);
- }
- }
- }
-
- cnt = item->childCount();
- for (int i = 0; i < cnt; ++i)
- recursiveReTranslate(item->child(i), class_name);
-}
-
-template<typename T>
-static void reTranslateWidgetItem(T *item, const QByteArray &class_name)
-{
- const QUiItemRolePair *irs = qUiItemRoles;
-
- for (unsigned j = 0; irs[j].shadowRole >= 0; j++) {
- QVariant v = item->data(irs[j].shadowRole);
- if (v.isValid()) {
- QUiTranslatableStringValue tsv = qvariant_cast<QUiTranslatableStringValue>(v);
- const QString text = QApplication::translate(class_name,
- tsv.value(), tsv.comment(),
- QCoreApplication::UnicodeUTF8);
- item->setData(irs[j].realRole, text);
- }
- }
-}
-
-static void reTranslateTableItem(QTableWidgetItem *item, const QByteArray &class_name)
-{
- if (item)
- reTranslateWidgetItem(item, class_name);
-}
-
-#define RETRANSLATE_SUBWIDGET_PROP(mainWidget, setter, propName) \
- do { \
- QVariant v = mainWidget->widget(i)->property(propName); \
- if (v.isValid()) { \
- QUiTranslatableStringValue tsv = qvariant_cast<QUiTranslatableStringValue>(v); \
- const QString text = QApplication::translate(m_className, \
- tsv.value(), tsv.comment(), \
- QCoreApplication::UnicodeUTF8); \
- mainWidget->setter(i, text); \
- } \
- } while (0)
-
-class TranslationWatcher: public QObject
-{
- Q_OBJECT
-
-public:
- TranslationWatcher(QObject *parent, const QByteArray &className):
- QObject(parent),
- m_className(className)
- {
- }
-
- virtual bool eventFilter(QObject *o, QEvent *event)
- {
- if (event->type() == QEvent::LanguageChange) {
- foreach (const QByteArray &prop, o->dynamicPropertyNames()) {
- if (prop.startsWith(PROP_GENERIC_PREFIX)) {
- const QByteArray propName = prop.mid(sizeof(PROP_GENERIC_PREFIX) - 1);
- const QUiTranslatableStringValue tsv =
- qvariant_cast<QUiTranslatableStringValue>(o->property(prop));
- const QString text = QApplication::translate(m_className,
- tsv.value(), tsv.comment(),
- QCoreApplication::UnicodeUTF8);
- o->setProperty(propName, text);
- }
- }
- if (0) {
-#ifndef QT_NO_TABWIDGET
- } else if (QTabWidget *tabw = qobject_cast<QTabWidget*>(o)) {
- const int cnt = tabw->count();
- for (int i = 0; i < cnt; ++i) {
- RETRANSLATE_SUBWIDGET_PROP(tabw, setTabText, PROP_TABPAGETEXT);
-# ifndef QT_NO_TOOLTIP
- RETRANSLATE_SUBWIDGET_PROP(tabw, setTabToolTip, PROP_TABPAGETOOLTIP);
-# endif
-# ifndef QT_NO_WHATSTHIS
- RETRANSLATE_SUBWIDGET_PROP(tabw, setTabWhatsThis, PROP_TABPAGEWHATSTHIS);
-# endif
- }
-#endif
-#ifndef QT_NO_LISTWIDGET
- } else if (QListWidget *listw = qobject_cast<QListWidget*>(o)) {
- const int cnt = listw->count();
- for (int i = 0; i < cnt; ++i)
- reTranslateWidgetItem(listw->item(i), m_className);
-#endif
-#ifndef QT_NO_TREEWIDGET
- } else if (QTreeWidget *treew = qobject_cast<QTreeWidget*>(o)) {
- if (QTreeWidgetItem *item = treew->headerItem())
- recursiveReTranslate(item, m_className);
- const int cnt = treew->topLevelItemCount();
- for (int i = 0; i < cnt; ++i) {
- QTreeWidgetItem *item = treew->topLevelItem(i);
- recursiveReTranslate(item, m_className);
- }
-#endif
-#ifndef QT_NO_TABLEWIDGET
- } else if (QTableWidget *tablew = qobject_cast<QTableWidget*>(o)) {
- const int row_cnt = tablew->rowCount();
- const int col_cnt = tablew->columnCount();
- for (int j = 0; j < col_cnt; ++j)
- reTranslateTableItem(tablew->horizontalHeaderItem(j), m_className);
- for (int i = 0; i < row_cnt; ++i) {
- reTranslateTableItem(tablew->verticalHeaderItem(i), m_className);
- for (int j = 0; j < col_cnt; ++j)
- reTranslateTableItem(tablew->item(i, j), m_className);
- }
-#endif
-#ifndef QT_NO_COMBOBOX
- } else if (QComboBox *combow = qobject_cast<QComboBox*>(o)) {
- if (!qobject_cast<QFontComboBox*>(o)) {
- const int cnt = combow->count();
- for (int i = 0; i < cnt; ++i) {
- const QVariant v = combow->itemData(i, Qt::DisplayPropertyRole);
- if (v.isValid()) {
- QUiTranslatableStringValue tsv = qvariant_cast<QUiTranslatableStringValue>(v);
- const QString text = QApplication::translate(m_className,
- tsv.value(), tsv.comment(),
- QCoreApplication::UnicodeUTF8);
- combow->setItemText(i, text);
- }
- }
- }
-#endif
-#ifndef QT_NO_TOOLBOX
- } else if (QToolBox *toolw = qobject_cast<QToolBox*>(o)) {
- const int cnt = toolw->count();
- for (int i = 0; i < cnt; ++i) {
- RETRANSLATE_SUBWIDGET_PROP(toolw, setItemText, PROP_TOOLITEMTEXT);
-# ifndef QT_NO_TOOLTIP
- RETRANSLATE_SUBWIDGET_PROP(toolw, setItemToolTip, PROP_TOOLITEMTOOLTIP);
-# endif
- }
-#endif
- }
- }
- return false;
- }
-
-private:
- QByteArray m_className;
-};
-
-class FormBuilderPrivate: public QFormBuilder
-{
- friend class QT_PREPEND_NAMESPACE(QUiLoader);
- friend class QT_PREPEND_NAMESPACE(QUiLoaderPrivate);
- typedef QFormBuilder ParentClass;
-
-public:
- QUiLoader *loader;
-
- bool dynamicTr;
- bool trEnabled;
-
- FormBuilderPrivate(): loader(0), dynamicTr(false), trEnabled(true), m_trwatch(0) {}
-
- QWidget *defaultCreateWidget(const QString &className, QWidget *parent, const QString &name)
- {
- return ParentClass::createWidget(className, parent, name);
- }
-
- QLayout *defaultCreateLayout(const QString &className, QObject *parent, const QString &name)
- {
- return ParentClass::createLayout(className, parent, name);
- }
-
- QAction *defaultCreateAction(QObject *parent, const QString &name)
- {
- return ParentClass::createAction(parent, name);
- }
-
- QActionGroup *defaultCreateActionGroup(QObject *parent, const QString &name)
- {
- return ParentClass::createActionGroup(parent, name);
- }
-
- virtual QWidget *createWidget(const QString &className, QWidget *parent, const QString &name)
- {
- if (QWidget *widget = loader->createWidget(className, parent, name)) {
- widget->setObjectName(name);
- return widget;
- }
-
- return 0;
- }
-
- virtual QLayout *createLayout(const QString &className, QObject *parent, const QString &name)
- {
- if (QLayout *layout = loader->createLayout(className, parent, name)) {
- layout->setObjectName(name);
- return layout;
- }
-
- return 0;
- }
-
- virtual QActionGroup *createActionGroup(QObject *parent, const QString &name)
- {
- if (QActionGroup *actionGroup = loader->createActionGroup(parent, name)) {
- actionGroup->setObjectName(name);
- return actionGroup;
- }
-
- return 0;
- }
-
- virtual QAction *createAction(QObject *parent, const QString &name)
- {
- if (QAction *action = loader->createAction(parent, name)) {
- action->setObjectName(name);
- return action;
- }
-
- return 0;
- }
-
- virtual void applyProperties(QObject *o, const QList<DomProperty*> &properties);
- virtual QWidget *create(DomUI *ui, QWidget *parentWidget);
- virtual QWidget *create(DomWidget *ui_widget, QWidget *parentWidget);
- virtual bool addItem(DomWidget *ui_widget, QWidget *widget, QWidget *parentWidget);
-
-private:
- QByteArray m_class;
- TranslationWatcher *m_trwatch;
-};
-
-static QString convertTranslatable(const DomProperty *p, const QByteArray &className,
- QUiTranslatableStringValue *strVal)
-{
- if (p->kind() != DomProperty::String)
- return QString();
- const DomString *dom_str = p->elementString();
- if (!dom_str)
- return QString();
- if (dom_str->hasAttributeNotr()) {
- const QString notr = dom_str->attributeNotr();
- if (notr == QLatin1String("yes") || notr == QLatin1String("true"))
- return QString();
- }
- strVal->setValue(dom_str->text().toUtf8());
- strVal->setComment(dom_str->attributeComment().toUtf8());
- if (strVal->value().isEmpty() && strVal->comment().isEmpty())
- return QString();
- return QApplication::translate(className,
- strVal->value(), strVal->comment(),
- QCoreApplication::UnicodeUTF8);
-}
-
-void FormBuilderPrivate::applyProperties(QObject *o, const QList<DomProperty*> &properties)
-{
- typedef QList<DomProperty*> DomPropertyList;
-
- QFormBuilder::applyProperties(o, properties);
-
- if (!m_trwatch)
- m_trwatch = new TranslationWatcher(o, m_class);
-
- if (properties.empty())
- return;
-
- // Unlike string item roles, string properties are not loaded via the textBuilder
- // (as they are "shadowed" by the property sheets in designer). So do the initial
- // translation here.
- bool anyTrs = false;
- foreach (const DomProperty *p, properties) {
- QUiTranslatableStringValue strVal;
- const QString text = convertTranslatable(p, m_class, &strVal);
- if (text.isEmpty())
- continue;
- const QByteArray name = p->attributeName().toUtf8();
- if (dynamicTr) {
- o->setProperty(PROP_GENERIC_PREFIX + name, QVariant::fromValue(strVal));
- anyTrs = trEnabled;
- }
- o->setProperty(name, text);
- }
- if (anyTrs)
- o->installEventFilter(m_trwatch);
-}
-
-QWidget *FormBuilderPrivate::create(DomUI *ui, QWidget *parentWidget)
-{
- m_class = ui->elementClass().toUtf8();
- m_trwatch = 0;
- setTextBuilder(new TranslatingTextBuilder(trEnabled, m_class));
- return QFormBuilder::create(ui, parentWidget);
-}
-
-QWidget *FormBuilderPrivate::create(DomWidget *ui_widget, QWidget *parentWidget)
-{
- QWidget *w = QFormBuilder::create(ui_widget, parentWidget);
- if (w == 0)
- return 0;
-
- if (0) {
-#ifndef QT_NO_TABWIDGET
- } else if (qobject_cast<QTabWidget*>(w)) {
-#endif
-#ifndef QT_NO_LISTWIDGET
- } else if (qobject_cast<QListWidget*>(w)) {
-#endif
-#ifndef QT_NO_TREEWIDGET
- } else if (qobject_cast<QTreeWidget*>(w)) {
-#endif
-#ifndef QT_NO_TABLEWIDGET
- } else if (qobject_cast<QTableWidget*>(w)) {
-#endif
-#ifndef QT_NO_COMBOBOX
- } else if (qobject_cast<QComboBox*>(w)) {
- if (qobject_cast<QFontComboBox*>(w))
- return w;
-#endif
-#ifndef QT_NO_TOOLBOX
- } else if (qobject_cast<QToolBox*>(w)) {
-#endif
- } else {
- return w;
- }
- if (dynamicTr && trEnabled)
- w->installEventFilter(m_trwatch);
- return w;
-}
-
-#define TRANSLATE_SUBWIDGET_PROP(mainWidget, attribute, setter, propName) \
- do { \
- if (const DomProperty *p##attribute = attributes.value(strings.attribute)) { \
- QUiTranslatableStringValue strVal; \
- const QString text = convertTranslatable(p##attribute, m_class, &strVal); \
- if (!text.isEmpty()) { \
- if (dynamicTr) \
- mainWidget->widget(i)->setProperty(propName, QVariant::fromValue(strVal)); \
- mainWidget->setter(i, text); \
- } \
- } \
- } while (0)
-
-bool FormBuilderPrivate::addItem(DomWidget *ui_widget, QWidget *widget, QWidget *parentWidget)
-{
- if (parentWidget == 0)
- return true;
-
- if (!ParentClass::addItem(ui_widget, widget, parentWidget))
- return false;
-
- // Check special cases. First: Custom container
- const QString className = QLatin1String(parentWidget->metaObject()->className());
- if (!d->customWidgetAddPageMethod(className).isEmpty())
- return true;
-
- const QFormBuilderStrings &strings = QFormBuilderStrings::instance();
-
- if (0) {
-#ifndef QT_NO_TABWIDGET
- } else if (QTabWidget *tabWidget = qobject_cast<QTabWidget*>(parentWidget)) {
- const DomPropertyHash attributes = propertyMap(ui_widget->elementAttribute());
- const int i = tabWidget->count() - 1;
- TRANSLATE_SUBWIDGET_PROP(tabWidget, titleAttribute, setTabText, PROP_TABPAGETEXT);
-# ifndef QT_NO_TOOLTIP
- TRANSLATE_SUBWIDGET_PROP(tabWidget, toolTipAttribute, setTabToolTip, PROP_TABPAGETOOLTIP);
-# endif
-# ifndef QT_NO_WHATSTHIS
- TRANSLATE_SUBWIDGET_PROP(tabWidget, whatsThisAttribute, setTabWhatsThis, PROP_TABPAGEWHATSTHIS);
-# endif
-#endif
-#ifndef QT_NO_TOOLBOX
- } else if (QToolBox *toolBox = qobject_cast<QToolBox*>(parentWidget)) {
- const DomPropertyHash attributes = propertyMap(ui_widget->elementAttribute());
- const int i = toolBox->count() - 1;
- TRANSLATE_SUBWIDGET_PROP(toolBox, labelAttribute, setItemText, PROP_TOOLITEMTEXT);
-# ifndef QT_NO_TOOLTIP
- TRANSLATE_SUBWIDGET_PROP(toolBox, toolTipAttribute, setItemToolTip, PROP_TOOLITEMTOOLTIP);
-# endif
-#endif
- }
-
- return true;
-}
-
-#ifdef QFORMINTERNAL_NAMESPACE
-}
-#endif
-
-class QUiLoaderPrivate
-{
-public:
-#ifdef QFORMINTERNAL_NAMESPACE
- QFormInternal::FormBuilderPrivate builder;
-#else
- FormBuilderPrivate builder;
-#endif
-
- void setupWidgetMap() const;
-};
-
-void QUiLoaderPrivate::setupWidgetMap() const
-{
- if (!g_widgets()->isEmpty())
- return;
-
-#define DECLARE_WIDGET(a, b) g_widgets()->insert(QLatin1String(#a), true);
-#define DECLARE_LAYOUT(a, b)
-
-#include "widgets.table"
-
-#undef DECLARE_WIDGET
-#undef DECLARE_WIDGET_1
-#undef DECLARE_LAYOUT
-}
-
-/*!
- \class QUiLoader
- \inmodule QtUiTools
-
- \brief The QUiLoader class enables standalone applications to
- dynamically create user interfaces at run-time using the
- information stored in UI files or specified in plugin paths.
-
- In addition, you can customize or create your own user interface by
- deriving your own loader class.
-
- If you have a custom component or an application that embeds \QD, you can
- also use the QFormBuilder class provided by the QtDesigner module to create
- user interfaces from UI files.
-
- The QUiLoader class provides a collection of functions allowing you to
- create widgets based on the information stored in UI files (created
- with \QD) or available in the specified plugin paths. The specified plugin
- paths can be retrieved using the pluginPaths() function. Similarly, the
- contents of a UI file can be retrieved using the load() function. For
- example:
-
- \snippet doc/src/snippets/quiloader/mywidget.cpp 0
-
- By including the user interface in the form's resources (\c myform.qrc), we
- ensure that it will be present at run-time:
-
- \quotefile doc/src/snippets/quiloader/mywidget.qrc
-
- The availableWidgets() function returns a QStringList with the class names
- of the widgets available in the specified plugin paths. To create these
- widgets, simply use the createWidget() function. For example:
-
- \snippet doc/src/snippets/quiloader/main.cpp 0
-
- To make a custom widget available to the loader, you can use the
- addPluginPath() function; to remove all available widgets, you can call
- the clearPluginPaths() function.
-
- The createAction(), createActionGroup(), createLayout(), and createWidget()
- functions are used internally by the QUiLoader class whenever it has to
- create an action, action group, layout, or widget respectively. For that
- reason, you can subclass the QUiLoader class and reimplement these
- functions to intervene the process of constructing a user interface. For
- example, you might want to have a list of the actions created when loading
- a form or creating a custom widget.
-
- For a complete example using the QUiLoader class, see the
- \l{Calculator Builder Example}.
-
- \sa QtUiTools, QFormBuilder
-*/
-
-/*!
- Creates a form loader with the given \a parent.
-*/
-QUiLoader::QUiLoader(QObject *parent)
- : QObject(parent), d_ptr(new QUiLoaderPrivate)
-{
- Q_D(QUiLoader);
-
- d->builder.loader = this;
-
- QStringList paths;
- foreach (const QString &path, QApplication::libraryPaths()) {
- QString libPath = path;
- libPath += QDir::separator();
- libPath += QLatin1String("designer");
- paths.append(libPath);
- }
-
- d->builder.setPluginPath(paths);
-}
-
-/*!
- Destroys the loader.
-*/
-QUiLoader::~QUiLoader()
-{
-}
-
-/*!
- Loads a form from the given \a device and creates a new widget with the
- given \a parentWidget to hold its contents.
-
- \sa createWidget(), errorString()
-*/
-QWidget *QUiLoader::load(QIODevice *device, QWidget *parentWidget)
-{
- Q_D(QUiLoader);
- // QXmlStreamReader will report errors on open failure.
- if (!device->isOpen())
- device->open(QIODevice::ReadOnly|QIODevice::Text);
- return d->builder.load(device, parentWidget);
-}
-
-/*!
- Returns a list naming the paths in which the loader will search when
- locating custom widget plugins.
-
- \sa addPluginPath(), clearPluginPaths()
-*/
-QStringList QUiLoader::pluginPaths() const
-{
- Q_D(const QUiLoader);
- return d->builder.pluginPaths();
-}
-
-/*!
- Clears the list of paths in which the loader will search when locating
- plugins.
-
- \sa addPluginPath(), pluginPaths()
-*/
-void QUiLoader::clearPluginPaths()
-{
- Q_D(QUiLoader);
- d->builder.clearPluginPaths();
-}
-
-/*!
- Adds the given \a path to the list of paths in which the loader will search
- when locating plugins.
-
- \sa pluginPaths(), clearPluginPaths()
-*/
-void QUiLoader::addPluginPath(const QString &path)
-{
- Q_D(QUiLoader);
- d->builder.addPluginPath(path);
-}
-
-/*!
- Creates a new widget with the given \a parent and \a name using the class
- specified by \a className. You can use this function to create any of the
- widgets returned by the availableWidgets() function.
-
- The function is also used internally by the QUiLoader class whenever it
- creates a widget. Hence, you can subclass QUiLoader and reimplement this
- function to intervene process of constructing a user interface or widget.
- However, in your implementation, ensure that you call QUiLoader's version
- first.
-
- \sa availableWidgets(), load()
-*/
-QWidget *QUiLoader::createWidget(const QString &className, QWidget *parent, const QString &name)
-{
- Q_D(QUiLoader);
- return d->builder.defaultCreateWidget(className, parent, name);
-}
-
-/*!
- Creates a new layout with the given \a parent and \a name using the class
- specified by \a className.
-
- The function is also used internally by the QUiLoader class whenever it
- creates a widget. Hence, you can subclass QUiLoader and reimplement this
- function to intervene process of constructing a user interface or widget.
- However, in your implementation, ensure that you call QUiLoader's version
- first.
-
- \sa createWidget(), load()
-*/
-QLayout *QUiLoader::createLayout(const QString &className, QObject *parent, const QString &name)
-{
- Q_D(QUiLoader);
- return d->builder.defaultCreateLayout(className, parent, name);
-}
-
-/*!
- Creates a new action group with the given \a parent and \a name.
-
- The function is also used internally by the QUiLoader class whenever it
- creates a widget. Hence, you can subclass QUiLoader and reimplement this
- function to intervene process of constructing a user interface or widget.
- However, in your implementation, ensure that you call QUiLoader's version
- first.
-
- \sa createAction(), createWidget(), load()
- */
-QActionGroup *QUiLoader::createActionGroup(QObject *parent, const QString &name)
-{
- Q_D(QUiLoader);
- return d->builder.defaultCreateActionGroup(parent, name);
-}
-
-/*!
- Creates a new action with the given \a parent and \a name.
-
- The function is also used internally by the QUiLoader class whenever it
- creates a widget. Hence, you can subclass QUiLoader and reimplement this
- function to intervene process of constructing a user interface or widget.
- However, in your implementation, ensure that you call QUiLoader's version
- first.
-
- \sa createActionGroup(), createWidget(), load()
-*/
-QAction *QUiLoader::createAction(QObject *parent, const QString &name)
-{
- Q_D(QUiLoader);
- return d->builder.defaultCreateAction(parent, name);
-}
-
-/*!
- Returns a list naming all available widgets that can be built using the
- createWidget() function, i.e all the widgets specified within the given
- plugin paths.
-
- \sa pluginPaths(), createWidget()
-
-*/
-QStringList QUiLoader::availableWidgets() const
-{
- Q_D(const QUiLoader);
-
- d->setupWidgetMap();
- widget_map available = *g_widgets();
-
- foreach (QDesignerCustomWidgetInterface *plugin, d->builder.customWidgets()) {
- available.insert(plugin->name(), true);
- }
-
- return available.keys();
-}
-
-
-/*!
- \since 4.5
- Returns a list naming all available layouts that can be built using the
- createLayout() function
-
- \sa createLayout()
-*/
-
-QStringList QUiLoader::availableLayouts() const
-{
- QStringList rc;
-#define DECLARE_WIDGET(a, b)
-#define DECLARE_LAYOUT(a, b) rc.push_back(QLatin1String(#a));
-
-#include "widgets.table"
-
-#undef DECLARE_WIDGET
-#undef DECLARE_LAYOUT
- return rc;
-}
-
-/*!
- Sets the working directory of the loader to \a dir. The loader will look
- for other resources, such as icons and resource files, in paths relative to
- this directory.
-
- \sa workingDirectory()
-*/
-
-void QUiLoader::setWorkingDirectory(const QDir &dir)
-{
- Q_D(QUiLoader);
- d->builder.setWorkingDirectory(dir);
-}
-
-/*!
- Returns the working directory of the loader.
-
- \sa setWorkingDirectory()
-*/
-
-QDir QUiLoader::workingDirectory() const
-{
- Q_D(const QUiLoader);
- return d->builder.workingDirectory();
-}
-
-/*!
- \internal
- \since 4.3
-
- If \a enabled is true, the loader will be able to execute scripts.
- Otherwise, execution of scripts will be disabled.
-
- \sa isScriptingEnabled()
-*/
-
-void QUiLoader::setScriptingEnabled(bool enabled)
-{
- Q_D(QUiLoader);
- d->builder.setScriptingEnabled(enabled);
-}
-
-/*!
- \internal
- \since 4.3
-
- Returns true if execution of scripts is enabled; returns false otherwise.
-
- \sa setScriptingEnabled()
-*/
-
-bool QUiLoader::isScriptingEnabled() const
-{
- Q_D(const QUiLoader);
- return d->builder.isScriptingEnabled();
-}
-
-/*!
- \since 4.5
-
- If \a enabled is true, user interfaces loaded by this loader will
- automatically retranslate themselves upon receiving a language change
- event. Otherwise, the user interfaces will not be retranslated.
-
- \sa isLanguageChangeEnabled()
-*/
-
-void QUiLoader::setLanguageChangeEnabled(bool enabled)
-{
- Q_D(QUiLoader);
- d->builder.dynamicTr = enabled;
-}
-
-/*!
- \since 4.5
-
- Returns true if dynamic retranslation on language change is enabled;
- returns false otherwise.
-
- \sa setLanguageChangeEnabled()
-*/
-
-bool QUiLoader::isLanguageChangeEnabled() const
-{
- Q_D(const QUiLoader);
- return d->builder.dynamicTr;
-}
-
-/*!
- \internal
- \since 4.5
-
- If \a enabled is true, user interfaces loaded by this loader will be
- translated. Otherwise, the user interfaces will not be translated.
-
- \note This is orthogonal to languageChangeEnabled.
-
- \sa isLanguageChangeEnabled(), setLanguageChangeEnabled()
-*/
-
-void QUiLoader::setTranslationEnabled(bool enabled)
-{
- Q_D(QUiLoader);
- d->builder.trEnabled = enabled;
-}
-
-/*!
- \internal
- \since 4.5
-
- Returns true if translation is enabled; returns false otherwise.
-
- \sa setTranslationEnabled()
-*/
-
-bool QUiLoader::isTranslationEnabled() const
-{
- Q_D(const QUiLoader);
- return d->builder.trEnabled;
-}
-
-/*!
- Returns a human-readable description of the last error occurred in load().
-
- \since 5.0
- \sa load()
-*/
-
-QString QUiLoader::errorString() const
-{
- Q_D(const QUiLoader);
- return d->builder.errorString();
-}
-
-QT_END_NAMESPACE
-
-#include "quiloader.moc"
diff --git a/src/uitools/quiloader.h b/src/uitools/quiloader.h
deleted file mode 100644
index 4adbb01c0e..0000000000
--- a/src/uitools/quiloader.h
+++ /dev/null
@@ -1,105 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the Qt Designer of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** This file may be used under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation and
-** appearing in the file LICENSE.LGPL included in the packaging of this
-** file. Please review the following information to ensure the GNU Lesser
-** General Public License version 2.1 requirements will be met:
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU General
-** Public License version 3.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of this
-** file. Please review the following information to ensure the GNU General
-** Public License version 3.0 requirements will be met:
-** http://www.gnu.org/copyleft/gpl.html.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QUILOADER_H
-#define QUILOADER_H
-
-#include <QtCore/QObject>
-#include <QtCore/QScopedPointer>
-
-QT_BEGIN_HEADER
-
-QT_BEGIN_NAMESPACE
-
-class QWidget;
-class QLayout;
-class QAction;
-class QActionGroup;
-class QString;
-class QIODevice;
-class QDir;
-
-class QUiLoaderPrivate;
-class QUiLoader : public QObject
-{
- Q_OBJECT
-public:
- QUiLoader(QObject *parent = 0);
- virtual ~QUiLoader();
-
- QStringList pluginPaths() const;
- void clearPluginPaths();
- void addPluginPath(const QString &path);
-
- QWidget *load(QIODevice *device, QWidget *parentWidget = 0);
- QStringList availableWidgets() const;
- QStringList availableLayouts() const;
-
- virtual QWidget *createWidget(const QString &className, QWidget *parent = 0, const QString &name = QString());
- virtual QLayout *createLayout(const QString &className, QObject *parent = 0, const QString &name = QString());
- virtual QActionGroup *createActionGroup(QObject *parent = 0, const QString &name = QString());
- virtual QAction *createAction(QObject *parent = 0, const QString &name = QString());
-
- void setWorkingDirectory(const QDir &dir);
- QDir workingDirectory() const;
-
- void setScriptingEnabled(bool enabled);
- bool isScriptingEnabled() const;
-
- void setLanguageChangeEnabled(bool enabled);
- bool isLanguageChangeEnabled() const;
-
- void setTranslationEnabled(bool enabled);
- bool isTranslationEnabled() const;
-
- QString errorString() const;
-
-private:
- QScopedPointer<QUiLoaderPrivate> d_ptr;
- Q_DECLARE_PRIVATE(QUiLoader)
- Q_DISABLE_COPY(QUiLoader)
-};
-
-QT_END_NAMESPACE
-
-QT_END_HEADER
-
-#endif // QUILOADER_H
diff --git a/src/uitools/quiloader_p.h b/src/uitools/quiloader_p.h
deleted file mode 100644
index 3137e6fc8b..0000000000
--- a/src/uitools/quiloader_p.h
+++ /dev/null
@@ -1,109 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the Qt Designer of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** This file may be used under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation and
-** appearing in the file LICENSE.LGPL included in the packaging of this
-** file. Please review the following information to ensure the GNU Lesser
-** General Public License version 2.1 requirements will be met:
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU General
-** Public License version 3.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of this
-** file. Please review the following information to ensure the GNU General
-** Public License version 3.0 requirements will be met:
-** http://www.gnu.org/copyleft/gpl.html.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QUILOADER_P_H
-#define QUILOADER_P_H
-
-//
-// W A R N I N G
-// -------------
-//
-// This file is not part of the Qt API. It exists purely as an
-// implementation detail. This header file may change from version to
-// version without notice, or even be removed.
-//
-// We mean it.
-//
-
-#include <QtCore/QByteArray>
-#include <QtCore/QMetaType>
-
-// This file is here for use by the form preview in Linguist. If you change anything
-// here or in the code which uses it, remember to adapt Linguist accordingly.
-
-#define PROP_GENERIC_PREFIX "_q_notr_"
-#define PROP_TOOLITEMTEXT "_q_toolItemText_notr"
-#define PROP_TOOLITEMTOOLTIP "_q_toolItemToolTip_notr"
-#define PROP_TABPAGETEXT "_q_tabPageText_notr"
-#define PROP_TABPAGETOOLTIP "_q_tabPageToolTip_notr"
-#define PROP_TABPAGEWHATSTHIS "_q_tabPageWhatsThis_notr"
-
-QT_BEGIN_HEADER
-
-QT_BEGIN_NAMESPACE
-
-class QUiTranslatableStringValue
-{
-public:
- QByteArray value() const { return m_value; }
- void setValue(const QByteArray &value) { m_value = value; }
- QByteArray comment() const { return m_comment; }
- void setComment(const QByteArray &comment) { m_comment = comment; }
-
-private:
- QByteArray m_value;
- QByteArray m_comment;
-};
-
-struct QUiItemRolePair {
- int realRole;
- int shadowRole;
-};
-
-#ifdef QFORMINTERNAL_NAMESPACE
-namespace QFormInternal
-{
-#endif
-
-extern const QUiItemRolePair qUiItemRoles[];
-
-#ifdef QFORMINTERNAL_NAMESPACE
-}
-#endif
-
-QT_END_NAMESPACE
-
-QT_END_HEADER
-
-Q_DECLARE_METATYPE(QUiTranslatableStringValue)
-
-
-#endif // QUILOADER_P_H
diff --git a/src/uitools/uitools.pro b/src/uitools/uitools.pro
deleted file mode 100644
index be8c9c88a1..0000000000
--- a/src/uitools/uitools.pro
+++ /dev/null
@@ -1,59 +0,0 @@
-QPRO_PWD = $$PWD
-TEMPLATE = lib
-TARGET = $$qtLibraryTarget(QtUiTools)
-QT = core
-
-CONFIG += qt staticlib module
-MODULE = uitools
-MODULE_PRI = ../modules/qt_uitools.pri \
- ../modules/qt_uilib.pri
-
-DESTDIR = $$QMAKE_LIBDIR_QT
-
-symbian {
- TARGET.UID3 = 0x2001E628
- load(armcc_warnings)
-}
-
-win32|mac:!macx-xcode:CONFIG += debug_and_release build_all
-
-DEFINES += QFORMINTERNAL_NAMESPACE QT_DESIGNER_STATIC QT_FORMBUILDER_NO_SCRIPT
-isEmpty(QT_MAJOR_VERSION) {
- VERSION=4.3.0
-} else {
- VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
-}
-load(qt_targets)
-QMAKE_TARGET_PRODUCT = UiLoader
-QMAKE_TARGET_DESCRIPTION = QUiLoader
-
-include(../../tools/uilib/uilib.pri)
-
-HEADERS += quiloader.h
-SOURCES += quiloader.cpp
-
-include($$QT_BUILD_TREE/include/QtUiTools/headers.pri, "", true)
-quitools_headers.files = $$SYNCQT.HEADER_FILES $$SYNCQT.HEADER_CLASSES
-quitools_headers.path = $$[QT_INSTALL_HEADERS]/QtUiTools
-quitools_private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES
-quitools_private_headers.path = $$[QT_INSTALL_HEADERS]/QtUiTools/$$QT.uitools.VERSION/QtUiTools/private
-INSTALLS += quitools_headers quitools_private_headers
-
-# Uilib is from designer.
-include($$QT_BUILD_TREE/include/QtDesigner/headers.pri, "", true)
-quilib_headers.files = $$replace($$list($$SYNCQT.HEADER_FILES $$SYNCQT.HEADER_CLASSES), ^, ../../tools/uilib/)
-quilib_headers.path = $$[QT_INSTALL_HEADERS]/QtDesigner
-quilib_private_headers.files = $$replace($$list($$SYNCQT.PRIVATE_HEADER_FILES), ^, ../../tools/uilib/)
-quilib_private_headers.path = $$[QT_INSTALL_HEADERS]/QtDesigner/$$QT.uilib.VERSION/QtDesigner/private
-INSTALLS += quilib_headers quilib_private_headers
-
-target.path=$$[QT_INSTALL_LIBS]
-INSTALLS += target
-
-unix|win32-g++* {
- CONFIG += create_pc
- QMAKE_PKGCONFIG_LIBDIR = $$[QT_INSTALL_LIBS]
- QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_HEADERS]/$$TARGET
- QMAKE_PKGCONFIG_CFLAGS = -I$$[QT_INSTALL_HEADERS]
- QMAKE_PKGCONFIG_DESTDIR = pkgconfig
-}
diff --git a/sync.profile b/sync.profile
index e0d23ac3bf..7700a9fcc3 100644
--- a/sync.profile
+++ b/sync.profile
@@ -10,8 +10,6 @@
"QtNetwork" => "$basedir/src/network",
"QtTest" => "$basedir/src/testlib",
"QtDBus" => "$basedir/src/dbus",
- "QtUiTools" => "$basedir/src/uitools",
- "QtDesigner" => "$basedir/tools/uilib",
"QtPlatformSupport" => "$basedir/src/platformsupport",
);
%moduleheaders = ( # restrict the module headers to those found in relative path
@@ -54,8 +52,6 @@
"network" => "#include <QtNetwork/QtNetwork>\n",
"opengl" => "#include <QtOpenGL/QtOpenGL>\n",
"xml" => "#include <QtXml/QtXml>\n",
- "uitools" => "#include <QtUiTools/QtUiTools>\n",
- "designer" => "#include <QtDesigner/QtDesigner>\n",
);
%modulepris = (
"QtCore" => "$basedir/src/modules/qt_core.pri",
@@ -69,8 +65,6 @@
"QtTest" => "$basedir/src/modules/qt_testlib.pri",
"QtV8" => "$basedir/src/modules/qt_v8.pri",
"QtXml" => "$basedir/src/modules/qt_xml.pri",
- "QtUiTools" => "$basedir/src/modules/qt_uitools.pri",
- "QtDesigner" => "$basedir/src/modules/qt_uilib.pri",
"QtPlatformSupport" => "$basedir/src/modules/qt_platformsupport.pri",
);
diff --git a/tests/auto/compilerwarnings/data/test_cpp.txt b/tests/auto/compilerwarnings/data/test_cpp.txt
index d1a5366c5d..4c3ab7131c 100644
--- a/tests/auto/compilerwarnings/data/test_cpp.txt
+++ b/tests/auto/compilerwarnings/data/test_cpp.txt
@@ -59,8 +59,6 @@
#include <QtDBus/QtDBus>
#endif
-#include <QtUiTools/QtUiTools>
-
#ifndef Q_OS_MAC
int main(int, char **)
{
diff --git a/tests/auto/other/headersclean/headersclean.pro b/tests/auto/other/headersclean/headersclean.pro
index d18dc1c0a2..39cce8cde0 100644
--- a/tests/auto/other/headersclean/headersclean.pro
+++ b/tests/auto/other/headersclean/headersclean.pro
@@ -1,7 +1,6 @@
load(qttest_p4)
SOURCES += tst_headersclean.cpp
QT = core network xml sql
-CONFIG += uitools
contains(QT_CONFIG,dbus): QT += dbus
contains(QT_CONFIG,opengl): QT += opengl
diff --git a/tests/auto/other/headersclean/tst_headersclean.cpp b/tests/auto/other/headersclean/tst_headersclean.cpp
index 831e7fe50a..4cc11caf71 100644
--- a/tests/auto/other/headersclean/tst_headersclean.cpp
+++ b/tests/auto/other/headersclean/tst_headersclean.cpp
@@ -54,8 +54,6 @@
#include <QtSql/QtSql>
#include <QtGui/QtGui>
-#include <QtUiTools/QtUiTools>
-
#ifndef QT_NO_OPENGL
#include <QtOpenGL/QtOpenGL>
#endif
@@ -72,4 +70,4 @@ public:
};
QTEST_MAIN(tst_HeadersClean)
-#include "tst_headersclean.moc" \ No newline at end of file
+#include "tst_headersclean.moc"
diff --git a/tests/auto/uiloader/.gitignore b/tests/auto/uiloader/.gitignore
deleted file mode 100644
index a4b4e8f021..0000000000
--- a/tests/auto/uiloader/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-tst_uiloader
diff --git a/tests/auto/uiloader/README.TXT b/tests/auto/uiloader/README.TXT
deleted file mode 100644
index cbbf0ff774..0000000000
--- a/tests/auto/uiloader/README.TXT
+++ /dev/null
@@ -1,93 +0,0 @@
- -------------------------------------------------------------------------
- TESTING WIDGETS DEFINED IN *.UI FILES (SCREENSHOT COMPARISON)
- -------------------------------------------------------------------------
- This test is based on dev/qt/tests/auto/atwrapper/
-
-
-HOW TO RUN THE TESTS
-
- Compile the necessary programs:
- qmake
- make
-
- Now there should be an executable 'uiloader'.
- Run the tests:
- ./uiloader
-
-
-
-CONFIGURATION
-
- The tests can be executed on different machines. For every machine there
- is a config file <hostname>.ini.
-
- If this file is not available the tests won't be run on the machine.
-
- Example kayak.ini:
-
- [General]
- ftpBaseDir=/arthurtest
- ftpHost=wartburg
- ftpPass=anonymouspass
- ftpUser=anonymous
- output=testresults
-
- [engines]
- 1\engine=uic
- size=1
-
- Don't modify the [engines] section. Later it will be used for styles. The
- only thing you might want to modify is the ftpHost value. At the moment
- wartburg is just a server on which we test the tests.
-
- The actual test server is: kramer.troll.no
-
-
-
-HOW IT WORKS
-
- There are 3 important folders:
-
- tst_uiloader/ Actual program executing the tests.
- tst_screenshot/ Program to generate one *.png file out of *.ui
- baseline/ This is a dir with *.ui files.
-
- ./uiloader (compiled from tst_uiloader) will use the tst_screenshot program
- and the files in baseline/.
-
- In order to generate screenshots the *.ui files in baseline/ will be used.
- Therefore a folder testresults/ (specified in the config) will be
- created/used.
-
- Structure of testresults/:
-
- |-- testresults
- | `-- i686 Linux g++-4 full-config That's buildKey().
- | `-- 4.5.0 Used Qt version.
- | |-- uic Here are the generated images.
- | |-- uic.baseline Baseline downloaded from server.
- | |-- uic.diff Diff Images of failed tests.
- | `-- uic.failed Generated images of failed tests.
-
- If there is no baseline at the server the results in uic/ will be uploaded
- as a new baseline (first run for your machine). So to create a new baseline
- on the server you just need to remove your folders there.
-
- On the server side there is a dir /arthurtest with following structure
- (it will be created if it's not there):
-
- |-- arthurtest
- | `-- <your machines hostname>
- | `-- <buildKey()>
- | `-- <qt version>
- | |-- uic.baseline Baseline.
- | |-- uic.diff Here the local diffs will be uploaded.
- | `-- uic.failed Here the local failed files will be uploaded.
-
- After a test run the files in local uic.diff/ and uic.failed/ will be
- uploaded to the server.
-
- For every run the uic.diff/ and uic.failed/ on the local and remote machine
- will be cleared in order to place new files there. On the local side uic/
- gets cleared, too.
-
diff --git a/tests/auto/uiloader/WTC0090dca226c8.ini b/tests/auto/uiloader/WTC0090dca226c8.ini
deleted file mode 100644
index 5cf6c4fee7..0000000000
--- a/tests/auto/uiloader/WTC0090dca226c8.ini
+++ /dev/null
@@ -1,11 +0,0 @@
-[General]
-ftpBaseDir=/arthurtest
-ftpHost=kramer-nokia.troll.no
-ftpPass=anonymouspass
-ftpUser=anonymous
-output=testresults
-threshold=20
-
-[engines]
-1\engine=uic
-size=1
diff --git a/tests/auto/uiloader/baseline/Dialog_with_Buttons_Bottom.ui b/tests/auto/uiloader/baseline/Dialog_with_Buttons_Bottom.ui
deleted file mode 100644
index 18d31ab915..0000000000
--- a/tests/auto/uiloader/baseline/Dialog_with_Buttons_Bottom.ui
+++ /dev/null
@@ -1,71 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>Dialog</class>
- <widget class="QDialog" name="Dialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Dialog</string>
- </property>
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="geometry" >
- <rect>
- <x>30</x>
- <y>240</y>
- <width>341</width>
- <height>32</height>
- </rect>
- </property>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons" >
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </widget>
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>Dialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>248</x>
- <y>254</y>
- </hint>
- <hint type="destinationlabel" >
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>Dialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>316</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel" >
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/Dialog_with_Buttons_Right.ui b/tests/auto/uiloader/baseline/Dialog_with_Buttons_Right.ui
deleted file mode 100644
index 703d594f4f..0000000000
--- a/tests/auto/uiloader/baseline/Dialog_with_Buttons_Right.ui
+++ /dev/null
@@ -1,71 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>Dialog</class>
- <widget class="QDialog" name="Dialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Dialog</string>
- </property>
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="geometry" >
- <rect>
- <x>290</x>
- <y>20</y>
- <width>81</width>
- <height>241</height>
- </rect>
- </property>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="standardButtons" >
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </widget>
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>Dialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>248</x>
- <y>254</y>
- </hint>
- <hint type="destinationlabel" >
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>Dialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>316</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel" >
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/Dialog_without_Buttons.ui b/tests/auto/uiloader/baseline/Dialog_without_Buttons.ui
deleted file mode 100644
index 1be629818c..0000000000
--- a/tests/auto/uiloader/baseline/Dialog_without_Buttons.ui
+++ /dev/null
@@ -1,18 +0,0 @@
-<ui version="4.0" >
- <class>Dialog</class>
- <widget class="QDialog" name="Dialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Dialog</string>
- </property>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/Main_Window.ui b/tests/auto/uiloader/baseline/Main_Window.ui
deleted file mode 100644
index e324db8292..0000000000
--- a/tests/auto/uiloader/baseline/Main_Window.ui
+++ /dev/null
@@ -1,27 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow" >
- <property name="objectName" >
- <string notr="true" >MainWindow</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>800</width>
- <height>600</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>MainWindow</string>
- </property>
- <widget class="QMenuBar" name="menubar" />
- <widget class="QWidget" name="centralwidget" />
- <widget class="QStatusBar" name="statusbar" />
- </widget>
- <pixmapfunction></pixmapfunction>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/Widget.ui b/tests/auto/uiloader/baseline/Widget.ui
deleted file mode 100644
index 9f6f60006c..0000000000
--- a/tests/auto/uiloader/baseline/Widget.ui
+++ /dev/null
@@ -1,41 +0,0 @@
-<ui version="4.0" >
- <class>Form</class>
- <widget class="QWidget" name="Form" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Form</string>
- </property>
- <layout class="QVBoxLayout" >
- <item>
- <widget class="QLabel" name="Alabel" >
- <property name="text" >
- <string>A label</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox" >
- <property name="title" >
- <string>A Group Box</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton" >
- <property name="text" >
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/addlinkdialog.ui b/tests/auto/uiloader/baseline/addlinkdialog.ui
deleted file mode 100644
index 3171159f97..0000000000
--- a/tests/auto/uiloader/baseline/addlinkdialog.ui
+++ /dev/null
@@ -1,112 +0,0 @@
-<ui version="4.0" >
- <class>AddLinkDialog</class>
- <widget class="QDialog" name="AddLinkDialog" >
- <property name="windowTitle" >
- <string>Insert Link</string>
- </property>
- <property name="sizeGripEnabled" >
- <bool>false</bool>
- </property>
- <property name="modal" >
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout" >
- <item>
- <layout class="QFormLayout" >
- <item row="0" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Title:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QLineEdit" name="titleInput" >
- <property name="minimumSize" >
- <size>
- <width>337</width>
- <height>0</height>
- </size>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="label_2" >
- <property name="text" >
- <string>URL:</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QLineEdit" name="urlInput" />
- </item>
- </layout>
- </item>
- <item>
- <spacer name="verticalSpacer" >
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="Line" name="line" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons" >
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>AddLinkDialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>248</x>
- <y>254</y>
- </hint>
- <hint type="destinationlabel" >
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>AddLinkDialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>316</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel" >
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/addtorrentform.ui b/tests/auto/uiloader/baseline/addtorrentform.ui
deleted file mode 100644
index 950bb67119..0000000000
--- a/tests/auto/uiloader/baseline/addtorrentform.ui
+++ /dev/null
@@ -1,266 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>AddTorrentFile</class>
- <widget class="QDialog" name="AddTorrentFile" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>464</width>
- <height>385</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Add a torrent</string>
- </property>
- <property name="sizeGripEnabled" >
- <bool>false</bool>
- </property>
- <property name="modal" >
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>8</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QGroupBox" name="groupBox" >
- <property name="title" >
- <string>Select a torrent source</string>
- </property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>8</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="6" column="0" >
- <widget class="QLabel" name="label_4" >
- <property name="text" >
- <string>Destination:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" colspan="2" >
- <widget class="QLineEdit" name="torrentFile" />
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="label_2" >
- <property name="text" >
- <string>Tracker URL:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="3" >
- <widget class="QPushButton" name="browseTorrents" >
- <property name="text" >
- <string>Browse</string>
- </property>
- <property name="default" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="5" column="0" >
- <widget class="QLabel" name="label_5" >
- <property name="text" >
- <string>File(s):</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- </item>
- <item row="4" column="0" >
- <widget class="QLabel" name="label_3" >
- <property name="text" >
- <string>Size:</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QLabel" name="label_6" >
- <property name="text" >
- <string>Creator:</string>
- </property>
- </widget>
- </item>
- <item row="5" column="1" colspan="3" >
- <widget class="QTextEdit" name="torrentContents" >
- <property name="focusPolicy" >
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="tabChangesFocus" >
- <bool>true</bool>
- </property>
- <property name="lineWrapMode" >
- <enum>QTextEdit::NoWrap</enum>
- </property>
- <property name="readOnly" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="6" column="1" colspan="2" >
- <widget class="QLineEdit" name="destinationFolder" >
- <property name="focusPolicy" >
- <enum>Qt::StrongFocus</enum>
- </property>
- </widget>
- </item>
- <item row="1" column="1" colspan="3" >
- <widget class="QLabel" name="announceUrl" >
- <property name="text" >
- <string>&lt;none></string>
- </property>
- </widget>
- </item>
- <item row="0" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Torrent file:</string>
- </property>
- </widget>
- </item>
- <item row="6" column="3" >
- <widget class="QPushButton" name="browseDestination" >
- <property name="text" >
- <string>Browse</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0" >
- <widget class="QLabel" name="label_7" >
- <property name="text" >
- <string>Comment:</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1" colspan="3" >
- <widget class="QLabel" name="commentLabel" >
- <property name="text" >
- <string>&lt;none></string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" colspan="3" >
- <widget class="QLabel" name="creatorLabel" >
- <property name="text" >
- <string>&lt;none></string>
- </property>
- </widget>
- </item>
- <item row="4" column="1" colspan="3" >
- <widget class="QLabel" name="sizeLabel" >
- <property name="text" >
- <string>0</string>
- </property>
- </widget>
- </item>
- </layout>
- <widget class="QWidget" name="widget" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>40</y>
- <width>364</width>
- <height>33</height>
- </rect>
- </property>
- </widget>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>131</width>
- <height>31</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="okButton" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>&amp;OK</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="cancelButton" >
- <property name="text" >
- <string>&amp;Cancel</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <pixmapfunction></pixmapfunction>
- <tabstops>
- <tabstop>torrentFile</tabstop>
- <tabstop>browseTorrents</tabstop>
- <tabstop>torrentContents</tabstop>
- <tabstop>destinationFolder</tabstop>
- <tabstop>browseDestination</tabstop>
- <tabstop>okButton</tabstop>
- <tabstop>cancelButton</tabstop>
- </tabstops>
- <resources/>
- <connections>
- <connection>
- <sender>okButton</sender>
- <signal>clicked()</signal>
- <receiver>AddTorrentFile</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>278</x>
- <y>253</y>
- </hint>
- <hint type="destinationlabel" >
- <x>96</x>
- <y>254</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>cancelButton</sender>
- <signal>clicked()</signal>
- <receiver>AddTorrentFile</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>369</x>
- <y>253</y>
- </hint>
- <hint type="destinationlabel" >
- <x>179</x>
- <y>282</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/authenticationdialog.ui b/tests/auto/uiloader/baseline/authenticationdialog.ui
deleted file mode 100644
index 82d908cffb..0000000000
--- a/tests/auto/uiloader/baseline/authenticationdialog.ui
+++ /dev/null
@@ -1,129 +0,0 @@
-<ui version="4.0" >
- <class>Dialog</class>
- <widget class="QDialog" name="Dialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>389</width>
- <height>243</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Http authentication required</string>
- </property>
- <layout class="QGridLayout" >
- <item row="0" column="0" colspan="2" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>You need to supply a Username and a Password to access this site</string>
- </property>
- <property name="wordWrap" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QLabel" name="label_2" >
- <property name="text" >
- <string>Username:</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QLineEdit" name="userEdit" />
- </item>
- <item row="3" column="0" >
- <widget class="QLabel" name="label_3" >
- <property name="text" >
- <string>Password:</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1" >
- <widget class="QLineEdit" name="passwordEdit" />
- </item>
- <item row="5" column="0" colspan="2" >
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons" >
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="label_4" >
- <property name="text" >
- <string>Site:</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QLabel" name="siteDescription" >
- <property name="font" >
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="text" >
- <string>%1 at %2</string>
- </property>
- <property name="wordWrap" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="4" column="0" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>Dialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>248</x>
- <y>254</y>
- </hint>
- <hint type="destinationlabel" >
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>Dialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>316</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel" >
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/backside.ui b/tests/auto/uiloader/baseline/backside.ui
deleted file mode 100644
index afa488c6f4..0000000000
--- a/tests/auto/uiloader/baseline/backside.ui
+++ /dev/null
@@ -1,208 +0,0 @@
-<ui version="4.0" >
- <class>BackSide</class>
- <widget class="QWidget" name="BackSide" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>378</width>
- <height>385</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>BackSide</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2" >
- <item>
- <widget class="QGroupBox" name="groupBox" >
- <property name="title" >
- <string>Settings</string>
- </property>
- <property name="flat" >
- <bool>true</bool>
- </property>
- <property name="checkable" >
- <bool>true</bool>
- </property>
- <layout class="QGridLayout" name="gridLayout" >
- <item row="0" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Title:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QLineEdit" name="hostName" >
- <property name="text" >
- <string>Pad Navigator Example</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="label_2" >
- <property name="text" >
- <string>Modified:</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QLabel" name="label_3" >
- <property name="text" >
- <string>Extent</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <layout class="QHBoxLayout" name="horizontalLayout" >
- <item>
- <widget class="QSlider" name="horizontalSlider" >
- <property name="value" >
- <number>42</number>
- </property>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="spinBox" >
- <property name="value" >
- <number>42</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="1" column="1" >
- <widget class="QDateTimeEdit" name="dateTimeEdit" />
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_2" >
- <property name="title" >
- <string>Other input</string>
- </property>
- <property name="flat" >
- <bool>true</bool>
- </property>
- <property name="checkable" >
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_2" >
- <item>
- <widget class="QTreeWidget" name="treeWidget" >
- <column>
- <property name="text" >
- <string>Widgets On Graphics View</string>
- </property>
- </column>
- <item>
- <property name="text" >
- <string>QGraphicsProxyWidget</string>
- </property>
- <item>
- <property name="text" >
- <string>QGraphicsWidget</string>
- </property>
- <item>
- <property name="text" >
- <string>QObject</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>QGraphicsItem</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>QGraphicsLayoutItem</string>
- </property>
- </item>
- </item>
- </item>
- <item>
- <property name="text" >
- <string>QGraphicsGridLayout</string>
- </property>
- <item>
- <property name="text" >
- <string>QGraphicsLayout</string>
- </property>
- <item>
- <property name="text" >
- <string>QGraphicsLayoutItem</string>
- </property>
- </item>
- </item>
- </item>
- <item>
- <property name="text" >
- <string>QGraphicsLinearLayout</string>
- </property>
- <item>
- <property name="text" >
- <string>QGraphicsLayout</string>
- </property>
- <item>
- <property name="text" >
- <string>QGraphicsLayoutItem</string>
- </property>
- </item>
- </item>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <tabstops>
- <tabstop>groupBox</tabstop>
- <tabstop>hostName</tabstop>
- <tabstop>dateTimeEdit</tabstop>
- <tabstop>horizontalSlider</tabstop>
- <tabstop>spinBox</tabstop>
- <tabstop>groupBox_2</tabstop>
- <tabstop>treeWidget</tabstop>
- </tabstops>
- <resources/>
- <connections>
- <connection>
- <sender>horizontalSlider</sender>
- <signal>valueChanged(int)</signal>
- <receiver>spinBox</receiver>
- <slot>setValue(int)</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>184</x>
- <y>125</y>
- </hint>
- <hint type="destinationlabel" >
- <x>275</x>
- <y>127</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>spinBox</sender>
- <signal>valueChanged(int)</signal>
- <receiver>horizontalSlider</receiver>
- <slot>setValue(int)</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>272</x>
- <y>114</y>
- </hint>
- <hint type="destinationlabel" >
- <x>190</x>
- <y>126</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/batchtranslation.ui b/tests/auto/uiloader/baseline/batchtranslation.ui
deleted file mode 100644
index 6cb2943606..0000000000
--- a/tests/auto/uiloader/baseline/batchtranslation.ui
+++ /dev/null
@@ -1,236 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment>*********************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the autotests of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** This file may be used under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation and
-** appearing in the file LICENSE.LGPL included in the packaging of this
-** file. Please review the following information to ensure the GNU Lesser
-** General Public License version 2.1 requirements will be met:
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU General
-** Public License version 3.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of this
-** file. Please review the following information to ensure the GNU General
-** Public License version 3.0 requirements will be met:
-** http://www.gnu.org/copyleft/gpl.html.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-*********************************************************************</comment>
- <exportmacro></exportmacro>
- <class>databaseTranslationDialog</class>
- <widget class="QDialog" name="databaseTranslationDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>425</width>
- <height>370</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Qt Linguist - Batch Translation</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QGroupBox" name="groupBox" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>4</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="title" >
- <string>Options</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QCheckBox" name="ckOnlyUntranslated" >
- <property name="text" >
- <string>Only translate entries with no translation</string>
- </property>
- <property name="checked" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="ckMarkFinished" >
- <property name="text" >
- <string>Set translated entries to finished</string>
- </property>
- <property name="checked" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_2" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>1</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="title" >
- <string>Phrase book preference</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QListView" name="phrasebookList" >
- <property name="uniformItemSizes" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QPushButton" name="moveUpButton" >
- <property name="text" >
- <string>Move up</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="moveDownButton" >
- <property name="text" >
- <string>Move down</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>The batch translator will search through the selected phrasebooks in the order given above.</string>
- </property>
- <property name="wordWrap" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="runButton" >
- <property name="text" >
- <string>&amp;Run</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="cancelButton" >
- <property name="text" >
- <string>&amp;Cancel</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/bookmarkdialog.ui b/tests/auto/uiloader/baseline/bookmarkdialog.ui
deleted file mode 100644
index 2d6470c54c..0000000000
--- a/tests/auto/uiloader/baseline/bookmarkdialog.ui
+++ /dev/null
@@ -1,161 +0,0 @@
-<ui version="4.0" >
- <class>BookmarkDialog</class>
- <widget class="QDialog" name="BookmarkDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>450</width>
- <height>135</height>
- </rect>
- </property>
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="windowTitle" >
- <string>Add Bookmark</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3" >
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout" >
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2" >
- <item>
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Bookmark:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_2" >
- <property name="text" >
- <string>Add in Folder:</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout" >
- <item>
- <widget class="QLineEdit" name="bookmarkEdit" />
- </item>
- <item>
- <widget class="QComboBox" name="bookmarkFolders" />
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3" >
- <item>
- <widget class="QToolButton" name="toolButton" >
- <property name="minimumSize" >
- <size>
- <width>25</width>
- <height>20</height>
- </size>
- </property>
- <property name="text" >
- <string>+</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="Line" name="line" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="BookmarkWidget" name="bookmarkWidget" >
- <property name="enabled" >
- <bool>true</bool>
- </property>
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Ignored" hsizetype="Expanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <column>
- <property name="text" >
- <string>1</string>
- </property>
- </column>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_4" >
- <item>
- <widget class="QPushButton" name="newFolderButton" >
- <property name="text" >
- <string>New Folder</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons" >
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>BookmarkWidget</class>
- <extends>QTreeWidget</extends>
- <header>bookmarkwidget.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>BookmarkDialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>248</x>
- <y>254</y>
- </hint>
- <hint type="destinationlabel" >
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>BookmarkDialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>316</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel" >
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/bookwindow.ui b/tests/auto/uiloader/baseline/bookwindow.ui
deleted file mode 100644
index 659d324564..0000000000
--- a/tests/auto/uiloader/baseline/bookwindow.ui
+++ /dev/null
@@ -1,149 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>BookWindow</class>
- <widget class="QMainWindow" name="BookWindow" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>601</width>
- <height>420</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Books</string>
- </property>
- <widget class="QWidget" name="centralWidget" >
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QGroupBox" name="groupBox" >
- <property name="title" >
- <string>Books</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QTableView" name="bookTable" >
- <property name="selectionBehavior" >
- <enum>QAbstractItemView::SelectRows</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_2" >
- <property name="title" >
- <string>Details</string>
- </property>
- <layout class="QFormLayout" >
- <item row="0" column="0" >
- <widget class="QLabel" name="label_5" >
- <property name="text" >
- <string>&lt;b>Title:&lt;/b></string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QLineEdit" name="titleEdit" >
- <property name="enabled" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="label_2_2_2_2" >
- <property name="text" >
- <string>&lt;b>Author: &lt;/b></string>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QComboBox" name="authorEdit" >
- <property name="enabled" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QLabel" name="label_3" >
- <property name="text" >
- <string>&lt;b>Genre:&lt;/b></string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QComboBox" name="genreEdit" >
- <property name="enabled" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="3" column="0" >
- <widget class="QLabel" name="label_4" >
- <property name="text" >
- <string>&lt;b>Year:&lt;/b></string>
- </property>
- </widget>
- </item>
- <item row="3" column="1" >
- <widget class="QSpinBox" name="yearEdit" >
- <property name="enabled" >
- <bool>true</bool>
- </property>
- <property name="prefix" >
- <string/>
- </property>
- <property name="maximum" >
- <number>2100</number>
- </property>
- <property name="minimum" >
- <number>-1000</number>
- </property>
- </widget>
- </item>
- <item row="4" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>&lt;b>Rating:&lt;/b></string>
- </property>
- </widget>
- </item>
- <item row="4" column="1" >
- <widget class="QSpinBox" name="ratingEdit" >
- <property name="maximum" >
- <number>5</number>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- <pixmapfunction></pixmapfunction>
- <tabstops>
- <tabstop>bookTable</tabstop>
- <tabstop>titleEdit</tabstop>
- <tabstop>authorEdit</tabstop>
- <tabstop>genreEdit</tabstop>
- <tabstop>yearEdit</tabstop>
- </tabstops>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/browserwidget.ui b/tests/auto/uiloader/baseline/browserwidget.ui
deleted file mode 100644
index 20946f0ede..0000000000
--- a/tests/auto/uiloader/baseline/browserwidget.ui
+++ /dev/null
@@ -1,199 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>Browser</class>
- <widget class="QWidget" name="Browser" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>765</width>
- <height>515</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Qt SQL Browser</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>8</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QSplitter" name="splitter_2" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <widget class="ConnectionWidget" name="connectionWidget" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>13</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>1</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- <widget class="QTableView" name="table" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>2</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="contextMenuPolicy" >
- <enum>Qt::ActionsContextMenu</enum>
- </property>
- <property name="selectionBehavior" >
- <enum>QAbstractItemView::SelectRows</enum>
- </property>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>3</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize" >
- <size>
- <width>16777215</width>
- <height>180</height>
- </size>
- </property>
- <property name="title" >
- <string>SQL Query</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QTextEdit" name="sqlEdit" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>3</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize" >
- <size>
- <width>0</width>
- <height>18</height>
- </size>
- </property>
- <property name="baseSize" >
- <size>
- <width>0</width>
- <height>120</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>1</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="clearButton" >
- <property name="text" >
- <string>&amp;Clear</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="submitButton" >
- <property name="text" >
- <string>&amp;Submit</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- <action name="insertRowAction" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>&amp;Insert Row</string>
- </property>
- <property name="statusTip" >
- <string>Inserts a new Row</string>
- </property>
- </action>
- <action name="deleteRowAction" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>&amp;Delete Row</string>
- </property>
- <property name="statusTip" >
- <string>Deletes the current Row</string>
- </property>
- </action>
- </widget>
- <pixmapfunction></pixmapfunction>
- <customwidgets>
- <customwidget>
- <class>ConnectionWidget</class>
- <extends>QTreeView</extends>
- <header>connectionwidget.h</header>
- <container>0</container>
- <pixmap></pixmap>
- </customwidget>
- </customwidgets>
- <tabstops>
- <tabstop>sqlEdit</tabstop>
- <tabstop>clearButton</tabstop>
- <tabstop>submitButton</tabstop>
- <tabstop>connectionWidget</tabstop>
- <tabstop>table</tabstop>
- </tabstops>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/calculator.ui b/tests/auto/uiloader/baseline/calculator.ui
deleted file mode 100644
index bb519ba2a6..0000000000
--- a/tests/auto/uiloader/baseline/calculator.ui
+++ /dev/null
@@ -1,406 +0,0 @@
-<ui version="4.0" >
- <class>Calculator</class>
- <widget class="QWidget" name="Calculator" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>314</width>
- <height>301</height>
- </rect>
- </property>
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize" >
- <size>
- <width>314</width>
- <height>301</height>
- </size>
- </property>
- <property name="maximumSize" >
- <size>
- <width>314</width>
- <height>301</height>
- </size>
- </property>
- <property name="windowTitle" >
- <string>Calculator</string>
- </property>
- <widget class="QToolButton" name="backspaceButton" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>50</y>
- <width>91</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>Backspace</string>
- </property>
- </widget>
- <widget class="QToolButton" name="clearButton" >
- <property name="geometry" >
- <rect>
- <x>110</x>
- <y>50</y>
- <width>91</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>Clear</string>
- </property>
- </widget>
- <widget class="QToolButton" name="clearAllButton" >
- <property name="geometry" >
- <rect>
- <x>210</x>
- <y>50</y>
- <width>91</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>Clear All</string>
- </property>
- </widget>
- <widget class="QToolButton" name="clearMemoryButton" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>100</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>MC</string>
- </property>
- </widget>
- <widget class="QToolButton" name="readMemoryButton" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>150</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>MR</string>
- </property>
- </widget>
- <widget class="QToolButton" name="setMemoryButton" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>200</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>MS</string>
- </property>
- </widget>
- <widget class="QToolButton" name="addToMemoryButton" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>250</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>M+</string>
- </property>
- </widget>
- <widget class="QToolButton" name="sevenButton" >
- <property name="geometry" >
- <rect>
- <x>60</x>
- <y>100</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>7</string>
- </property>
- </widget>
- <widget class="QToolButton" name="eightButton" >
- <property name="geometry" >
- <rect>
- <x>110</x>
- <y>100</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>8</string>
- </property>
- </widget>
- <widget class="QToolButton" name="nineButton" >
- <property name="geometry" >
- <rect>
- <x>160</x>
- <y>100</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>9</string>
- </property>
- </widget>
- <widget class="QToolButton" name="fourButton" >
- <property name="geometry" >
- <rect>
- <x>60</x>
- <y>150</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>4</string>
- </property>
- </widget>
- <widget class="QToolButton" name="fiveButton" >
- <property name="geometry" >
- <rect>
- <x>110</x>
- <y>150</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>5</string>
- </property>
- </widget>
- <widget class="QToolButton" name="sixButton" >
- <property name="geometry" >
- <rect>
- <x>160</x>
- <y>150</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>6</string>
- </property>
- </widget>
- <widget class="QToolButton" name="oneButton" >
- <property name="geometry" >
- <rect>
- <x>60</x>
- <y>200</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>1</string>
- </property>
- </widget>
- <widget class="QToolButton" name="twoButton" >
- <property name="geometry" >
- <rect>
- <x>110</x>
- <y>200</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>2</string>
- </property>
- </widget>
- <widget class="QToolButton" name="threeButton" >
- <property name="geometry" >
- <rect>
- <x>160</x>
- <y>200</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>3</string>
- </property>
- </widget>
- <widget class="QToolButton" name="zeroButton" >
- <property name="geometry" >
- <rect>
- <x>60</x>
- <y>250</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>0</string>
- </property>
- </widget>
- <widget class="QToolButton" name="pointButton" >
- <property name="geometry" >
- <rect>
- <x>110</x>
- <y>250</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>.</string>
- </property>
- </widget>
- <widget class="QToolButton" name="changeSignButton" >
- <property name="geometry" >
- <rect>
- <x>160</x>
- <y>250</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>+-</string>
- </property>
- </widget>
- <widget class="QToolButton" name="plusButton" >
- <property name="geometry" >
- <rect>
- <x>210</x>
- <y>250</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>+</string>
- </property>
- </widget>
- <widget class="QToolButton" name="divisionButton" >
- <property name="geometry" >
- <rect>
- <x>210</x>
- <y>100</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>/</string>
- </property>
- </widget>
- <widget class="QToolButton" name="timesButton" >
- <property name="geometry" >
- <rect>
- <x>210</x>
- <y>150</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>*</string>
- </property>
- </widget>
- <widget class="QToolButton" name="minusButton" >
- <property name="geometry" >
- <rect>
- <x>210</x>
- <y>200</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>-</string>
- </property>
- </widget>
- <widget class="QToolButton" name="squareRootButton" >
- <property name="geometry" >
- <rect>
- <x>260</x>
- <y>100</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>Sqrt</string>
- </property>
- </widget>
- <widget class="QToolButton" name="powerButton" >
- <property name="geometry" >
- <rect>
- <x>260</x>
- <y>150</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>x^2</string>
- </property>
- </widget>
- <widget class="QToolButton" name="reciprocalButton" >
- <property name="geometry" >
- <rect>
- <x>260</x>
- <y>200</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>1/x</string>
- </property>
- </widget>
- <widget class="QToolButton" name="equalButton" >
- <property name="geometry" >
- <rect>
- <x>260</x>
- <y>250</y>
- <width>41</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text" >
- <string>=</string>
- </property>
- </widget>
- <widget class="QLineEdit" name="display" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>10</y>
- <width>291</width>
- <height>31</height>
- </rect>
- </property>
- <property name="maxLength" >
- <number>15</number>
- </property>
- <property name="alignment" >
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- <property name="readOnly" >
- <bool>true</bool>
- </property>
- </widget>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/calculatorform.ui b/tests/auto/uiloader/baseline/calculatorform.ui
deleted file mode 100644
index dda0e62ddd..0000000000
--- a/tests/auto/uiloader/baseline/calculatorform.ui
+++ /dev/null
@@ -1,303 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>CalculatorForm</class>
- <widget class="QWidget" name="CalculatorForm" >
- <property name="objectName" >
- <string notr="true" >CalculatorForm</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>276</width>
- <height>98</height>
- </rect>
- </property>
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>5</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="windowTitle" >
- <string>Calculator Builder</string>
- </property>
- <layout class="QGridLayout" >
- <property name="objectName" >
- <string notr="true" />
- </property>
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="0" column="0" >
- <layout class="QHBoxLayout" >
- <property name="objectName" >
- <string notr="true" />
- </property>
- <property name="margin" >
- <number>1</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <layout class="QVBoxLayout" >
- <property name="objectName" >
- <string notr="true" />
- </property>
- <property name="margin" >
- <number>1</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLabel" name="label" >
- <property name="objectName" >
- <string notr="true" >label</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>1</y>
- <width>45</width>
- <height>19</height>
- </rect>
- </property>
- <property name="text" >
- <string>Input 1</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="inputSpinBox1" >
- <property name="objectName" >
- <string notr="true" >inputSpinBox1</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>26</y>
- <width>45</width>
- <height>25</height>
- </rect>
- </property>
- <property name="mouseTracking" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QLabel" name="label_3" >
- <property name="objectName" >
- <string notr="true" >label_3</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>54</x>
- <y>1</y>
- <width>7</width>
- <height>52</height>
- </rect>
- </property>
- <property name="text" >
- <string>+</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" >
- <property name="objectName" >
- <string notr="true" />
- </property>
- <property name="margin" >
- <number>1</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLabel" name="label_2" >
- <property name="objectName" >
- <string notr="true" >label_2</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>1</y>
- <width>45</width>
- <height>19</height>
- </rect>
- </property>
- <property name="text" >
- <string>Input 2</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="inputSpinBox2" >
- <property name="objectName" >
- <string notr="true" >inputSpinBox2</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>26</y>
- <width>45</width>
- <height>25</height>
- </rect>
- </property>
- <property name="mouseTracking" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QLabel" name="label_3_2" >
- <property name="objectName" >
- <string notr="true" >label_3_2</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>120</x>
- <y>1</y>
- <width>7</width>
- <height>52</height>
- </rect>
- </property>
- <property name="text" >
- <string>=</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" >
- <property name="objectName" >
- <string notr="true" />
- </property>
- <property name="margin" >
- <number>1</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLabel" name="label_2_2_2" >
- <property name="objectName" >
- <string notr="true" >label_2_2_2</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>1</y>
- <width>37</width>
- <height>17</height>
- </rect>
- </property>
- <property name="text" >
- <string>Output</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="outputWidget" >
- <property name="objectName" >
- <string notr="true" >outputWidget</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>1</x>
- <y>24</y>
- <width>37</width>
- <height>27</height>
- </rect>
- </property>
- <property name="frameShape" >
- <enum>QFrame::Box</enum>
- </property>
- <property name="frameShadow" >
- <enum>QFrame::Sunken</enum>
- </property>
- <property name="text" >
- <string>0</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignAbsolute|Qt::AlignBottom|Qt::AlignCenter|Qt::AlignHCenter|Qt::AlignHorizontal_Mask|Qt::AlignJustify|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing|Qt::AlignVCenter|Qt::AlignVertical_Mask</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item row="1" column="0" >
- <spacer>
- <property name="objectName" >
- <string notr="true" >verticalSpacer</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>85</x>
- <y>69</y>
- <width>20</width>
- <height>20</height>
- </rect>
- </property>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="0" column="1" >
- <spacer>
- <property name="objectName" >
- <string notr="true" >horizontalSpacer</string>
- </property>
- <property name="geometry" >
- <rect>
- <x>188</x>
- <y>26</y>
- <width>79</width>
- <height>20</height>
- </rect>
- </property>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/certificateinfo.ui b/tests/auto/uiloader/baseline/certificateinfo.ui
deleted file mode 100644
index 3761fe8f50..0000000000
--- a/tests/auto/uiloader/baseline/certificateinfo.ui
+++ /dev/null
@@ -1,85 +0,0 @@
-<ui version="4.0" >
- <class>CertificateInfo</class>
- <widget class="QDialog" name="CertificateInfo" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>397</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Display Certificate Information</string>
- </property>
- <layout class="QVBoxLayout" >
- <item>
- <widget class="QGroupBox" name="groupBox" >
- <property name="title" >
- <string>Certification Path</string>
- </property>
- <layout class="QHBoxLayout" >
- <item>
- <widget class="QListWidget" name="certificationPathView" />
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_2" >
- <property name="title" >
- <string>Certificate Information</string>
- </property>
- <layout class="QHBoxLayout" >
- <item>
- <widget class="QListWidget" name="certificateInfoView" />
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="standardButtons" >
- <set>QDialogButtonBox::Close</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>clicked(QAbstractButton*)</signal>
- <receiver>CertificateInfo</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>343</x>
- <y>374</y>
- </hint>
- <hint type="destinationlabel" >
- <x>352</x>
- <y>422</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/chatdialog.ui b/tests/auto/uiloader/baseline/chatdialog.ui
deleted file mode 100644
index c85e0d0f55..0000000000
--- a/tests/auto/uiloader/baseline/chatdialog.ui
+++ /dev/null
@@ -1,79 +0,0 @@
-<ui version="4.0" >
- <class>ChatDialog</class>
- <widget class="QDialog" name="ChatDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>513</width>
- <height>349</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Chat</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QTextEdit" name="textEdit" >
- <property name="focusPolicy" >
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="readOnly" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QListWidget" name="listWidget" >
- <property name="maximumSize" >
- <size>
- <width>180</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="focusPolicy" >
- <enum>Qt::NoFocus</enum>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Message:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="lineEdit" />
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/chatmainwindow.ui b/tests/auto/uiloader/baseline/chatmainwindow.ui
deleted file mode 100644
index 0616dcb137..0000000000
--- a/tests/auto/uiloader/baseline/chatmainwindow.ui
+++ /dev/null
@@ -1,185 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>ChatMainWindow</class>
- <widget class="QMainWindow" name="ChatMainWindow" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>800</width>
- <height>600</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>QtDBus Chat</string>
- </property>
- <widget class="QWidget" name="centralwidget" >
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QTextBrowser" name="chatHistory" >
- <property name="acceptDrops" >
- <bool>false</bool>
- </property>
- <property name="toolTip" >
- <string>Messages sent and received from other users</string>
- </property>
- <property name="acceptRichText" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Message:</string>
- </property>
- <property name="buddy" >
- <cstring>messageLineEdit</cstring>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="messageLineEdit" />
- </item>
- <item>
- <widget class="QPushButton" name="sendButton" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="toolTip" >
- <string>Sends a message to other people</string>
- </property>
- <property name="whatsThis" >
- <string/>
- </property>
- <property name="text" >
- <string>Send</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>800</width>
- <height>31</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuQuit" >
- <property name="title" >
- <string>Help</string>
- </property>
- <addaction name="actionAboutQt" />
- </widget>
- <widget class="QMenu" name="menuFile" >
- <property name="title" >
- <string>File</string>
- </property>
- <addaction name="actionChangeNickname" />
- <addaction name="separator" />
- <addaction name="actionQuit" />
- </widget>
- <addaction name="menuFile" />
- <addaction name="menuQuit" />
- </widget>
- <widget class="QStatusBar" name="statusbar" />
- <action name="actionQuit" >
- <property name="text" >
- <string>Quit</string>
- </property>
- <property name="shortcut" >
- <string>Ctrl+Q</string>
- </property>
- </action>
- <action name="actionAboutQt" >
- <property name="text" >
- <string>About Qt...</string>
- </property>
- </action>
- <action name="actionChangeNickname" >
- <property name="text" >
- <string>Change nickname...</string>
- </property>
- <property name="shortcut" >
- <string>Ctrl+N</string>
- </property>
- </action>
- </widget>
- <pixmapfunction></pixmapfunction>
- <tabstops>
- <tabstop>chatHistory</tabstop>
- <tabstop>messageLineEdit</tabstop>
- <tabstop>sendButton</tabstop>
- </tabstops>
- <resources/>
- <connections>
- <connection>
- <sender>messageLineEdit</sender>
- <signal>returnPressed()</signal>
- <receiver>sendButton</receiver>
- <slot>animateClick()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>299</x>
- <y>554</y>
- </hint>
- <hint type="destinationlabel" >
- <x>744</x>
- <y>551</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>actionQuit</sender>
- <signal>triggered(bool)</signal>
- <receiver>ChatMainWindow</receiver>
- <slot>close()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>-1</x>
- <y>-1</y>
- </hint>
- <hint type="destinationlabel" >
- <x>399</x>
- <y>299</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/chatsetnickname.ui b/tests/auto/uiloader/baseline/chatsetnickname.ui
deleted file mode 100644
index fb9894e09f..0000000000
--- a/tests/auto/uiloader/baseline/chatsetnickname.ui
+++ /dev/null
@@ -1,149 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
- <class>NicknameDialog</class>
- <widget class="QDialog" name="NicknameDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>396</width>
- <height>105</height>
- </rect>
- </property>
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>1</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="windowTitle" >
- <string>Set nickname</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLabel" name="label" >
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>1</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>New nickname:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="nickname" />
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>131</width>
- <height>31</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="okButton" >
- <property name="text" >
- <string>OK</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="cancelButton" >
- <property name="text" >
- <string>Cancel</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <pixmapfunction></pixmapfunction>
- <resources/>
- <connections>
- <connection>
- <sender>okButton</sender>
- <signal>clicked()</signal>
- <receiver>NicknameDialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>278</x>
- <y>253</y>
- </hint>
- <hint type="destinationlabel" >
- <x>96</x>
- <y>254</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>cancelButton</sender>
- <signal>clicked()</signal>
- <receiver>NicknameDialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>369</x>
- <y>253</y>
- </hint>
- <hint type="destinationlabel" >
- <x>179</x>
- <y>282</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/config.ui b/tests/auto/uiloader/baseline/config.ui
deleted file mode 100644
index bebe17b41f..0000000000
--- a/tests/auto/uiloader/baseline/config.ui
+++ /dev/null
@@ -1,2528 +0,0 @@
-<ui version="4.0" >
- <comment>*********************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the autotests of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** This file may be used under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation and
-** appearing in the file LICENSE.LGPL included in the packaging of this
-** file. Please review the following information to ensure the GNU Lesser
-** General Public License version 2.1 requirements will be met:
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU General
-** Public License version 3.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of this
-** file. Please review the following information to ensure the GNU General
-** Public License version 3.0 requirements will be met:
-** http://www.gnu.org/copyleft/gpl.html.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-*********************************************************************</comment>
- <class>Config</class>
- <widget class="QDialog" name="Config" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>650</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Configure</string>
- </property>
- <property name="sizeGripEnabled" >
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" >
- <property name="spacing" >
- <number>6</number>
- </property>
- <property name="leftMargin" >
- <number>8</number>
- </property>
- <property name="topMargin" >
- <number>8</number>
- </property>
- <property name="rightMargin" >
- <number>8</number>
- </property>
- <property name="bottomMargin" >
- <number>8</number>
- </property>
- <item>
- <layout class="QHBoxLayout" >
- <property name="spacing" >
- <number>6</number>
- </property>
- <property name="leftMargin" >
- <number>0</number>
- </property>
- <property name="topMargin" >
- <number>0</number>
- </property>
- <property name="rightMargin" >
- <number>0</number>
- </property>
- <property name="bottomMargin" >
- <number>0</number>
- </property>
- <item>
- <widget class="QGroupBox" name="ButtonGroup1" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="title" >
- <string>Size</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="spacing" >
- <number>6</number>
- </property>
- <property name="leftMargin" >
- <number>11</number>
- </property>
- <property name="topMargin" >
- <number>11</number>
- </property>
- <property name="rightMargin" >
- <number>11</number>
- </property>
- <property name="bottomMargin" >
- <number>11</number>
- </property>
- <item>
- <widget class="QRadioButton" name="size_176_220" >
- <property name="text" >
- <string>176x220 "SmartPhone"</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="size_240_320" >
- <property name="text" >
- <string>240x320 "PDA"</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="size_320_240" >
- <property name="text" >
- <string>320x240 "TV" / "QVGA"</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="size_640_480" >
- <property name="text" >
- <string>640x480 "VGA"</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="size_800_600" >
- <property name="text" >
- <string>800x600</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="size_1024_768" >
- <property name="text" >
- <string>1024x768</string>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="spacing" >
- <number>6</number>
- </property>
- <property name="leftMargin" >
- <number>0</number>
- </property>
- <property name="topMargin" >
- <number>0</number>
- </property>
- <property name="rightMargin" >
- <number>0</number>
- </property>
- <property name="bottomMargin" >
- <number>0</number>
- </property>
- <item>
- <widget class="QRadioButton" name="size_custom" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Custom</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="size_width" >
- <property name="minimum" >
- <number>1</number>
- </property>
- <property name="maximum" >
- <number>1280</number>
- </property>
- <property name="singleStep" >
- <number>16</number>
- </property>
- <property name="value" >
- <number>400</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="size_height" >
- <property name="minimum" >
- <number>1</number>
- </property>
- <property name="maximum" >
- <number>1024</number>
- </property>
- <property name="singleStep" >
- <number>16</number>
- </property>
- <property name="value" >
- <number>300</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="ButtonGroup2" >
- <property name="title" >
- <string>Depth</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="spacing" >
- <number>6</number>
- </property>
- <property name="leftMargin" >
- <number>11</number>
- </property>
- <property name="topMargin" >
- <number>11</number>
- </property>
- <property name="rightMargin" >
- <number>11</number>
- </property>
- <property name="bottomMargin" >
- <number>11</number>
- </property>
- <item>
- <widget class="QRadioButton" name="depth_1" >
- <property name="text" >
- <string>1 bit monochrome</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="depth_4gray" >
- <property name="text" >
- <string>4 bit grayscale</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="depth_8" >
- <property name="text" >
- <string>8 bit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="depth_12" >
- <property name="text" >
- <string>12 (16) bit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="depth_15" >
- <property name="text" >
- <string>15 bit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="depth_16" >
- <property name="text" >
- <string>16 bit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="depth_18" >
- <property name="text" >
- <string>18 bit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="depth_24" >
- <property name="text" >
- <string>24 bit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="depth_32" >
- <property name="text" >
- <string>32 bit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="depth_32_argb" >
- <property name="text" >
- <string>32 bit ARGB</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="spacing" >
- <number>6</number>
- </property>
- <property name="leftMargin" >
- <number>0</number>
- </property>
- <property name="topMargin" >
- <number>0</number>
- </property>
- <property name="rightMargin" >
- <number>0</number>
- </property>
- <property name="bottomMargin" >
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="TextLabel1_3" >
- <property name="text" >
- <string>Skin</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="skin" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <item>
- <property name="text" >
- <string>None</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QCheckBox" name="touchScreen" >
- <property name="text" >
- <string>Emulate touch screen (no mouse move)</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="lcdScreen" >
- <property name="text" >
- <string>Emulate LCD screen (Only with fixed zoom of 3.0 times magnification)</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>10</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="TextLabel1" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>&lt;p>Note that any applications using the virtual framebuffer will be terminated if you change the Size or Depth &lt;i>above&lt;/i>. You may freely modify the Gamma &lt;i>below&lt;/i>.</string>
- </property>
- <property name="wordWrap" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="GroupBox1" >
- <property name="title" >
- <string>Gamma</string>
- </property>
- <layout class="QGridLayout" >
- <property name="leftMargin" >
- <number>11</number>
- </property>
- <property name="topMargin" >
- <number>11</number>
- </property>
- <property name="rightMargin" >
- <number>11</number>
- </property>
- <property name="bottomMargin" >
- <number>11</number>
- </property>
- <property name="horizontalSpacing" >
- <number>6</number>
- </property>
- <property name="verticalSpacing" >
- <number>6</number>
- </property>
- <item row="6" column="0" >
- <widget class="QLabel" name="TextLabel3" >
- <property name="text" >
- <string>Blue</string>
- </property>
- </widget>
- </item>
- <item row="6" column="1" >
- <widget class="QSlider" name="bslider" >
- <property name="palette" >
- <palette>
- <active>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>127</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>38</red>
- <green>38</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>170</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </active>
- <inactive>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>127</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>38</red>
- <green>38</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>170</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </inactive>
- <disabled>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>127</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>38</red>
- <green>38</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>170</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </disabled>
- </palette>
- </property>
- <property name="maximum" >
- <number>400</number>
- </property>
- <property name="value" >
- <number>100</number>
- </property>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item row="6" column="2" >
- <widget class="QLabel" name="blabel" >
- <property name="text" >
- <string>1.0</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0" >
- <widget class="QLabel" name="TextLabel2" >
- <property name="text" >
- <string>Green</string>
- </property>
- </widget>
- </item>
- <item row="4" column="1" >
- <widget class="QSlider" name="gslider" >
- <property name="palette" >
- <palette>
- <active>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>255</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>255</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>38</red>
- <green>255</green>
- <blue>38</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>127</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>170</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </active>
- <inactive>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>255</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>255</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>38</red>
- <green>255</green>
- <blue>38</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>127</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>170</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </inactive>
- <disabled>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>255</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>255</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>38</red>
- <green>255</green>
- <blue>38</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>127</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>170</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </disabled>
- </palette>
- </property>
- <property name="maximum" >
- <number>400</number>
- </property>
- <property name="value" >
- <number>100</number>
- </property>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item row="4" column="2" >
- <widget class="QLabel" name="glabel" >
- <property name="text" >
- <string>1.0</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0" >
- <widget class="QLabel" name="TextLabel7" >
- <property name="text" >
- <string>All</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2" >
- <widget class="QLabel" name="TextLabel8" >
- <property name="text" >
- <string>1.0</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QSlider" name="gammaslider" >
- <property name="palette" >
- <palette>
- <active>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>127</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>170</red>
- <green>170</green>
- <blue>170</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </active>
- <inactive>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>127</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>170</red>
- <green>170</green>
- <blue>170</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </inactive>
- <disabled>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>127</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>170</red>
- <green>170</green>
- <blue>170</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </disabled>
- </palette>
- </property>
- <property name="maximum" >
- <number>400</number>
- </property>
- <property name="value" >
- <number>100</number>
- </property>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QLabel" name="TextLabel1_2" >
- <property name="text" >
- <string>Red</string>
- </property>
- </widget>
- </item>
- <item row="2" column="2" >
- <widget class="QLabel" name="rlabel" >
- <property name="text" >
- <string>1.0</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QSlider" name="rslider" >
- <property name="palette" >
- <palette>
- <active>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>127</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>38</green>
- <blue>38</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>170</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </active>
- <inactive>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>127</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>38</green>
- <blue>38</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>170</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </inactive>
- <disabled>
- <colorrole role="WindowText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Button" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Light" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>127</green>
- <blue>127</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Midlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>38</green>
- <blue>38</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Dark" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>127</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Mid" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>170</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Text" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="BrightText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="ButtonText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>128</red>
- <green>128</green>
- <blue>128</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Base" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Window" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>220</red>
- <green>220</green>
- <blue>220</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Shadow" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Highlight" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>10</red>
- <green>95</green>
- <blue>137</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="HighlightedText" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>255</red>
- <green>255</green>
- <blue>255</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="Link" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="LinkVisited" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>0</red>
- <green>0</green>
- <blue>0</blue>
- </color>
- </brush>
- </colorrole>
- <colorrole role="AlternateBase" >
- <brush brushstyle="SolidPattern" >
- <color alpha="255" >
- <red>232</red>
- <green>232</green>
- <blue>232</blue>
- </color>
- </brush>
- </colorrole>
- </disabled>
- </palette>
- </property>
- <property name="maximum" >
- <number>400</number>
- </property>
- <property name="value" >
- <number>100</number>
- </property>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item row="8" column="0" colspan="3" >
- <widget class="QPushButton" name="PushButton3" >
- <property name="text" >
- <string>Set all to 1.0</string>
- </property>
- </widget>
- </item>
- <item rowspan="9" row="0" column="3" >
- <widget class="GammaView" native="1" name="MyCustomWidget1" />
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="spacing" >
- <number>6</number>
- </property>
- <property name="leftMargin" >
- <number>0</number>
- </property>
- <property name="topMargin" >
- <number>0</number>
- </property>
- <property name="rightMargin" >
- <number>0</number>
- </property>
- <property name="bottomMargin" >
- <number>0</number>
- </property>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="buttonOk" >
- <property name="text" >
- <string>&amp;OK</string>
- </property>
- <property name="autoDefault" >
- <bool>true</bool>
- </property>
- <property name="default" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="buttonCancel" >
- <property name="text" >
- <string>&amp;Cancel</string>
- </property>
- <property name="autoDefault" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <layoutdefault spacing="6" margin="11" />
- <customwidgets>
- <customwidget>
- <class>GammaView</class>
- <extends></extends>
- <header>gammaview.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections>
- <connection>
- <sender>size_width</sender>
- <signal>valueChanged(int)</signal>
- <receiver>size_custom</receiver>
- <slot>click()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>152</x>
- <y>193</y>
- </hint>
- <hint type="destinationlabel" >
- <x>94</x>
- <y>199</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>size_height</sender>
- <signal>valueChanged(int)</signal>
- <receiver>size_custom</receiver>
- <slot>click()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>259</x>
- <y>196</y>
- </hint>
- <hint type="destinationlabel" >
- <x>64</x>
- <y>188</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/connectdialog.ui b/tests/auto/uiloader/baseline/connectdialog.ui
deleted file mode 100644
index bd062ebaaf..0000000000
--- a/tests/auto/uiloader/baseline/connectdialog.ui
+++ /dev/null
@@ -1,150 +0,0 @@
-<ui version="4.0" >
- <class>ConnectDialog</class>
- <widget class="QDialog" name="ConnectDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>585</width>
- <height>361</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Configure Connection</string>
- </property>
- <layout class="QGridLayout" >
- <item row="0" column="0" colspan="2" >
- <widget class="QGroupBox" name="signalGroupBox" >
- <property name="title" >
- <string>GroupBox</string>
- </property>
- <layout class="QVBoxLayout" >
- <item>
- <widget class="QListWidget" name="signalList" >
- <property name="textElideMode" >
- <enum>Qt::ElideMiddle</enum>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <item>
- <widget class="QToolButton" name="editSignalsButton" >
- <property name="text" >
- <string>Edit...</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="2" >
- <widget class="QGroupBox" name="slotGroupBox" >
- <property name="title" >
- <string>GroupBox</string>
- </property>
- <layout class="QVBoxLayout" >
- <item>
- <widget class="QListWidget" name="slotList" >
- <property name="textElideMode" >
- <enum>Qt::ElideMiddle</enum>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <item>
- <widget class="QToolButton" name="editSlotsButton" >
- <property name="text" >
- <string>Edit...</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QCheckBox" name="showAllCheckBox" >
- <property name="text" >
- <string>Show signals and slots inherited from QWidget</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" colspan="2" >
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons" >
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>ConnectDialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>248</x>
- <y>254</y>
- </hint>
- <hint type="destinationlabel" >
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>ConnectDialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>316</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel" >
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/controller.ui b/tests/auto/uiloader/baseline/controller.ui
deleted file mode 100644
index 379015bf30..0000000000
--- a/tests/auto/uiloader/baseline/controller.ui
+++ /dev/null
@@ -1,64 +0,0 @@
-<ui version="4.0" >
- <class>Controller</class>
- <widget class="QWidget" name="Controller" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>255</width>
- <height>111</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Controller</string>
- </property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="1" column="1" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Controller</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QPushButton" name="decelerate" >
- <property name="text" >
- <string>Decelerate</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QPushButton" name="accelerate" >
- <property name="text" >
- <string>Accelerate</string>
- </property>
- </widget>
- </item>
- <item row="1" column="2" >
- <widget class="QPushButton" name="right" >
- <property name="text" >
- <string>Right</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QPushButton" name="left" >
- <property name="text" >
- <string>Left</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/cookies.ui b/tests/auto/uiloader/baseline/cookies.ui
deleted file mode 100644
index c4bccc5483..0000000000
--- a/tests/auto/uiloader/baseline/cookies.ui
+++ /dev/null
@@ -1,106 +0,0 @@
-<ui version="4.0" >
- <class>CookiesDialog</class>
- <widget class="QDialog" name="CookiesDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>550</width>
- <height>370</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Cookies</string>
- </property>
- <layout class="QGridLayout" >
- <item row="0" column="0" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>252</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="0" column="1" >
- <widget class="SearchLineEdit" name="search" />
- </item>
- <item row="1" column="0" colspan="2" >
- <widget class="EditTableView" name="cookiesTable" />
- </item>
- <item row="2" column="0" colspan="2" >
- <layout class="QHBoxLayout" >
- <item>
- <widget class="QPushButton" name="removeButton" >
- <property name="text" >
- <string>&amp;Remove</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="removeAllButton" >
- <property name="text" >
- <string>Remove &amp;All Cookies</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="standardButtons" >
- <set>QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>SearchLineEdit</class>
- <extends>QLineEdit</extends>
- <header>searchlineedit.h</header>
- </customwidget>
- <customwidget>
- <class>EditTableView</class>
- <extends>QTableView</extends>
- <header>edittableview.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>CookiesDialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>472</x>
- <y>329</y>
- </hint>
- <hint type="destinationlabel" >
- <x>461</x>
- <y>356</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/cookiesexceptions.ui b/tests/auto/uiloader/baseline/cookiesexceptions.ui
deleted file mode 100644
index 3d9ef62414..0000000000
--- a/tests/auto/uiloader/baseline/cookiesexceptions.ui
+++ /dev/null
@@ -1,184 +0,0 @@
-<ui version="4.0" >
- <class>CookiesExceptionsDialog</class>
- <widget class="QDialog" name="CookiesExceptionsDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>466</width>
- <height>446</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Cookie Exceptions</string>
- </property>
- <layout class="QVBoxLayout" >
- <item>
- <widget class="QGroupBox" name="newExceptionGroupBox" >
- <property name="title" >
- <string>New Exception</string>
- </property>
- <layout class="QGridLayout" >
- <item row="0" column="0" >
- <layout class="QHBoxLayout" >
- <item>
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Domain:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="domainLineEdit" />
- </item>
- </layout>
- </item>
- <item row="1" column="0" >
- <layout class="QHBoxLayout" >
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>81</width>
- <height>25</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="blockButton" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>Block</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="allowForSessionButton" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>Allow For Session</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="allowButton" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>Allow</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="ExceptionsGroupBox" >
- <property name="title" >
- <string>Exceptions</string>
- </property>
- <layout class="QGridLayout" >
- <item row="0" column="0" colspan="3" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>252</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="0" column="3" >
- <widget class="SearchLineEdit" name="search" />
- </item>
- <item row="1" column="0" colspan="4" >
- <widget class="EditTableView" name="exceptionTable" />
- </item>
- <item row="2" column="0" >
- <widget class="QPushButton" name="removeButton" >
- <property name="text" >
- <string>&amp;Remove</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QPushButton" name="removeAllButton" >
- <property name="text" >
- <string>Remove &amp;All</string>
- </property>
- </widget>
- </item>
- <item row="2" column="2" colspan="2" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons" >
- <set>QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>SearchLineEdit</class>
- <extends>QLineEdit</extends>
- <header>searchlineedit.h</header>
- </customwidget>
- <customwidget>
- <class>EditTableView</class>
- <extends>QTableView</extends>
- <header>edittableview.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>CookiesExceptionsDialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>381</x>
- <y>428</y>
- </hint>
- <hint type="destinationlabel" >
- <x>336</x>
- <y>443</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_borderimage.ui b/tests/auto/uiloader/baseline/css_borderimage.ui
deleted file mode 100644
index 4a59ca2e08..0000000000
--- a/tests/auto/uiloader/baseline/css_borderimage.ui
+++ /dev/null
@@ -1,125 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>530</width>
- <height>309</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">QLabel { border-width: 28; color: #0f0; background-color: white; }
-
-#label_repeat_repeat {
- border-image: url(&quot;images/borderimage.png&quot;) 28 repeat repeat;
-}
-
-#label_stretch_repeat {
- border-image: url(&quot;images/borderimage.png&quot;) 28 stretch repeat;
-}
-
-#label_round_repeat {
- border-image: url(&quot;images/borderimage.png&quot;) 28 round repeat;
-}
-
-
-#label_repeat_round {
- border-image: url(&quot;images/borderimage.png&quot;) 28 repeat round;
-}
-
-#label_stretch_round {
- border-image: url(&quot;images/borderimage.png&quot;) 28 stretch round;
-}
-
-#label_round_round {
- border-image: url(&quot;images/borderimage.png&quot;) 28 round round;
-}
-
-#label_repeat_stretch {
- border-image: url(&quot;images/borderimage.png&quot;) 28 repeat stretch;
-}
-
-#label_stretch_stretch {
- border-image: url(&quot;images/borderimage.png&quot;) 28 stretch stretch;
-}
-
-#label_round_stretch {
- border-image: url(&quot;images/borderimage.png&quot;) 28 round stretch;
-}
-</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QLabel" name="label_stretch_stretch">
- <property name="text">
- <string>Strecth Stretch</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLabel" name="label_stretch_round">
- <property name="text">
- <string>Stretch Round</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QLabel" name="label_stretch_repeat">
- <property name="text">
- <string>Stretch repeat</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_round_stretch">
- <property name="text">
- <string>Round Stretch</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QLabel" name="label_round_round">
- <property name="text">
- <string>Round Round</string>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <widget class="QLabel" name="label_round_repeat">
- <property name="text">
- <string>Round Repeat</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_repeat_stretch">
- <property name="text">
- <string>Repeat Stretch</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QLabel" name="label_repeat_round">
- <property name="text">
- <string>Repeat Round</string>
- </property>
- </widget>
- </item>
- <item row="2" column="2">
- <widget class="QLabel" name="label_repeat_repeat">
- <property name="text">
- <string>Repeat Repeat</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_borderimage_allwidgets.ui b/tests/auto/uiloader/baseline/css_borderimage_allwidgets.ui
deleted file mode 100644
index 0ece79a08a..0000000000
--- a/tests/auto/uiloader/baseline/css_borderimage_allwidgets.ui
+++ /dev/null
@@ -1,247 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>606</width>
- <height>388</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>MainWindow</string>
- </property>
- <property name="styleSheet">
- <string notr="true">* { border-image: url(&quot;images/pushbutton.png&quot;) 6 6 6 6; border-width:6px; }</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QVBoxLayout" name="verticalLayout_7">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QFrame" name="frame_2">
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Each widget should have a background image. including the top level</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton_3">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QProgressBar" name="progressBar_2">
- <property name="value">
- <number>24</number>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer_2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="widget_2" native="true">
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <item>
- <widget class="QPushButton" name="pushButton_4">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="spinBox_2"/>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_4">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QScrollArea" name="scrollArea_2">
- <property name="widgetResizable">
- <bool>true</bool>
- </property>
- <widget class="QWidget" name="scrollAreaWidgetContents_2">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>260</width>
- <height>197</height>
- </rect>
- </property>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="2" column="0" colspan="2">
- <widget class="QSlider" name="horizontalSlider_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QLCDNumber" name="lcdNumber_2"/>
- </item>
- <item row="0" column="1">
- <widget class="QRadioButton" name="radioButton_5">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QRadioButton" name="radioButton_6">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0">
- <widget class="QCheckBox" name="checkBox_4">
- <property name="text">
- <string>CheckBox</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QCheckBox" name="checkBox_5">
- <property name="text">
- <string>CheckBox</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_2">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_6">
- <item>
- <widget class="QCheckBox" name="checkBox_6">
- <property name="text">
- <string>CheckBox</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="lineEdit_2">
- <property name="text">
- <string>Line Edit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QListWidget" name="listWidget_2">
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>606</width>
- <height>36</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuFile">
- <property name="title">
- <string>File</string>
- </property>
- <addaction name="actionOpen"/>
- <addaction name="actionClose"/>
- </widget>
- <widget class="QMenu" name="menuEdit">
- <property name="title">
- <string>Edit</string>
- </property>
- </widget>
- <addaction name="menuFile"/>
- <addaction name="menuEdit"/>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <action name="actionOpen">
- <property name="text">
- <string>Open</string>
- </property>
- </action>
- <action name="actionClose">
- <property name="text">
- <string>Close</string>
- </property>
- </action>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_borderradius_allwidgets.ui b/tests/auto/uiloader/baseline/css_borderradius_allwidgets.ui
deleted file mode 100644
index 8c5f57cb13..0000000000
--- a/tests/auto/uiloader/baseline/css_borderradius_allwidgets.ui
+++ /dev/null
@@ -1,458 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>698</width>
- <height>589</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>MainWindow</string>
- </property>
- <property name="styleSheet">
- <string notr="true">* {
- background: yellow;
- padding: 2px;
- border-radius: 4px;
-}
-
-QGroupBox {
- border: 1px solid gray;
-}
-
-QAbstractButton {
- background: cyan;
-}
-
-QFrame, QMenuBar {
- background: magenta;
-}
-
-QLineEdit, QSpinBox {
- background: white;
-}
-
-#gb1 * {
-}
-
-#gb2 * {
- border: 1px solid blue;
-}
-
-#gb3 * {
- border: 0px solid blue;
-}
-
-#gb4 * {
- border-image: url(&quot;images/pushbutton.png&quot;) 6 6 6 6;
- border-width:6px;
-}
-</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QGridLayout" name="gridLayout_4">
- <item row="0" column="0">
- <widget class="QGroupBox" name="gb1">
- <property name="title">
- <string>No border</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QFrame" name="frame">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QPushButton" name="pushButton_4">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="spinBox_2"/>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_6">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="checkBox_4">
- <property name="text">
- <string>CheckBox</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="lineEdit">
- <property name="text">
- <string>LineEdit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="comboBox">
- <item>
- <property name="text">
- <string>ComboBox</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QListWidget" name="listWidget_2">
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QGroupBox" name="gb3">
- <property name="title">
- <string>0px border</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QFrame" name="frame_2">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QPushButton" name="pushButton_5">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="spinBox_3"/>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_7">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="checkBox_5">
- <property name="text">
- <string>CheckBox</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="lineEdit_2">
- <property name="text">
- <string>LineEdit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="comboBox_2">
- <item>
- <property name="text">
- <string>ComboBox</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QListWidget" name="listWidget_3">
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QGroupBox" name="gb4">
- <property name="title">
- <string>border-image</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <item>
- <widget class="QFrame" name="frame_4">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <item>
- <widget class="QPushButton" name="pushButton_7">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="spinBox_5"/>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_9">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="checkBox_7">
- <property name="text">
- <string>CheckBox</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="lineEdit_4">
- <property name="text">
- <string>LineEdit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="comboBox_4">
- <item>
- <property name="text">
- <string>ComboBox</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QListWidget" name="listWidget_5">
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QGroupBox" name="gb2">
- <property name="title">
- <string>1px border</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QFrame" name="frame_3">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="QPushButton" name="pushButton_6">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="spinBox_4"/>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_8">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="checkBox_6">
- <property name="text">
- <string>CheckBox</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="lineEdit_3">
- <property name="text">
- <string>LineEdit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="comboBox_3">
- <item>
- <property name="text">
- <string>ComboBox</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QListWidget" name="listWidget_4">
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>698</width>
- <height>24</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuFile">
- <property name="title">
- <string>File</string>
- </property>
- <addaction name="actionOpen"/>
- <addaction name="actionClose"/>
- </widget>
- <widget class="QMenu" name="menuEdit">
- <property name="title">
- <string>Edit</string>
- </property>
- </widget>
- <addaction name="menuFile"/>
- <addaction name="menuEdit"/>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <action name="actionOpen">
- <property name="text">
- <string>Open</string>
- </property>
- </action>
- <action name="actionClose">
- <property name="text">
- <string>Close</string>
- </property>
- </action>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_buttons_background.ui b/tests/auto/uiloader/baseline/css_buttons_background.ui
deleted file mode 100644
index 3d80aeb4b4..0000000000
--- a/tests/auto/uiloader/baseline/css_buttons_background.ui
+++ /dev/null
@@ -1,271 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Dialog</class>
- <widget class="QDialog" name="Dialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>449</width>
- <height>254</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Dialog</string>
- </property>
- <property name="styleSheet">
- <string notr="true">#box_color QAbstractButton {
-background: pink;
-color: purple;
-}
-
-#box_gradiant QAbstractButton {
- background-color: qconicalgradient(cx:0.5, cy:0.5, angle:0, stop:0 rgba(255, 255, 255, 255), stop:0.373979 rgba(255, 255, 255, 255), stop:0.373991 rgba(33, 30, 255, 255), stop:0.624018 rgba(33, 30, 255, 255), stop:0.624043 rgba(255, 0, 0, 255), stop:1 rgba(255, 0, 0, 255));
-color: cyan;
-}
-
-#box_pixmap QAbstractButton {
-background: url(&quot;images/pagefold.png&quot;) no-repeat top right;
-color: yellow;
-}
-
-</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_4">
- <item row="0" column="0">
- <widget class="QGroupBox" name="box_color">
- <property name="title">
- <string>color</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0" colspan="2">
- <widget class="QPushButton" name="pushButton">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QToolButton" name="toolButton">
- <property name="text">
- <string>...</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>70</width>
- <height>27</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="0" colspan="2">
- <widget class="QCheckBox" name="checkBox">
- <property name="text">
- <string>CheckBox</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0" colspan="2">
- <widget class="QRadioButton" name="radioButton_2">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QToolButton" name="toolButton_4">
- <property name="text">
- <string>autoraise</string>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="QPushButton" name="pushButton_4">
- <property name="text">
- <string>Checked</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QGroupBox" name="box_gradiant">
- <property name="title">
- <string>gradiant</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0" colspan="2">
- <widget class="QPushButton" name="pushButton_2">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QToolButton" name="toolButton_2">
- <property name="text">
- <string>...</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>78</width>
- <height>24</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="0" colspan="2">
- <widget class="QCheckBox" name="checkBox_2">
- <property name="text">
- <string>CheckBox</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0" colspan="2">
- <widget class="QRadioButton" name="radioButton">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QToolButton" name="toolButton_5">
- <property name="text">
- <string>autoraise</string>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="QPushButton" name="pushButton_5">
- <property name="text">
- <string>Checked</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QGroupBox" name="box_pixmap">
- <property name="title">
- <string>pixmap</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_3">
- <item row="0" column="0" colspan="2">
- <widget class="QPushButton" name="pushButton_3">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QToolButton" name="toolButton_3">
- <property name="text">
- <string>...</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>78</width>
- <height>24</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="0" colspan="2">
- <widget class="QCheckBox" name="checkBox_3">
- <property name="text">
- <string>CheckBox</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0" colspan="2">
- <widget class="QRadioButton" name="radioButton_3">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QToolButton" name="toolButton_6">
- <property name="text">
- <string>autoraise</string>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="QPushButton" name="pushButton_6">
- <property name="text">
- <string>Checked</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>51</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_combobox_background.ui b/tests/auto/uiloader/baseline/css_combobox_background.ui
deleted file mode 100644
index 387b371976..0000000000
--- a/tests/auto/uiloader/baseline/css_combobox_background.ui
+++ /dev/null
@@ -1,306 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Dialog</class>
- <widget class="QDialog" name="Dialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>295</width>
- <height>229</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Dialog</string>
- </property>
- <property name="styleSheet">
- <string notr="true">#box_color QComboBox {
-background: pink;
-color: purple;
-}
-
-#box_gradiant QComboBox {
- background-color: qconicalgradient(cx:0.5, cy:0.5, angle:0, stop:0 rgba(255, 255, 255, 255), stop:0.373979 rgba(255, 255, 255, 255), stop:0.373991 rgba(33, 30, 255, 255), stop:0.624018 rgba(33, 30, 255, 255), stop:0.624043 rgba(255, 0, 0, 255), stop:1 rgba(255, 0, 0, 255));
-color: cyan;
-}
-
-#box_pixmap QAbstractButton {
-background: url(&quot;images/pagefold.png&quot;) no-repeat top right;
-color: yellow;
-}
-
-#comboBox_A , #comboBox_B{ border: 3px solid #4e5; }
-
-</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QGroupBox" name="box_color">
- <property name="title">
- <string>color</string>
- </property>
- <property name="checkable">
- <bool>false</bool>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="3" column="0">
- <widget class="QComboBox" name="comboBox_2">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <item>
- <property name="text">
- <string>Foo</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bar</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bouz</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QComboBox" name="comboBox_3">
- <item>
- <property name="text">
- <string>Foo</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bar</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bouz</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QComboBox" name="comboBox_4">
- <property name="editable">
- <bool>true</bool>
- </property>
- <item>
- <property name="text">
- <string>Foo</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bar</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bouz</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QComboBox" name="comboBox_5">
- <item>
- <property name="text">
- <string>Foo</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bar</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bouz</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="QComboBox" name="comboBox_A">
- <item>
- <property name="text">
- <string>ComboText</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bar</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bouz</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="6" column="0">
- <spacer name="verticalSpacer_2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="box_gradiant">
- <property name="title">
- <string>color</string>
- </property>
- <property name="checkable">
- <bool>false</bool>
- </property>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="3" column="0">
- <widget class="QComboBox" name="comboBox_6">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <item>
- <property name="text">
- <string>Foo</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bar</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bouz</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QComboBox" name="comboBox_7">
- <item>
- <property name="text">
- <string>Foo</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bar</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bouz</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QComboBox" name="comboBox_8">
- <property name="editable">
- <bool>true</bool>
- </property>
- <item>
- <property name="text">
- <string>Foo</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bar</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bouz</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QComboBox" name="comboBox_9">
- <item>
- <property name="text">
- <string>Foo</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bar</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bouz</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="QComboBox" name="comboBox_B">
- <item>
- <property name="text">
- <string>ComboText</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bar</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bouz</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="6" column="0">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_exemple_coffee.ui b/tests/auto/uiloader/baseline/css_exemple_coffee.ui
deleted file mode 100644
index 619f912a99..0000000000
--- a/tests/auto/uiloader/baseline/css_exemple_coffee.ui
+++ /dev/null
@@ -1,469 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>413</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Style Sheet</string>
- </property>
- <property name="styleSheet">
- <string notr="true">.QWidget {
- background-color: beige;
-}
-
-/* Nice Windows-XP-style password character. */
-QLineEdit[echoMode=&quot;2&quot;] {
- lineedit-password-character: 9679;
-}
-
-/* We provide a min-width and min-height for push buttons
- so that they look elegant regardless of the width of the text. */
-QPushButton {
- background-color: palegoldenrod;
- border-width: 2px;
- border-color: darkkhaki;
- border-style: solid;
- border-radius: 5;
- padding: 3px;
- min-width: 9ex;
- min-height: 2.5ex;
-}
-
-QPushButton:hover {
- background-color: khaki;
-}
-
-/* Increase the padding, so the text is shifted when the button is
- pressed. */
-QPushButton:pressed {
- padding-left: 5px;
- padding-top: 5px;
- background-color: #d0d67c;
-}
-
-QLabel, QAbstractButton {
- font: bold;
-}
-
-/* Mark mandatory fields with a brownish color. */
-.mandatory {
- color: brown;
-}
-
-/* Bold text on status bar looks awful. */
-QStatusBar QLabel {
- font: normal;
-}
-
-QStatusBar::item {
- border-width: 1;
- border-color: darkkhaki;
- border-style: solid;
- border-radius: 2;
-}
-
-QComboBox, QLineEdit, QSpinBox, QTextEdit, QListView {
- background-color: cornsilk;
- selection-color: #0a214c;
- selection-background-color: #C19A6B;
-}
-
-QListView {
- show-decoration-selected: 1;
-}
-
-QListView::item:hover {
- background-color: wheat;
-}
-
-/* We reserve 1 pixel space in padding. When we get the focus,
- we kill the padding and enlarge the border. This makes the items
- glow. */
-QLineEdit, QFrame {
- border-width: 2px;
- padding: 1px;
- border-style: solid;
- border-color: darkkhaki;
- border-radius: 5px;
-}
-
-/* As mentioned above, eliminate the padding and increase the border. */
-QLineEdit:focus, QFrame:focus {
- border-width: 3px;
- padding: 0px;
-}
-
-/* A QLabel is a QFrame ... */
-QLabel {
- border: none;
- padding: 0;
- background: none;
-}
-
-/* A QToolTip is a QLabel ... */
-QToolTip {
- border: 2px solid darkkhaki;
- padding: 5px;
- border-radius: 3px;
- opacity: 200;
-}
-
-/* Nice to have the background color change when hovered. */
-QRadioButton:hover, QCheckBox:hover {
- background-color: wheat;
-}
-
-/* Force the dialog's buttons to follow the Windows guidelines. */
-QDialogButtonBox {
- button-layout: 0;
-}
-
-
-</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QVBoxLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="margin">
- <number>9</number>
- </property>
- <item>
- <widget class="QFrame" name="mainFrame">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <layout class="QGridLayout">
- <property name="margin">
- <number>9</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <item row="6" column="0" colspan="5">
- <widget class="QCheckBox" name="agreeCheckBox">
- <property name="toolTip">
- <string>Please read the LICENSE file before checking</string>
- </property>
- <property name="text">
- <string>I &amp;accept the terms and &amp;conditions</string>
- </property>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Profession:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
- </property>
- <property name="buddy">
- <cstring>professionList</cstring>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QLabel" name="nameLabel">
- <property name="text">
- <string>&amp;Name:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- <property name="buddy">
- <cstring>nameCombo</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QRadioButton" name="maleRadioButton">
- <property name="toolTip">
- <string>Check this if you are male</string>
- </property>
- <property name="text">
- <string>&amp;Male</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="passwordLabel">
- <property name="text">
- <string>&amp;Password:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- <property name="buddy">
- <cstring>passwordEdit</cstring>
- </property>
- </widget>
- </item>
- <item row="4" column="1" colspan="4">
- <widget class="QComboBox" name="countryCombo">
- <property name="toolTip">
- <string>Specify country of origin</string>
- </property>
- <property name="statusTip">
- <string>Specify country of origin</string>
- </property>
- <property name="currentIndex">
- <number>6</number>
- </property>
- <item>
- <property name="text">
- <string>Egypt</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>France</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Germany</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>India</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Italy</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Norway</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Pakistan</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="ageLabel">
- <property name="text">
- <string>&amp;Age:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- <property name="buddy">
- <cstring>ageSpinBox</cstring>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QLabel" name="countryLabel">
- <property name="text">
- <string>Country:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- <property name="buddy">
- <cstring>countryCombo</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="genderLabel">
- <property name="text">
- <string>Gender:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="3" column="1" colspan="4">
- <widget class="QLineEdit" name="passwordEdit">
- <property name="toolTip">
- <string>Specify your password</string>
- </property>
- <property name="statusTip">
- <string>Specify your password</string>
- </property>
- <property name="text">
- <string>Password</string>
- </property>
- <property name="echoMode">
- <enum>QLineEdit::Password</enum>
- </property>
- </widget>
- </item>
- <item row="1" column="2" colspan="2">
- <widget class="QRadioButton" name="femaleRadioButton">
- <property name="styleSheet">
- <string>Check this if you are female</string>
- </property>
- <property name="text">
- <string>&amp;Female</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" colspan="2">
- <widget class="QSpinBox" name="ageSpinBox">
- <property name="toolTip">
- <string>Specify your age</string>
- </property>
- <property name="statusTip">
- <string>Specify your age</string>
- </property>
- <property name="minimum">
- <number>12</number>
- </property>
- <property name="value">
- <number>22</number>
- </property>
- </widget>
- </item>
- <item row="0" column="1" colspan="4">
- <widget class="QComboBox" name="nameCombo">
- <property name="toolTip">
- <string>Specify your name</string>
- </property>
- <property name="editable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="4">
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="3" colspan="2">
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>61</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="7" column="3" colspan="2">
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- <item row="5" column="1" colspan="4">
- <widget class="QListWidget" name="professionList">
- <property name="toolTip">
- <string>Select your profession</string>
- </property>
- <property name="statusTip">
- <string>Specify your name here</string>
- </property>
- <property name="whatsThis">
- <string>Specify your name here</string>
- </property>
- <property name="currentRow">
- <number>0</number>
- </property>
- <item>
- <property name="text">
- <string>Developer</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Student</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Fisherman</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>31</height>
- </rect>
- </property>
- <widget class="QMenu" name="menu_File">
- <property name="title">
- <string>&amp;File</string>
- </property>
- <addaction name="editStyleAction"/>
- <addaction name="separator"/>
- <addaction name="exitAction"/>
- </widget>
- <widget class="QMenu" name="menu_Help">
- <property name="title">
- <string>&amp;Help</string>
- </property>
- <addaction name="aboutAction"/>
- <addaction name="aboutQtAction"/>
- </widget>
- <addaction name="menu_File"/>
- <addaction name="menu_Help"/>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <action name="exitAction">
- <property name="text">
- <string>&amp;Exit</string>
- </property>
- </action>
- <action name="aboutQtAction">
- <property name="text">
- <string>About Qt</string>
- </property>
- </action>
- <action name="editStyleAction">
- <property name="text">
- <string>Edit &amp;Style...</string>
- </property>
- </action>
- <action name="aboutAction">
- <property name="text">
- <string>About</string>
- </property>
- </action>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_exemple_pagefold.ui b/tests/auto/uiloader/baseline/css_exemple_pagefold.ui
deleted file mode 100644
index d23fad34c4..0000000000
--- a/tests/auto/uiloader/baseline/css_exemple_pagefold.ui
+++ /dev/null
@@ -1,656 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>426</width>
- <height>413</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Style Sheet</string>
- </property>
- <property name="styleSheet">
- <string notr="true">/* Customize any plain widget that is a child of a QMainWindow. */
-QMainWindow &gt; .QWidget {
- background-color: gainsboro;
- background-image: url(images/pagefold.png);
- background-position: top right;
- background-repeat: no-repeat
-}
-
-/* Provide a padding for the layout inside the frame. The frame
- exists only to provide a padding for the top-right image, so we
- explicitly disable the border. */
-#mainFrame {
- padding-right: 30px;
- border-style: none;
- border-image: none; /* since we set a border-image below */
-}
-
-/* mainFrame won't have this border-image since we have
- explicitly set it to 'none' using a more specific selector. */
-QFrame, QLineEdit, QComboBox[editable=&quot;true&quot;], QSpinBox {
- border-image: url(images/frame.png) 4;
- border-width: 3;
-}
-
-QLabel {
- border: none;
- border-image: none;
- padding: 0;
- background: none;
-}
-
-/* Make text in message boxes selectable. */
-QMessageBox {
- /* LinksAccessibleByMouse | TextSelectableByMouse */
- messagebox-text-interaction-flags: 5;
-}
-
-/* Set the selection colors for all widgets. */
-QWidget {
- selection-color: black;
- selection-background-color: Silver;
- color: black;
-}
-
-/* Make the entire row selected in item views. */
-QAbstractItemView {
- show-decoration-selected: 1;
-}
-
-/* Nice WindowsXP-style password character for password line edits. */
-QLineEdit[echoMode=&quot;2&quot;] {
- lineedit-password-character: 9679;
-}
-
-/* Customize tooltips. */
-QToolTip {
- background-color: rgb(200,200,255);
- border-color: darkslategray;
- border-width: 1px;
- border-style: solid;
- padding: 3px;
- font: bold;
- border-radius: 3px;
- opacity: 200;
-}
-
-/* Customize radio buttons. */
-
-QRadioButton {
- spacing: 5px;
-}
-
-QRadioButton::indicator {
- width: 13px;
- height: 13px;
-}
-
-QRadioButton::indicator::unchecked {
- image: url(images/radiobutton_unchecked.png);
-}
-
-QRadioButton::indicator:unchecked:hover {
- image: url(images/radiobutton_unchecked_hover.png);
-}
-
-QRadioButton::indicator:unchecked:pressed {
- image: url(images/radiobutton_unchecked_pressed.png);
-}
-
-QRadioButton::indicator::checked {
- image: url(images/radiobutton_checked.png);
-}
-
-QRadioButton::indicator:checked:hover {
- image: url(images/radiobutton_checked_hover.png);
-}
-
-QRadioButton::indicator:checked:pressed {
- image: url(images/radiobutton_checked_pressed.png);
-}
-
-/* Customize arrows. */
-
-*::down-arrow, *::menu-indicator {
- image: url(images/down_arrow.png);
- width: 7px;
- height: 7px;
-}
-
-*::down-arrow:disabled, *::down-arrow:off {
- image: url(images/down_arrow_disabled.png);
-}
-
-*::up-arrow {
- image: url(images/up_arrow.png);
- width: 7px;
- height: 7px;
-}
-
-*::up-arrow:disabled, *::up-arrow:off {
- image: url(images/up_arrow_disabled.png);
-}
-
-/* Customize push buttons and comboboxes. Our read-only combobox
- is very similar to a push button, so they share the same border image. */
-
-QPushButton {
- min-width: 4em;
-}
-
-QPushButton, QComboBox[editable=&quot;false&quot;],
-QComboBox[editable=&quot;true&quot;]::drop-down {
- border-image: url(images/pushbutton.png) 5;
- border-width: 5;
-}
-
-QPushButton:hover, QComboBox[editable=&quot;false&quot;]:hover,
-QComboBox[editable=&quot;true&quot;]::drop-down:hover, QMenuBar::item:hover {
- border-image: url(images/pushbutton_hover.png) 5;
- border-width: 5;
-}
-
-QPushButton:pressed, QComboBox[editable=&quot;false&quot;]:on,
-QComboBox[editable=&quot;true&quot;]::drop-down:on, QMenuBar::item:on {
- border-image: url(images/pushbutton_pressed.png) 5;
- border-width: 5;
-}
-
-/* Customize read-only comboboxes. */
-
-QComboBox[editable=&quot;false&quot;] {
- padding-left: 3px;
- padding-right: 20px; /* space for the arrow */
-}
-
-QComboBox[editable=&quot;false&quot;]::drop-down {
- subcontrol-origin: padding;
- subcontrol-position: top right;
- width: 15px;
- border-left-style: solid;
- border-left-color: darkgray;
- border-left-width: 1px;
-}
-
-QComboBox[editable=&quot;false&quot;]::down-arrow {
- subcontrol-origin: content;
- subcontrol-position: center;
- position: relative;
- left: 1px; /* 1 pixel dropdown border */
-}
-
-/* The combobox arrow is on when the popup is open. */
-QComboBox[editable=&quot;false&quot;]::down-arrow:on {
- position: relative;
- top: 1px;
- left: 2px;
-}
-
-/* Customize editable comboboxes. */
-
-QComboBox[editable=&quot;true&quot;] {
- padding-right: 16px;
-}
-
-QComboBox[editable=&quot;true&quot;]::drop-down {
- subcontrol-origin: border;
- subcontrol-position: top right;
- width: 13px;
- position: absolute;
- top: 2px;
- bottom: 2px;
- right: 2px;
-}
-
-QComboBox[editable=&quot;true&quot;]::drop-down,
-QComboBox[editable=&quot;true&quot;]::drop-down:hover,
-QComboBox[editable=&quot;true&quot;]::drop-down:on {
- border-width: 0px;
- border-left-width: 3px; /* we need only left and center part */
-}
-
-/* Shift the arrow when it's open. */
-QComboBox[editable=&quot;true&quot;]::down-arrow:on {
- position: relative;
- top: 1px;
- left: 1px;
-}
-
-/* Customize check boxes. */
-QCheckBox {
- spacing: 5px;
-}
-
-QCheckBox::indicator {
- width: 13px;
- height: 13px;
-}
-
-QCheckBox::indicator:unchecked {
- image: url(images/checkbox_unchecked.png);
-}
-
-QCheckBox::indicator:unchecked:hover {
- image: url(images/checkbox_unchecked_hover.png);
-}
-
-QCheckBox::indicator:unchecked:pressed {
- image: url(images/checkbox_unchecked_pressed.png);
-}
-
-QCheckBox::indicator:checked {
- image: url(images/checkbox_checked.png);
-}
-
-QCheckBox::indicator:checked:hover {
- image: url(images/checkbox_checked_hover.png);
-}
-
-QCheckBox::indicator:checked:pressed {
- image: url(images/checkbox_checked_pressed.png);
-}
-
-/* Customize the size grip. */
-QSizeGrip {
- image: url(images/sizegrip.png);
- width: 16px;
- height: 16px;
-}
-
-/* Customize the menu bar. */
-QMenuBar {
- border-image: none;
- border-style: none;
- border-width: 1px;
- border-bottom-style: solid;
- border-bottom-color: darkslategray;
- padding: 2px;
-}
-
-/* Customize spin boxes. */
-
-QSpinBox {
- padding-right: 15px;
-}
-
-QSpinBox::up-button {
- subcontrol-origin: border;
- subcontrol-position: top right;
-
- width: 16px; /* 16 + 2*1px border-width = 15px padding + 3px parent border */
- border-image: url(images/spinup.png) 1;
- border-width: 1px;
-}
-
-QSpinBox::up-button:hover {
- border-image: url(images/spinup_hover.png) 1;
-}
-
-QSpinBox::up-button:pressed {
- border-image: url(images/spinup_pressed.png) 1;
-}
-
-QSpinBox::down-button {
- subcontrol-origin: border;
- subcontrol-position: bottom right;
-
- width: 16px;
- border-image: url(images/spindown.png) 1;
- border-width: 1px;
- border-top-width: 0;
-}
-
-QSpinBox::down-button:hover {
- border-image: url(images/spindown_hover.png) 1;
-}
-
-QSpinBox::down-button:pressed {
- border-image: url(images/spindown_pressed.png) 1;
-}
-</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QVBoxLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="margin">
- <number>9</number>
- </property>
- <item>
- <widget class="QFrame" name="mainFrame">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <layout class="QGridLayout">
- <property name="margin">
- <number>9</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <item row="6" column="0" colspan="5">
- <widget class="QCheckBox" name="agreeCheckBox">
- <property name="toolTip">
- <string>Please read the LICENSE file before checking</string>
- </property>
- <property name="text">
- <string>I &amp;accept the terms and &amp;conditions</string>
- </property>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Profession:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
- </property>
- <property name="buddy">
- <cstring>professionList</cstring>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QLabel" name="nameLabel">
- <property name="text">
- <string>&amp;Name:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- <property name="buddy">
- <cstring>nameCombo</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QRadioButton" name="maleRadioButton">
- <property name="toolTip">
- <string>Check this if you are male</string>
- </property>
- <property name="text">
- <string>&amp;Male</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="passwordLabel">
- <property name="text">
- <string>&amp;Password:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- <property name="buddy">
- <cstring>passwordEdit</cstring>
- </property>
- </widget>
- </item>
- <item row="4" column="1" colspan="4">
- <widget class="QComboBox" name="countryCombo">
- <property name="toolTip">
- <string>Specify country of origin</string>
- </property>
- <property name="statusTip">
- <string>Specify country of origin</string>
- </property>
- <property name="currentIndex">
- <number>6</number>
- </property>
- <item>
- <property name="text">
- <string>Egypt</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>France</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Germany</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>India</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Italy</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Norway</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Pakistan</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="ageLabel">
- <property name="text">
- <string>&amp;Age:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- <property name="buddy">
- <cstring>ageSpinBox</cstring>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QLabel" name="countryLabel">
- <property name="text">
- <string>Country:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- <property name="buddy">
- <cstring>countryCombo</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="genderLabel">
- <property name="text">
- <string>Gender:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="3" column="1" colspan="4">
- <widget class="QLineEdit" name="passwordEdit">
- <property name="toolTip">
- <string>Specify your password</string>
- </property>
- <property name="statusTip">
- <string>Specify your password</string>
- </property>
- <property name="text">
- <string>Password</string>
- </property>
- <property name="echoMode">
- <enum>QLineEdit::Password</enum>
- </property>
- </widget>
- </item>
- <item row="1" column="2" colspan="2">
- <widget class="QRadioButton" name="femaleRadioButton">
- <property name="styleSheet">
- <string>Check this if you are female</string>
- </property>
- <property name="text">
- <string>&amp;Female</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" colspan="2">
- <widget class="QSpinBox" name="ageSpinBox">
- <property name="toolTip">
- <string>Specify your age</string>
- </property>
- <property name="statusTip">
- <string>Specify your age</string>
- </property>
- <property name="minimum">
- <number>12</number>
- </property>
- <property name="value">
- <number>22</number>
- </property>
- </widget>
- </item>
- <item row="0" column="1" colspan="4">
- <widget class="QComboBox" name="nameCombo">
- <property name="toolTip">
- <string>Specify your name</string>
- </property>
- <property name="editable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="4">
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="3" colspan="2">
- <spacer>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>61</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="7" column="3" colspan="2">
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- <item row="5" column="1" colspan="4">
- <widget class="QListWidget" name="professionList">
- <property name="toolTip">
- <string>Select your profession</string>
- </property>
- <property name="statusTip">
- <string>Specify your name here</string>
- </property>
- <property name="whatsThis">
- <string>Specify your name here</string>
- </property>
- <property name="currentRow">
- <number>0</number>
- </property>
- <item>
- <property name="text">
- <string>Developer</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Student</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Fisherman</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>426</width>
- <height>29</height>
- </rect>
- </property>
- <widget class="QMenu" name="menu_File">
- <property name="title">
- <string>&amp;File</string>
- </property>
- <addaction name="editStyleAction"/>
- <addaction name="separator"/>
- <addaction name="exitAction"/>
- </widget>
- <widget class="QMenu" name="menu_Help">
- <property name="title">
- <string>&amp;Help</string>
- </property>
- <addaction name="aboutAction"/>
- <addaction name="aboutQtAction"/>
- </widget>
- <addaction name="menu_File"/>
- <addaction name="menu_Help"/>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <action name="exitAction">
- <property name="text">
- <string>&amp;Exit</string>
- </property>
- </action>
- <action name="aboutQtAction">
- <property name="text">
- <string>About Qt</string>
- </property>
- </action>
- <action name="editStyleAction">
- <property name="text">
- <string>Edit &amp;Style...</string>
- </property>
- </action>
- <action name="aboutAction">
- <property name="text">
- <string>About</string>
- </property>
- </action>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_exemple_usage.ui b/tests/auto/uiloader/baseline/css_exemple_usage.ui
deleted file mode 100644
index 0ddd2ed79e..0000000000
--- a/tests/auto/uiloader/baseline/css_exemple_usage.ui
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>322</width>
- <height>203</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true"> QPushButton#evilButton {
- background-color: red;
- border-style: outset;
- border-width: 2px;
- border-radius: 10px;
- border-color: beige;
- font: bold 14px;
- min-width: 10em;
- padding: 6px;
- }
- QPushButton#evilButton:pressed {
- background-color: rgb(224, 0, 0);
- border-style: inset;
- }
-
-QLineEdit { color: red }
- QLineEdit[readOnly=&quot;true&quot;] { color: gray }
-</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QPushButton" name="evilButton">
- <property name="text">
- <string>Format C:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>95</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="0">
- <widget class="QLineEdit" name="lineEdit">
- <property name="text">
- <string>Foo</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLineEdit" name="lineEdit_2">
- <property name="text">
- <string>ReadOnly</string>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>102</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_frames.ui b/tests/auto/uiloader/baseline/css_frames.ui
deleted file mode 100644
index d1397bb1de..0000000000
--- a/tests/auto/uiloader/baseline/css_frames.ui
+++ /dev/null
@@ -1,319 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>884</width>
- <height>327</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true"> QLabel
-{
- border: 2px dashed rgb(0, 85, 255)
-}
-
-QGroupBox .QFrame {
-margin: 20px 10px 5px 0px;
-padding: 0px 10px 15px 20px;
-}
-
-QGroupBox {
-border: 5px solid white;
-}
-
-#line1 { background-color: yellow; }
-#line2 { background-color: pink; }
-#line1, #line2 {
- border: 1px solid rgb(170, 85, 255);
-}
-
-
-QFrame::no-frame {
- background: orange;
- border-color: #000;
- }
-
-</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="1" column="0">
- <widget class="QGroupBox" name="groupBox">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_7">
- <item>
- <widget class="QFrame" name="frame">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Styled</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_8">
- <item>
- <widget class="QFrame" name="frame_2">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Box</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer_2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_9">
- <item>
- <widget class="QFrame" name="frame_6">
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_6">
- <item>
- <widget class="QLabel" name="label_7">
- <property name="text">
- <string>None</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer_3">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_10">
- <item>
- <widget class="QFrame" name="frame_4">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QLabel" name="label_5">
- <property name="text">
- <string>Box Plain</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer_4">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_11">
- <item>
- <widget class="QFrame" name="frame_3">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>Panel</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer_5">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_12">
- <item>
- <widget class="QFrame" name="frame_5">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Sunken</enum>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <item>
- <widget class="QLabel" name="label_6">
- <property name="text">
- <string>WinPanel</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer_6">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="Line" name="line2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="0" colspan="2">
- <widget class="Line" name="line1">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QLabel" name="label">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="lineWidth">
- <number>0</number>
- </property>
- <property name="text">
- <string>This test that all the frame style can handle margins and paddings correctly
- (and the background of this label should be orange)</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_groupboxes.ui b/tests/auto/uiloader/baseline/css_groupboxes.ui
deleted file mode 100644
index 7f5464aa5e..0000000000
--- a/tests/auto/uiloader/baseline/css_groupboxes.ui
+++ /dev/null
@@ -1,150 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">#groupBox_1:checked { color:magenta; }
-
-#groupBox_2 { background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(0, 0, 0, 255), stop:0.05 rgba(14, 8, 73, 255), stop:0.36 rgba(28, 17, 145, 255), stop:0.6 rgba(126, 14, 81, 255), stop:0.75 rgba(234, 11, 11, 255), stop:0.79 rgba(244, 70, 5, 255), stop:0.86 rgba(255, 136, 0, 255), stop:0.935 rgba(239, 236, 55, 255));
-color: rgb(33, 255, 181); }
-
-#groupBox_3 { padding: 20px; margin: 20px; }
-#groupBox_3 QLabel { background-color: #46e; }
-
-#groupBox_4::title { subcontrol-position: bottom left; border: 1px solid white;}
-
-#groupBox_5::indicator {border: 1px solid white;}
-
-#groupBox_6 { border: 5px dashed pink;}</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QGroupBox" name="groupBox_1">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QGroupBox" name="groupBox_2">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="QLabel" name="label_6">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QGroupBox" name="groupBox_3">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QGroupBox" name="groupBox_4">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <item>
- <widget class="QLabel" name="label_5">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QGroupBox" name="groupBox_5">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QGroupBox" name="groupBox_6">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_6">
- <item>
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_itemview_task258382.ui b/tests/auto/uiloader/baseline/css_itemview_task258382.ui
deleted file mode 100644
index 11c56b4ba2..0000000000
--- a/tests/auto/uiloader/baseline/css_itemview_task258382.ui
+++ /dev/null
@@ -1,179 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>437</width>
- <height>352</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">::item { border: 1px solid black; background-color: purple; }
-::item {margin-left: 20px; }
-
-QAbstractItemView { selection-background-color: red;
-show-decoration- selected: 0;
- }
-
-::item:selected { background-color: yellow; }</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QTreeWidget" name="treeWidget">
- <column>
- <property name="text">
- <string>1</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- <item>
- <property name="text">
- <string>New Subitem</string>
- </property>
- <item>
- <property name="text">
- <string>New Subitem</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- </item>
- </item>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QTableWidget" name="tableWidget">
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <item row="0" column="0">
- <property name="text">
- <string>mljkh mh mjl</string>
- </property>
- </item>
- <item row="0" column="1">
- <property name="text">
- <string>h jlh mjklh </string>
- </property>
- </item>
- <item row="0" column="2">
- <property name="text">
- <string>mjklh mlhj mjlh m</string>
- </property>
- </item>
- <item row="1" column="3">
- <property name="text">
- <string>mlhj lmhj </string>
- </property>
- </item>
- <item row="2" column="0">
- <property name="text">
- <string>mlkj l</string>
- </property>
- </item>
- <item row="2" column="1">
- <property name="text">
- <string>mlkj </string>
- </property>
- </item>
- <item row="2" column="2">
- <property name="text">
- <string>mlkj lmkj </string>
- </property>
- </item>
- <item row="2" column="3">
- <property name="text">
- <string>mlkhj mlh</string>
- </property>
- </item>
- <item row="3" column="1">
- <property name="text">
- <string>mlkj lmkj </string>
- </property>
- </item>
- <item row="4" column="0">
- <property name="text">
- <string>mlkj lmkj </string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_qprogressbar.ui b/tests/auto/uiloader/baseline/css_qprogressbar.ui
deleted file mode 100644
index 6b3e2f0e9e..0000000000
--- a/tests/auto/uiloader/baseline/css_qprogressbar.ui
+++ /dev/null
@@ -1,125 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>326</width>
- <height>170</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QProgressBar" name="progressBar">
- <property name="styleSheet">
- <string notr="true"> QProgressBar {
- border: 2px solid grey;
- border-radius: 5px;
- }
-
- QProgressBar::chunk {
- background-color: #05B8CC;
- width: 20px;
- }
-
- QProgressBar {
- border: 2px solid grey;
- border-radius: 5px;
- text-align: center;
- }</string>
- </property>
- <property name="value">
- <number>24</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QProgressBar" name="progressBar_2">
- <property name="styleSheet">
- <string notr="true"> QProgressBar::chunk {
- background-color: #CD96CD;
- width: 10px;
- margin: 0.5px;
- }
-
- QProgressBar {
- border: 2px solid grey;
- border-radius: 5px;
- text-align: center;
- }</string>
- </property>
- <property name="value">
- <number>24</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QProgressBar" name="progressBar_3">
- <property name="styleSheet">
- <string notr="true">QProgressBar:horizontal {border: 1px solid gray; border-radius: 3px; background: white; padding: 1px; }
- QProgressBar::chunk:horizontal { background: qlineargradient(x1: 0, y1: 0.5, x2: 1, y2: 0.5, stop: 0 green, stop: 1 lightgrey);}</string>
- </property>
- <property name="minimum">
- <number>25</number>
- </property>
- <property name="maximum">
- <number>100</number>
- </property>
- <property name="value">
- <number>75</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QProgressBar" name="progressBar_4">
- <property name="styleSheet">
- <string notr="true">
-
- QProgressBar::chunk {
-background:
-qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0,
-stop:0 rgba(0, 0, 0,0), stop:0.5 rgba(235, 148, 61, 255), stop:1 rgba(0, 0, 0, 0)) ;
-
- width: 100px;
-
- }
-
- QProgressBar {
- border: 2px dashed grey;
- border-radius: 5px;
- }</string>
- </property>
- <property name="minimum">
- <number>0</number>
- </property>
- <property name="maximum">
- <number>0</number>
- </property>
- <property name="value">
- <number>-1</number>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>41</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_qtabwidget.ui b/tests/auto/uiloader/baseline/css_qtabwidget.ui
deleted file mode 100644
index 7c2d24f3af..0000000000
--- a/tests/auto/uiloader/baseline/css_qtabwidget.ui
+++ /dev/null
@@ -1,224 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QTabWidget" name="tabWidget">
- <property name="styleSheet">
- <string notr="true"> QTabWidget::pane { / * The tab widget frame * /
- border-top: 2px solid #C2C7CB;
- }
-
- QTabWidget::tab-bar {
- left: 5px; / * move to the right by 5px * /
- }
-
- / * Style the tab using the tab sub-control. Note that
- it reads QTabBar _not_ QTabWidget * /
- QTabBar::tab {
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
- stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
- stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
- border: 2px solid #C4C4C3;
- border-bottom-color: #C2C7CB; / * same as the pane color * /
- border-top-left-radius: 4px;
- border-top-right-radius: 4px;
- min-width: 8ex;
- padding: 2px;
- }
-
- QTabBar::tab:selected, QTabBar::tab:hover {
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
- stop: 0 #fafafa, stop: 0.4 #f4f4f4,
- stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
- }
-
- QTabBar::tab:selected {
- border-color: #9B9B9B;
- border-bottom-color: #C2C7CB; / * same as pane color * /
- }
-
- QTabBar::tab:!selected {
- margin-top: 2px; / * make non-selected tabs look smaller * /
- }
-
-
-</string>
- </property>
- <property name="currentIndex">
- <number>1</number>
- </property>
- <widget class="QWidget" name="tab">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_3">
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_2">
- <attribute name="title">
- <string/>
- </attribute>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QTabWidget" name="tabWidget_2">
- <property name="styleSheet">
- <string notr="true">QTabWidget::pane { / * The tab widget frame * /
- border-top: 2px solid #C2C7CB;
- }
-
- QTabWidget::tab-bar {
- left: 5px; / * move to the right by 5px * /
- }
-
- / * Style the tab using the tab sub-control. Note that
- it reads QTabBar _not_ QTabWidget * /
- QTabBar::tab {
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
- stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
- stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
- border: 2px solid #C4C4C3;
- border-bottom-color: #C2C7CB; / * same as the pane color * /
- border-top-left-radius: 4px;
- border-top-right-radius: 4px;
- min-width: 8ex;
- padding: 2px;
- }
-
- QTabBar::tab:selected, QTabBar::tab:hover {
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
- stop: 0 #fafafa, stop: 0.4 #f4f4f4,
- stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
- }
-
- QTabBar::tab:selected {
- border-color: #9B9B9B;
- border-bottom-color: #C2C7CB; / * same as pane color * /
- }
-
- QTabBar::tab:!selected {
- margin-top: 2px; / * make non-selected tabs look smaller * /
- }
-
- / * make use of negative margins for overlapping tabs * /
- QTabBar::tab:selected {
- / * expand/overlap to the left and right by 4px * /
- margin-left: -4px;
- margin-right: -4px;
- }
-
- QTabBar::tab:first:selected {
- margin-left: 0; / * the first selected tab has nothing to overlap with on the left * /
- }
-
- QTabBar::tab:last:selected {
- margin-right: 0; / * the last selected tab has nothing to overlap with on the right * /
- }
-
- QTabBar::tab:only-one {
- margin: 0; / * if there is only one tab, we don't want overlapping margins * /
- }</string>
- </property>
- <property name="currentIndex">
- <number>1</number>
- </property>
- <widget class="QWidget" name="tab_4">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_7">
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_5">
- <attribute name="title">
- <string/>
- </attribute>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QTabWidget" name="tabWidget_3">
- <property name="styleSheet">
- <string notr="true"> QTabWidget::pane { / * The tab widget frame * /
- border-top: 2px solid #C2C7CB;
- position: absolute;
- top: -0.5em;
- }
-
- QTabWidget::tab-bar {
- alignment: center;
- }
-
- / * Style the tab using the tab sub-control. Note that
- it reads QTabBar _not_ QTabWidget * /
- QTabBar::tab {
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
- stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
- stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
- border: 2px solid #C4C4C3;
- border-bottom-color: #C2C7CB; / * same as the pane color * /
- border-top-left-radius: 4px;
- border-top-right-radius: 4px;
- min-width: 8ex;
- padding: 2px;
- }
-
- QTabBar::tab:selected, QTabBar::tab:hover {
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
- stop: 0 #fafafa, stop: 0.4 #f4f4f4,
- stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
- }
-
- QTabBar::tab:selected {
- border-color: #9B9B9B;
- border-bottom-color: #C2C7CB; / * same as pane color * /
- }</string>
- </property>
- <property name="currentIndex">
- <number>1</number>
- </property>
- <widget class="QWidget" name="tab_6">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_9">
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_8">
- <attribute name="title">
- <string/>
- </attribute>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_qtbug6855.ui b/tests/auto/uiloader/baseline/css_qtbug6855.ui
deleted file mode 100644
index 0727f6ba99..0000000000
--- a/tests/auto/uiloader/baseline/css_qtbug6855.ui
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>212</width>
- <height>108</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">QPushButton { padding: 20px; }</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QPushButton" name="pushButton">
- <property name="text">
- <string>Text not cropped</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>258</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="0">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>218</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_qtbug7737_borderimageradius.ui b/tests/auto/uiloader/baseline/css_qtbug7737_borderimageradius.ui
deleted file mode 100644
index 089cb76a1e..0000000000
--- a/tests/auto/uiloader/baseline/css_qtbug7737_borderimageradius.ui
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>207</width>
- <height>69</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">QPushButton { border-image: url(&quot;images/pushbutton.png&quot;) 5 5 5 5; border-radius:8px; }</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QPushButton" name="pushButton">
- <property name="text">
- <string>Border image and radius</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_scroll.ui b/tests/auto/uiloader/baseline/css_scroll.ui
deleted file mode 100644
index 6ac688604f..0000000000
--- a/tests/auto/uiloader/baseline/css_scroll.ui
+++ /dev/null
@@ -1,601 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>393</width>
- <height>347</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">QScrollArea { background:red;
- border: 5px dashed blue; }
-QScrollArea .QWidget { background:transparent;
- border: 5px dotted green;}
-QScrollArea::corner { background:yellow; }
-
-
- QScrollBar:horizontal {
- border: 2px solid green;
- background: cyan;
- height: 15px;
- margin: 0px 40px 0 0px;
- }
-
- QScrollBar::handle:horizontal {
- background: gray;
- min-width: 20px;
- }
-
- QScrollBar::add-line:horizontal {
- background: blue;
- width: 16px;
- subcontrol-position: right;
- subcontrol-origin: margin;
- border: 2px solid black;
- }
-
- QScrollBar::sub-line:horizontal {
- background: magenta;
- width: 16px;
- subcontrol-position: top right;
- subcontrol-origin: margin;
- border: 2px solid black;
- position: absolute;
- right: 20px;
- }
-
- QScrollBar:left-arrow:horizontal, QScrollBar::right-arrow:horizontal {
- width: 3px;
- height: 3px;
- background: pink;
- }
-
- QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
- background: none;
- }
-
-
-
- QScrollBar:vertical {
- border: 2px solid grey;
- background: #32CC99;
- width: 15px;
- margin: 20px 0px 20px 0px;
- }
- QScrollBar::handle:vertical {
- background: white;
- min-height: 20px;
- }
- QScrollBar::add-line:vertical {
- border: 2px solid grey;
- background: #32CC99;
- height: 20px;
- subcontrol-position: bottom;
- subcontrol-origin: margin;
- }
-
- QScrollBar::sub-line:vertical {
- border: 2px solid grey;
- background: #32CC99;
- height: 20px;
- subcontrol-position: top;
- subcontrol-origin: margin;
- }
-
- QScrollBar:left-arrow:vertical, QScrollBar::right-arrow:vertical {
- border: 2px solid grey;
- width: 3px;
- height: 3px;
- background: white;
- }
-
- QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
- background: none;
- }
-
-
-
-</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_8">
- <item>
- <widget class="QScrollArea" name="scrollArea">
- <property name="widgetResizable">
- <bool>true</bool>
- </property>
- <widget class="QWidget" name="scrollAreaWidgetContents">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>520</width>
- <height>532</height>
- </rect>
- </property>
- <layout class="QGridLayout" name="gridLayout_3">
- <item row="0" column="0">
- <widget class="QGroupBox" name="groupBox_4">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_4">
- <item row="0" column="0">
- <widget class="QRadioButton" name="radioButton_56">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QRadioButton" name="radioButton_83">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QRadioButton" name="radioButton_82">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QRadioButton" name="radioButton_84">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QRadioButton" name="radioButton_57">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QRadioButton" name="radioButton_62">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0">
- <widget class="QRadioButton" name="radioButton_59">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <widget class="QRadioButton" name="radioButton_55">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QRadioButton" name="radioButton_60">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="4" column="1">
- <widget class="QRadioButton" name="radioButton_61">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="QRadioButton" name="radioButton_58">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="5" column="1">
- <widget class="QRadioButton" name="radioButton_63">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="6" column="0">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>81</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QGroupBox" name="groupBox_5">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_7">
- <item>
- <widget class="QRadioButton" name="radioButton_64">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_65">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_66">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_67">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_68">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_69">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_70">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_71">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_72">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QGroupBox" name="groupBox_6">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QRadioButton" name="radioButton_73">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_74">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_75">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_76">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_77">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_78">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_79">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_80">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_81">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0" colspan="3">
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0">
- <widget class="QGroupBox" name="groupBox">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QRadioButton" name="radioButton_9">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_6">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_7">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_3">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_5">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_4">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_8">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_2">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QGroupBox" name="groupBox_2">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QRadioButton" name="radioButton_10">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_11">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_12">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_13">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_14">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_15">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_16">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_17">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_18">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QGroupBox" name="groupBox_3">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QRadioButton" name="radioButton_19">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QRadioButton" name="radioButton_20">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QRadioButton" name="radioButton_21">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0">
- <widget class="QRadioButton" name="radioButton_22">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QRadioButton" name="radioButton_23">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="QRadioButton" name="radioButton_24">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="6" column="0">
- <widget class="QRadioButton" name="radioButton_25">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="7" column="0">
- <widget class="QRadioButton" name="radioButton_26">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- <item row="8" column="0">
- <widget class="QRadioButton" name="radioButton_27">
- <property name="text">
- <string>RadioButton</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_scrollarea_base.ui b/tests/auto/uiloader/baseline/css_scrollarea_base.ui
deleted file mode 100644
index 495401f407..0000000000
--- a/tests/auto/uiloader/baseline/css_scrollarea_base.ui
+++ /dev/null
@@ -1,197 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>407</width>
- <height>339</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">QAbstractScrollArea { border: 2px dashed #e12; }
-QHeaderView { border-color: blue; }
-
-</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QPlainTextEdit" name="plainTextEdit">
- <property name="plainText">
- <string>Note that the task 257517 requires to scroll down, and check that the backgroud is still filled with the base color (white by default)
-
-x
-x
-
-x
-x
-
-x
-x
-
-x
-x
-
-</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QTableWidget" name="tableWidget">
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>New Column</string>
- </property>
- </column>
- </widget>
- </item>
- <item>
- <widget class="QTextEdit" name="textEdit">
- <property name="html">
- <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
-&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
-p, li { white-space: pre-wrap; }
-&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;x&lt;/p&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;x&lt;/p&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;x&lt;/p&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;x&lt;/p&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;x&lt;/p&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;x&lt;/p&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;x&lt;/p&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;x&lt;/p&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;x&lt;/p&gt;
-&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;x&lt;/p&gt;
-&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_splitter.ui b/tests/auto/uiloader/baseline/css_splitter.ui
deleted file mode 100644
index 99dbc180a9..0000000000
--- a/tests/auto/uiloader/baseline/css_splitter.ui
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>424</width>
- <height>364</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true"> QSplitter::handle:vertical {
- image: url(images/splitter_horizontal.png);
- }
-
- QSplitter::handle:horizontal {
- image: url(images/splitter_vertical.png);
- }
-
-#big_splitter::handle { background-color: blue; border: 3px dashed green; height:50px; }
-
-
- QSplitter::handle:hover {
- background-color: qlineargradient(spread:repeat, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 0, 0, 255), stop:0.17 rgba(255, 0, 0, 255), stop:0.18 rgba(255, 255, 255, 255), stop:0.210212 rgba(255, 255, 255, 255), stop:0.220212 rgba(0, 16, 255, 255), stop:0.279897 rgba(0, 16, 255, 255), stop:0.289897 rgba(255, 255, 255, 255), stop:0.32 rgba(255, 255, 255, 255), stop:0.33 rgba(255, 0, 0, 255), stop:1 rgba(255, 0, 0, 255))
- }
-
- QSplitter::handle:pressed {
- background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(9, 41, 4, 255), stop:0.085 rgba(2, 79, 0, 255), stop:0.19 rgba(50, 147, 22, 255), stop:0.275 rgba(236, 191, 49, 255), stop:0.39 rgba(243, 61, 34, 255), stop:0.555 rgba(135, 81, 60, 255), stop:0.667 rgba(121, 75, 255, 255), stop:0.825 rgba(164, 255, 244, 255), stop:0.885 rgba(104, 222, 71, 255), stop:1 rgba(93, 128, 0, 255));
- }</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QSplitter" name="splitter_3">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <widget class="QSplitter" name="big_splitter">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <widget class="QTextEdit" name="textEdit"/>
- <widget class="QTextEdit" name="textEdit_5"/>
- <widget class="QTextEdit" name="textEdit_4"/>
- </widget>
- <widget class="QSplitter" name="splitter">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <widget class="QTextEdit" name="textEdit_2"/>
- <widget class="QTextEdit" name="textEdit_3"/>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_tab_border.ui b/tests/auto/uiloader/baseline/css_tab_border.ui
deleted file mode 100644
index cefb9d8fd9..0000000000
--- a/tests/auto/uiloader/baseline/css_tab_border.ui
+++ /dev/null
@@ -1,104 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>379</width>
- <height>277</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">#tabWidget QTabBar::tab {
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
- stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
- stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
- border: 2px solid #C4C4C3;
- border-bottom-color: #C2C7CB; /* same as the pane color */
- border-top-left-radius: 4px;
- border-top-right-radius: 4px;
- padding: 2px;
- }
-
-#tabWidget_2 QTabBar::tab {
- border: 3px solid red;
- }
-
-#tabWidget_3 QTabBar::tab {
- margin: 5px;
- }
-
-
-</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QTabWidget" name="tabWidget">
- <property name="currentIndex">
- <number>1</number>
- </property>
- <property name="tabsClosable">
- <bool>true</bool>
- </property>
- <widget class="QWidget" name="tab">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_2">
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QTabWidget" name="tabWidget_2">
- <property name="currentIndex">
- <number>1</number>
- </property>
- <property name="tabsClosable">
- <bool>false</bool>
- </property>
- <widget class="QWidget" name="tab_3">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_4">
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QTabWidget" name="tabWidget_3">
- <property name="currentIndex">
- <number>1</number>
- </property>
- <property name="tabsClosable">
- <bool>true</bool>
- </property>
- <widget class="QWidget" name="tab_5">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_6">
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_tab_closebutton.ui b/tests/auto/uiloader/baseline/css_tab_closebutton.ui
deleted file mode 100644
index 82bd2b5502..0000000000
--- a/tests/auto/uiloader/baseline/css_tab_closebutton.ui
+++ /dev/null
@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>300</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">*{}
-
-#tabWidget QTabBar::close-button
-{
- background: blue;
- border: 2px dotted red;
- subcontrol-position: top;
-}
-
-
-#tabWidget_2 QTabBar::close-button
-{
- image: url(images/checkbox_checked.png);
- subcontrol-position: left;
-}
-
-#tabWidget_2 QTabBar::close-button:hover
-{
- image: url(images/checkbox_unchecked_hover.png);
-}
-
-
-#tabWidget_3 QTabBar::close-button
-{
- border-image: url(images/pushbutton.png) 3px;
- border-width:3px;
-}
-
-
-</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QTabWidget" name="tabWidget">
- <property name="tabsClosable">
- <bool>true</bool>
- </property>
- <widget class="QWidget" name="tab">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Test the close button in the tabbar</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_2">
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- <item row="0" column="1" rowspan="2">
- <widget class="QTabWidget" name="tabWidget_3">
- <property name="tabPosition">
- <enum>QTabWidget::East</enum>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <property name="tabsClosable">
- <bool>true</bool>
- </property>
- <widget class="QWidget" name="tab_5">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_6">
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QTabWidget" name="tabWidget_2">
- <property name="tabPosition">
- <enum>QTabWidget::South</enum>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <property name="tabsClosable">
- <bool>true</bool>
- </property>
- <widget class="QWidget" name="tab_3">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_4">
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_tab_task213374.ui b/tests/auto/uiloader/baseline/css_tab_task213374.ui
deleted file mode 100644
index f3567aede0..0000000000
--- a/tests/auto/uiloader/baseline/css_tab_task213374.ui
+++ /dev/null
@@ -1,306 +0,0 @@
-<ui version="4.0" >
- <class>Dialog</class>
- <widget class="QDialog" name="Dialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>646</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Dialog</string>
- </property>
- <layout class="QVBoxLayout" >
- <item>
- <widget class="QTabWidget" name="tabWidget_2" >
- <property name="styleSheet" >
- <string>
-QTabBar::tab:bottom {
-
- min-width: 15px;
- padding: 3px 15px 3px 10px;
- border: 1px solid #7f7f7f;
-
- background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
- stop: .3 #FFFFFF, stop: 1 #909090);
- border-bottom-right-radius: 35px 21px;
-
-}
-QTabBar::tab:left {
- padding: 10px 3px 15px 3px;
- border: 1px solid #7f7f7f;
- border-left-width: 0px;
- background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
- stop: .3 #FFFFFF, stop: 1 #909090);
- border-bottom-right-radius: 21px 35px;
- margin-right: 2px;
-}
-QTabBar:right {subcontrol-origin: padding;}
-QTabBar::tab:right {
- padding: 10px 3px 15px 5px;
- border: 1px solid #7f7f7f;
- background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
- stop: .3 #FFFFFF, stop: 1 #909090);
- border-bottom-left-radius: 21px 35px;
- margin-left: 2px;
-}
-QTabBar::tab:bottom:!last { margin-right: -10px;}
-QTabBar::tab:left:!last { margin-bottom: -10px;}
-QTabBar::tab:right:!last { margin-bottom: -10px;}
-
-QTabBar::tab:bottom:selected {
- background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
- stop: .3 #CFCFCF, stop: 1 #FFFFFF);
-}
-QTabBar::tab:left:selected {
- background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
- stop: .3 #DFDFDF, stop: 1 #F0F0F0);
-}
-QTabBar::tab:right:selected {
- background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
- stop: .3 #DFDFDF, stop: 1 #F0F0F0);
-}
-
-
-</string>
- </property>
- <property name="tabPosition" >
- <enum>QTabWidget::South</enum>
- </property>
- <property name="currentIndex" >
- <number>3</number>
- </property>
- <widget class="QWidget" name="tab_5" >
- <attribute name="title" >
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_6" >
- <attribute name="title" >
- <string>Page</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_7" >
- <attribute name="title" >
- <string>Page</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_8" >
- <attribute name="title" >
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QTabWidget" name="tabWidget_3" >
- <property name="styleSheet" >
- <string>
-QTabBar::tab:bottom {
-
- min-width: 15px;
- padding: 3px 15px 3px 10px;
- border: 1px solid #7f7f7f;
-
- background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
- stop: .3 #FFFFFF, stop: 1 #909090);
- border-bottom-right-radius: 35px 21px;
-
-}
-QTabBar::tab:left {
- padding: 10px 3px 15px 3px;
- border: 1px solid #7f7f7f;
- border-left-width: 0px;
- background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
- stop: .3 #FFFFFF, stop: 1 #909090);
- border-bottom-right-radius: 21px 35px;
- margin-right: 2px;
-}
-QTabBar:right {subcontrol-origin: padding;}
-QTabBar::tab:right {
- padding: 10px 3px 15px 5px;
- border: 1px solid #7f7f7f;
- background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
- stop: .3 #FFFFFF, stop: 1 #909090);
- border-bottom-left-radius: 21px 35px;
- margin-left: 2px;
-}
-QTabBar::tab:bottom:!last { margin-right: -10px;}
-QTabBar::tab:left:!last { margin-bottom: -10px;}
-QTabBar::tab:right:!last { margin-bottom: -10px;}
-
-QTabBar::tab:bottom:selected {
- background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
- stop: .3 #CFCFCF, stop: 1 #FFFFFF);
-}
-QTabBar::tab:left:selected {
- background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
- stop: .3 #DFDFDF, stop: 1 #F0F0F0);
-}
-QTabBar::tab:right:selected {
- background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
- stop: .3 #DFDFDF, stop: 1 #F0F0F0);
-}
-
-
-</string>
- </property>
- <property name="tabPosition" >
- <enum>QTabWidget::East</enum>
- </property>
- <property name="currentIndex" >
- <number>3</number>
- </property>
- <widget class="QWidget" name="tab_9" >
- <attribute name="title" >
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_10" >
- <attribute name="title" >
- <string>Page</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_11" >
- <attribute name="title" >
- <string>Page</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_12" >
- <attribute name="title" >
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QTabWidget" name="tabWidget" >
- <property name="styleSheet" >
- <string>
-QTabBar::tab:bottom {
-
- min-width: 15px;
- padding: 3px 15px 3px 10px;
- border: 1px solid #7f7f7f;
-
- background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
- stop: .3 #FFFFFF, stop: 1 #909090);
- border-bottom-right-radius: 35px 21px;
-
-}
-QTabBar::tab:left {
- padding: 10px 3px 15px 3px;
- border: 1px solid #7f7f7f;
- border-left-width: 0px;
- background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
- stop: .3 #FFFFFF, stop: 1 #909090);
- border-bottom-right-radius: 21px 35px;
- margin-right: 2px;
-}
-QTabBar:right {subcontrol-origin: padding;}
-QTabBar::tab:right {
- padding: 10px 3px 15px 5px;
- border: 1px solid #7f7f7f;
- background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
- stop: .3 #FFFFFF, stop: 1 #909090);
- border-bottom-left-radius: 21px 35px;
- margin-left: 2px;
-}
-QTabBar::tab:bottom:!last { margin-right: -10px;}
-QTabBar::tab:left:!last { margin-bottom: -10px;}
-QTabBar::tab:right:!last { margin-bottom: -10px;}
-
-QTabBar::tab:bottom:selected {
- background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
- stop: .3 #CFCFCF, stop: 1 #FFFFFF);
-}
-QTabBar::tab:left:selected {
- background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
- stop: .3 #DFDFDF, stop: 1 #F0F0F0);
-}
-QTabBar::tab:right:selected {
- background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
- stop: .3 #DFDFDF, stop: 1 #F0F0F0);
-}
-
-
-</string>
- </property>
- <property name="tabPosition" >
- <enum>QTabWidget::West</enum>
- </property>
- <property name="currentIndex" >
- <number>3</number>
- </property>
- <widget class="QWidget" name="tab" >
- <attribute name="title" >
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_4" >
- <attribute name="title" >
- <string>Page</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_3" >
- <attribute name="title" >
- <string>Page</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_2" >
- <attribute name="title" >
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons" >
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>Dialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>248</x>
- <y>254</y>
- </hint>
- <hint type="destinationlabel" >
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>Dialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>316</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel" >
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_task255849_downarrow.ui b/tests/auto/uiloader/baseline/css_task255849_downarrow.ui
deleted file mode 100644
index d3e99b1613..0000000000
--- a/tests/auto/uiloader/baseline/css_task255849_downarrow.ui
+++ /dev/null
@@ -1,144 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>275</width>
- <height>175</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">/* Some widget were not displaying the arrow if only the arrow was set */
-*::down-arrow { image: url(&quot;images/arrow-down.png&quot;) }
-*::up-arrow { image: url(&quot;images/arrow-up.png&quot;) }
-
-
-</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0" colspan="2">
- <widget class="QComboBox" name="comboBox"/>
- </item>
- <item row="0" column="2" rowspan="5">
- <widget class="QTreeWidget" name="treeWidget">
- <property name="sortingEnabled">
- <bool>true</bool>
- </property>
- <attribute name="headerShowSortIndicator" stdset="0">
- <bool>true</bool>
- </attribute>
- <attribute name="headerShowSortIndicator" stdset="0">
- <bool>true</bool>
- </attribute>
- <column>
- <property name="text">
- <string>1</string>
- </property>
- </column>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>New Item</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QSpinBox" name="spinBox"/>
- </item>
- <item row="1" column="1">
- <widget class="QToolButton" name="toolButton">
- <property name="text">
- <string>foo</string>
- </property>
- <property name="arrowType">
- <enum>Qt::DownArrow</enum>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QDoubleSpinBox" name="doubleSpinBox"/>
- </item>
- <item row="3" column="0" colspan="2">
- <widget class="QPushButton" name="pushButton">
- <property name="contextMenuPolicy">
- <enum>Qt::NoContextMenu</enum>
- </property>
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/css_task259226_spinboxes.ui b/tests/auto/uiloader/baseline/css_task259226_spinboxes.ui
deleted file mode 100644
index eb9ade316c..0000000000
--- a/tests/auto/uiloader/baseline/css_task259226_spinboxes.ui
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>320</width>
- <height>116</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">#spinbox1::up-button{
- subcontrol-origin: border;
- subcontrol-position: top left;
- }
-#spinbox1::down-button {
- subcontrol-origin: border;
- subcontrol-position: bottom left;
- }
-
-
-#spinbox2::up-button{
- subcontrol-origin: border;
- subcontrol-position: center left;
- left: 0px;
- height: 100%;
- top: 0px;
- }
-#spinbox2::down-button {
- subcontrol-origin: border;
- subcontrol-position: center right;
- right: 0px;
- height: 100%;
- top: 0px;
- }
-
-
-
-#spinbox3::up-button{
- subcontrol-origin: border;
- subcontrol-position: top left;
- }
-
-
-#spinbox4 { padding: 20px 1px; }
-#spinbox4::up-button{
- subcontrol-origin: border;
- subcontrol-position: top center;
- width:100%;
- height: 20px;
- }
-#spinbox4::down-button {
- subcontrol-origin: border;
- subcontrol-position: bottom center;
- width:100%;
- height: 20px;
- }
-
-</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QSpinBox" name="spinbox1"/>
- </item>
- <item row="0" column="1">
- <widget class="QSpinBox" name="spinbox2"/>
- </item>
- <item row="1" column="0">
- <widget class="QSpinBox" name="spinbox3"/>
- </item>
- <item row="1" column="1">
- <widget class="QSpinBox" name="spinbox4"/>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/default.ui b/tests/auto/uiloader/baseline/default.ui
deleted file mode 100644
index 431a40956e..0000000000
--- a/tests/auto/uiloader/baseline/default.ui
+++ /dev/null
@@ -1,329 +0,0 @@
-<ui version="4.0" >
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>388</width>
- <height>413</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>MainWindow</string>
- </property>
- <widget class="QWidget" name="centralwidget" >
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="0" column="0" >
- <widget class="QLabel" name="nameLabel" >
- <property name="text" >
- <string>&amp;Name:</string>
- </property>
- <property name="buddy" >
- <cstring>nameCombo</cstring>
- </property>
- </widget>
- </item>
- <item row="0" column="1" colspan="3" >
- <widget class="QComboBox" name="nameCombo" >
- <property name="toolTip" >
- <string>Specify your name</string>
- </property>
- <property name="editable" >
- <bool>true</bool>
- </property>
- <property name="currentIndex" >
- <number>-1</number>
- </property>
- <item>
- <property name="text" >
- <string>Girish</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>Jasmin</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>Simon</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>Zack</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="1" column="3" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="2" >
- <widget class="QRadioButton" name="femaleRadioButton" >
- <property name="toolTip" >
- <string>Check this if you are female</string>
- </property>
- <property name="text" >
- <string>&amp;Female</string>
- </property>
- </widget>
- </item>
- <item row="6" column="0" colspan="4" >
- <widget class="QCheckBox" name="agreeCheckBox" >
- <property name="toolTip" >
- <string>Please read the license before checking this</string>
- </property>
- <property name="text" >
- <string>I &amp;accept the terms and conditions</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QRadioButton" name="maleRadioButton" >
- <property name="toolTip" >
- <string>Check this if you are male</string>
- </property>
- <property name="text" >
- <string>&amp;Male</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="genderLabel" >
- <property name="text" >
- <string>Gender:</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" colspan="3" >
- <widget class="QSpinBox" name="ageSpinBox" >
- <property name="toolTip" >
- <string>Specify your age</string>
- </property>
- <property name="statusTip" >
- <string>Specify your age here</string>
- </property>
- <property name="minimum" >
- <number>12</number>
- </property>
- <property name="value" >
- <number>22</number>
- </property>
- </widget>
- </item>
- <item row="7" column="2" colspan="2" >
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons" >
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QLabel" name="ageLabel" >
- <property name="text" >
- <string>&amp;Age:</string>
- </property>
- <property name="buddy" >
- <cstring>ageSpinBox</cstring>
- </property>
- </widget>
- </item>
- <item row="3" column="0" >
- <widget class="QLabel" name="passwordLabel" >
- <property name="text" >
- <string>&amp;Password:</string>
- </property>
- <property name="buddy" >
- <cstring>passwordEdit</cstring>
- </property>
- </widget>
- </item>
- <item row="3" column="1" colspan="3" >
- <widget class="QLineEdit" name="passwordEdit" >
- <property name="toolTip" >
- <string>Specify your password</string>
- </property>
- <property name="statusTip" >
- <string>Specify your password here</string>
- </property>
- <property name="text" >
- <string>Password</string>
- </property>
- <property name="echoMode" >
- <enum>QLineEdit::Password</enum>
- </property>
- </widget>
- </item>
- <item row="5" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Profession</string>
- </property>
- <property name="buddy" >
- <cstring>professionList</cstring>
- </property>
- </widget>
- </item>
- <item row="4" column="0" >
- <widget class="QLabel" name="countryLabel" >
- <property name="text" >
- <string>&amp;Country</string>
- </property>
- <property name="buddy" >
- <cstring>professionList</cstring>
- </property>
- </widget>
- </item>
- <item row="5" column="1" colspan="3" >
- <widget class="QListWidget" name="professionList" >
- <property name="toolTip" >
- <string>Select your profession</string>
- </property>
- <property name="statusTip" >
- <string>Select your profession</string>
- </property>
- <property name="whatsThis" >
- <string>Select your profession</string>
- </property>
- <property name="currentRow" >
- <number>1</number>
- </property>
- <item>
- <property name="text" >
- <string>Developer</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>Student</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>Fisherman</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="4" column="1" colspan="3" >
- <widget class="QComboBox" name="countryCombo" >
- <property name="toolTip" >
- <string>Specify your country</string>
- </property>
- <property name="statusTip" >
- <string>Specify your country here</string>
- </property>
- <property name="currentIndex" >
- <number>2</number>
- </property>
- <item>
- <property name="text" >
- <string>Germany</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>India</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>Norway</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>United States Of America</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>United Kingdom</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>388</width>
- <height>21</height>
- </rect>
- </property>
- <widget class="QMenu" name="menu_File" >
- <property name="title" >
- <string>&amp;File</string>
- </property>
- <addaction name="editStyleAction" />
- <addaction name="separator" />
- <addaction name="exitAction" />
- </widget>
- <widget class="QMenu" name="menu_Help" >
- <property name="title" >
- <string>&amp;Help</string>
- </property>
- <addaction name="aboutAction" />
- <addaction name="separator" />
- <addaction name="aboutQtAction" />
- </widget>
- <addaction name="menu_File" />
- <addaction name="menu_Help" />
- </widget>
- <widget class="QStatusBar" name="statusbar" />
- <action name="exitAction" >
- <property name="text" >
- <string>&amp;Exit</string>
- </property>
- </action>
- <action name="aboutQtAction" >
- <property name="text" >
- <string>About Qt</string>
- </property>
- </action>
- <action name="editStyleAction" >
- <property name="text" >
- <string>Edit &amp;Style</string>
- </property>
- </action>
- <action name="aboutAction" >
- <property name="text" >
- <string>About</string>
- </property>
- </action>
- </widget>
- <tabstops>
- <tabstop>maleRadioButton</tabstop>
- <tabstop>femaleRadioButton</tabstop>
- <tabstop>ageSpinBox</tabstop>
- <tabstop>passwordEdit</tabstop>
- <tabstop>professionList</tabstop>
- <tabstop>agreeCheckBox</tabstop>
- </tabstops>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/dialog.ui b/tests/auto/uiloader/baseline/dialog.ui
deleted file mode 100644
index e99d6fb3c4..0000000000
--- a/tests/auto/uiloader/baseline/dialog.ui
+++ /dev/null
@@ -1,47 +0,0 @@
-<ui version="4.0" >
- <class>Dialog</class>
- <widget class="QDialog" name="Dialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>451</width>
- <height>322</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Dialog</string>
- </property>
- <layout class="QGridLayout" >
- <item row="0" column="0" >
- <widget class="QPushButton" name="loadFromFileButton" >
- <property name="text" >
- <string>Load Image From File...</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Launch two of these dialogs. In the first, press the top button and load an image from a file. In the second, press the bottom button and display the loaded image from shared memory.</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignCenter</set>
- </property>
- <property name="wordWrap" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QPushButton" name="loadFromSharedMemoryButton" >
- <property name="text" >
- <string>Display Image From Shared Memory</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/downloaditem.ui b/tests/auto/uiloader/baseline/downloaditem.ui
deleted file mode 100644
index 4a0a0fd9aa..0000000000
--- a/tests/auto/uiloader/baseline/downloaditem.ui
+++ /dev/null
@@ -1,134 +0,0 @@
-<ui version="4.0" >
- <class>DownloadItem</class>
- <widget class="QWidget" name="DownloadItem" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>423</width>
- <height>110</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Form</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="fileIcon" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Ico</string>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2" >
- <item>
- <widget class="SqueezeLabel" native="1" name="fileNameLabel" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" stdset="0" >
- <string>Filename</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QProgressBar" name="progressBar" >
- <property name="value" >
- <number>0</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="SqueezeLabel" native="1" name="downloadInfoLabel" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" stdset="0" >
- <string/>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout" >
- <item>
- <spacer name="verticalSpacer" >
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>17</width>
- <height>1</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="tryAgainButton" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>Try Again</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="stopButton" >
- <property name="text" >
- <string>Stop</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="openButton" >
- <property name="text" >
- <string>Open</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer_2" >
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>17</width>
- <height>5</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>SqueezeLabel</class>
- <extends>QWidget</extends>
- <header>squeezelabel.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/downloads.ui b/tests/auto/uiloader/baseline/downloads.ui
deleted file mode 100644
index a2e256935b..0000000000
--- a/tests/auto/uiloader/baseline/downloads.ui
+++ /dev/null
@@ -1,83 +0,0 @@
-<ui version="4.0" >
- <class>DownloadDialog</class>
- <widget class="QDialog" name="DownloadDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>332</width>
- <height>252</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Downloads</string>
- </property>
- <layout class="QGridLayout" name="gridLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>0</number>
- </property>
- <item row="0" column="0" colspan="3" >
- <widget class="EditTableView" name="downloadsView" />
- </item>
- <item row="1" column="0" >
- <layout class="QHBoxLayout" name="horizontalLayout" >
- <item>
- <widget class="QPushButton" name="cleanupButton" >
- <property name="enabled" >
- <bool>false</bool>
- </property>
- <property name="text" >
- <string>Clean up</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>58</width>
- <height>24</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item row="1" column="1" >
- <widget class="QLabel" name="itemCount" >
- <property name="text" >
- <string>0 Items</string>
- </property>
- </widget>
- </item>
- <item row="1" column="2" >
- <spacer name="horizontalSpacer" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>148</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>EditTableView</class>
- <extends>QTableView</extends>
- <header>edittableview.h</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/embeddeddialog.ui b/tests/auto/uiloader/baseline/embeddeddialog.ui
deleted file mode 100644
index f967b10085..0000000000
--- a/tests/auto/uiloader/baseline/embeddeddialog.ui
+++ /dev/null
@@ -1,87 +0,0 @@
-<ui version="4.0" >
- <class>embeddedDialog</class>
- <widget class="QDialog" name="embeddedDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>407</width>
- <height>134</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Embedded Dialog</string>
- </property>
- <layout class="QFormLayout" name="formLayout" >
- <item row="0" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Layout Direction:</string>
- </property>
- <property name="buddy" >
- <cstring>layoutDirection</cstring>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QComboBox" name="layoutDirection" >
- <item>
- <property name="text" >
- <string>Left to Right</string>
- </property>
- </item>
- <item>
- <property name="text" >
- <string>Right to Left</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="label_2" >
- <property name="text" >
- <string>Select Font:</string>
- </property>
- <property name="buddy" >
- <cstring>fontComboBox</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QFontComboBox" name="fontComboBox" />
- </item>
- <item row="2" column="0" >
- <widget class="QLabel" name="label_3" >
- <property name="text" >
- <string>Style:</string>
- </property>
- <property name="buddy" >
- <cstring>style</cstring>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QComboBox" name="style" />
- </item>
- <item row="3" column="0" >
- <widget class="QLabel" name="label_4" >
- <property name="text" >
- <string>Layout spacing:</string>
- </property>
- <property name="buddy" >
- <cstring>spacing</cstring>
- </property>
- </widget>
- </item>
- <item row="3" column="1" >
- <widget class="QSlider" name="spacing" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/filespage.ui b/tests/auto/uiloader/baseline/filespage.ui
deleted file mode 100644
index d308b96646..0000000000
--- a/tests/auto/uiloader/baseline/filespage.ui
+++ /dev/null
@@ -1,79 +0,0 @@
-<ui version="4.0" >
- <class>FilesPage</class>
- <widget class="QWidget" name="FilesPage" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>417</width>
- <height>242</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Form</string>
- </property>
- <layout class="QGridLayout" >
- <item row="0" column="0" colspan="2" >
- <widget class="QLabel" name="fileLabel" >
- <property name="text" >
- <string>Files:</string>
- </property>
- <property name="wordWrap" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item rowspan="3" row="1" column="0" >
- <widget class="QListWidget" name="fileListWidget" />
- </item>
- <item row="1" column="1" >
- <widget class="QPushButton" name="removeButton" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Remove</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QPushButton" name="removeAllButton" >
- <property name="text" >
- <string>Remove All</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>75</width>
- <height>16</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="4" column="0" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>31</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/filternamedialog.ui b/tests/auto/uiloader/baseline/filternamedialog.ui
deleted file mode 100644
index be6f17dfb6..0000000000
--- a/tests/auto/uiloader/baseline/filternamedialog.ui
+++ /dev/null
@@ -1,67 +0,0 @@
-<ui version="4.0" >
- <class>FilterNameDialogClass</class>
- <widget class="QDialog" name="FilterNameDialogClass" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>312</width>
- <height>95</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>FilterNameDialog</string>
- </property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="0" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Filter Name:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" colspan="2" >
- <widget class="QLineEdit" name="lineEdit" />
- </item>
- <item row="1" column="0" colspan="3" >
- <widget class="Line" name="line" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item row="2" column="0" colspan="2" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="2" >
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons" >
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <layoutdefault spacing="6" margin="11" />
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/filterpage.ui b/tests/auto/uiloader/baseline/filterpage.ui
deleted file mode 100644
index 7cda3d9bed..0000000000
--- a/tests/auto/uiloader/baseline/filterpage.ui
+++ /dev/null
@@ -1,125 +0,0 @@
-<ui version="4.0" >
- <class>FilterPage</class>
- <widget class="QWidget" name="FilterPage" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>419</width>
- <height>243</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Form</string>
- </property>
- <layout class="QGridLayout" >
- <item row="1" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Filter attributes for current documentation (comma separated list):</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QLineEdit" name="filterLineEdit" />
- </item>
- <item row="4" column="0" >
- <widget class="QGroupBox" name="groupBox" >
- <property name="title" >
- <string>Custom Filters</string>
- </property>
- <layout class="QGridLayout" >
- <item rowspan="3" row="0" column="0" >
- <widget class="QTreeWidget" name="customFilterWidget" >
- <property name="columnCount" >
- <number>2</number>
- </property>
- <column>
- <property name="text" >
- <string>1</string>
- </property>
- </column>
- <column>
- <property name="text" >
- <string>2</string>
- </property>
- </column>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QPushButton" name="addButton" >
- <property name="text" >
- <string>Add</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QPushButton" name="removeButton" >
- <property name="text" >
- <string>Remove</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="0" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="5" column="0" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="3" column="0" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>10</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/finddialog.ui b/tests/auto/uiloader/baseline/finddialog.ui
deleted file mode 100644
index 913a868ad1..0000000000
--- a/tests/auto/uiloader/baseline/finddialog.ui
+++ /dev/null
@@ -1,265 +0,0 @@
-<ui version="4.0" >
- <comment>*********************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the autotests of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** This file may be used under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation and
-** appearing in the file LICENSE.LGPL included in the packaging of this
-** file. Please review the following information to ensure the GNU Lesser
-** General Public License version 2.1 requirements will be met:
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU General
-** Public License version 3.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of this
-** file. Please review the following information to ensure the GNU General
-** Public License version 3.0 requirements will be met:
-** http://www.gnu.org/copyleft/gpl.html.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-*********************************************************************</comment>
- <class>FindDialog</class>
- <widget class="QDialog" name="FindDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>414</width>
- <height>170</height>
- </rect>
- </property>
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="windowTitle" >
- <string>Find</string>
- </property>
- <property name="whatsThis" >
- <string>This window allows you to search for some text in the translation source file.</string>
- </property>
- <layout class="QHBoxLayout" >
- <property name="spacing" >
- <number>6</number>
- </property>
- <property name="margin" >
- <number>11</number>
- </property>
- <item>
- <layout class="QVBoxLayout" >
- <property name="spacing" >
- <number>6</number>
- </property>
- <property name="margin" >
- <number>0</number>
- </property>
- <item>
- <layout class="QHBoxLayout" >
- <property name="spacing" >
- <number>6</number>
- </property>
- <property name="margin" >
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="findWhat" >
- <property name="text" >
- <string>&amp;Find what:</string>
- </property>
- <property name="buddy" >
- <cstring>led</cstring>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="led" >
- <property name="whatsThis" >
- <string>Type in the text to search for.</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox" >
- <property name="title" >
- <string>Options</string>
- </property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="1" column="0" >
- <widget class="QCheckBox" name="sourceText" >
- <property name="whatsThis" >
- <string>Source texts are searched when checked.</string>
- </property>
- <property name="text" >
- <string>&amp;Source texts</string>
- </property>
- <property name="checked" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <widget class="QCheckBox" name="translations" >
- <property name="whatsThis" >
- <string>Translations are searched when checked.</string>
- </property>
- <property name="text" >
- <string>&amp;Translations</string>
- </property>
- <property name="checked" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QCheckBox" name="matchCase" >
- <property name="whatsThis" >
- <string>Texts such as 'TeX' and 'tex' are considered as different when checked.</string>
- </property>
- <property name="text" >
- <string>&amp;Match case</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0" >
- <widget class="QCheckBox" name="comments" >
- <property name="whatsThis" >
- <string>Comments and contexts are searched when checked.</string>
- </property>
- <property name="text" >
- <string>&amp;Comments</string>
- </property>
- <property name="checked" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QCheckBox" name="ignoreAccelerators" >
- <property name="text" >
- <string>Ignore &amp;accelerators</string>
- </property>
- <property name="checked" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" >
- <property name="spacing" >
- <number>6</number>
- </property>
- <property name="margin" >
- <number>0</number>
- </property>
- <item>
- <widget class="QPushButton" name="findNxt" >
- <property name="whatsThis" >
- <string>Click here to find the next occurrence of the text you typed in.</string>
- </property>
- <property name="text" >
- <string>Find Next</string>
- </property>
- <property name="default" >
- <bool>true</bool>
- </property>
- <property name="flat" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="cancel" >
- <property name="whatsThis" >
- <string>Click here to close this window.</string>
- </property>
- <property name="text" >
- <string>Cancel</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>20</width>
- <height>51</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <layoutdefault spacing="6" margin="11" />
- <tabstops>
- <tabstop>led</tabstop>
- <tabstop>findNxt</tabstop>
- <tabstop>cancel</tabstop>
- <tabstop>comments</tabstop>
- <tabstop>sourceText</tabstop>
- <tabstop>translations</tabstop>
- <tabstop>matchCase</tabstop>
- </tabstops>
- <resources/>
- <connections>
- <connection>
- <sender>cancel</sender>
- <signal>clicked()</signal>
- <receiver>FindDialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>372</x>
- <y>58</y>
- </hint>
- <hint type="destinationlabel" >
- <x>373</x>
- <y>109</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/formwindowsettings.ui b/tests/auto/uiloader/baseline/formwindowsettings.ui
deleted file mode 100644
index fea18fe873..0000000000
--- a/tests/auto/uiloader/baseline/formwindowsettings.ui
+++ /dev/null
@@ -1,311 +0,0 @@
-<ui version="4.0" >
- <comment>*********************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the autotests of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** This file may be used under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation and
-** appearing in the file LICENSE.LGPL included in the packaging of this
-** file. Please review the following information to ensure the GNU Lesser
-** General Public License version 2.1 requirements will be met:
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU General
-** Public License version 3.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of this
-** file. Please review the following information to ensure the GNU General
-** Public License version 3.0 requirements will be met:
-** http://www.gnu.org/copyleft/gpl.html.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-*********************************************************************</comment>
- <class>FormWindowSettings</class>
- <widget class="QDialog" name="FormWindowSettings" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>433</width>
- <height>465</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Form Settings</string>
- </property>
- <layout class="QGridLayout" >
- <item row="6" column="0" colspan="2" >
- <widget class="QDialogButtonBox" name="buttonBox" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons" >
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- <item row="5" column="0" colspan="2" >
- <widget class="Line" name="line" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item row="2" column="0" colspan="2" >
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QGroupBox" name="layoutDefaultGroupBox" >
- <property name="title" >
- <string>Layout &amp;Default</string>
- </property>
- <property name="checkable" >
- <bool>true</bool>
- </property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>8</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="1" column="0" >
- <widget class="QLabel" name="label_2" >
- <property name="text" >
- <string>&amp;Spacing:</string>
- </property>
- <property name="buddy" >
- <cstring>defaultSpacingSpinBox</cstring>
- </property>
- </widget>
- </item>
- <item row="0" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>&amp;Margin:</string>
- </property>
- <property name="buddy" >
- <cstring>defaultMarginSpinBox</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QSpinBox" name="defaultSpacingSpinBox" />
- </item>
- <item row="0" column="1" >
- <widget class="QSpinBox" name="defaultMarginSpinBox" />
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="layoutFunctionGroupBox" >
- <property name="title" >
- <string>&amp;Layout Function</string>
- </property>
- <property name="checkable" >
- <bool>true</bool>
- </property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>8</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="1" column="1" >
- <widget class="QLineEdit" name="spacingFunctionLineEdit" />
- </item>
- <item row="0" column="1" >
- <widget class="QLineEdit" name="marginFunctionLineEdit" />
- </item>
- <item row="0" column="0" >
- <widget class="QLabel" name="label_3" >
- <property name="text" >
- <string>Ma&amp;rgin:</string>
- </property>
- <property name="buddy" >
- <cstring>marginFunctionLineEdit</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="label_3_2" >
- <property name="text" >
- <string>Spa&amp;cing:</string>
- </property>
- <property name="buddy" >
- <cstring>spacingFunctionLineEdit</cstring>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </item>
- <item row="0" column="0" colspan="2" >
- <widget class="QGroupBox" name="pixmapFunctionGroupBox_2" >
- <property name="title" >
- <string>&amp;Author</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>8</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLineEdit" name="authorLineEdit" />
- </item>
- </layout>
- </widget>
- </item>
- <item rowspan="2" row="3" column="0" >
- <widget class="QGroupBox" name="includeHintsGroupBox" >
- <property name="title" >
- <string>&amp;Include Hints</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>8</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QTextEdit" name="includeHintsTextEdit" />
- </item>
- </layout>
- </widget>
- </item>
- <item row="3" column="1" >
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QGroupBox" name="pixmapFunctionGroupBox" >
- <property name="title" >
- <string>&amp;Pixmap Function</string>
- </property>
- <property name="checkable" >
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>8</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLineEdit" name="pixmapFunctionLineEdit" />
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </item>
- <item row="4" column="1" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>111</width>
- <height>115</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="0" colspan="2" >
- <widget class="qdesigner_internal::GridPanel" name="gridPanel" >
- <property name="title" >
- <string>Grid</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>qdesigner_internal::GridPanel</class>
- <extends>QGroupBox</extends>
- <header location="global" >gridpanel_p.h</header>
- <container>1</container>
- </customwidget>
- </customwidgets>
- <tabstops>
- <tabstop>authorLineEdit</tabstop>
- <tabstop>defaultMarginSpinBox</tabstop>
- <tabstop>defaultSpacingSpinBox</tabstop>
- <tabstop>marginFunctionLineEdit</tabstop>
- <tabstop>spacingFunctionLineEdit</tabstop>
- <tabstop>pixmapFunctionLineEdit</tabstop>
- </tabstops>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>FormWindowSettings</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>294</x>
- <y>442</y>
- </hint>
- <hint type="destinationlabel" >
- <x>150</x>
- <y>459</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>FormWindowSettings</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel" >
- <x>373</x>
- <y>444</y>
- </hint>
- <hint type="destinationlabel" >
- <x>357</x>
- <y>461</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/tests/auto/uiloader/baseline/generalpage.ui b/tests/auto/uiloader/baseline/generalpage.ui
deleted file mode 100644
index 9c2babb0ae..0000000000
--- a/tests/auto/uiloader/baseline/generalpage.ui
+++ /dev/null
@@ -1,69 +0,0 @@
-<ui version="4.0" >
- <class>GeneralPage</class>
- <widget class="QWidget" name="GeneralPage" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>417</width>
- <height>243</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Form</string>
- </property>
- <layout class="QGridLayout" >
- <item row="1" column="0" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Namespace:</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QLineEdit" name="namespaceLineEdit" />
- </item>
- <item row="2" column="0" >
- <widget class="QLabel" name="label_2" >
- <property name="text" >
- <string>Virtual Folder:</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QLineEdit" name="folderLineEdit" />
- </item>
- <item row="0" column="1" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="3" column="1" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/gridpanel.ui b/tests/auto/uiloader/baseline/gridpanel.ui
deleted file mode 100644
index adfdd3684a..0000000000
--- a/tests/auto/uiloader/baseline/gridpanel.ui
+++ /dev/null
@@ -1,144 +0,0 @@
-<ui version="4.0" >
- <class>qdesigner_internal::GridPanel</class>
- <widget class="QWidget" name="qdesigner_internal::GridPanel" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>393</width>
- <height>110</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Form</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="leftMargin" >
- <number>0</number>
- </property>
- <property name="topMargin" >
- <number>0</number>
- </property>
- <property name="rightMargin" >
- <number>0</number>
- </property>
- <property name="bottomMargin" >
- <number>0</number>
- </property>
- <item>
- <widget class="QGroupBox" name="m_gridGroupBox" >
- <property name="title" >
- <string>Grid</string>
- </property>
- <layout class="QGridLayout" >
- <item row="0" column="0" >
- <widget class="QCheckBox" name="m_visibleCheckBox" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Visible</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Grid &amp;X</string>
- </property>
- <property name="buddy" >
- <cstring>m_deltaXSpinBox</cstring>
- </property>
- </widget>
- </item>
- <item row="0" column="2" >
- <widget class="QSpinBox" name="m_deltaXSpinBox" >
- <property name="minimum" >
- <number>2</number>
- </property>
- <property name="maximum" >
- <number>100</number>
- </property>
- </widget>
- </item>
- <item row="0" column="3" >
- <widget class="QCheckBox" name="m_snapXCheckBox" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Snap</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <layout class="QHBoxLayout" >
- <item>
- <widget class="QPushButton" name="m_resetButton" >
- <property name="text" >
- <string>Reset</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item row="1" column="1" >
- <widget class="QLabel" name="label_2" >
- <property name="text" >
- <string>Grid &amp;Y</string>
- </property>
- <property name="buddy" >
- <cstring>m_deltaYSpinBox</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="2" >
- <widget class="QSpinBox" name="m_deltaYSpinBox" >
- <property name="minimum" >
- <number>2</number>
- </property>
- <property name="maximum" >
- <number>100</number>
- </property>
- </widget>
- </item>
- <item row="1" column="3" >
- <widget class="QCheckBox" name="m_snapYCheckBox" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text" >
- <string>Snap</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/tests/auto/uiloader/baseline/helpdialog.ui b/tests/auto/uiloader/baseline/helpdialog.ui
deleted file mode 100644
index 133f3d2af4..0000000000
--- a/tests/auto/uiloader/baseline/helpdialog.ui
+++ /dev/null
@@ -1,404 +0,0 @@
-<ui version="4.0" >
- <author></author>
- <comment>*********************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the autotests of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** GNU Lesser General Public License Usage
-** This file may be used under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation and
-** appearing in the file LICENSE.LGPL included in the packaging of this
-** file. Please review the following information to ensure the GNU Lesser
-** General Public License version 2.1 requirements will be met:
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** In addition, as a special exception, Nokia gives you certain additional
-** rights. These rights are described in the Nokia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU General
-** Public License version 3.0 as published by the Free Software Foundation
-** and appearing in the file LICENSE.GPL included in the packaging of this
-** file. Please review the following information to ensure the GNU General
-** Public License version 3.0 requirements will be met:
-** http://www.gnu.org/copyleft/gpl.html.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms and
-** conditions contained in a signed written agreement between you and Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-*********************************************************************</comment>
- <exportmacro></exportmacro>
- <class>HelpDialog</class>
- <widget class="QWidget" name="HelpDialog" >
- <property name="geometry" >
- <rect>
- <x>0</x>
- <y>0</y>
- <width>274</width>
- <height>417</height>
- </rect>
- </property>
- <property name="windowTitle" >
- <string>Help</string>
- </property>
- <property name="whatsThis" >
- <string>&lt;b>Help&lt;/b>&lt;p>Choose the topic you want help on from the contents list, or search the index for keywords.&lt;/p></string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QTabWidget" name="tabWidget" >
- <property name="whatsThis" >
- <string>Displays help topics organized by category, index or bookmarks. Another tab inherits the full text search.</string>
- </property>
- <widget class="QWidget" name="contentPage" >
- <attribute name="title" >
- <string>Con&amp;tents</string>
- </attribute>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>5</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QTreeWidget" name="listContents" >
- <property name="contextMenuPolicy" >
- <enum>Qt::CustomContextMenu</enum>
- </property>
- <property name="whatsThis" >
- <string>&lt;b>Help topics organized by category.&lt;/b>&lt;p>Double-click an item to see the topics in that category. To view a topic, just double-click it.&lt;/p></string>
- </property>
- <property name="rootIsDecorated" >
- <bool>true</bool>
- </property>
- <property name="uniformRowHeights" >
- <bool>true</bool>
- </property>
- <column>
- <property name="text" >
- <string>column 1</string>
- </property>
- </column>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="indexPage" >
- <attribute name="title" >
- <string>&amp;Index</string>
- </attribute>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>5</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QLabel" name="TextLabel1" >
- <property name="text" >
- <string>&amp;Look For:</string>
- </property>
- <property name="buddy" >
- <cstring>editIndex</cstring>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="editIndex" >
- <property name="toolTip" >
- <string>Enter keyword</string>
- </property>
- <property name="whatsThis" >
- <string>&lt;b>Enter a keyword.&lt;/b>&lt;p>The list will select an item that matches the entered string best.&lt;/p></string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QListView" name="listIndex" >
- <property name="contextMenuPolicy" >
- <enum>Qt::CustomContextMenu</enum>
- </property>
- <property name="whatsThis" >
- <string>&lt;b>List of available help topics.&lt;/b>&lt;p>Double-click on an item to open its help page. If more than one is found, you must specify which page you want.&lt;/p></string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="bookmarkPage" >
- <attribute name="title" >
- <string>&amp;Bookmarks</string>
- </attribute>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>5</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QTreeWidget" name="listBookmarks" >
- <property name="contextMenuPolicy" >
- <enum>Qt::CustomContextMenu</enum>
- </property>
- <property name="whatsThis" >
- <string>Displays the list of bookmarks.</string>
- </property>
- <property name="uniformRowHeights" >
- <bool>true</bool>
- </property>
- <column>
- <property name="text" >
- <string>column 1</string>
- </property>
- </column>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="buttonAdd" >
- <property name="toolTip" >
- <string>Add new bookmark</string>
- </property>
- <property name="whatsThis" >
- <string>Add the currently displayed page as a new bookmark.</string>
- </property>
- <property name="text" >
- <string>&amp;New</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="buttonRemove" >
- <property name="toolTip" >
- <string>Delete bookmark</string>
- </property>
- <property name="whatsThis" >
- <string>Delete the selected bookmark.</string>
- </property>
- <property name="text" >
- <string>&amp;Delete</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="searchPage" >
- <attribute name="title" >
- <string>&amp;Search</string>
- </attribute>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>5</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="3" column="0" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="0" column="0" >
- <widget class="QLabel" name="TextLabel1_2" >
- <property name="text" >
- <string>Searching f&amp;or:</string>
- </property>
- <property name="buddy" >
- <cstring>termsEdit</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLineEdit" name="termsEdit" >
- <property name="toolTip" >
- <string>Enter searchword(s).</string>
- </property>
- <property name="whatsThis" >
- <string>&lt;b>Enter search word(s).&lt;/b>&lt;p>Enter here the word(s) you are looking for. The words may contain wildcards (*). For a sequence of words quote them.&lt;/p></string>
- </property>
- </widget>
- </item>
- <item row="5" column="0" >
- <widget class="QListWidget" name="resultBox" >
- <property name="contextMenuPolicy" >
- <enum>Qt::CustomContextMenu</enum>
- </property>
- <property name="whatsThis" >
- <string>&lt;b>Found documents&lt;/b>&lt;p>This list contains all found documents from the last search. The documents are ordered, i.e. the first document has the most matches.&lt;/p></string>
- </property>
- </widget>
- </item>
- <item row="4" column="0" >
- <widget class="QLabel" name="TextLabel2" >
- <property name="text" >
- <string>Found &amp;Documents:</string>
- </property>
- <property name="buddy" >
- <cstring>resultBox</cstring>
- </property>
- </widget>
- </item>
- <item row="2" column="0" >
- <layout class="QHBoxLayout" >
- <property name="margin" >