| 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 'statistics.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 STATISTICS_H |
| 40 |
#define STATISTICS_H |
| 41 |
|
| 42 |
#include <QtCore/QVariant> |
| 43 |
#include <QtWidgets/QApplication> |
| 44 |
#include <QtWidgets/QDialog> |
| 45 |
#include <QtWidgets/QFrame> |
| 46 |
#include <QtWidgets/QGridLayout> |
| 47 |
#include <QtWidgets/QHBoxLayout> |
| 48 |
#include <QtWidgets/QLabel> |
| 49 |
#include <QtWidgets/QPushButton> |
| 50 |
#include <QtWidgets/QSpacerItem> |
| 51 |
|
| 52 |
QT_BEGIN_NAMESPACE |
| 53 |
|
| 54 |
class Ui_Statistics |
| 55 |
{ |
| 56 |
public: |
| 57 |
QGridLayout *gridLayout; |
| 58 |
QHBoxLayout *hboxLayout; |
| 59 |
QSpacerItem *spacer4_2; |
| 60 |
QPushButton *closeBtn; |
| 61 |
QSpacerItem *spacer4; |
| 62 |
QFrame *frame4; |
| 63 |
QGridLayout *gridLayout1; |
| 64 |
QLabel *textLabel4; |
| 65 |
QLabel *textLabel5; |
| 66 |
QLabel *untrWords; |
| 67 |
QLabel *trWords; |
| 68 |
QLabel *textLabel1; |
| 69 |
QLabel *trChars; |
| 70 |
QLabel *untrChars; |
| 71 |
QLabel *textLabel3; |
| 72 |
QLabel *textLabel6; |
| 73 |
QLabel *trCharsSpc; |
| 74 |
QLabel *untrCharsSpc; |
| 75 |
|
| 76 |
void setupUi(QDialog *Statistics) |
| 77 |
{ |
| 78 |
if (Statistics->objectName().isEmpty()) |
| 79 |
Statistics->setObjectName(QString::fromUtf8("Statistics")); |
| 80 |
Statistics->setObjectName(QString::fromUtf8("linguist_stats")); |
| 81 |
Statistics->resize(336, 164); |
| 82 |
gridLayout = new QGridLayout(Statistics); |
| 83 |
gridLayout->setSpacing(6); |
| 84 |
gridLayout->setContentsMargins(11, 11, 11, 11); |
| 85 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 86 |
gridLayout->setObjectName(QString::fromUtf8("unnamed")); |
| 87 |
hboxLayout = new QHBoxLayout(); |
| 88 |
hboxLayout->setSpacing(6); |
| 89 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
| 90 |
hboxLayout->setObjectName(QString::fromUtf8("unnamed")); |
| 91 |
spacer4_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 92 |
|
| 93 |
hboxLayout->addItem(spacer4_2); |
| 94 |
|
| 95 |
closeBtn = new QPushButton(Statistics); |
| 96 |
closeBtn->setObjectName(QString::fromUtf8("closeBtn")); |
| 97 |
|
| 98 |
hboxLayout->addWidget(closeBtn); |
| 99 |
|
| 100 |
spacer4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 101 |
|
| 102 |
hboxLayout->addItem(spacer4); |
| 103 |
|
| 104 |
|
| 105 |
gridLayout->addLayout(hboxLayout, 1, 0, 1, 1); |
| 106 |
|
| 107 |
frame4 = new QFrame(Statistics); |
| 108 |
frame4->setObjectName(QString::fromUtf8("frame4")); |
| 109 |
frame4->setFrameShape(QFrame::StyledPanel); |
| 110 |
frame4->setFrameShadow(QFrame::Raised); |
| 111 |
gridLayout1 = new QGridLayout(frame4); |
| 112 |
gridLayout1->setSpacing(6); |
| 113 |
gridLayout1->setContentsMargins(11, 11, 11, 11); |
| 114 |
gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); |
| 115 |
gridLayout1->setObjectName(QString::fromUtf8("unnamed")); |
| 116 |
textLabel4 = new QLabel(frame4); |
| 117 |
textLabel4->setObjectName(QString::fromUtf8("textLabel4")); |
| 118 |
|
| 119 |
gridLayout1->addWidget(textLabel4, 0, 2, 1, 1); |
| 120 |
|
| 121 |
textLabel5 = new QLabel(frame4); |
| 122 |
textLabel5->setObjectName(QString::fromUtf8("textLabel5")); |
| 123 |
|
| 124 |
gridLayout1->addWidget(textLabel5, 0, 1, 1, 1); |
| 125 |
|
| 126 |
untrWords = new QLabel(frame4); |
| 127 |
untrWords->setObjectName(QString::fromUtf8("untrWords")); |
| 128 |
|
| 129 |
gridLayout1->addWidget(untrWords, 1, 1, 1, 1); |
| 130 |
|
| 131 |
trWords = new QLabel(frame4); |
| 132 |
trWords->setObjectName(QString::fromUtf8("trWords")); |
| 133 |
|
| 134 |
gridLayout1->addWidget(trWords, 1, 2, 1, 1); |
| 135 |
|
| 136 |
textLabel1 = new QLabel(frame4); |
| 137 |
textLabel1->setObjectName(QString::fromUtf8("textLabel1")); |
| 138 |
|
| 139 |
gridLayout1->addWidget(textLabel1, 1, 0, 1, 1); |
| 140 |
|
| 141 |
trChars = new QLabel(frame4); |
| 142 |
trChars->setObjectName(QString::fromUtf8("trChars")); |
| 143 |
|
| 144 |
gridLayout1->addWidget(trChars, 2, 2, 1, 1); |
| 145 |
|
| 146 |
untrChars = new QLabel(frame4); |
| 147 |
untrChars->setObjectName(QString::fromUtf8("untrChars")); |
| 148 |
|
| 149 |
gridLayout1->addWidget(untrChars, 2, 1, 1, 1); |
| 150 |
|
| 151 |
textLabel3 = new QLabel(frame4); |
| 152 |
textLabel3->setObjectName(QString::fromUtf8("textLabel3")); |
| 153 |
|
| 154 |
gridLayout1->addWidget(textLabel3, 2, 0, 1, 1); |
| 155 |
|
| 156 |
textLabel6 = new QLabel(frame4); |
| 157 |
textLabel6->setObjectName(QString::fromUtf8("textLabel6")); |
| 158 |
|
| 159 |
gridLayout1->addWidget(textLabel6, 3, 0, 1, 1); |
| 160 |
|
| 161 |
trCharsSpc = new QLabel(frame4); |
| 162 |
trCharsSpc->setObjectName(QString::fromUtf8("trCharsSpc")); |
| 163 |
|
| 164 |
gridLayout1->addWidget(trCharsSpc, 3, 2, 1, 1); |
| 165 |
|
| 166 |
untrCharsSpc = new QLabel(frame4); |
| 167 |
untrCharsSpc->setObjectName(QString::fromUtf8("untrCharsSpc")); |
| 168 |
|
| 169 |
gridLayout1->addWidget(untrCharsSpc, 3, 1, 1, 1); |
| 170 |
|
| 171 |
|
| 172 |
gridLayout->addWidget(frame4, 0, 0, 1, 1); |
| 173 |
|
| 174 |
|
| 175 |
retranslateUi(Statistics); |
| 176 |
|
| 177 |
QMetaObject::connectSlotsByName(Statistics); |
| 178 |
} // setupUi |
| 179 |
|
| 180 |
void retranslateUi(QDialog *Statistics) |
| 181 |
{ |
| 182 |
Statistics->setWindowTitle(QCoreApplication::translate("Statistics", "Statistics", nullptr)); |
| 183 |
closeBtn->setText(QCoreApplication::translate("Statistics", "&Close", nullptr)); |
| 184 |
textLabel4->setText(QCoreApplication::translate("Statistics", "Translation", nullptr)); |
| 185 |
textLabel5->setText(QCoreApplication::translate("Statistics", "Source", nullptr)); |
| 186 |
untrWords->setText(QCoreApplication::translate("Statistics", "0", nullptr)); |
| 187 |
trWords->setText(QCoreApplication::translate("Statistics", "0", nullptr)); |
| 188 |
textLabel1->setText(QCoreApplication::translate("Statistics", "Words:", nullptr)); |
| 189 |
trChars->setText(QCoreApplication::translate("Statistics", "0", nullptr)); |
| 190 |
untrChars->setText(QCoreApplication::translate("Statistics", "0", nullptr)); |
| 191 |
textLabel3->setText(QCoreApplication::translate("Statistics", "Characters:", nullptr)); |
| 192 |
textLabel6->setText(QCoreApplication::translate("Statistics", "Characters (with spaces):", nullptr)); |
| 193 |
trCharsSpc->setText(QCoreApplication::translate("Statistics", "0", nullptr)); |
| 194 |
untrCharsSpc->setText(QCoreApplication::translate("Statistics", "0", nullptr)); |
| 195 |
} // retranslateUi |
| 196 |
|
| 197 |
}; |
| 198 |
|
| 199 |
namespace Ui { |
| 200 |
class Statistics: public Ui_Statistics {}; |
| 201 |
} // namespace Ui |
| 202 |
|
| 203 |
QT_END_NAMESPACE |
| 204 |
|
| 205 |
#endif // STATISTICS_H |