1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
|
/*
*********************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the autotests of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** 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
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 as published by the Free Software
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
**
** $QT_END_LICENSE$
**
*********************************************************************
*/
/********************************************************************************
** Form generated from reading UI file 'trpreviewtool.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 TRPREVIEWTOOL_H
#define TRPREVIEWTOOL_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDockWidget>
#include <QtWidgets/QListView>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenu>
#include <QtWidgets/QMenuBar>
#include <QtWidgets/QStatusBar>
#include <QtWidgets/QToolBar>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_TrPreviewToolClass
{
public:
QAction *actionOpenForm;
QAction *actionLoadTranslation;
QAction *actionReloadTranslations;
QAction *actionClose;
QAction *actionAbout;
QAction *actionAbout_Qt;
QWidget *centralWidget;
QMenuBar *menuBar;
QMenu *menuView;
QMenu *menuViewViews;
QMenu *menuHelp;
QMenu *menuFile;
QToolBar *mainToolBar;
QStatusBar *statusBar;
QDockWidget *dwForms;
QWidget *dockWidgetContents;
QVBoxLayout *vboxLayout;
QListView *viewForms;
void setupUi(QMainWindow *TrPreviewToolClass)
{
if (TrPreviewToolClass->objectName().isEmpty())
TrPreviewToolClass->setObjectName("TrPreviewToolClass");
TrPreviewToolClass->resize(593, 466);
actionOpenForm = new QAction(TrPreviewToolClass);
actionOpenForm->setObjectName("actionOpenForm");
const QIcon icon = QIcon(QString::fromUtf8(":/images/open_form.png"));
actionOpenForm->setIcon(icon);
actionLoadTranslation = new QAction(TrPreviewToolClass);
actionLoadTranslation->setObjectName("actionLoadTranslation");
const QIcon icon1 = QIcon(QString::fromUtf8(":/images/load_translation.png"));
actionLoadTranslation->setIcon(icon1);
actionReloadTranslations = new QAction(TrPreviewToolClass);
actionReloadTranslations->setObjectName("actionReloadTranslations");
const QIcon icon2 = QIcon(QString::fromUtf8(":/images/reload_translations.png"));
actionReloadTranslations->setIcon(icon2);
actionClose = new QAction(TrPreviewToolClass);
actionClose->setObjectName("actionClose");
actionAbout = new QAction(TrPreviewToolClass);
actionAbout->setObjectName("actionAbout");
actionAbout_Qt = new QAction(TrPreviewToolClass);
actionAbout_Qt->setObjectName("actionAbout_Qt");
centralWidget = new QWidget(TrPreviewToolClass);
centralWidget->setObjectName("centralWidget");
TrPreviewToolClass->setCentralWidget(centralWidget);
menuBar = new QMenuBar(TrPreviewToolClass);
menuBar->setObjectName("menuBar");
menuBar->setGeometry(QRect(0, 0, 593, 21));
menuView = new QMenu(menuBar);
menuView->setObjectName("menuView");
menuViewViews = new QMenu(menuView);
menuViewViews->setObjectName("menuViewViews");
menuHelp = new QMenu(menuBar);
menuHelp->setObjectName("menuHelp");
menuFile = new QMenu(menuBar);
menuFile->setObjectName("menuFile");
TrPreviewToolClass->setMenuBar(menuBar);
mainToolBar = new QToolBar(TrPreviewToolClass);
mainToolBar->setObjectName("mainToolBar");
mainToolBar->setOrientation(Qt::Horizontal);
TrPreviewToolClass->addToolBar(Qt::TopToolBarArea, mainToolBar);
statusBar = new QStatusBar(TrPreviewToolClass);
statusBar->setObjectName("statusBar");
TrPreviewToolClass->setStatusBar(statusBar);
dwForms = new QDockWidget(TrPreviewToolClass);
dwForms->setObjectName("dwForms");
dockWidgetContents = new QWidget();
dockWidgetContents->setObjectName("dockWidgetContents");
vboxLayout = new QVBoxLayout(dockWidgetContents);
vboxLayout->setSpacing(0);
vboxLayout->setContentsMargins(0, 0, 0, 0);
vboxLayout->setObjectName("vboxLayout");
viewForms = new QListView(dockWidgetContents);
viewForms->setObjectName("viewForms");
viewForms->setEditTriggers(QAbstractItemView::NoEditTriggers);
viewForms->setAlternatingRowColors(true);
viewForms->setUniformItemSizes(true);
vboxLayout->addWidget(viewForms);
dwForms->setWidget(dockWidgetContents);
TrPreviewToolClass->addDockWidget(Qt::LeftDockWidgetArea, dwForms);
menuBar->addAction(menuFile->menuAction());
menuBar->addAction(menuView->menuAction());
menuBar->addAction(menuHelp->menuAction());
menuView->addAction(menuViewViews->menuAction());
menuHelp->addAction(actionAbout);
menuHelp->addAction(actionAbout_Qt);
menuFile->addAction(actionOpenForm);
menuFile->addAction(actionLoadTranslation);
menuFile->addAction(actionReloadTranslations);
menuFile->addSeparator();
menuFile->addAction(actionClose);
mainToolBar->addAction(actionOpenForm);
mainToolBar->addAction(actionLoadTranslation);
mainToolBar->addAction(actionReloadTranslations);
retranslateUi(TrPreviewToolClass);
QMetaObject::connectSlotsByName(TrPreviewToolClass);
} // setupUi
void retranslateUi(QMainWindow *TrPreviewToolClass)
{
TrPreviewToolClass->setWindowTitle(QCoreApplication::translate("TrPreviewToolClass", "Qt Translation Preview Tool", nullptr));
actionOpenForm->setText(QCoreApplication::translate("TrPreviewToolClass", "&Open Form...", nullptr));
actionLoadTranslation->setText(QCoreApplication::translate("TrPreviewToolClass", "&Load Translation...", nullptr));
actionReloadTranslations->setText(QCoreApplication::translate("TrPreviewToolClass", "&Reload Translations", nullptr));
#if QT_CONFIG(shortcut)
actionReloadTranslations->setShortcut(QCoreApplication::translate("TrPreviewToolClass", "F5", nullptr));
#endif // QT_CONFIG(shortcut)
actionClose->setText(QCoreApplication::translate("TrPreviewToolClass", "&Close", nullptr));
actionAbout->setText(QCoreApplication::translate("TrPreviewToolClass", "About", nullptr));
actionAbout_Qt->setText(QCoreApplication::translate("TrPreviewToolClass", "About Qt", nullptr));
menuView->setTitle(QCoreApplication::translate("TrPreviewToolClass", "&View", nullptr));
menuViewViews->setTitle(QCoreApplication::translate("TrPreviewToolClass", "&Views", nullptr));
menuHelp->setTitle(QCoreApplication::translate("TrPreviewToolClass", "&Help", nullptr));
menuFile->setTitle(QCoreApplication::translate("TrPreviewToolClass", "&File", nullptr));
dwForms->setWindowTitle(QCoreApplication::translate("TrPreviewToolClass", "Forms", nullptr));
} // retranslateUi
};
namespace Ui {
class TrPreviewToolClass: public Ui_TrPreviewToolClass {};
} // namespace Ui
QT_END_NAMESPACE
#endif // TRPREVIEWTOOL_H
|