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 '
* *
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 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 ( ) )
2018-07-13 09:02:14 +00:00
PhraseBookBox - > setObjectName ( QString : : fromUtf8 ( " 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 ) ;
2018-07-13 09:02:14 +00:00
unnamed - > setObjectName ( QString : : fromUtf8 ( " unnamed " ) ) ;
2011-04-27 10:05:43 +00:00
inputsLayout = new QVBoxLayout ( ) ;
inputsLayout - > setSpacing ( 6 ) ;
2018-07-13 09:02:14 +00:00
inputsLayout - > setObjectName ( QString : : fromUtf8 ( " inputsLayout " ) ) ;
2011-04-27 10:05:43 +00:00
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
target = new QLabel ( PhraseBookBox ) ;
2018-07-13 09:02:14 +00:00
target - > setObjectName ( QString : : fromUtf8 ( " target " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( target , 1 , 0 , 1 , 1 ) ;
targetLed = new QLineEdit ( PhraseBookBox ) ;
2018-07-13 09:02:14 +00:00
targetLed - > setObjectName ( QString : : fromUtf8 ( " targetLed " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( targetLed , 1 , 1 , 1 , 1 ) ;
source = new QLabel ( PhraseBookBox ) ;
2018-07-13 09:02:14 +00:00
source - > setObjectName ( QString : : fromUtf8 ( " source " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( source , 0 , 0 , 1 , 1 ) ;
definitionLed = new QLineEdit ( PhraseBookBox ) ;
2018-07-13 09:02:14 +00:00
definitionLed - > setObjectName ( QString : : fromUtf8 ( " definitionLed " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( definitionLed , 2 , 1 , 1 , 1 ) ;
sourceLed = new QLineEdit ( PhraseBookBox ) ;
2018-07-13 09:02:14 +00:00
sourceLed - > setObjectName ( QString : : fromUtf8 ( " sourceLed " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( sourceLed , 0 , 1 , 1 , 1 ) ;
definition = new QLabel ( PhraseBookBox ) ;
2018-07-13 09:02:14 +00:00
definition - > setObjectName ( QString : : fromUtf8 ( " definition " ) ) ;
2011-04-27 10:05:43 +00:00
gridLayout - > addWidget ( definition , 2 , 0 , 1 , 1 ) ;
inputsLayout - > addLayout ( gridLayout ) ;
phraseList = new QTreeView ( PhraseBookBox ) ;
2018-07-13 09:02:14 +00:00
phraseList - > setObjectName ( QString : : fromUtf8 ( " 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 ) ;
2018-07-13 09:02:14 +00:00
buttonLayout - > setObjectName ( QString : : fromUtf8 ( " buttonLayout " ) ) ;
2011-04-27 10:05:43 +00:00
newBut = new QPushButton ( PhraseBookBox ) ;
2018-07-13 09:02:14 +00:00
newBut - > setObjectName ( QString : : fromUtf8 ( " newBut " ) ) ;
2011-04-27 10:05:43 +00:00
buttonLayout - > addWidget ( newBut ) ;
removeBut = new QPushButton ( PhraseBookBox ) ;
2018-07-13 09:02:14 +00:00
removeBut - > setObjectName ( QString : : fromUtf8 ( " removeBut " ) ) ;
2011-04-27 10:05:43 +00:00
buttonLayout - > addWidget ( removeBut ) ;
saveBut = new QPushButton ( PhraseBookBox ) ;
2018-07-13 09:02:14 +00:00
saveBut - > setObjectName ( QString : : fromUtf8 ( " saveBut " ) ) ;
2011-04-27 10:05:43 +00:00
buttonLayout - > addWidget ( saveBut ) ;
closeBut = new QPushButton ( PhraseBookBox ) ;
2018-07-13 09:02:14 +00:00
closeBut - > setObjectName ( QString : : fromUtf8 ( " 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 ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(shortcut)
2011-04-27 10:05:43 +00:00
target - > setBuddy ( targetLed ) ;
source - > setBuddy ( sourceLed ) ;
definition - > setBuddy ( definitionLed ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(shortcut)
2011-04-27 10:05:43 +00:00
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 )
{
2018-11-27 11:31:57 +00:00
PhraseBookBox - > setWindowTitle ( QCoreApplication : : translate ( " PhraseBookBox " , " Edit Phrase Book " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
PhraseBookBox - > setWhatsThis ( QCoreApplication : : translate ( " PhraseBookBox " , " This window allows you to add, modify, or delete phrases in a phrase book. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
target - > setText ( QCoreApplication : : translate ( " PhraseBookBox " , " &Translation: " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
targetLed - > setWhatsThis ( QCoreApplication : : translate ( " PhraseBookBox " , " This is the phrase in the target language corresponding to the source phrase. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
source - > setText ( QCoreApplication : : translate ( " PhraseBookBox " , " S&ource phrase: " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
definitionLed - > setWhatsThis ( QCoreApplication : : translate ( " PhraseBookBox " , " This is a definition for the source phrase. " , 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
sourceLed - > setWhatsThis ( QCoreApplication : : translate ( " PhraseBookBox " , " This is the phrase in the source language. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
definition - > setText ( QCoreApplication : : translate ( " PhraseBookBox " , " &Definition: " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
newBut - > setWhatsThis ( QCoreApplication : : translate ( " PhraseBookBox " , " Click here to add the phrase to the phrase book. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
newBut - > setText ( QCoreApplication : : translate ( " PhraseBookBox " , " &New Phrase " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
removeBut - > setWhatsThis ( QCoreApplication : : translate ( " PhraseBookBox " , " Click here to remove the phrase from the phrase book. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
removeBut - > setText ( QCoreApplication : : translate ( " PhraseBookBox " , " &Remove Phrase " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
saveBut - > setWhatsThis ( QCoreApplication : : translate ( " PhraseBookBox " , " Click here to save the changes made. " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# endif // QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
saveBut - > setText ( QCoreApplication : : translate ( " PhraseBookBox " , " &Save " , nullptr ) ) ;
2018-10-22 11:42:22 +00:00
# if QT_CONFIG(whatsthis)
2018-11-27 11:31:57 +00:00
closeBut - > setWhatsThis ( QCoreApplication : : translate ( " PhraseBookBox " , " 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
closeBut - > setText ( QCoreApplication : : 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