diff options
Diffstat (limited to 'tests/auto/tools/uic/baseline')
-rw-r--r-- | tests/auto/tools/uic/baseline/Widget.ui | 2 | ||||
-rw-r--r-- | tests/auto/tools/uic/baseline/Widget.ui.h | 5 | ||||
-rw-r--r-- | tests/auto/tools/uic/baseline/qtbug126265.ui | 51 | ||||
-rw-r--r-- | tests/auto/tools/uic/baseline/qtbug126265.ui.h | 57 |
4 files changed, 115 insertions, 0 deletions
diff --git a/tests/auto/tools/uic/baseline/Widget.ui b/tests/auto/tools/uic/baseline/Widget.ui index ab94733dcc..285d95eb88 100644 --- a/tests/auto/tools/uic/baseline/Widget.ui +++ b/tests/auto/tools/uic/baseline/Widget.ui @@ -1,4 +1,6 @@ <ui version="4.0" > + <legal>Copyright (C) 2016 The Qt Company Ltd. +SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only</legal> <class>Form</class> <widget class="QWidget" name="Form" > <property name="geometry" > diff --git a/tests/auto/tools/uic/baseline/Widget.ui.h b/tests/auto/tools/uic/baseline/Widget.ui.h index 4d4846e6c5..a7fa74c447 100644 --- a/tests/auto/tools/uic/baseline/Widget.ui.h +++ b/tests/auto/tools/uic/baseline/Widget.ui.h @@ -1,3 +1,8 @@ +/* +Copyright (C) 2016 The Qt Company Ltd. +SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +*/ + /******************************************************************************** ** Form generated from reading UI file 'Widget.ui' ** diff --git a/tests/auto/tools/uic/baseline/qtbug126265.ui b/tests/auto/tools/uic/baseline/qtbug126265.ui new file mode 100644 index 0000000000..ba89566082 --- /dev/null +++ b/tests/auto/tools/uic/baseline/qtbug126265.ui @@ -0,0 +1,51 @@ +<?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> + <widget class="QPushButton" name="pushButton"> + <property name="geometry"> + <rect> + <x>70</x> + <y>40</y> + <width>91</width> + <height>29</height> + </rect> + </property> + <property name="text("Hello world!"); injected code;//"> + <enum>Qt::FocusPolicy::WheelFocus</enum> + </property> + <property name="text"> + <string>PushButton</string> + </property> + </widget> + <widget class="QPushButton" name="pushButton_2"> + <property name="geometry"> + <rect> + <x>70</x> + <y>110</y> + <width>91</width> + <height>29</height> + </rect> + </property> + <property name="focusPolicy"> + <enum>Qt::FocusPolicy::WheelFocus); injected code;//</enum> + </property> + <property name="text"> + <string>PushButton</string> + </property> + </widget> + </widget> + <resources/> + <connections/> +</ui> diff --git a/tests/auto/tools/uic/baseline/qtbug126265.ui.h b/tests/auto/tools/uic/baseline/qtbug126265.ui.h new file mode 100644 index 0000000000..3ff99db9bc --- /dev/null +++ b/tests/auto/tools/uic/baseline/qtbug126265.ui.h @@ -0,0 +1,57 @@ +/******************************************************************************** +** Form generated from reading UI file 'qtbug126265.ui' +** +** Created by: Qt User Interface Compiler version 6.0.0 +** +** WARNING! All changes made in this file will be lost when recompiling UI file! +********************************************************************************/ + +#ifndef QTBUG126265_H +#define QTBUG126265_H + +#include <QtCore/QVariant> +#include <QtWidgets/QApplication> +#include <QtWidgets/QPushButton> +#include <QtWidgets/QWidget> + +QT_BEGIN_NAMESPACE + +class Ui_Form +{ +public: + QPushButton *pushButton; + QPushButton *pushButton_2; + + void setupUi(QWidget *Form) + { + if (Form->objectName().isEmpty()) + Form->setObjectName("Form"); + Form->resize(400, 300); + pushButton = new QPushButton(Form); + pushButton->setObjectName("pushButton"); + pushButton->setGeometry(QRect(70, 40, 91, 29)); + pushButton_2 = new QPushButton(Form); + pushButton_2->setObjectName("pushButton_2"); + pushButton_2->setGeometry(QRect(70, 110, 91, 29)); + + retranslateUi(Form); + + QMetaObject::connectSlotsByName(Form); + } // setupUi + + void retranslateUi(QWidget *Form) + { + Form->setWindowTitle(QCoreApplication::translate("Form", "Form", nullptr)); + pushButton->setText(QCoreApplication::translate("Form", "PushButton", nullptr)); + pushButton_2->setText(QCoreApplication::translate("Form", "PushButton", nullptr)); + } // retranslateUi + +}; + +namespace Ui { + class Form: public Ui_Form {}; +} // namespace Ui + +QT_END_NAMESPACE + +#endif // QTBUG126265_H |