0
|
1 |
/*
|
|
2 |
*********************************************************************
|
|
3 |
**
|
|
4 |
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
5 |
** All rights reserved.
|
|
6 |
** Contact: Nokia Corporation (qt-info@nokia.com)
|
|
7 |
**
|
|
8 |
** This file is part of the autotests of the Qt Toolkit.
|
|
9 |
**
|
|
10 |
** $QT_BEGIN_LICENSE:LGPL$
|
|
11 |
** No Commercial Usage
|
|
12 |
** This file contains pre-release code and may not be distributed.
|
|
13 |
** You may use this file in accordance with the terms and conditions
|
|
14 |
** contained in the Technology Preview License Agreement accompanying
|
|
15 |
** this package.
|
|
16 |
**
|
|
17 |
** GNU Lesser General Public License Usage
|
|
18 |
** Alternatively, this file may be used under the terms of the GNU Lesser
|
|
19 |
** General Public License version 2.1 as published by the Free Software
|
|
20 |
** Foundation and appearing in the file LICENSE.LGPL included in the
|
|
21 |
** packaging of this file. Please review the following information to
|
|
22 |
** ensure the GNU Lesser General Public License version 2.1 requirements
|
|
23 |
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
24 |
**
|
|
25 |
** In addition, as a special exception, Nokia gives you certain additional
|
|
26 |
** rights. These rights are described in the Nokia Qt LGPL Exception
|
|
27 |
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
28 |
**
|
|
29 |
** If you have questions regarding the use of this file, please contact
|
|
30 |
** Nokia at qt-info@nokia.com.
|
|
31 |
**
|
|
32 |
**
|
|
33 |
**
|
|
34 |
**
|
|
35 |
**
|
|
36 |
**
|
|
37 |
**
|
|
38 |
**
|
|
39 |
** $QT_END_LICENSE$
|
|
40 |
**
|
|
41 |
*********************************************************************
|
|
42 |
*/
|
|
43 |
|
|
44 |
/********************************************************************************
|
|
45 |
** Form generated from reading UI file 'newform.ui'
|
|
46 |
**
|
|
47 |
** Created: Fri Sep 4 10:17:14 2009
|
|
48 |
** by: Qt User Interface Compiler version 4.6.0
|
|
49 |
**
|
|
50 |
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
51 |
********************************************************************************/
|
|
52 |
|
|
53 |
#ifndef NEWFORM_H
|
|
54 |
#define NEWFORM_H
|
|
55 |
|
|
56 |
#include <QtCore/QVariant>
|
|
57 |
#include <QtGui/QAction>
|
|
58 |
#include <QtGui/QApplication>
|
|
59 |
#include <QtGui/QButtonGroup>
|
|
60 |
#include <QtGui/QCheckBox>
|
|
61 |
#include <QtGui/QDialog>
|
|
62 |
#include <QtGui/QDialogButtonBox>
|
|
63 |
#include <QtGui/QFrame>
|
|
64 |
#include <QtGui/QHBoxLayout>
|
|
65 |
#include <QtGui/QHeaderView>
|
|
66 |
#include <QtGui/QLabel>
|
|
67 |
#include <QtGui/QTreeWidget>
|
|
68 |
#include <QtGui/QVBoxLayout>
|
|
69 |
|
|
70 |
QT_BEGIN_NAMESPACE
|
|
71 |
|
|
72 |
class Ui_NewForm
|
|
73 |
{
|
|
74 |
public:
|
|
75 |
QVBoxLayout *vboxLayout;
|
|
76 |
QHBoxLayout *hboxLayout;
|
|
77 |
QTreeWidget *treeWidget;
|
|
78 |
QLabel *lblPreview;
|
|
79 |
QFrame *horizontalLine;
|
|
80 |
QCheckBox *chkShowOnStartup;
|
|
81 |
QDialogButtonBox *buttonBox;
|
|
82 |
|
|
83 |
void setupUi(QDialog *NewForm)
|
|
84 |
{
|
|
85 |
if (NewForm->objectName().isEmpty())
|
|
86 |
NewForm->setObjectName(QString::fromUtf8("NewForm"));
|
|
87 |
NewForm->resize(495, 319);
|
|
88 |
vboxLayout = new QVBoxLayout(NewForm);
|
|
89 |
#ifndef Q_OS_MAC
|
|
90 |
vboxLayout->setSpacing(6);
|
|
91 |
#endif
|
|
92 |
#ifndef Q_OS_MAC
|
|
93 |
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
|
94 |
#endif
|
|
95 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
|
96 |
hboxLayout = new QHBoxLayout();
|
|
97 |
#ifndef Q_OS_MAC
|
|
98 |
hboxLayout->setSpacing(6);
|
|
99 |
#endif
|
|
100 |
hboxLayout->setContentsMargins(1, 1, 1, 1);
|
|
101 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
|
102 |
treeWidget = new QTreeWidget(NewForm);
|
|
103 |
treeWidget->setObjectName(QString::fromUtf8("treeWidget"));
|
|
104 |
treeWidget->setIconSize(QSize(128, 128));
|
|
105 |
treeWidget->setRootIsDecorated(false);
|
|
106 |
treeWidget->setColumnCount(1);
|
|
107 |
|
|
108 |
hboxLayout->addWidget(treeWidget);
|
|
109 |
|
|
110 |
lblPreview = new QLabel(NewForm);
|
|
111 |
lblPreview->setObjectName(QString::fromUtf8("lblPreview"));
|
|
112 |
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(5));
|
|
113 |
sizePolicy.setHorizontalStretch(0);
|
|
114 |
sizePolicy.setVerticalStretch(0);
|
|
115 |
sizePolicy.setHeightForWidth(lblPreview->sizePolicy().hasHeightForWidth());
|
|
116 |
lblPreview->setSizePolicy(sizePolicy);
|
|
117 |
lblPreview->setLineWidth(1);
|
|
118 |
lblPreview->setAlignment(Qt::AlignCenter);
|
|
119 |
lblPreview->setMargin(5);
|
|
120 |
|
|
121 |
hboxLayout->addWidget(lblPreview);
|
|
122 |
|
|
123 |
|
|
124 |
vboxLayout->addLayout(hboxLayout);
|
|
125 |
|
|
126 |
horizontalLine = new QFrame(NewForm);
|
|
127 |
horizontalLine->setObjectName(QString::fromUtf8("horizontalLine"));
|
|
128 |
horizontalLine->setFrameShape(QFrame::HLine);
|
|
129 |
horizontalLine->setFrameShadow(QFrame::Sunken);
|
|
130 |
|
|
131 |
vboxLayout->addWidget(horizontalLine);
|
|
132 |
|
|
133 |
chkShowOnStartup = new QCheckBox(NewForm);
|
|
134 |
chkShowOnStartup->setObjectName(QString::fromUtf8("chkShowOnStartup"));
|
|
135 |
|
|
136 |
vboxLayout->addWidget(chkShowOnStartup);
|
|
137 |
|
|
138 |
buttonBox = new QDialogButtonBox(NewForm);
|
|
139 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
|
140 |
|
|
141 |
vboxLayout->addWidget(buttonBox);
|
|
142 |
|
|
143 |
|
|
144 |
retranslateUi(NewForm);
|
|
145 |
|
|
146 |
QMetaObject::connectSlotsByName(NewForm);
|
|
147 |
} // setupUi
|
|
148 |
|
|
149 |
void retranslateUi(QDialog *NewForm)
|
|
150 |
{
|
|
151 |
NewForm->setWindowTitle(QApplication::translate("NewForm", "New Form", 0, QApplication::UnicodeUTF8));
|
|
152 |
QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem();
|
|
153 |
___qtreewidgetitem->setText(0, QApplication::translate("NewForm", "0", 0, QApplication::UnicodeUTF8));
|
|
154 |
lblPreview->setText(QApplication::translate("NewForm", "Choose a template for a preview", 0, QApplication::UnicodeUTF8));
|
|
155 |
chkShowOnStartup->setText(QApplication::translate("NewForm", "Show this Dialog on Startup", 0, QApplication::UnicodeUTF8));
|
|
156 |
} // retranslateUi
|
|
157 |
|
|
158 |
};
|
|
159 |
|
|
160 |
namespace Ui {
|
|
161 |
class NewForm: public Ui_NewForm {};
|
|
162 |
} // namespace Ui
|
|
163 |
|
|
164 |
QT_END_NAMESPACE
|
|
165 |
|
|
166 |
#endif // NEWFORM_H
|