author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Thu, 08 Apr 2010 14:19:33 +0300 | |
branch | RCL_3 |
changeset 8 | 3f74d0d4af4c |
parent 4 | 3b1da2848fc7 |
permissions | -rw-r--r-- |
0 | 1 |
/* |
2 |
********************************************************************* |
|
3 |
** |
|
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
4 |
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
0 | 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 'tabbedbrowser.ui' |
|
46 |
** |
|
47 |
** Created: Fri Sep 4 10:17:15 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 TABBEDBROWSER_H |
|
54 |
#define TABBEDBROWSER_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/QFrame> |
|
62 |
#include <QtGui/QGridLayout> |
|
63 |
#include <QtGui/QHBoxLayout> |
|
64 |
#include <QtGui/QHeaderView> |
|
65 |
#include <QtGui/QLabel> |
|
66 |
#include <QtGui/QLineEdit> |
|
67 |
#include <QtGui/QSpacerItem> |
|
68 |
#include <QtGui/QTabWidget> |
|
69 |
#include <QtGui/QToolButton> |
|
70 |
#include <QtGui/QVBoxLayout> |
|
71 |
#include <QtGui/QWidget> |
|
72 |
||
73 |
QT_BEGIN_NAMESPACE |
|
74 |
||
75 |
class Ui_TabbedBrowser |
|
76 |
{ |
|
77 |
public: |
|
78 |
QVBoxLayout *vboxLayout; |
|
79 |
QTabWidget *tab; |
|
80 |
QWidget *frontpage; |
|
81 |
QGridLayout *gridLayout; |
|
82 |
QFrame *frameFind; |
|
83 |
QHBoxLayout *hboxLayout; |
|
84 |
QToolButton *toolClose; |
|
85 |
QLineEdit *editFind; |
|
86 |
QToolButton *toolPrevious; |
|
87 |
QToolButton *toolNext; |
|
88 |
QCheckBox *checkCase; |
|
89 |
QCheckBox *checkWholeWords; |
|
90 |
QLabel *labelWrapped; |
|
91 |
QSpacerItem *spacerItem; |
|
92 |
||
93 |
void setupUi(QWidget *TabbedBrowser) |
|
94 |
{ |
|
95 |
if (TabbedBrowser->objectName().isEmpty()) |
|
96 |
TabbedBrowser->setObjectName(QString::fromUtf8("TabbedBrowser")); |
|
97 |
TabbedBrowser->resize(710, 664); |
|
98 |
vboxLayout = new QVBoxLayout(TabbedBrowser); |
|
99 |
vboxLayout->setSpacing(0); |
|
100 |
vboxLayout->setContentsMargins(0, 0, 0, 0); |
|
101 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
102 |
tab = new QTabWidget(TabbedBrowser); |
|
103 |
tab->setObjectName(QString::fromUtf8("tab")); |
|
104 |
frontpage = new QWidget(); |
|
105 |
frontpage->setObjectName(QString::fromUtf8("frontpage")); |
|
106 |
gridLayout = new QGridLayout(frontpage); |
|
107 |
#ifndef Q_OS_MAC |
|
108 |
gridLayout->setSpacing(6); |
|
109 |
#endif |
|
110 |
gridLayout->setContentsMargins(8, 8, 8, 8); |
|
111 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
112 |
tab->addTab(frontpage, QString()); |
|
113 |
||
114 |
vboxLayout->addWidget(tab); |
|
115 |
||
116 |
frameFind = new QFrame(TabbedBrowser); |
|
117 |
frameFind->setObjectName(QString::fromUtf8("frameFind")); |
|
118 |
frameFind->setFrameShape(QFrame::StyledPanel); |
|
119 |
frameFind->setFrameShadow(QFrame::Raised); |
|
120 |
hboxLayout = new QHBoxLayout(frameFind); |
|
121 |
#ifndef Q_OS_MAC |
|
122 |
hboxLayout->setSpacing(6); |
|
123 |
#endif |
|
124 |
hboxLayout->setContentsMargins(0, 0, 0, 0); |
|
125 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
126 |
toolClose = new QToolButton(frameFind); |
|
127 |
toolClose->setObjectName(QString::fromUtf8("toolClose")); |
|
128 |
const QIcon icon = QIcon(QString::fromUtf8(":/trolltech/assistant/images/close.png")); |
|
129 |
toolClose->setIcon(icon); |
|
130 |
toolClose->setAutoRaise(true); |
|
131 |
||
132 |
hboxLayout->addWidget(toolClose); |
|
133 |
||
134 |
editFind = new QLineEdit(frameFind); |
|
135 |
editFind->setObjectName(QString::fromUtf8("editFind")); |
|
136 |
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0)); |
|
137 |
sizePolicy.setHorizontalStretch(0); |
|
138 |
sizePolicy.setVerticalStretch(0); |
|
139 |
sizePolicy.setHeightForWidth(editFind->sizePolicy().hasHeightForWidth()); |
|
140 |
editFind->setSizePolicy(sizePolicy); |
|
141 |
editFind->setMinimumSize(QSize(150, 0)); |
|
142 |
||
143 |
hboxLayout->addWidget(editFind); |
|
144 |
||
145 |
toolPrevious = new QToolButton(frameFind); |
|
146 |
toolPrevious->setObjectName(QString::fromUtf8("toolPrevious")); |
|
147 |
const QIcon icon1 = QIcon(QString::fromUtf8(":/trolltech/assistant/images/win/previous.png")); |
|
148 |
toolPrevious->setIcon(icon1); |
|
149 |
toolPrevious->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); |
|
150 |
toolPrevious->setAutoRaise(true); |
|
151 |
||
152 |
hboxLayout->addWidget(toolPrevious); |
|
153 |
||
154 |
toolNext = new QToolButton(frameFind); |
|
155 |
toolNext->setObjectName(QString::fromUtf8("toolNext")); |
|
156 |
toolNext->setMinimumSize(QSize(0, 0)); |
|
157 |
const QIcon icon2 = QIcon(QString::fromUtf8(":/trolltech/assistant/images/win/next.png")); |
|
158 |
toolNext->setIcon(icon2); |
|
159 |
toolNext->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); |
|
160 |
toolNext->setAutoRaise(true); |
|
161 |
toolNext->setArrowType(Qt::NoArrow); |
|
162 |
||
163 |
hboxLayout->addWidget(toolNext); |
|
164 |
||
165 |
checkCase = new QCheckBox(frameFind); |
|
166 |
checkCase->setObjectName(QString::fromUtf8("checkCase")); |
|
167 |
||
168 |
hboxLayout->addWidget(checkCase); |
|
169 |
||
170 |
checkWholeWords = new QCheckBox(frameFind); |
|
171 |
checkWholeWords->setObjectName(QString::fromUtf8("checkWholeWords")); |
|
172 |
||
173 |
hboxLayout->addWidget(checkWholeWords); |
|
174 |
||
175 |
labelWrapped = new QLabel(frameFind); |
|
176 |
labelWrapped->setObjectName(QString::fromUtf8("labelWrapped")); |
|
177 |
labelWrapped->setMinimumSize(QSize(0, 20)); |
|
178 |
labelWrapped->setMaximumSize(QSize(105, 20)); |
|
179 |
labelWrapped->setTextFormat(Qt::RichText); |
|
180 |
labelWrapped->setScaledContents(true); |
|
181 |
labelWrapped->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); |
|
182 |
||
183 |
hboxLayout->addWidget(labelWrapped); |
|
184 |
||
185 |
spacerItem = new QSpacerItem(81, 21, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
186 |
||
187 |
hboxLayout->addItem(spacerItem); |
|
188 |
||
189 |
||
190 |
vboxLayout->addWidget(frameFind); |
|
191 |
||
192 |
||
193 |
retranslateUi(TabbedBrowser); |
|
194 |
||
195 |
QMetaObject::connectSlotsByName(TabbedBrowser); |
|
196 |
} // setupUi |
|
197 |
||
198 |
void retranslateUi(QWidget *TabbedBrowser) |
|
199 |
{ |
|
200 |
TabbedBrowser->setWindowTitle(QApplication::translate("TabbedBrowser", "TabbedBrowser", 0, QApplication::UnicodeUTF8)); |
|
201 |
tab->setTabText(tab->indexOf(frontpage), QApplication::translate("TabbedBrowser", "Untitled", 0, QApplication::UnicodeUTF8)); |
|
202 |
toolClose->setText(QString()); |
|
203 |
toolPrevious->setText(QApplication::translate("TabbedBrowser", "Previous", 0, QApplication::UnicodeUTF8)); |
|
204 |
toolNext->setText(QApplication::translate("TabbedBrowser", "Next", 0, QApplication::UnicodeUTF8)); |
|
205 |
checkCase->setText(QApplication::translate("TabbedBrowser", "Case Sensitive", 0, QApplication::UnicodeUTF8)); |
|
206 |
checkWholeWords->setText(QApplication::translate("TabbedBrowser", "Whole words", 0, QApplication::UnicodeUTF8)); |
|
207 |
labelWrapped->setText(QApplication::translate("TabbedBrowser", "<img src=\":/trolltech/assistant/images/wrap.png\"> Search wrapped", 0, QApplication::UnicodeUTF8)); |
|
208 |
} // retranslateUi |
|
209 |
||
210 |
}; |
|
211 |
||
212 |
namespace Ui { |
|
213 |
class TabbedBrowser: public Ui_TabbedBrowser {}; |
|
214 |
} // namespace Ui |
|
215 |
||
216 |
QT_END_NAMESPACE |
|
217 |
||
218 |
#endif // TABBEDBROWSER_H |