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