migrate: Qt5/C++11 app to Qt6/C++23 with tests and modern Qt APIs
qt-migration-copilot-demo/pipeline/head There was a failure building this commit
qt-migration-copilot-demo/pipeline/head There was a failure building this commit
Entire-Checkpoint: c1ee98dc34a3
This commit is contained in:
78 files changed
+22627
-1
No files matched your search
@@ -0,0 +1,107 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'MainWindow.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 6.10.2
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_MAINWINDOW_H
|
||||
#define UI_MAINWINDOW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_MainWindow
|
||||
{
|
||||
public:
|
||||
QWidget *centralwidget;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QLabel *label;
|
||||
QLineEdit *lineEdit;
|
||||
QLabel *iconLabel;
|
||||
QHBoxLayout *buttonLayout;
|
||||
QPushButton *validateButton;
|
||||
QPushButton *screenButton;
|
||||
QLabel *resultLabel;
|
||||
|
||||
void setupUi(QMainWindow *MainWindow)
|
||||
{
|
||||
if (MainWindow->objectName().isEmpty())
|
||||
MainWindow->setObjectName("MainWindow");
|
||||
MainWindow->resize(420, 240);
|
||||
centralwidget = new QWidget(MainWindow);
|
||||
centralwidget->setObjectName("centralwidget");
|
||||
verticalLayout = new QVBoxLayout(centralwidget);
|
||||
verticalLayout->setObjectName("verticalLayout");
|
||||
label = new QLabel(centralwidget);
|
||||
label->setObjectName("label");
|
||||
|
||||
verticalLayout->addWidget(label);
|
||||
|
||||
lineEdit = new QLineEdit(centralwidget);
|
||||
lineEdit->setObjectName("lineEdit");
|
||||
|
||||
verticalLayout->addWidget(lineEdit);
|
||||
|
||||
iconLabel = new QLabel(centralwidget);
|
||||
iconLabel->setObjectName("iconLabel");
|
||||
|
||||
verticalLayout->addWidget(iconLabel);
|
||||
|
||||
buttonLayout = new QHBoxLayout();
|
||||
buttonLayout->setObjectName("buttonLayout");
|
||||
validateButton = new QPushButton(centralwidget);
|
||||
validateButton->setObjectName("validateButton");
|
||||
|
||||
buttonLayout->addWidget(validateButton);
|
||||
|
||||
screenButton = new QPushButton(centralwidget);
|
||||
screenButton->setObjectName("screenButton");
|
||||
|
||||
buttonLayout->addWidget(screenButton);
|
||||
|
||||
|
||||
verticalLayout->addLayout(buttonLayout);
|
||||
|
||||
resultLabel = new QLabel(centralwidget);
|
||||
resultLabel->setObjectName("resultLabel");
|
||||
|
||||
verticalLayout->addWidget(resultLabel);
|
||||
|
||||
MainWindow->setCentralWidget(centralwidget);
|
||||
|
||||
retranslateUi(MainWindow);
|
||||
|
||||
QMetaObject::connectSlotsByName(MainWindow);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QMainWindow *MainWindow)
|
||||
{
|
||||
MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "Qt5 Legacy App", nullptr));
|
||||
label->setText(QCoreApplication::translate("MainWindow", "Initial text", nullptr));
|
||||
lineEdit->setPlaceholderText(QCoreApplication::translate("MainWindow", "Enter value like Test123", nullptr));
|
||||
iconLabel->setText(QString());
|
||||
validateButton->setText(QCoreApplication::translate("MainWindow", "Validate", nullptr));
|
||||
screenButton->setText(QCoreApplication::translate("MainWindow", "Screen Info", nullptr));
|
||||
resultLabel->setText(QCoreApplication::translate("MainWindow", "Result appears here", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow: public Ui_MainWindow {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_MAINWINDOW_H
|
||||
Reference in new issue
Block a user