2011-04-27 10:05:43 +00:00
|
|
|
/*
|
|
|
|
*********************************************************************
|
|
|
|
**
|
2016-01-15 12:36:27 +00:00
|
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** This file is part of the autotests of the Qt Toolkit.
|
|
|
|
**
|
2016-01-15 12:36:27 +00:00
|
|
|
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
|
2012-09-19 12:28:29 +00:00
|
|
|
** Commercial License Usage
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2015-01-28 08:44:43 +00:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
2016-01-15 12:36:27 +00:00
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
2012-09-19 12:28:29 +00:00
|
|
|
**
|
2016-01-15 12:36:27 +00:00
|
|
|
** GNU General Public License Usage
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** $QT_END_LICENSE$
|
|
|
|
**
|
|
|
|
*********************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'newform.ui'
|
|
|
|
**
|
2020-04-24 12:29:29 +00:00
|
|
|
** Created by: Qt User Interface Compiler version 6.0.0
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef NEWFORM_H
|
|
|
|
#define NEWFORM_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QCheckBox>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
|
|
#include <QtWidgets/QFrame>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QTreeWidget>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_NewForm
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QVBoxLayout *vboxLayout;
|
|
|
|
QHBoxLayout *hboxLayout;
|
|
|
|
QTreeWidget *treeWidget;
|
|
|
|
QLabel *lblPreview;
|
|
|
|
QFrame *horizontalLine;
|
|
|
|
QCheckBox *chkShowOnStartup;
|
|
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
|
|
|
|
void setupUi(QDialog *NewForm)
|
|
|
|
{
|
|
|
|
if (NewForm->objectName().isEmpty())
|
2018-07-13 09:02:14 +00:00
|
|
|
NewForm->setObjectName(QString::fromUtf8("NewForm"));
|
2011-04-27 10:05:43 +00:00
|
|
|
NewForm->resize(495, 319);
|
|
|
|
vboxLayout = new QVBoxLayout(NewForm);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
|
|
|
#endif
|
2018-07-13 09:02:14 +00:00
|
|
|
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
hboxLayout = new QHBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
hboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
hboxLayout->setContentsMargins(1, 1, 1, 1);
|
2018-07-13 09:02:14 +00:00
|
|
|
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
treeWidget = new QTreeWidget(NewForm);
|
2018-07-13 09:02:14 +00:00
|
|
|
treeWidget->setObjectName(QString::fromUtf8("treeWidget"));
|
2011-04-27 10:05:43 +00:00
|
|
|
treeWidget->setIconSize(QSize(128, 128));
|
|
|
|
treeWidget->setRootIsDecorated(false);
|
|
|
|
treeWidget->setColumnCount(1);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(treeWidget);
|
|
|
|
|
|
|
|
lblPreview = new QLabel(NewForm);
|
2018-07-13 09:02:14 +00:00
|
|
|
lblPreview->setObjectName(QString::fromUtf8("lblPreview"));
|
2018-12-04 14:48:53 +00:00
|
|
|
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
2011-04-27 10:05:43 +00:00
|
|
|
sizePolicy.setHorizontalStretch(0);
|
|
|
|
sizePolicy.setVerticalStretch(0);
|
|
|
|
sizePolicy.setHeightForWidth(lblPreview->sizePolicy().hasHeightForWidth());
|
|
|
|
lblPreview->setSizePolicy(sizePolicy);
|
|
|
|
lblPreview->setLineWidth(1);
|
|
|
|
lblPreview->setAlignment(Qt::AlignCenter);
|
|
|
|
lblPreview->setMargin(5);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(lblPreview);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addLayout(hboxLayout);
|
|
|
|
|
|
|
|
horizontalLine = new QFrame(NewForm);
|
2018-07-13 09:02:14 +00:00
|
|
|
horizontalLine->setObjectName(QString::fromUtf8("horizontalLine"));
|
2011-04-27 10:05:43 +00:00
|
|
|
horizontalLine->setFrameShape(QFrame::HLine);
|
|
|
|
horizontalLine->setFrameShadow(QFrame::Sunken);
|
|
|
|
|
|
|
|
vboxLayout->addWidget(horizontalLine);
|
|
|
|
|
|
|
|
chkShowOnStartup = new QCheckBox(NewForm);
|
2018-07-13 09:02:14 +00:00
|
|
|
chkShowOnStartup->setObjectName(QString::fromUtf8("chkShowOnStartup"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
vboxLayout->addWidget(chkShowOnStartup);
|
|
|
|
|
|
|
|
buttonBox = new QDialogButtonBox(NewForm);
|
2018-07-13 09:02:14 +00:00
|
|
|
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
vboxLayout->addWidget(buttonBox);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(NewForm);
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(NewForm);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *NewForm)
|
|
|
|
{
|
2018-11-27 11:31:57 +00:00
|
|
|
NewForm->setWindowTitle(QCoreApplication::translate("NewForm", "New Form", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem();
|
2018-11-27 11:31:57 +00:00
|
|
|
___qtreewidgetitem->setText(0, QCoreApplication::translate("NewForm", "0", nullptr));
|
|
|
|
lblPreview->setText(QCoreApplication::translate("NewForm", "Choose a template for a preview", nullptr));
|
|
|
|
chkShowOnStartup->setText(QCoreApplication::translate("NewForm", "Show this Dialog on Startup", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class NewForm: public Ui_NewForm {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // NEWFORM_H
|