|
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 'newactiondialog.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 NEWACTIONDIALOG_H |
|
54 #define NEWACTIONDIALOG_H |
|
55 |
|
56 #include <QtCore/QVariant> |
|
57 #include <QtGui/QAction> |
|
58 #include <QtGui/QApplication> |
|
59 #include <QtGui/QButtonGroup> |
|
60 #include <QtGui/QDialog> |
|
61 #include <QtGui/QDialogButtonBox> |
|
62 #include <QtGui/QFormLayout> |
|
63 #include <QtGui/QFrame> |
|
64 #include <QtGui/QHBoxLayout> |
|
65 #include <QtGui/QHeaderView> |
|
66 #include <QtGui/QLabel> |
|
67 #include <QtGui/QLineEdit> |
|
68 #include <QtGui/QSpacerItem> |
|
69 #include <QtGui/QVBoxLayout> |
|
70 #include "iconselector_p.h" |
|
71 |
|
72 QT_BEGIN_NAMESPACE |
|
73 |
|
74 namespace qdesigner_internal { |
|
75 |
|
76 class Ui_NewActionDialog |
|
77 { |
|
78 public: |
|
79 QVBoxLayout *verticalLayout; |
|
80 QFormLayout *formLayout; |
|
81 QLabel *label; |
|
82 QLineEdit *editActionText; |
|
83 QLabel *label_3; |
|
84 QLineEdit *editObjectName; |
|
85 QLabel *label_2; |
|
86 QHBoxLayout *horizontalLayout; |
|
87 qdesigner_internal::IconSelector *iconSelector; |
|
88 QSpacerItem *spacerItem; |
|
89 QSpacerItem *verticalSpacer; |
|
90 QFrame *line; |
|
91 QDialogButtonBox *buttonBox; |
|
92 |
|
93 void setupUi(QDialog *qdesigner_internal__NewActionDialog) |
|
94 { |
|
95 if (qdesigner_internal__NewActionDialog->objectName().isEmpty()) |
|
96 qdesigner_internal__NewActionDialog->setObjectName(QString::fromUtf8("qdesigner_internal__NewActionDialog")); |
|
97 qdesigner_internal__NewActionDialog->resize(363, 156); |
|
98 verticalLayout = new QVBoxLayout(qdesigner_internal__NewActionDialog); |
|
99 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
|
100 formLayout = new QFormLayout(); |
|
101 formLayout->setObjectName(QString::fromUtf8("formLayout")); |
|
102 label = new QLabel(qdesigner_internal__NewActionDialog); |
|
103 label->setObjectName(QString::fromUtf8("label")); |
|
104 |
|
105 formLayout->setWidget(0, QFormLayout::LabelRole, label); |
|
106 |
|
107 editActionText = new QLineEdit(qdesigner_internal__NewActionDialog); |
|
108 editActionText->setObjectName(QString::fromUtf8("editActionText")); |
|
109 editActionText->setMinimumSize(QSize(255, 0)); |
|
110 |
|
111 formLayout->setWidget(0, QFormLayout::FieldRole, editActionText); |
|
112 |
|
113 label_3 = new QLabel(qdesigner_internal__NewActionDialog); |
|
114 label_3->setObjectName(QString::fromUtf8("label_3")); |
|
115 |
|
116 formLayout->setWidget(1, QFormLayout::LabelRole, label_3); |
|
117 |
|
118 editObjectName = new QLineEdit(qdesigner_internal__NewActionDialog); |
|
119 editObjectName->setObjectName(QString::fromUtf8("editObjectName")); |
|
120 |
|
121 formLayout->setWidget(1, QFormLayout::FieldRole, editObjectName); |
|
122 |
|
123 label_2 = new QLabel(qdesigner_internal__NewActionDialog); |
|
124 label_2->setObjectName(QString::fromUtf8("label_2")); |
|
125 |
|
126 formLayout->setWidget(2, QFormLayout::LabelRole, label_2); |
|
127 |
|
128 horizontalLayout = new QHBoxLayout(); |
|
129 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); |
|
130 iconSelector = new qdesigner_internal::IconSelector(qdesigner_internal__NewActionDialog); |
|
131 iconSelector->setObjectName(QString::fromUtf8("iconSelector")); |
|
132 |
|
133 horizontalLayout->addWidget(iconSelector); |
|
134 |
|
135 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
136 |
|
137 horizontalLayout->addItem(spacerItem); |
|
138 |
|
139 |
|
140 formLayout->setLayout(2, QFormLayout::FieldRole, horizontalLayout); |
|
141 |
|
142 |
|
143 verticalLayout->addLayout(formLayout); |
|
144 |
|
145 verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
146 |
|
147 verticalLayout->addItem(verticalSpacer); |
|
148 |
|
149 line = new QFrame(qdesigner_internal__NewActionDialog); |
|
150 line->setObjectName(QString::fromUtf8("line")); |
|
151 line->setFrameShape(QFrame::HLine); |
|
152 line->setFrameShadow(QFrame::Sunken); |
|
153 |
|
154 verticalLayout->addWidget(line); |
|
155 |
|
156 buttonBox = new QDialogButtonBox(qdesigner_internal__NewActionDialog); |
|
157 buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
|
158 buttonBox->setOrientation(Qt::Horizontal); |
|
159 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
|
160 |
|
161 verticalLayout->addWidget(buttonBox); |
|
162 |
|
163 #ifndef QT_NO_SHORTCUT |
|
164 label->setBuddy(editActionText); |
|
165 label_3->setBuddy(editObjectName); |
|
166 label_2->setBuddy(iconSelector); |
|
167 #endif // QT_NO_SHORTCUT |
|
168 QWidget::setTabOrder(editActionText, editObjectName); |
|
169 |
|
170 retranslateUi(qdesigner_internal__NewActionDialog); |
|
171 QObject::connect(buttonBox, SIGNAL(accepted()), qdesigner_internal__NewActionDialog, SLOT(accept())); |
|
172 QObject::connect(buttonBox, SIGNAL(rejected()), qdesigner_internal__NewActionDialog, SLOT(reject())); |
|
173 |
|
174 QMetaObject::connectSlotsByName(qdesigner_internal__NewActionDialog); |
|
175 } // setupUi |
|
176 |
|
177 void retranslateUi(QDialog *qdesigner_internal__NewActionDialog) |
|
178 { |
|
179 qdesigner_internal__NewActionDialog->setWindowTitle(QApplication::translate("qdesigner_internal::NewActionDialog", "New Action...", 0, QApplication::UnicodeUTF8)); |
|
180 label->setText(QApplication::translate("qdesigner_internal::NewActionDialog", "&Text:", 0, QApplication::UnicodeUTF8)); |
|
181 label_3->setText(QApplication::translate("qdesigner_internal::NewActionDialog", "Object &name:", 0, QApplication::UnicodeUTF8)); |
|
182 label_2->setText(QApplication::translate("qdesigner_internal::NewActionDialog", "&Icon:", 0, QApplication::UnicodeUTF8)); |
|
183 } // retranslateUi |
|
184 |
|
185 }; |
|
186 |
|
187 } // namespace qdesigner_internal |
|
188 |
|
189 namespace qdesigner_internal { |
|
190 namespace Ui { |
|
191 class NewActionDialog: public Ui_NewActionDialog {}; |
|
192 } // namespace Ui |
|
193 } // namespace qdesigner_internal |
|
194 |
|
195 QT_END_NAMESPACE |
|
196 |
|
197 #endif // NEWACTIONDIALOG_H |