mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-26 22:27:06 +08:00
180 lines
6.2 KiB
C++
180 lines
6.2 KiB
C++
/*
|
|
|
|
* Copyright (C) 2016 The Qt Company Ltd.
|
|
* SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
*/
|
|
|
|
/********************************************************************************
|
|
** Form generated from reading UI file 'tabbedbrowser.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 6.0.0
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef TABBEDBROWSER_H
|
|
#define TABBEDBROWSER_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtGui/QIcon>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QCheckBox>
|
|
#include <QtWidgets/QFrame>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QLineEdit>
|
|
#include <QtWidgets/QSpacerItem>
|
|
#include <QtWidgets/QTabWidget>
|
|
#include <QtWidgets/QToolButton>
|
|
#include <QtWidgets/QVBoxLayout>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
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())
|
|
TabbedBrowser->setObjectName("TabbedBrowser");
|
|
TabbedBrowser->resize(710, 664);
|
|
vboxLayout = new QVBoxLayout(TabbedBrowser);
|
|
vboxLayout->setSpacing(0);
|
|
vboxLayout->setContentsMargins(0, 0, 0, 0);
|
|
vboxLayout->setObjectName("vboxLayout");
|
|
tab = new QTabWidget(TabbedBrowser);
|
|
tab->setObjectName("tab");
|
|
frontpage = new QWidget();
|
|
frontpage->setObjectName("frontpage");
|
|
gridLayout = new QGridLayout(frontpage);
|
|
#ifndef Q_OS_MAC
|
|
gridLayout->setSpacing(6);
|
|
#endif
|
|
gridLayout->setContentsMargins(8, 8, 8, 8);
|
|
gridLayout->setObjectName("gridLayout");
|
|
tab->addTab(frontpage, QString());
|
|
|
|
vboxLayout->addWidget(tab);
|
|
|
|
frameFind = new QFrame(TabbedBrowser);
|
|
frameFind->setObjectName("frameFind");
|
|
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);
|
|
hboxLayout->setObjectName("hboxLayout");
|
|
toolClose = new QToolButton(frameFind);
|
|
toolClose->setObjectName("toolClose");
|
|
const QIcon icon = QIcon(QString::fromUtf8(":/qt-project.org/assistant/images/close.png"));
|
|
toolClose->setIcon(icon);
|
|
toolClose->setAutoRaise(true);
|
|
|
|
hboxLayout->addWidget(toolClose);
|
|
|
|
editFind = new QLineEdit(frameFind);
|
|
editFind->setObjectName("editFind");
|
|
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
|
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);
|
|
toolPrevious->setObjectName("toolPrevious");
|
|
const QIcon icon1 = QIcon(QString::fromUtf8(":/qt-project.org/assistant/images/win/previous.png"));
|
|
toolPrevious->setIcon(icon1);
|
|
toolPrevious->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
|
toolPrevious->setAutoRaise(true);
|
|
|
|
hboxLayout->addWidget(toolPrevious);
|
|
|
|
toolNext = new QToolButton(frameFind);
|
|
toolNext->setObjectName("toolNext");
|
|
toolNext->setMinimumSize(QSize(0, 0));
|
|
const QIcon icon2 = QIcon(QString::fromUtf8(":/qt-project.org/assistant/images/win/next.png"));
|
|
toolNext->setIcon(icon2);
|
|
toolNext->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
|
toolNext->setAutoRaise(true);
|
|
toolNext->setArrowType(Qt::NoArrow);
|
|
|
|
hboxLayout->addWidget(toolNext);
|
|
|
|
checkCase = new QCheckBox(frameFind);
|
|
checkCase->setObjectName("checkCase");
|
|
|
|
hboxLayout->addWidget(checkCase);
|
|
|
|
checkWholeWords = new QCheckBox(frameFind);
|
|
checkWholeWords->setObjectName("checkWholeWords");
|
|
|
|
hboxLayout->addWidget(checkWholeWords);
|
|
|
|
labelWrapped = new QLabel(frameFind);
|
|
labelWrapped->setObjectName("labelWrapped");
|
|
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)
|
|
{
|
|
TabbedBrowser->setWindowTitle(QCoreApplication::translate("TabbedBrowser", "TabbedBrowser", nullptr));
|
|
tab->setTabText(tab->indexOf(frontpage), QCoreApplication::translate("TabbedBrowser", "Untitled", nullptr));
|
|
toolClose->setText(QString());
|
|
toolPrevious->setText(QCoreApplication::translate("TabbedBrowser", "Previous", nullptr));
|
|
toolNext->setText(QCoreApplication::translate("TabbedBrowser", "Next", nullptr));
|
|
checkCase->setText(QCoreApplication::translate("TabbedBrowser", "Case Sensitive", nullptr));
|
|
checkWholeWords->setText(QCoreApplication::translate("TabbedBrowser", "Whole words", nullptr));
|
|
labelWrapped->setText(QCoreApplication::translate("TabbedBrowser", "<img src=\":/qt-project.org/assistant/images/wrap.png\"> Search wrapped", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class TabbedBrowser: public Ui_TabbedBrowser {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // TABBEDBROWSER_H
|