| 1 |
/* |
| 2 |
********************************************************************* |
| 3 |
** |
| 4 |
** Copyright (C) 2016 The Qt Company Ltd. |
| 5 |
** Contact: https://www.qt.io/licensing/ |
| 6 |
** |
| 7 |
** This file is part of the autotests of the Qt Toolkit. |
| 8 |
** |
| 9 |
** $QT_BEGIN_LICENSE:GPL-EXCEPT$ |
| 10 |
** Commercial License Usage |
| 11 |
** Licensees holding valid commercial Qt licenses may use this file in |
| 12 |
** accordance with the commercial license agreement provided with the |
| 13 |
** Software or, alternatively, in accordance with the terms contained in |
| 14 |
** a written agreement between you and The Qt Company. For licensing terms |
| 15 |
** and conditions see https://www.qt.io/terms-conditions. For further |
| 16 |
** information use the contact form at https://www.qt.io/contact-us. |
| 17 |
** |
| 18 |
** GNU General Public License Usage |
| 19 |
** Alternatively, this file may be used under the terms of the GNU |
| 20 |
** General Public License version 3 as published by the Free Software |
| 21 |
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT |
| 22 |
** included in the packaging of this file. Please review the following |
| 23 |
** information to ensure the GNU General Public License requirements will |
| 24 |
** be met: https://www.gnu.org/licenses/gpl-3.0.html. |
| 25 |
** |
| 26 |
** $QT_END_LICENSE$ |
| 27 |
** |
| 28 |
********************************************************************* |
| 29 |
*/ |
| 30 |
|
| 31 |
/******************************************************************************** |
| 32 |
** Form generated from reading UI file 'tabbedbrowser.ui' |
| 33 |
** |
| 34 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 35 |
** |
| 36 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 37 |
********************************************************************************/ |
| 38 |
|
| 39 |
#ifndef TABBEDBROWSER_H |
| 40 |
#define TABBEDBROWSER_H |
| 41 |
|
| 42 |
#include <QtCore/QVariant> |
| 43 |
#include <QtGui/QIcon> |
| 44 |
#include <QtWidgets/QApplication> |
| 45 |
#include <QtWidgets/QCheckBox> |
| 46 |
#include <QtWidgets/QFrame> |
| 47 |
#include <QtWidgets/QGridLayout> |
| 48 |
#include <QtWidgets/QHBoxLayout> |
| 49 |
#include <QtWidgets/QLabel> |
| 50 |
#include <QtWidgets/QLineEdit> |
| 51 |
#include <QtWidgets/QSpacerItem> |
| 52 |
#include <QtWidgets/QTabWidget> |
| 53 |
#include <QtWidgets/QToolButton> |
| 54 |
#include <QtWidgets/QVBoxLayout> |
| 55 |
#include <QtWidgets/QWidget> |
| 56 |
|
| 57 |
QT_BEGIN_NAMESPACE |
| 58 |
|
| 59 |
class Ui_TabbedBrowser |
| 60 |
{ |
| 61 |
public: |
| 62 |
QVBoxLayout *vboxLayout; |
| 63 |
QTabWidget *tab; |
| 64 |
QWidget *frontpage; |
| 65 |
QGridLayout *gridLayout; |
| 66 |
QFrame *frameFind; |
| 67 |
QHBoxLayout *hboxLayout; |
| 68 |
QToolButton *toolClose; |
| 69 |
QLineEdit *editFind; |
| 70 |
QToolButton *toolPrevious; |
| 71 |
QToolButton *toolNext; |
| 72 |
QCheckBox *checkCase; |
| 73 |
QCheckBox *checkWholeWords; |
| 74 |
QLabel *labelWrapped; |
| 75 |
QSpacerItem *spacerItem; |
| 76 |
|
| 77 |
void setupUi(QWidget *TabbedBrowser) |
| 78 |
{ |
| 79 |
if (TabbedBrowser->objectName().isEmpty()) |
| 80 |
TabbedBrowser->setObjectName(QString::fromUtf8("TabbedBrowser")); |
| 81 |
TabbedBrowser->resize(710, 664); |
| 82 |
vboxLayout = new QVBoxLayout(TabbedBrowser); |
| 83 |
vboxLayout->setSpacing(0); |
| 84 |
vboxLayout->setContentsMargins(0, 0, 0, 0); |
| 85 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 86 |
tab = new QTabWidget(TabbedBrowser); |
| 87 |
tab->setObjectName(QString::fromUtf8("tab")); |
| 88 |
frontpage = new QWidget(); |
| 89 |
frontpage->setObjectName(QString::fromUtf8("frontpage")); |
| 90 |
gridLayout = new QGridLayout(frontpage); |
| 91 |
#ifndef Q_OS_MAC |
| 92 |
gridLayout->setSpacing(6); |
| 93 |
#endif |
| 94 |
gridLayout->setContentsMargins(8, 8, 8, 8); |
| 95 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 96 |
tab->addTab(frontpage, QString()); |
| 97 |
|
| 98 |
vboxLayout->addWidget(tab); |
| 99 |
|
| 100 |
frameFind = new QFrame(TabbedBrowser); |
| 101 |
frameFind->setObjectName(QString::fromUtf8("frameFind")); |
| 102 |
frameFind->setFrameShape(QFrame::StyledPanel); |
| 103 |
frameFind->setFrameShadow(QFrame::Raised); |
| 104 |
hboxLayout = new QHBoxLayout(frameFind); |
| 105 |
#ifndef Q_OS_MAC |
| 106 |
hboxLayout->setSpacing(6); |
| 107 |
#endif |
| 108 |
hboxLayout->setContentsMargins(0, 0, 0, 0); |
| 109 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
| 110 |
toolClose = new QToolButton(frameFind); |
| 111 |
toolClose->setObjectName(QString::fromUtf8("toolClose")); |
| 112 |
const QIcon icon = QIcon(QString::fromUtf8(":/qt-project.org/assistant/images/close.png")); |
| 113 |
toolClose->setIcon(icon); |
| 114 |
toolClose->setAutoRaise(true); |
| 115 |
|
| 116 |
hboxLayout->addWidget(toolClose); |
| 117 |
|
| 118 |
editFind = new QLineEdit(frameFind); |
| 119 |
editFind->setObjectName(QString::fromUtf8("editFind")); |
| 120 |
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); |
| 121 |
sizePolicy.setHorizontalStretch(0); |
| 122 |
sizePolicy.setVerticalStretch(0); |
| 123 |
sizePolicy.setHeightForWidth(editFind->sizePolicy().hasHeightForWidth()); |
| 124 |
editFind->setSizePolicy(sizePolicy); |
| 125 |
editFind->setMinimumSize(QSize(150, 0)); |
| 126 |
|
| 127 |
hboxLayout->addWidget(editFind); |
| 128 |
|
| 129 |
toolPrevious = new QToolButton(frameFind); |
| 130 |
toolPrevious->setObjectName(QString::fromUtf8("toolPrevious")); |
| 131 |
const QIcon icon1 = QIcon(QString::fromUtf8(":/qt-project.org/assistant/images/win/previous.png")); |
| 132 |
toolPrevious->setIcon(icon1); |
| 133 |
toolPrevious->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); |
| 134 |
toolPrevious->setAutoRaise(true); |
| 135 |
|
| 136 |
hboxLayout->addWidget(toolPrevious); |
| 137 |
|
| 138 |
toolNext = new QToolButton(frameFind); |
| 139 |
toolNext->setObjectName(QString::fromUtf8("toolNext")); |
| 140 |
toolNext->setMinimumSize(QSize(0, 0)); |
| 141 |
const QIcon icon2 = QIcon(QString::fromUtf8(":/qt-project.org/assistant/images/win/next.png")); |
| 142 |
toolNext->setIcon(icon2); |
| 143 |
toolNext->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); |
| 144 |
toolNext->setAutoRaise(true); |
| 145 |
toolNext->setArrowType(Qt::NoArrow); |
| 146 |
|
| 147 |
hboxLayout->addWidget(toolNext); |
| 148 |
|
| 149 |
checkCase = new QCheckBox(frameFind); |
| 150 |
checkCase->setObjectName(QString::fromUtf8("checkCase")); |
| 151 |
|
| 152 |
hboxLayout->addWidget(checkCase); |
| 153 |
|
| 154 |
checkWholeWords = new QCheckBox(frameFind); |
| 155 |
checkWholeWords->setObjectName(QString::fromUtf8("checkWholeWords")); |
| 156 |
|
| 157 |
hboxLayout->addWidget(checkWholeWords); |
| 158 |
|
| 159 |
labelWrapped = new QLabel(frameFind); |
| 160 |
labelWrapped->setObjectName(QString::fromUtf8("labelWrapped")); |
| 161 |
labelWrapped->setMinimumSize(QSize(0, 20)); |
| 162 |
labelWrapped->setMaximumSize(QSize(105, 20)); |
| 163 |
labelWrapped->setTextFormat(Qt::RichText); |
| 164 |
labelWrapped->setScaledContents(true); |
| 165 |
labelWrapped->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); |
| 166 |
|
| 167 |
hboxLayout->addWidget(labelWrapped); |
| 168 |
|
| 169 |
spacerItem = new QSpacerItem(81, 21, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 170 |
|
| 171 |
hboxLayout->addItem(spacerItem); |
| 172 |
|
| 173 |
|
| 174 |
vboxLayout->addWidget(frameFind); |
| 175 |
|
| 176 |
|
| 177 |
retranslateUi(TabbedBrowser); |
| 178 |
|
| 179 |
QMetaObject::connectSlotsByName(TabbedBrowser); |
| 180 |
} // setupUi |
| 181 |
|
| 182 |
void retranslateUi(QWidget *TabbedBrowser) |
| 183 |
{ |
| 184 |
TabbedBrowser->setWindowTitle(QCoreApplication::translate("TabbedBrowser", "TabbedBrowser", nullptr)); |
| 185 |
tab->setTabText(tab->indexOf(frontpage), QCoreApplication::translate("TabbedBrowser", "Untitled", nullptr)); |
| 186 |
toolClose->setText(QString()); |
| 187 |
toolPrevious->setText(QCoreApplication::translate("TabbedBrowser", "Previous", nullptr)); |
| 188 |
toolNext->setText(QCoreApplication::translate("TabbedBrowser", "Next", nullptr)); |
| 189 |
checkCase->setText(QCoreApplication::translate("TabbedBrowser", "Case Sensitive", nullptr)); |
| 190 |
checkWholeWords->setText(QCoreApplication::translate("TabbedBrowser", "Whole words", nullptr)); |
| 191 |
labelWrapped->setText(QCoreApplication::translate("TabbedBrowser", "<img src=\":/qt-project.org/assistant/images/wrap.png\"> Search wrapped", nullptr)); |
| 192 |
} // retranslateUi |
| 193 |
|
| 194 |
}; |
| 195 |
|
| 196 |
namespace Ui { |
| 197 |
class TabbedBrowser: public Ui_TabbedBrowser {}; |
| 198 |
} // namespace Ui |
| 199 |
|
| 200 |
QT_END_NAMESPACE |
| 201 |
|
| 202 |
#endif // TABBEDBROWSER_H |