2011-04-27 10:05:43 +00:00
|
|
|
/*
|
|
|
|
*********************************************************************
|
|
|
|
**
|
2015-01-28 08:44:43 +00:00
|
|
|
** Copyright (C) 2015 The Qt Company Ltd.
|
|
|
|
** Contact: http://www.qt.io/licensing/
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** This file is part of the autotests of the Qt Toolkit.
|
|
|
|
**
|
2014-08-21 13:51:22 +00:00
|
|
|
** $QT_BEGIN_LICENSE:LGPL21$
|
2012-09-19 12:28:29 +00:00
|
|
|
** Commercial License Usage
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2015-01-28 08:44:43 +00:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
** and conditions see http://www.qt.io/terms-conditions. For further
|
|
|
|
** information use the contact form at http://www.qt.io/contact-us.
|
2012-09-19 12:28:29 +00:00
|
|
|
**
|
2011-04-27 10:05:43 +00:00
|
|
|
** GNU Lesser General Public License Usage
|
2012-09-19 12:28:29 +00:00
|
|
|
** Alternatively, this file may be used under the terms of the GNU Lesser
|
2014-08-21 13:51:22 +00:00
|
|
|
** General Public License version 2.1 or version 3 as published by the Free
|
|
|
|
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
|
|
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
|
|
** following information to ensure the GNU Lesser General Public License
|
|
|
|
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
|
|
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
2012-09-19 12:28:29 +00:00
|
|
|
**
|
2015-01-28 08:44:43 +00:00
|
|
|
** As a special exception, The Qt Company gives you certain additional
|
|
|
|
** rights. These rights are described in The Qt Company LGPL Exception
|
2011-04-27 10:05:43 +00:00
|
|
|
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
|
|
**
|
|
|
|
** $QT_END_LICENSE$
|
|
|
|
**
|
|
|
|
*********************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'tabbedbrowser.ui'
|
|
|
|
**
|
2012-12-13 12:48:18 +00:00
|
|
|
** Created by: Qt User Interface Compiler version 5.0.0
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef TABBEDBROWSER_H
|
|
|
|
#define TABBEDBROWSER_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QCheckBox>
|
|
|
|
#include <QtWidgets/QFrame>
|
|
|
|
#include <QtWidgets/QGridLayout>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QLineEdit>
|
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
|
#include <QtWidgets/QTabWidget>
|
|
|
|
#include <QtWidgets/QToolButton>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
#include <QtWidgets/QWidget>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_TabbedBrowser
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QVBoxLayout *vboxLayout;
|
|
|
|
QTabWidget *tab;
|
|
|
|
QWidget *frontpage;
|
|
|
|
QGridLayout *gridLayout;
|
|
|
|
QFrame *frameFind;
|
|
|
|
QHBoxLayout *hboxLayout;
|
|
|
|
QToolButton *toolClose;
|
|
|
|
QLineEdit *editFind;
|
|
|
|
QToolButton *toolPrevious;
|
|
|
|
QToolButton *toolNext;
|
|
|
|
QCheckBox *checkCase;
|
|
|
|
QCheckBox *checkWholeWords;
|
|
|
|
QLabel *labelWrapped;
|
|
|
|
QSpacerItem *spacerItem;
|
|
|
|
|
|
|
|
void setupUi(QWidget *TabbedBrowser)
|
|
|
|
{
|
|
|
|
if (TabbedBrowser->objectName().isEmpty())
|
2011-12-11 15:55:01 +00:00
|
|
|
TabbedBrowser->setObjectName(QStringLiteral("TabbedBrowser"));
|
2011-04-27 10:05:43 +00:00
|
|
|
TabbedBrowser->resize(710, 664);
|
|
|
|
vboxLayout = new QVBoxLayout(TabbedBrowser);
|
|
|
|
vboxLayout->setSpacing(0);
|
|
|
|
vboxLayout->setContentsMargins(0, 0, 0, 0);
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
tab = new QTabWidget(TabbedBrowser);
|
2011-12-11 15:55:01 +00:00
|
|
|
tab->setObjectName(QStringLiteral("tab"));
|
2011-04-27 10:05:43 +00:00
|
|
|
frontpage = new QWidget();
|
2011-12-11 15:55:01 +00:00
|
|
|
frontpage->setObjectName(QStringLiteral("frontpage"));
|
2011-04-27 10:05:43 +00:00
|
|
|
gridLayout = new QGridLayout(frontpage);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
gridLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
gridLayout->setContentsMargins(8, 8, 8, 8);
|
2011-12-11 15:55:01 +00:00
|
|
|
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
tab->addTab(frontpage, QString());
|
|
|
|
|
|
|
|
vboxLayout->addWidget(tab);
|
|
|
|
|
|
|
|
frameFind = new QFrame(TabbedBrowser);
|
2011-12-11 15:55:01 +00:00
|
|
|
frameFind->setObjectName(QStringLiteral("frameFind"));
|
2011-04-27 10:05:43 +00:00
|
|
|
frameFind->setFrameShape(QFrame::StyledPanel);
|
|
|
|
frameFind->setFrameShadow(QFrame::Raised);
|
|
|
|
hboxLayout = new QHBoxLayout(frameFind);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
hboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
hboxLayout->setContentsMargins(0, 0, 0, 0);
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
toolClose = new QToolButton(frameFind);
|
2011-12-11 15:55:01 +00:00
|
|
|
toolClose->setObjectName(QStringLiteral("toolClose"));
|
2012-03-26 07:16:03 +00:00
|
|
|
const QIcon icon = QIcon(QString::fromUtf8(":/qt-project.org/assistant/images/close.png"));
|
2011-04-27 10:05:43 +00:00
|
|
|
toolClose->setIcon(icon);
|
|
|
|
toolClose->setAutoRaise(true);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(toolClose);
|
|
|
|
|
|
|
|
editFind = new QLineEdit(frameFind);
|
2011-12-11 15:55:01 +00:00
|
|
|
editFind->setObjectName(QStringLiteral("editFind"));
|
2011-04-27 10:05:43 +00:00
|
|
|
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
|
|
|
|
sizePolicy.setHorizontalStretch(0);
|
|
|
|
sizePolicy.setVerticalStretch(0);
|
|
|
|
sizePolicy.setHeightForWidth(editFind->sizePolicy().hasHeightForWidth());
|
|
|
|
editFind->setSizePolicy(sizePolicy);
|
|
|
|
editFind->setMinimumSize(QSize(150, 0));
|
|
|
|
|
|
|
|
hboxLayout->addWidget(editFind);
|
|
|
|
|
|
|
|
toolPrevious = new QToolButton(frameFind);
|
2011-12-11 15:55:01 +00:00
|
|
|
toolPrevious->setObjectName(QStringLiteral("toolPrevious"));
|
2012-03-26 07:16:03 +00:00
|
|
|
const QIcon icon1 = QIcon(QString::fromUtf8(":/qt-project.org/assistant/images/win/previous.png"));
|
2011-04-27 10:05:43 +00:00
|
|
|
toolPrevious->setIcon(icon1);
|
|
|
|
toolPrevious->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
|
|
|
toolPrevious->setAutoRaise(true);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(toolPrevious);
|
|
|
|
|
|
|
|
toolNext = new QToolButton(frameFind);
|
2011-12-11 15:55:01 +00:00
|
|
|
toolNext->setObjectName(QStringLiteral("toolNext"));
|
2011-04-27 10:05:43 +00:00
|
|
|
toolNext->setMinimumSize(QSize(0, 0));
|
2012-03-26 07:16:03 +00:00
|
|
|
const QIcon icon2 = QIcon(QString::fromUtf8(":/qt-project.org/assistant/images/win/next.png"));
|
2011-04-27 10:05:43 +00:00
|
|
|
toolNext->setIcon(icon2);
|
|
|
|
toolNext->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
|
|
|
toolNext->setAutoRaise(true);
|
|
|
|
toolNext->setArrowType(Qt::NoArrow);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(toolNext);
|
|
|
|
|
|
|
|
checkCase = new QCheckBox(frameFind);
|
2011-12-11 15:55:01 +00:00
|
|
|
checkCase->setObjectName(QStringLiteral("checkCase"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout->addWidget(checkCase);
|
|
|
|
|
|
|
|
checkWholeWords = new QCheckBox(frameFind);
|
2011-12-11 15:55:01 +00:00
|
|
|
checkWholeWords->setObjectName(QStringLiteral("checkWholeWords"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout->addWidget(checkWholeWords);
|
|
|
|
|
|
|
|
labelWrapped = new QLabel(frameFind);
|
2011-12-11 15:55:01 +00:00
|
|
|
labelWrapped->setObjectName(QStringLiteral("labelWrapped"));
|
2011-04-27 10:05:43 +00:00
|
|
|
labelWrapped->setMinimumSize(QSize(0, 20));
|
|
|
|
labelWrapped->setMaximumSize(QSize(105, 20));
|
|
|
|
labelWrapped->setTextFormat(Qt::RichText);
|
|
|
|
labelWrapped->setScaledContents(true);
|
|
|
|
labelWrapped->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(labelWrapped);
|
|
|
|
|
|
|
|
spacerItem = new QSpacerItem(81, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
hboxLayout->addItem(spacerItem);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addWidget(frameFind);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(TabbedBrowser);
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(TabbedBrowser);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QWidget *TabbedBrowser)
|
|
|
|
{
|
2012-05-17 00:37:23 +00:00
|
|
|
TabbedBrowser->setWindowTitle(QApplication::translate("TabbedBrowser", "TabbedBrowser", 0));
|
|
|
|
tab->setTabText(tab->indexOf(frontpage), QApplication::translate("TabbedBrowser", "Untitled", 0));
|
2011-04-27 10:05:43 +00:00
|
|
|
toolClose->setText(QString());
|
2012-05-17 00:37:23 +00:00
|
|
|
toolPrevious->setText(QApplication::translate("TabbedBrowser", "Previous", 0));
|
|
|
|
toolNext->setText(QApplication::translate("TabbedBrowser", "Next", 0));
|
|
|
|
checkCase->setText(QApplication::translate("TabbedBrowser", "Case Sensitive", 0));
|
|
|
|
checkWholeWords->setText(QApplication::translate("TabbedBrowser", "Whole words", 0));
|
|
|
|
labelWrapped->setText(QApplication::translate("TabbedBrowser", "<img src=\":/qt-project.org/assistant/images/wrap.png\"> Search wrapped", 0));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class TabbedBrowser: public Ui_TabbedBrowser {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // TABBEDBROWSER_H
|