| 1 |
/* |
| 2 |
********************************************************************* |
| 3 |
** |
| 4 |
** Copyright (C) 2016 The Qt Company Ltd. |
| 5 |
** Contact: https://www.qt.io/licensing/ |
| 6 |
** |
| 7 |
** This file is part of the autotests of the Qt Toolkit. |
| 8 |
** |
| 9 |
** $QT_BEGIN_LICENSE:GPL-EXCEPT$ |
| 10 |
** Commercial License Usage |
| 11 |
** Licensees holding valid commercial Qt licenses may use this file in |
| 12 |
** accordance with the commercial license agreement provided with the |
| 13 |
** Software or, alternatively, in accordance with the terms contained in |
| 14 |
** a written agreement between you and The Qt Company. For licensing terms |
| 15 |
** and conditions see https://www.qt.io/terms-conditions. For further |
| 16 |
** information use the contact form at https://www.qt.io/contact-us. |
| 17 |
** |
| 18 |
** GNU General Public License Usage |
| 19 |
** Alternatively, this file may be used under the terms of the GNU |
| 20 |
** General Public License version 3 as published by the Free Software |
| 21 |
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT |
| 22 |
** included in the packaging of this file. Please review the following |
| 23 |
** information to ensure the GNU General Public License requirements will |
| 24 |
** be met: https://www.gnu.org/licenses/gpl-3.0.html. |
| 25 |
** |
| 26 |
** $QT_END_LICENSE$ |
| 27 |
** |
| 28 |
********************************************************************* |
| 29 |
*/ |
| 30 |
|
| 31 |
/******************************************************************************** |
| 32 |
** Form generated from reading UI file 'newform.ui' |
| 33 |
** |
| 34 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 35 |
** |
| 36 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 37 |
********************************************************************************/ |
| 38 |
|
| 39 |
#ifndef NEWFORM_H |
| 40 |
#define NEWFORM_H |
| 41 |
|
| 42 |
#include <QtCore/QVariant> |
| 43 |
#include <QtWidgets/QApplication> |
| 44 |
#include <QtWidgets/QCheckBox> |
| 45 |
#include <QtWidgets/QDialog> |
| 46 |
#include <QtWidgets/QDialogButtonBox> |
| 47 |
#include <QtWidgets/QFrame> |
| 48 |
#include <QtWidgets/QHBoxLayout> |
| 49 |
#include <QtWidgets/QHeaderView> |
| 50 |
#include <QtWidgets/QLabel> |
| 51 |
#include <QtWidgets/QTreeWidget> |
| 52 |
#include <QtWidgets/QVBoxLayout> |
| 53 |
|
| 54 |
QT_BEGIN_NAMESPACE |
| 55 |
|
| 56 |
class Ui_NewForm |
| 57 |
{ |
| 58 |
public: |
| 59 |
QVBoxLayout *vboxLayout; |
| 60 |
QHBoxLayout *hboxLayout; |
| 61 |
QTreeWidget *treeWidget; |
| 62 |
QLabel *lblPreview; |
| 63 |
QFrame *horizontalLine; |
| 64 |
QCheckBox *chkShowOnStartup; |
| 65 |
QDialogButtonBox *buttonBox; |
| 66 |
|
| 67 |
void setupUi(QDialog *NewForm) |
| 68 |
{ |
| 69 |
if (NewForm->objectName().isEmpty()) |
| 70 |
NewForm->setObjectName(QString::fromUtf8("NewForm")); |
| 71 |
NewForm->resize(495, 319); |
| 72 |
vboxLayout = new QVBoxLayout(NewForm); |
| 73 |
#ifndef Q_OS_MAC |
| 74 |
vboxLayout->setSpacing(6); |
| 75 |
#endif |
| 76 |
#ifndef Q_OS_MAC |
| 77 |
vboxLayout->setContentsMargins(9, 9, 9, 9); |
| 78 |
#endif |
| 79 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 80 |
hboxLayout = new QHBoxLayout(); |
| 81 |
#ifndef Q_OS_MAC |
| 82 |
hboxLayout->setSpacing(6); |
| 83 |
#endif |
| 84 |
hboxLayout->setContentsMargins(1, 1, 1, 1); |
| 85 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
| 86 |
treeWidget = new QTreeWidget(NewForm); |
| 87 |
treeWidget->setObjectName(QString::fromUtf8("treeWidget")); |
| 88 |
treeWidget->setIconSize(QSize(128, 128)); |
| 89 |
treeWidget->setRootIsDecorated(false); |
| 90 |
treeWidget->setColumnCount(1); |
| 91 |
|
| 92 |
hboxLayout->addWidget(treeWidget); |
| 93 |
|
| 94 |
lblPreview = new QLabel(NewForm); |
| 95 |
lblPreview->setObjectName(QString::fromUtf8("lblPreview")); |
| 96 |
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); |
| 97 |
sizePolicy.setHorizontalStretch(0); |
| 98 |
sizePolicy.setVerticalStretch(0); |
| 99 |
sizePolicy.setHeightForWidth(lblPreview->sizePolicy().hasHeightForWidth()); |
| 100 |
lblPreview->setSizePolicy(sizePolicy); |
| 101 |
lblPreview->setLineWidth(1); |
| 102 |
lblPreview->setAlignment(Qt::AlignCenter); |
| 103 |
lblPreview->setMargin(5); |
| 104 |
|
| 105 |
hboxLayout->addWidget(lblPreview); |
| 106 |
|
| 107 |
|
| 108 |
vboxLayout->addLayout(hboxLayout); |
| 109 |
|
| 110 |
horizontalLine = new QFrame(NewForm); |
| 111 |
horizontalLine->setObjectName(QString::fromUtf8("horizontalLine")); |
| 112 |
horizontalLine->setFrameShape(QFrame::HLine); |
| 113 |
horizontalLine->setFrameShadow(QFrame::Sunken); |
| 114 |
|
| 115 |
vboxLayout->addWidget(horizontalLine); |
| 116 |
|
| 117 |
chkShowOnStartup = new QCheckBox(NewForm); |
| 118 |
chkShowOnStartup->setObjectName(QString::fromUtf8("chkShowOnStartup")); |
| 119 |
|
| 120 |
vboxLayout->addWidget(chkShowOnStartup); |
| 121 |
|
| 122 |
buttonBox = new QDialogButtonBox(NewForm); |
| 123 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
| 124 |
|
| 125 |
vboxLayout->addWidget(buttonBox); |
| 126 |
|
| 127 |
|
| 128 |
retranslateUi(NewForm); |
| 129 |
|
| 130 |
QMetaObject::connectSlotsByName(NewForm); |
| 131 |
} // setupUi |
| 132 |
|
| 133 |
void retranslateUi(QDialog *NewForm) |
| 134 |
{ |
| 135 |
NewForm->setWindowTitle(QCoreApplication::translate("NewForm", "New Form", nullptr)); |
| 136 |
QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem(); |
| 137 |
___qtreewidgetitem->setText(0, QCoreApplication::translate("NewForm", "0", nullptr)); |
| 138 |
lblPreview->setText(QCoreApplication::translate("NewForm", "Choose a template for a preview", nullptr)); |
| 139 |
chkShowOnStartup->setText(QCoreApplication::translate("NewForm", "Show this Dialog on Startup", nullptr)); |
| 140 |
} // retranslateUi |
| 141 |
|
| 142 |
}; |
| 143 |
|
| 144 |
namespace Ui { |
| 145 |
class NewForm: public Ui_NewForm {}; |
| 146 |
} // namespace Ui |
| 147 |
|
| 148 |
QT_END_NAMESPACE |
| 149 |
|
| 150 |
#endif // NEWFORM_H |