2011-04-27 10:05:43 +00:00
/*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
2016-01-15 12:36:27 +00:00
* * Copyright ( C ) 2016 The Qt Company Ltd .
* * Contact : https : //www.qt.io/licensing/
2011-04-27 10:05:43 +00:00
* *
* * This file is part of the autotests of the Qt Toolkit .
* *
2016-01-15 12:36:27 +00:00
* * $ QT_BEGIN_LICENSE : GPL - EXCEPT $
2012-09-19 12:28:29 +00:00
* * 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
2015-01-28 08:44:43 +00:00
* * a written agreement between you and The Qt Company . For licensing terms
2016-01-15 12:36:27 +00:00
* * 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.
2011-04-27 10:05:43 +00:00
* *
* * $ QT_END_LICENSE $
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/
/********************************************************************************
* * Form generated from reading UI file ' translatedialog . ui '
* *
2020-04-24 12:29:29 +00:00
* * Created by : Qt User Interface Compiler version 6.0 .0
2011-04-27 10:05:43 +00:00
* *
* * WARNING ! All changes made in this file will be lost when recompiling UI file !
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
# ifndef TRANSLATEDIALOG_H
# define TRANSLATEDIALOG_H
# include <QtCore/QVariant>
2011-09-22 13:09:37 +00:00
# include <QtWidgets/QApplication>
# include <QtWidgets/QCheckBox>
# include <QtWidgets/QDialog>
# include <QtWidgets/QGridLayout>
# include <QtWidgets/QGroupBox>
# include <QtWidgets/QHBoxLayout>
# include <QtWidgets/QLabel>
# include <QtWidgets/QLineEdit>
# include <QtWidgets/QPushButton>
# include <QtWidgets/QSpacerItem>
# include <QtWidgets/QVBoxLayout>
2011-04-27 10:05:43 +00:00
QT_BEGIN_NAMESPACE
class Ui_TranslateDialog
{
public :
QHBoxLayout * hboxLayout ;
QVBoxLayout * vboxLayout ;
QGridLayout * gridLayout ;
QLineEdit * ledTranslateTo ;
QLabel * findWhat ;
QLabel * translateTo ;
QLineEdit * ledFindWhat ;
QGroupBox * groupBox ;
QVBoxLayout * vboxLayout1 ;
QCheckBox * ckMatchCase ;
QCheckBox * ckMarkFinished ;
QSpacerItem * spacerItem ;
QVBoxLayout * vboxLayout2 ;
QPushButton * findNxt ;
QPushButton * translate ;
QPushButton * translateAll ;
QPushButton * cancel ;
QSpacerItem * spacerItem1 ;
void setupUi ( QDialog * TranslateDialog )
{
if ( TranslateDialog - > objectName ( ) . isEmpty ( ) )
2018-07-13 09:02:14 +00:00
TranslateDialog - > setObjectName ( QString : : fromUtf8 ( " TranslateDialog " ) ) ;
2011-04-27 10:05:43 +00:00
TranslateDialog - > resize ( 407 , 145 ) ;
QSizePolicy sizePolicy ( QSizePolicy : : Preferred , QSizePolicy : : Maximum ) ;
sizePolicy . setHorizontalStretch ( 0 ) ;
sizePolicy . setVerticalStretch ( 0 ) ;
sizePolicy . setHeightForWidth ( TranslateDialog - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
TranslateDialog - > setSizePolicy ( sizePolicy ) ;
hboxLayout = new QHBoxLayout ( TranslateDialog ) ;
hboxLayout - > setSpacing ( 6 ) ;
hboxLayout - > setContentsMargins ( 11 , 11 , 11 , 11 ) ;
2018-07-13 09:02:14 +00:00
hboxLayout - > setObjectName ( QString : : fromUtf8 ( " hboxLayout " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout - > setContentsMargins ( 9 , 9 , 9 , 9 ) ;
vboxLayout = new QVBoxLayout ( ) ;
vboxLayout - > setSpacing ( 6 ) ;
2018-07-13 09:02:14 +00:00
vboxLayout - > setObjectName ( QString : : fromUtf8 ( " vboxLayout " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
gridLayout = new QGridLayout ( ) ;
gridLayout - > setSpacing ( 6 ) ;
2018-07-13 09:02:14 +00:00
gridLayout - > setObjectName ( QString : : fromUtf8 ( " gridLayout " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > setHorizontalSpacing ( 6 ) ;
gridLayout - > setVerticalSpacing ( 6 ) ;
gridLayout - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
ledTranslateTo = new QLineEdit ( TranslateDialog ) ;
2018-07-13 09:02:14 +00:00
ledTranslateTo - > setObjectName ( QString : : fromUtf8 ( " ledTranslateTo " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( ledTranslateTo , 1 , 1 , 1 , 1 ) ;
findWhat = new QLabel ( TranslateDialog ) ;
2018-07-13 09:02:14 +00:00
findWhat - > setObjectName ( QString : : fromUtf8 ( " findWhat " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( findWhat , 0 , 0 , 1 , 1 ) ;
translateTo = new QLabel ( TranslateDialog ) ;
2018-07-13 09:02:14 +00:00
translateTo - > setObjectName ( QString : : fromUtf8 ( " translateTo " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( translateTo , 1 , 0 , 1 , 1 ) ;
ledFindWhat = new QLineEdit ( TranslateDialog ) ;
2018-07-13 09:02:14 +00:00
ledFindWhat - > setObjectName ( QString : : fromUtf8 ( " ledFindWhat " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( ledFindWhat , 0 , 1 , 1 , 1 ) ;
vboxLayout - > addLayout ( gridLayout ) ;
groupBox = new QGroupBox ( TranslateDialog ) ;
2018-07-13 09:02:14 +00:00
groupBox - > setObjectName ( QString : : fromUtf8 ( " groupBox " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout1 = new QVBoxLayout ( groupBox ) ;
vboxLayout1 - > setSpacing ( 6 ) ;
vboxLayout1 - > setContentsMargins ( 11 , 11 , 11 , 11 ) ;
2018-07-13 09:02:14 +00:00
vboxLayout1 - > setObjectName ( QString : : fromUtf8 ( " vboxLayout1 " ) ) ;
2011-04-27 10:05:43 +00:00
ckMatchCase = new QCheckBox ( groupBox ) ;
2018-07-13 09:02:14 +00:00
ckMatchCase - > setObjectName ( QString : : fromUtf8 ( " ckMatchCase " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout1 - > addWidget ( ckMatchCase ) ;
ckMarkFinished = new QCheckBox ( groupBox ) ;
2018-07-13 09:02:14 +00:00
ckMarkFinished - > setObjectName ( QString : : fromUtf8 ( " ckMarkFinished " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout1 - > addWidget ( ckMarkFinished ) ;
spacerItem = new QSpacerItem ( 20 , 40 , QSizePolicy : : Minimum , QSizePolicy : : Expanding ) ;
vboxLayout1 - > addItem ( spacerItem ) ;
vboxLayout - > addWidget ( groupBox ) ;
hboxLayout - > addLayout ( vboxLayout ) ;
vboxLayout2 = new QVBoxLayout ( ) ;
vboxLayout2 - > setSpacing ( 6 ) ;
2018-07-13 09:02:14 +00:00
vboxLayout2 - > setObjectName ( QString : : fromUtf8 ( " vboxLayout2 " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout2 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
findNxt = new QPushButton ( TranslateDialog ) ;
2018-07-13 09:02:14 +00:00
findNxt - > setObjectName ( QString : : fromUtf8 ( " findNxt " ) ) ;
2011-04-27 10:05:43 +00:00
findNxt - > setFlat ( false ) ;
vboxLayout2 - > addWidget ( findNxt ) ;
translate = new QPushButton ( TranslateDialog ) ;
2018-07-13 09:02:14 +00:00
translate - > setObjectName ( QString : : fromUtf8 ( " translate " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout2 - > addWidget ( translate ) ;
translateAll = new QPushButton ( TranslateDialog ) ;
2018-07-13 09:02:14 +00:00
translateAll - > setObjectName ( QString : : fromUtf8 ( " translateAll " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout2 - > addWidget ( translateAll ) ;
cancel = new QPushButton ( TranslateDialog ) ;
2018-07-13 09:02:14 +00:00
cancel - > setObjectName ( QString : : fromUtf8 ( " cancel " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout2 - > addWidget ( cancel ) ;
spacerItem1 = new QSpacerItem ( 20 , 51 , QSizePolicy : : Minimum , QSizePolicy : : Expanding ) ;
vboxLayout2 - > addItem ( spacerItem1 ) ;
hboxLayout - > addLayout ( vboxLayout2 ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(shortcut)
2011-04-27 10:05:43 +00:00
findWhat - > setBuddy ( ledFindWhat ) ;
translateTo - > setBuddy ( ledTranslateTo ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(shortcut)
2011-04-27 10:05:43 +00:00
QWidget : : setTabOrder ( ledFindWhat , ledTranslateTo ) ;
QWidget : : setTabOrder ( ledTranslateTo , findNxt ) ;
QWidget : : setTabOrder ( findNxt , translate ) ;
QWidget : : setTabOrder ( translate , translateAll ) ;
QWidget : : setTabOrder ( translateAll , cancel ) ;
QWidget : : setTabOrder ( cancel , ckMatchCase ) ;
QWidget : : setTabOrder ( ckMatchCase , ckMarkFinished ) ;
retranslateUi ( TranslateDialog ) ;
QObject : : connect ( cancel , SIGNAL ( clicked ( ) ) , TranslateDialog , SLOT ( reject ( ) ) ) ;
2015-04-21 06:25:28 +00:00
findNxt - > setDefault ( true ) ;
2011-04-27 10:05:43 +00:00
QMetaObject : : connectSlotsByName ( TranslateDialog ) ;
} // setupUi
void retranslateUi ( QDialog * TranslateDialog )
{
2018-11-27 11:31:57 +00:00
TranslateDialog - > setWindowTitle ( QCoreApplication : : translate ( " TranslateDialog " , " Qt Linguist " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
TranslateDialog - > setWhatsThis ( QCoreApplication : : translate ( " TranslateDialog " , " This window allows you to search for some text in the translation source file. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
ledTranslateTo - > setWhatsThis ( QCoreApplication : : translate ( " TranslateDialog " , " Type in the text to search for. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
findWhat - > setText ( QCoreApplication : : translate ( " TranslateDialog " , " Find &source text: " , nullptr ) ) ;
translateTo - > setText ( QCoreApplication : : translate ( " TranslateDialog " , " &Translate to: " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
ledFindWhat - > setWhatsThis ( QCoreApplication : : translate ( " TranslateDialog " , " Type in the text to search for. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
groupBox - > setTitle ( QCoreApplication : : translate ( " TranslateDialog " , " Search options " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
ckMatchCase - > setWhatsThis ( QCoreApplication : : translate ( " TranslateDialog " , " Texts such as 'TeX' and 'tex' are considered as different when checked. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
ckMatchCase - > setText ( QCoreApplication : : translate ( " TranslateDialog " , " Match &case " , nullptr ) ) ;
ckMarkFinished - > setText ( QCoreApplication : : translate ( " TranslateDialog " , " Mark new translation as &finished " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
findNxt - > setWhatsThis ( QCoreApplication : : translate ( " TranslateDialog " , " Click here to find the next occurrence of the text you typed in. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
findNxt - > setText ( QCoreApplication : : translate ( " TranslateDialog " , " Find Next " , nullptr ) ) ;
translate - > setText ( QCoreApplication : : translate ( " TranslateDialog " , " Translate " , nullptr ) ) ;
translateAll - > setText ( QCoreApplication : : translate ( " TranslateDialog " , " Translate All " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
cancel - > setWhatsThis ( QCoreApplication : : translate ( " TranslateDialog " , " Click here to close this window. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
cancel - > setText ( QCoreApplication : : translate ( " TranslateDialog " , " Cancel " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
} // retranslateUi
} ;
namespace Ui {
class TranslateDialog : public Ui_TranslateDialog { } ;
} // namespace Ui
QT_END_NAMESPACE
# endif // TRANSLATEDIALOG_H