mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-30 07:46:51 +08:00
127 lines
4.3 KiB
C
127 lines
4.3 KiB
C
|
/*
|
||
|
|
||
|
* Copyright (C) 2016 The Qt Company Ltd.
|
||
|
* SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||
|
|
||
|
*/
|
||
|
|
||
|
/********************************************************************************
|
||
|
** Form generated from reading UI file 'saveformastemplate.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 SAVEFORMASTEMPLATE_H
|
||
|
#define SAVEFORMASTEMPLATE_H
|
||
|
|
||
|
#include <QtCore/QVariant>
|
||
|
#include <QtWidgets/QAbstractButton>
|
||
|
#include <QtWidgets/QApplication>
|
||
|
#include <QtWidgets/QComboBox>
|
||
|
#include <QtWidgets/QDialog>
|
||
|
#include <QtWidgets/QDialogButtonBox>
|
||
|
#include <QtWidgets/QFormLayout>
|
||
|
#include <QtWidgets/QFrame>
|
||
|
#include <QtWidgets/QLabel>
|
||
|
#include <QtWidgets/QLineEdit>
|
||
|
#include <QtWidgets/QVBoxLayout>
|
||
|
|
||
|
QT_BEGIN_NAMESPACE
|
||
|
|
||
|
class Ui_SaveFormAsTemplate
|
||
|
{
|
||
|
public:
|
||
|
QVBoxLayout *vboxLayout;
|
||
|
QFormLayout *formLayout;
|
||
|
QLabel *label;
|
||
|
QLineEdit *templateNameEdit;
|
||
|
QLabel *label_2;
|
||
|
QComboBox *categoryCombo;
|
||
|
QFrame *horizontalLine;
|
||
|
QDialogButtonBox *buttonBox;
|
||
|
|
||
|
void setupUi(QDialog *SaveFormAsTemplate)
|
||
|
{
|
||
|
if (SaveFormAsTemplate->objectName().isEmpty())
|
||
|
SaveFormAsTemplate->setObjectName("SaveFormAsTemplate");
|
||
|
vboxLayout = new QVBoxLayout(SaveFormAsTemplate);
|
||
|
vboxLayout->setObjectName("vboxLayout");
|
||
|
formLayout = new QFormLayout();
|
||
|
formLayout->setObjectName("formLayout");
|
||
|
label = new QLabel(SaveFormAsTemplate);
|
||
|
label->setObjectName("label");
|
||
|
label->setFrameShape(QFrame::NoFrame);
|
||
|
label->setFrameShadow(QFrame::Plain);
|
||
|
label->setTextFormat(Qt::AutoText);
|
||
|
|
||
|
formLayout->setWidget(0, QFormLayout::LabelRole, label);
|
||
|
|
||
|
templateNameEdit = new QLineEdit(SaveFormAsTemplate);
|
||
|
templateNameEdit->setObjectName("templateNameEdit");
|
||
|
templateNameEdit->setMinimumSize(QSize(222, 0));
|
||
|
templateNameEdit->setEchoMode(QLineEdit::Normal);
|
||
|
|
||
|
formLayout->setWidget(0, QFormLayout::FieldRole, templateNameEdit);
|
||
|
|
||
|
label_2 = new QLabel(SaveFormAsTemplate);
|
||
|
label_2->setObjectName("label_2");
|
||
|
label_2->setFrameShape(QFrame::NoFrame);
|
||
|
label_2->setFrameShadow(QFrame::Plain);
|
||
|
label_2->setTextFormat(Qt::AutoText);
|
||
|
|
||
|
formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
|
||
|
|
||
|
categoryCombo = new QComboBox(SaveFormAsTemplate);
|
||
|
categoryCombo->setObjectName("categoryCombo");
|
||
|
|
||
|
formLayout->setWidget(1, QFormLayout::FieldRole, categoryCombo);
|
||
|
|
||
|
|
||
|
vboxLayout->addLayout(formLayout);
|
||
|
|
||
|
horizontalLine = new QFrame(SaveFormAsTemplate);
|
||
|
horizontalLine->setObjectName("horizontalLine");
|
||
|
horizontalLine->setFrameShape(QFrame::HLine);
|
||
|
horizontalLine->setFrameShadow(QFrame::Sunken);
|
||
|
|
||
|
vboxLayout->addWidget(horizontalLine);
|
||
|
|
||
|
buttonBox = new QDialogButtonBox(SaveFormAsTemplate);
|
||
|
buttonBox->setObjectName("buttonBox");
|
||
|
buttonBox->setOrientation(Qt::Horizontal);
|
||
|
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
||
|
|
||
|
vboxLayout->addWidget(buttonBox);
|
||
|
|
||
|
#if QT_CONFIG(shortcut)
|
||
|
label->setBuddy(templateNameEdit);
|
||
|
label_2->setBuddy(categoryCombo);
|
||
|
#endif // QT_CONFIG(shortcut)
|
||
|
|
||
|
retranslateUi(SaveFormAsTemplate);
|
||
|
QObject::connect(buttonBox, &QDialogButtonBox::accepted, SaveFormAsTemplate, qOverload<>(&QDialog::accept));
|
||
|
QObject::connect(buttonBox, &QDialogButtonBox::rejected, SaveFormAsTemplate, qOverload<>(&QDialog::reject));
|
||
|
|
||
|
QMetaObject::connectSlotsByName(SaveFormAsTemplate);
|
||
|
} // setupUi
|
||
|
|
||
|
void retranslateUi(QDialog *SaveFormAsTemplate)
|
||
|
{
|
||
|
SaveFormAsTemplate->setWindowTitle(QCoreApplication::translate("SaveFormAsTemplate", "Save Form As Template", nullptr));
|
||
|
label->setText(QCoreApplication::translate("SaveFormAsTemplate", "&Name:", nullptr));
|
||
|
templateNameEdit->setText(QString());
|
||
|
label_2->setText(QCoreApplication::translate("SaveFormAsTemplate", "&Category:", nullptr));
|
||
|
} // retranslateUi
|
||
|
|
||
|
};
|
||
|
|
||
|
namespace Ui {
|
||
|
class SaveFormAsTemplate: public Ui_SaveFormAsTemplate {};
|
||
|
} // namespace Ui
|
||
|
|
||
|
QT_END_NAMESPACE
|
||
|
|
||
|
#endif // SAVEFORMASTEMPLATE_H
|