|
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 'saveformastemplate.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 SAVEFORMASTEMPLATE_H |
|
54 #define SAVEFORMASTEMPLATE_H |
|
55 |
|
56 #include <QtCore/QVariant> |
|
57 #include <QtGui/QAction> |
|
58 #include <QtGui/QApplication> |
|
59 #include <QtGui/QButtonGroup> |
|
60 #include <QtGui/QComboBox> |
|
61 #include <QtGui/QDialog> |
|
62 #include <QtGui/QDialogButtonBox> |
|
63 #include <QtGui/QFormLayout> |
|
64 #include <QtGui/QFrame> |
|
65 #include <QtGui/QHeaderView> |
|
66 #include <QtGui/QLabel> |
|
67 #include <QtGui/QLineEdit> |
|
68 #include <QtGui/QVBoxLayout> |
|
69 |
|
70 QT_BEGIN_NAMESPACE |
|
71 |
|
72 class Ui_SaveFormAsTemplate |
|
73 { |
|
74 public: |
|
75 QVBoxLayout *vboxLayout; |
|
76 QFormLayout *formLayout; |
|
77 QLabel *label; |
|
78 QLineEdit *templateNameEdit; |
|
79 QLabel *label_2; |
|
80 QComboBox *categoryCombo; |
|
81 QFrame *horizontalLine; |
|
82 QDialogButtonBox *buttonBox; |
|
83 |
|
84 void setupUi(QDialog *SaveFormAsTemplate) |
|
85 { |
|
86 if (SaveFormAsTemplate->objectName().isEmpty()) |
|
87 SaveFormAsTemplate->setObjectName(QString::fromUtf8("SaveFormAsTemplate")); |
|
88 vboxLayout = new QVBoxLayout(SaveFormAsTemplate); |
|
89 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
90 formLayout = new QFormLayout(); |
|
91 formLayout->setObjectName(QString::fromUtf8("formLayout")); |
|
92 label = new QLabel(SaveFormAsTemplate); |
|
93 label->setObjectName(QString::fromUtf8("label")); |
|
94 label->setFrameShape(QFrame::NoFrame); |
|
95 label->setFrameShadow(QFrame::Plain); |
|
96 label->setTextFormat(Qt::AutoText); |
|
97 |
|
98 formLayout->setWidget(0, QFormLayout::LabelRole, label); |
|
99 |
|
100 templateNameEdit = new QLineEdit(SaveFormAsTemplate); |
|
101 templateNameEdit->setObjectName(QString::fromUtf8("templateNameEdit")); |
|
102 templateNameEdit->setMinimumSize(QSize(222, 0)); |
|
103 templateNameEdit->setEchoMode(QLineEdit::Normal); |
|
104 |
|
105 formLayout->setWidget(0, QFormLayout::FieldRole, templateNameEdit); |
|
106 |
|
107 label_2 = new QLabel(SaveFormAsTemplate); |
|
108 label_2->setObjectName(QString::fromUtf8("label_2")); |
|
109 label_2->setFrameShape(QFrame::NoFrame); |
|
110 label_2->setFrameShadow(QFrame::Plain); |
|
111 label_2->setTextFormat(Qt::AutoText); |
|
112 |
|
113 formLayout->setWidget(1, QFormLayout::LabelRole, label_2); |
|
114 |
|
115 categoryCombo = new QComboBox(SaveFormAsTemplate); |
|
116 categoryCombo->setObjectName(QString::fromUtf8("categoryCombo")); |
|
117 |
|
118 formLayout->setWidget(1, QFormLayout::FieldRole, categoryCombo); |
|
119 |
|
120 |
|
121 vboxLayout->addLayout(formLayout); |
|
122 |
|
123 horizontalLine = new QFrame(SaveFormAsTemplate); |
|
124 horizontalLine->setObjectName(QString::fromUtf8("horizontalLine")); |
|
125 horizontalLine->setFrameShape(QFrame::HLine); |
|
126 horizontalLine->setFrameShadow(QFrame::Sunken); |
|
127 |
|
128 vboxLayout->addWidget(horizontalLine); |
|
129 |
|
130 buttonBox = new QDialogButtonBox(SaveFormAsTemplate); |
|
131 buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
|
132 buttonBox->setOrientation(Qt::Horizontal); |
|
133 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
|
134 |
|
135 vboxLayout->addWidget(buttonBox); |
|
136 |
|
137 #ifndef QT_NO_SHORTCUT |
|
138 label->setBuddy(templateNameEdit); |
|
139 label_2->setBuddy(categoryCombo); |
|
140 #endif // QT_NO_SHORTCUT |
|
141 |
|
142 retranslateUi(SaveFormAsTemplate); |
|
143 QObject::connect(buttonBox, SIGNAL(accepted()), SaveFormAsTemplate, SLOT(accept())); |
|
144 QObject::connect(buttonBox, SIGNAL(rejected()), SaveFormAsTemplate, SLOT(reject())); |
|
145 |
|
146 QMetaObject::connectSlotsByName(SaveFormAsTemplate); |
|
147 } // setupUi |
|
148 |
|
149 void retranslateUi(QDialog *SaveFormAsTemplate) |
|
150 { |
|
151 SaveFormAsTemplate->setWindowTitle(QApplication::translate("SaveFormAsTemplate", "Save Form As Template", 0, QApplication::UnicodeUTF8)); |
|
152 label->setText(QApplication::translate("SaveFormAsTemplate", "&Name:", 0, QApplication::UnicodeUTF8)); |
|
153 templateNameEdit->setText(QString()); |
|
154 label_2->setText(QApplication::translate("SaveFormAsTemplate", "&Category:", 0, QApplication::UnicodeUTF8)); |
|
155 } // retranslateUi |
|
156 |
|
157 }; |
|
158 |
|
159 namespace Ui { |
|
160 class SaveFormAsTemplate: public Ui_SaveFormAsTemplate {}; |
|
161 } // namespace Ui |
|
162 |
|
163 QT_END_NAMESPACE |
|
164 |
|
165 #endif // SAVEFORMASTEMPLATE_H |