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 'trpreviewtool.ui'
|
|
46 |
**
|
|
47 |
** Created: Fri Sep 4 10:17:15 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 TRPREVIEWTOOL_H
|
|
54 |
#define TRPREVIEWTOOL_H
|
|
55 |
|
|
56 |
#include <QtCore/QVariant>
|
|
57 |
#include <QtGui/QAction>
|
|
58 |
#include <QtGui/QApplication>
|
|
59 |
#include <QtGui/QButtonGroup>
|
|
60 |
#include <QtGui/QDockWidget>
|
|
61 |
#include <QtGui/QHeaderView>
|
|
62 |
#include <QtGui/QListView>
|
|
63 |
#include <QtGui/QMainWindow>
|
|
64 |
#include <QtGui/QMenu>
|
|
65 |
#include <QtGui/QMenuBar>
|
|
66 |
#include <QtGui/QStatusBar>
|
|
67 |
#include <QtGui/QToolBar>
|
|
68 |
#include <QtGui/QVBoxLayout>
|
|
69 |
#include <QtGui/QWidget>
|
|
70 |
|
|
71 |
QT_BEGIN_NAMESPACE
|
|
72 |
|
|
73 |
class Ui_TrPreviewToolClass
|
|
74 |
{
|
|
75 |
public:
|
|
76 |
QAction *actionOpenForm;
|
|
77 |
QAction *actionLoadTranslation;
|
|
78 |
QAction *actionReloadTranslations;
|
|
79 |
QAction *actionClose;
|
|
80 |
QAction *actionAbout;
|
|
81 |
QAction *actionAbout_Qt;
|
|
82 |
QWidget *centralWidget;
|
|
83 |
QMenuBar *menuBar;
|
|
84 |
QMenu *menuView;
|
|
85 |
QMenu *menuViewViews;
|
|
86 |
QMenu *menuHelp;
|
|
87 |
QMenu *menuFile;
|
|
88 |
QToolBar *mainToolBar;
|
|
89 |
QStatusBar *statusBar;
|
|
90 |
QDockWidget *dwForms;
|
|
91 |
QWidget *dockWidgetContents;
|
|
92 |
QVBoxLayout *vboxLayout;
|
|
93 |
QListView *viewForms;
|
|
94 |
|
|
95 |
void setupUi(QMainWindow *TrPreviewToolClass)
|
|
96 |
{
|
|
97 |
if (TrPreviewToolClass->objectName().isEmpty())
|
|
98 |
TrPreviewToolClass->setObjectName(QString::fromUtf8("TrPreviewToolClass"));
|
|
99 |
TrPreviewToolClass->resize(593, 466);
|
|
100 |
actionOpenForm = new QAction(TrPreviewToolClass);
|
|
101 |
actionOpenForm->setObjectName(QString::fromUtf8("actionOpenForm"));
|
|
102 |
const QIcon icon = QIcon(QString::fromUtf8(":/images/open_form.png"));
|
|
103 |
actionOpenForm->setIcon(icon);
|
|
104 |
actionLoadTranslation = new QAction(TrPreviewToolClass);
|
|
105 |
actionLoadTranslation->setObjectName(QString::fromUtf8("actionLoadTranslation"));
|
|
106 |
const QIcon icon1 = QIcon(QString::fromUtf8(":/images/load_translation.png"));
|
|
107 |
actionLoadTranslation->setIcon(icon1);
|
|
108 |
actionReloadTranslations = new QAction(TrPreviewToolClass);
|
|
109 |
actionReloadTranslations->setObjectName(QString::fromUtf8("actionReloadTranslations"));
|
|
110 |
const QIcon icon2 = QIcon(QString::fromUtf8(":/images/reload_translations.png"));
|
|
111 |
actionReloadTranslations->setIcon(icon2);
|
|
112 |
actionClose = new QAction(TrPreviewToolClass);
|
|
113 |
actionClose->setObjectName(QString::fromUtf8("actionClose"));
|
|
114 |
actionAbout = new QAction(TrPreviewToolClass);
|
|
115 |
actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
|
|
116 |
actionAbout_Qt = new QAction(TrPreviewToolClass);
|
|
117 |
actionAbout_Qt->setObjectName(QString::fromUtf8("actionAbout_Qt"));
|
|
118 |
centralWidget = new QWidget(TrPreviewToolClass);
|
|
119 |
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
|
120 |
TrPreviewToolClass->setCentralWidget(centralWidget);
|
|
121 |
menuBar = new QMenuBar(TrPreviewToolClass);
|
|
122 |
menuBar->setObjectName(QString::fromUtf8("menuBar"));
|
|
123 |
menuBar->setGeometry(QRect(0, 0, 593, 21));
|
|
124 |
menuView = new QMenu(menuBar);
|
|
125 |
menuView->setObjectName(QString::fromUtf8("menuView"));
|
|
126 |
menuViewViews = new QMenu(menuView);
|
|
127 |
menuViewViews->setObjectName(QString::fromUtf8("menuViewViews"));
|
|
128 |
menuHelp = new QMenu(menuBar);
|
|
129 |
menuHelp->setObjectName(QString::fromUtf8("menuHelp"));
|
|
130 |
menuFile = new QMenu(menuBar);
|
|
131 |
menuFile->setObjectName(QString::fromUtf8("menuFile"));
|
|
132 |
TrPreviewToolClass->setMenuBar(menuBar);
|
|
133 |
mainToolBar = new QToolBar(TrPreviewToolClass);
|
|
134 |
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
|
|
135 |
mainToolBar->setOrientation(Qt::Horizontal);
|
|
136 |
TrPreviewToolClass->addToolBar(static_cast<Qt::ToolBarArea>(4), mainToolBar);
|
|
137 |
statusBar = new QStatusBar(TrPreviewToolClass);
|
|
138 |
statusBar->setObjectName(QString::fromUtf8("statusBar"));
|
|
139 |
TrPreviewToolClass->setStatusBar(statusBar);
|
|
140 |
dwForms = new QDockWidget(TrPreviewToolClass);
|
|
141 |
dwForms->setObjectName(QString::fromUtf8("dwForms"));
|
|
142 |
dockWidgetContents = new QWidget();
|
|
143 |
dockWidgetContents->setObjectName(QString::fromUtf8("dockWidgetContents"));
|
|
144 |
vboxLayout = new QVBoxLayout(dockWidgetContents);
|
|
145 |
vboxLayout->setSpacing(0);
|
|
146 |
vboxLayout->setContentsMargins(0, 0, 0, 0);
|
|
147 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
|
148 |
viewForms = new QListView(dockWidgetContents);
|
|
149 |
viewForms->setObjectName(QString::fromUtf8("viewForms"));
|
|
150 |
viewForms->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
|
151 |
viewForms->setAlternatingRowColors(true);
|
|
152 |
viewForms->setUniformItemSizes(true);
|
|
153 |
|
|
154 |
vboxLayout->addWidget(viewForms);
|
|
155 |
|
|
156 |
dwForms->setWidget(dockWidgetContents);
|
|
157 |
TrPreviewToolClass->addDockWidget(static_cast<Qt::DockWidgetArea>(1), dwForms);
|
|
158 |
|
|
159 |
menuBar->addAction(menuFile->menuAction());
|
|
160 |
menuBar->addAction(menuView->menuAction());
|
|
161 |
menuBar->addAction(menuHelp->menuAction());
|
|
162 |
menuView->addAction(menuViewViews->menuAction());
|
|
163 |
menuHelp->addAction(actionAbout);
|
|
164 |
menuHelp->addAction(actionAbout_Qt);
|
|
165 |
menuFile->addAction(actionOpenForm);
|
|
166 |
menuFile->addAction(actionLoadTranslation);
|
|
167 |
menuFile->addAction(actionReloadTranslations);
|
|
168 |
menuFile->addSeparator();
|
|
169 |
menuFile->addAction(actionClose);
|
|
170 |
mainToolBar->addAction(actionOpenForm);
|
|
171 |
mainToolBar->addAction(actionLoadTranslation);
|
|
172 |
mainToolBar->addAction(actionReloadTranslations);
|
|
173 |
|
|
174 |
retranslateUi(TrPreviewToolClass);
|
|
175 |
|
|
176 |
QMetaObject::connectSlotsByName(TrPreviewToolClass);
|
|
177 |
} // setupUi
|
|
178 |
|
|
179 |
void retranslateUi(QMainWindow *TrPreviewToolClass)
|
|
180 |
{
|
|
181 |
TrPreviewToolClass->setWindowTitle(QApplication::translate("TrPreviewToolClass", "Qt Translation Preview Tool", 0, QApplication::UnicodeUTF8));
|
|
182 |
actionOpenForm->setText(QApplication::translate("TrPreviewToolClass", "&Open Form...", 0, QApplication::UnicodeUTF8));
|
|
183 |
actionLoadTranslation->setText(QApplication::translate("TrPreviewToolClass", "&Load Translation...", 0, QApplication::UnicodeUTF8));
|
|
184 |
actionReloadTranslations->setText(QApplication::translate("TrPreviewToolClass", "&Reload Translations", 0, QApplication::UnicodeUTF8));
|
|
185 |
actionReloadTranslations->setShortcut(QApplication::translate("TrPreviewToolClass", "F5", 0, QApplication::UnicodeUTF8));
|
|
186 |
actionClose->setText(QApplication::translate("TrPreviewToolClass", "&Close", 0, QApplication::UnicodeUTF8));
|
|
187 |
actionAbout->setText(QApplication::translate("TrPreviewToolClass", "About", 0, QApplication::UnicodeUTF8));
|
|
188 |
actionAbout_Qt->setText(QApplication::translate("TrPreviewToolClass", "About Qt", 0, QApplication::UnicodeUTF8));
|
|
189 |
menuView->setTitle(QApplication::translate("TrPreviewToolClass", "&View", 0, QApplication::UnicodeUTF8));
|
|
190 |
menuViewViews->setTitle(QApplication::translate("TrPreviewToolClass", "&Views", 0, QApplication::UnicodeUTF8));
|
|
191 |
menuHelp->setTitle(QApplication::translate("TrPreviewToolClass", "&Help", 0, QApplication::UnicodeUTF8));
|
|
192 |
menuFile->setTitle(QApplication::translate("TrPreviewToolClass", "&File", 0, QApplication::UnicodeUTF8));
|
|
193 |
dwForms->setWindowTitle(QApplication::translate("TrPreviewToolClass", "Forms", 0, QApplication::UnicodeUTF8));
|
|
194 |
} // retranslateUi
|
|
195 |
|
|
196 |
};
|
|
197 |
|
|
198 |
namespace Ui {
|
|
199 |
class TrPreviewToolClass: public Ui_TrPreviewToolClass {};
|
|
200 |
} // namespace Ui
|
|
201 |
|
|
202 |
QT_END_NAMESPACE
|
|
203 |
|
|
204 |
#endif // TRPREVIEWTOOL_H
|