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 ' phrasebookbox . 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 PHRASEBOOKBOX_H
# define PHRASEBOOKBOX_H
# include <QtCore/QVariant>
2011-09-22 13:09:37 +00:00
# include <QtWidgets/QApplication>
# include <QtWidgets/QDialog>
# include <QtWidgets/QGridLayout>
# include <QtWidgets/QHBoxLayout>
# include <QtWidgets/QHeaderView>
# include <QtWidgets/QLabel>
# include <QtWidgets/QLineEdit>
# include <QtWidgets/QPushButton>
# include <QtWidgets/QSpacerItem>
# include <QtWidgets/QTreeView>
# include <QtWidgets/QVBoxLayout>
2011-04-27 10:05:43 +00:00
QT_BEGIN_NAMESPACE
class Ui_PhraseBookBox
{
public :
QHBoxLayout * unnamed ;
QVBoxLayout * inputsLayout ;
QGridLayout * gridLayout ;
QLabel * target ;
QLineEdit * targetLed ;
QLabel * source ;
QLineEdit * definitionLed ;
QLineEdit * sourceLed ;
QLabel * definition ;
QTreeView * phraseList ;
QVBoxLayout * buttonLayout ;
QPushButton * newBut ;
QPushButton * removeBut ;
QPushButton * saveBut ;
QPushButton * closeBut ;
QSpacerItem * spacer1 ;
void setupUi ( QDialog * PhraseBookBox )
{
if ( PhraseBookBox - > objectName ( ) . isEmpty ( ) )
2011-12-11 15:55:01 +00:00
PhraseBookBox - > setObjectName ( QStringLiteral ( " PhraseBookBox " ) ) ;
2011-04-27 10:05:43 +00:00
PhraseBookBox - > resize ( 596 , 454 ) ;
unnamed = new QHBoxLayout ( PhraseBookBox ) ;
unnamed - > setSpacing ( 6 ) ;
unnamed - > setContentsMargins ( 11 , 11 , 11 , 11 ) ;
2011-12-11 15:55:01 +00:00
unnamed - > setObjectName ( QStringLiteral ( " unnamed " ) ) ;
2011-04-27 10:05:43 +00:00
inputsLayout = new QVBoxLayout ( ) ;
inputsLayout - > setSpacing ( 6 ) ;
2011-12-11 15:55:01 +00:00
inputsLayout - > setObjectName ( QStringLiteral ( " inputsLayout " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout = new QGridLayout ( ) ;
gridLayout - > setSpacing ( 6 ) ;
2011-12-11 15:55:01 +00:00
gridLayout - > setObjectName ( QStringLiteral ( " gridLayout " ) ) ;
2011-04-27 10:05:43 +00:00
target = new QLabel ( PhraseBookBox ) ;
2011-12-11 15:55:01 +00:00
target - > setObjectName ( QStringLiteral ( " target " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( target , 1 , 0 , 1 , 1 ) ;
targetLed = new QLineEdit ( PhraseBookBox ) ;
2011-12-11 15:55:01 +00:00
targetLed - > setObjectName ( QStringLiteral ( " targetLed " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( targetLed , 1 , 1 , 1 , 1 ) ;
source = new QLabel ( PhraseBookBox ) ;
2011-12-11 15:55:01 +00:00
source - > setObjectName ( QStringLiteral ( " source " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( source , 0 , 0 , 1 , 1 ) ;
definitionLed = new QLineEdit ( PhraseBookBox ) ;
2011-12-11 15:55:01 +00:00
definitionLed - > setObjectName ( QStringLiteral ( " definitionLed " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( definitionLed , 2 , 1 , 1 , 1 ) ;
sourceLed = new QLineEdit ( PhraseBookBox ) ;
2011-12-11 15:55:01 +00:00
sourceLed - > setObjectName ( QStringLiteral ( " sourceLed " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( sourceLed , 0 , 1 , 1 , 1 ) ;
definition = new QLabel ( PhraseBookBox ) ;
2011-12-11 15:55:01 +00:00
definition - > setObjectName ( QStringLiteral ( " definition " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( definition , 2 , 0 , 1 , 1 ) ;
inputsLayout - > addLayout ( gridLayout ) ;
phraseList = new QTreeView ( PhraseBookBox ) ;
2011-12-11 15:55:01 +00:00
phraseList - > setObjectName ( QStringLiteral ( " phraseList " ) ) ;
2011-04-27 10:05:43 +00:00
phraseList - > setRootIsDecorated ( false ) ;
phraseList - > setUniformRowHeights ( true ) ;
phraseList - > setItemsExpandable ( false ) ;
phraseList - > setSortingEnabled ( true ) ;
phraseList - > setExpandsOnDoubleClick ( false ) ;
inputsLayout - > addWidget ( phraseList ) ;
unnamed - > addLayout ( inputsLayout ) ;
buttonLayout = new QVBoxLayout ( ) ;
buttonLayout - > setSpacing ( 6 ) ;
2011-12-11 15:55:01 +00:00
buttonLayout - > setObjectName ( QStringLiteral ( " buttonLayout " ) ) ;
2011-04-27 10:05:43 +00:00
newBut = new QPushButton ( PhraseBookBox ) ;
2011-12-11 15:55:01 +00:00
newBut - > setObjectName ( QStringLiteral ( " newBut " ) ) ;
2011-04-27 10:05:43 +00:00
buttonLayout - > addWidget ( newBut ) ;
removeBut = new QPushButton ( PhraseBookBox ) ;
2011-12-11 15:55:01 +00:00
removeBut - > setObjectName ( QStringLiteral ( " removeBut " ) ) ;
2011-04-27 10:05:43 +00:00
buttonLayout - > addWidget ( removeBut ) ;
saveBut = new QPushButton ( PhraseBookBox ) ;
2011-12-11 15:55:01 +00:00
saveBut - > setObjectName ( QStringLiteral ( " saveBut " ) ) ;
2011-04-27 10:05:43 +00:00
buttonLayout - > addWidget ( saveBut ) ;
closeBut = new QPushButton ( PhraseBookBox ) ;
2011-12-11 15:55:01 +00:00
closeBut - > setObjectName ( QStringLiteral ( " closeBut " ) ) ;
2011-04-27 10:05:43 +00:00
buttonLayout - > addWidget ( closeBut ) ;
spacer1 = new QSpacerItem ( 20 , 51 , QSizePolicy : : Minimum , QSizePolicy : : Expanding ) ;
buttonLayout - > addItem ( spacer1 ) ;
unnamed - > addLayout ( buttonLayout ) ;
# ifndef QT_NO_SHORTCUT
target - > setBuddy ( targetLed ) ;
source - > setBuddy ( sourceLed ) ;
definition - > setBuddy ( definitionLed ) ;
# endif // QT_NO_SHORTCUT
QWidget : : setTabOrder ( sourceLed , targetLed ) ;
QWidget : : setTabOrder ( targetLed , definitionLed ) ;
QWidget : : setTabOrder ( definitionLed , newBut ) ;
QWidget : : setTabOrder ( newBut , removeBut ) ;
QWidget : : setTabOrder ( removeBut , saveBut ) ;
QWidget : : setTabOrder ( saveBut , closeBut ) ;
retranslateUi ( PhraseBookBox ) ;
QMetaObject : : connectSlotsByName ( PhraseBookBox ) ;
} // setupUi
void retranslateUi ( QDialog * PhraseBookBox )
{
2017-08-28 14:42:50 +00:00
PhraseBookBox - > setWindowTitle ( QApplication : : translate ( " PhraseBookBox " , " Edit Phrase Book " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
PhraseBookBox - > setWhatsThis ( QApplication : : translate ( " PhraseBookBox " , " This window allows you to add, modify, or delete phrases in a phrase book. " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
target - > setText ( QApplication : : translate ( " PhraseBookBox " , " &Translation: " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
targetLed - > setWhatsThis ( QApplication : : translate ( " PhraseBookBox " , " This is the phrase in the target language corresponding to the source phrase. " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
source - > setText ( QApplication : : translate ( " PhraseBookBox " , " S&ource phrase: " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
definitionLed - > setWhatsThis ( QApplication : : translate ( " PhraseBookBox " , " This is a definition for the source phrase. " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
# ifndef QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
sourceLed - > setWhatsThis ( QApplication : : translate ( " PhraseBookBox " , " This is the phrase in the source language. " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
definition - > setText ( QApplication : : translate ( " PhraseBookBox " , " &Definition: " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
newBut - > setWhatsThis ( QApplication : : translate ( " PhraseBookBox " , " Click here to add the phrase to the phrase book. " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
newBut - > setText ( QApplication : : translate ( " PhraseBookBox " , " &New Phrase " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
removeBut - > setWhatsThis ( QApplication : : translate ( " PhraseBookBox " , " Click here to remove the phrase from the phrase book. " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
removeBut - > setText ( QApplication : : translate ( " PhraseBookBox " , " &Remove Phrase " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
saveBut - > setWhatsThis ( QApplication : : translate ( " PhraseBookBox " , " Click here to save the changes made. " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
saveBut - > setText ( QApplication : : translate ( " PhraseBookBox " , " &Save " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# ifndef QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
closeBut - > setWhatsThis ( QApplication : : translate ( " PhraseBookBox " , " Click here to close this window. " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
# endif // QT_NO_WHATSTHIS
2017-08-28 14:42:50 +00:00
closeBut - > setText ( QApplication : : translate ( " PhraseBookBox " , " Close " , nullptr ) ) ;
2011-04-27 10:05:43 +00:00
} // retranslateUi
} ;
namespace Ui {
class PhraseBookBox : public Ui_PhraseBookBox { } ;
} // namespace Ui
QT_END_NAMESPACE
# endif // PHRASEBOOKBOX_H