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 ' finddialog . ui '
* *
2012-12-13 12:48:18 +00:00
* * Created by : Qt User Interface Compiler version 5.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 FINDDIALOG_H
# define FINDDIALOG_H
# include <QtCore/QVariant>
2011-09-22 13:09:37 +00:00
# include <QtWidgets/QAction>
# include <QtWidgets/QApplication>
# include <QtWidgets/QButtonGroup>
# include <QtWidgets/QCheckBox>
# include <QtWidgets/QDialog>
# include <QtWidgets/QGridLayout>
# include <QtWidgets/QGroupBox>
# include <QtWidgets/QHBoxLayout>
# include <QtWidgets/QHeaderView>
# 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_FindDialog
{
public :
QHBoxLayout * hboxLayout ;
QVBoxLayout * vboxLayout ;
QHBoxLayout * hboxLayout1 ;
QLabel * findWhat ;
QLineEdit * led ;
QGroupBox * groupBox ;
QGridLayout * gridLayout ;
QCheckBox * sourceText ;
QCheckBox * translations ;
QCheckBox * matchCase ;
QCheckBox * comments ;
QCheckBox * ignoreAccelerators ;
QVBoxLayout * vboxLayout1 ;
QPushButton * findNxt ;
QPushButton * cancel ;
QSpacerItem * spacerItem ;
void setupUi ( QDialog * FindDialog )
{
if ( FindDialog - > objectName ( ) . isEmpty ( ) )
2011-12-11 15:55:01 +00:00
FindDialog - > setObjectName ( QStringLiteral ( " FindDialog " ) ) ;
2011-04-27 10:05:43 +00:00
FindDialog - > resize ( 414 , 170 ) ;
QSizePolicy sizePolicy ( QSizePolicy : : Preferred , QSizePolicy : : Maximum ) ;
sizePolicy . setHorizontalStretch ( 0 ) ;
sizePolicy . setVerticalStretch ( 0 ) ;
sizePolicy . setHeightForWidth ( FindDialog - > sizePolicy ( ) . hasHeightForWidth ( ) ) ;
FindDialog - > setSizePolicy ( sizePolicy ) ;
hboxLayout = new QHBoxLayout ( FindDialog ) ;
hboxLayout - > setSpacing ( 6 ) ;
hboxLayout - > setContentsMargins ( 11 , 11 , 11 , 11 ) ;
2011-12-11 15:55:01 +00:00
hboxLayout - > setObjectName ( QStringLiteral ( " hboxLayout " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout = new QVBoxLayout ( ) ;
vboxLayout - > setSpacing ( 6 ) ;
vboxLayout - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
2011-12-11 15:55:01 +00:00
vboxLayout - > setObjectName ( QStringLiteral ( " vboxLayout " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout1 = new QHBoxLayout ( ) ;
hboxLayout1 - > setSpacing ( 6 ) ;
hboxLayout1 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
2011-12-11 15:55:01 +00:00
hboxLayout1 - > setObjectName ( QStringLiteral ( " hboxLayout1 " ) ) ;
2011-04-27 10:05:43 +00:00
findWhat = new QLabel ( FindDialog ) ;
2011-12-11 15:55:01 +00:00
findWhat - > setObjectName ( QStringLiteral ( " findWhat " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout1 - > addWidget ( findWhat ) ;
led = new QLineEdit ( FindDialog ) ;
2011-12-11 15:55:01 +00:00
led - > setObjectName ( QStringLiteral ( " led " ) ) ;
2011-04-27 10:05:43 +00:00
hboxLayout1 - > addWidget ( led ) ;
vboxLayout - > addLayout ( hboxLayout1 ) ;
groupBox = new QGroupBox ( FindDialog ) ;
2011-12-11 15:55:01 +00:00
groupBox - > setObjectName ( QStringLiteral ( " groupBox " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout = new QGridLayout ( groupBox ) ;
gridLayout - > setSpacing ( 6 ) ;
gridLayout - > setContentsMargins ( 9 , 9 , 9 , 9 ) ;
2011-12-11 15:55:01 +00:00
gridLayout - > setObjectName ( QStringLiteral ( " gridLayout " ) ) ;
2011-04-27 10:05:43 +00:00
sourceText = new QCheckBox ( groupBox ) ;
2011-12-11 15:55:01 +00:00
sourceText - > setObjectName ( QStringLiteral ( " sourceText " ) ) ;
2011-04-27 10:05:43 +00:00
sourceText - > setChecked ( true ) ;
gridLayout - > addWidget ( sourceText , 1 , 0 , 1 , 1 ) ;
translations = new QCheckBox ( groupBox ) ;
2011-12-11 15:55:01 +00:00
translations - > setObjectName ( QStringLiteral ( " translations " ) ) ;
2011-04-27 10:05:43 +00:00
translations - > setChecked ( true ) ;
gridLayout - > addWidget ( translations , 2 , 0 , 1 , 1 ) ;
matchCase = new QCheckBox ( groupBox ) ;
2011-12-11 15:55:01 +00:00
matchCase - > setObjectName ( QStringLiteral ( " matchCase " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( matchCase , 0 , 1 , 1 , 1 ) ;
comments = new QCheckBox ( groupBox ) ;
2011-12-11 15:55:01 +00:00
comments - > setObjectName ( QStringLiteral ( " comments " ) ) ;
2011-04-27 10:05:43 +00:00
comments - > setChecked ( true ) ;
gridLayout - > addWidget ( comments , 0 , 0 , 1 , 1 ) ;
ignoreAccelerators = new QCheckBox ( groupBox ) ;
2011-12-11 15:55:01 +00:00
ignoreAccelerators - > setObjectName ( QStringLiteral ( " ignoreAccelerators " ) ) ;
2011-04-27 10:05:43 +00:00
ignoreAccelerators - > setChecked ( true ) ;
gridLayout - > addWidget ( ignoreAccelerators , 1 , 1 , 1 , 1 ) ;
vboxLayout - > addWidget ( groupBox ) ;
hboxLayout - > addLayout ( vboxLayout ) ;
vboxLayout1 = new QVBoxLayout ( ) ;
vboxLayout1 - > setSpacing ( 6 ) ;
vboxLayout1 - > setContentsMargins ( 0 , 0 , 0 , 0 ) ;
2011-12-11 15:55:01 +00:00
vboxLayout1 - > setObjectName ( QStringLiteral ( " vboxLayout1 " ) ) ;
2011-04-27 10:05:43 +00:00
findNxt = new QPushButton ( FindDialog ) ;
2011-12-11 15:55:01 +00:00
findNxt - > setObjectName ( QStringLiteral ( " findNxt " ) ) ;
2011-04-27 10:05:43 +00:00
findNxt - > setFlat ( false ) ;
vboxLayout1 - > addWidget ( findNxt ) ;
cancel = new QPushButton ( FindDialog ) ;
2011-12-11 15:55:01 +00:00
cancel - > setObjectName ( QStringLiteral ( " cancel " ) ) ;
2011-04-27 10:05:43 +00:00
vboxLayout1 - > addWidget ( cancel ) ;
spacerItem = new QSpacerItem ( 20 , 51 , QSizePolicy : : Minimum , QSizePolicy : : Expanding ) ;
vboxLayout1 - > addItem ( spacerItem ) ;
hboxLayout - > addLayout ( vboxLayout1 ) ;
# ifndef QT_NO_SHORTCUT
findWhat - > setBuddy ( led ) ;
# endif // QT_NO_SHORTCUT
QWidget : : setTabOrder ( led , findNxt ) ;
QWidget : : setTabOrder ( findNxt , cancel ) ;
QWidget : : setTabOrder ( cancel , comments ) ;
QWidget : : setTabOrder ( comments , sourceText ) ;
QWidget : : setTabOrder ( sourceText , translations ) ;
QWidget : : setTabOrder ( translations , matchCase ) ;
retranslateUi ( FindDialog ) ;
QObject : : connect ( cancel , SIGNAL ( clicked ( ) ) , FindDialog , SLOT ( reject ( ) ) ) ;
2015-04-21 06:25:28 +00:00
findNxt - > setDefault ( true ) ;
2011-04-27 10:05:43 +00:00
QMetaObject : : connectSlotsByName ( FindDialog ) ;
} // setupUi
void retranslateUi ( QDialog * FindDialog )
{
2016-08-17 03:52:14 +00:00
FindDialog - > setWindowTitle ( QApplication : : translate ( " FindDialog " , " Find " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
FindDialog - > setWhatsThis ( QApplication : : translate ( " FindDialog " , " This window allows you to search for some text in the translation source file. " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
findWhat - > setText ( QApplication : : translate ( " FindDialog " , " &Find what: " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
led - > setWhatsThis ( QApplication : : translate ( " FindDialog " , " Type in the text to search for. " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
groupBox - > setTitle ( QApplication : : translate ( " FindDialog " , " Options " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
sourceText - > setWhatsThis ( QApplication : : translate ( " FindDialog " , " Source texts are searched when checked. " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
sourceText - > setText ( QApplication : : translate ( " FindDialog " , " &Source texts " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
translations - > setWhatsThis ( QApplication : : translate ( " FindDialog " , " Translations are searched when checked. " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
translations - > setText ( QApplication : : translate ( " FindDialog " , " &Translations " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
matchCase - > setWhatsThis ( QApplication : : translate ( " FindDialog " , " Texts such as 'TeX' and 'tex' are considered as different when checked. " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
matchCase - > setText ( QApplication : : translate ( " FindDialog " , " &Match case " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
comments - > setWhatsThis ( QApplication : : translate ( " FindDialog " , " Comments and contexts are searched when checked. " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
comments - > setText ( QApplication : : translate ( " FindDialog " , " &Comments " , Q_NULLPTR ) ) ;
ignoreAccelerators - > setText ( QApplication : : translate ( " FindDialog " , " Ignore &accelerators " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
findNxt - > setWhatsThis ( QApplication : : translate ( " FindDialog " , " Click here to find the next occurrence of the text you typed in. " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
findNxt - > setText ( QApplication : : translate ( " FindDialog " , " Find Next " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
cancel - > setWhatsThis ( QApplication : : translate ( " FindDialog " , " Click here to close this window. " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2016-08-17 03:52:14 +00:00
cancel - > setText ( QApplication : : translate ( " FindDialog " , " Cancel " , Q_NULLPTR ) ) ;
2011-04-27 10:05:43 +00:00
} // retranslateUi
} ;
namespace Ui {
class FindDialog : public Ui_FindDialog { } ;
} // namespace Ui
QT_END_NAMESPACE
# endif // FINDDIALOG_H