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