tests/auto/uic/baseline/phrasebookbox.ui.h
changeset 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 /*
       
     2 *********************************************************************
       
     3 **
       
     4 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     5 ** All rights reserved.
       
     6 ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     7 **
       
     8 ** This file is part of the autotests of the Qt Toolkit.
       
     9 **
       
    10 ** $QT_BEGIN_LICENSE:LGPL$
       
    11 ** No Commercial Usage
       
    12 ** This file contains pre-release code and may not be distributed.
       
    13 ** You may use this file in accordance with the terms and conditions
       
    14 ** contained in the Technology Preview License Agreement accompanying
       
    15 ** this package.
       
    16 **
       
    17 ** GNU Lesser General Public License Usage
       
    18 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    19 ** General Public License version 2.1 as published by the Free Software
       
    20 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    21 ** packaging of this file.  Please review the following information to
       
    22 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    24 **
       
    25 ** In addition, as a special exception, Nokia gives you certain additional
       
    26 ** rights.  These rights are described in the Nokia Qt LGPL Exception
       
    27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    28 **
       
    29 ** If you have questions regarding the use of this file, please contact
       
    30 ** Nokia at qt-info@nokia.com.
       
    31 **
       
    32 **
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    38 **
       
    39 ** $QT_END_LICENSE$
       
    40 **
       
    41 *********************************************************************
       
    42 */
       
    43 
       
    44 /********************************************************************************
       
    45 ** Form generated from reading UI file 'phrasebookbox.ui'
       
    46 **
       
    47 ** Created: Fri Sep 4 10:17:14 2009
       
    48 **      by: Qt User Interface Compiler version 4.6.0
       
    49 **
       
    50 ** WARNING! All changes made in this file will be lost when recompiling UI file!
       
    51 ********************************************************************************/
       
    52 
       
    53 #ifndef PHRASEBOOKBOX_H
       
    54 #define PHRASEBOOKBOX_H
       
    55 
       
    56 #include <QtCore/QVariant>
       
    57 #include <QtGui/QAction>
       
    58 #include <QtGui/QApplication>
       
    59 #include <QtGui/QButtonGroup>
       
    60 #include <QtGui/QDialog>
       
    61 #include <QtGui/QGridLayout>
       
    62 #include <QtGui/QHBoxLayout>
       
    63 #include <QtGui/QHeaderView>
       
    64 #include <QtGui/QLabel>
       
    65 #include <QtGui/QLineEdit>
       
    66 #include <QtGui/QPushButton>
       
    67 #include <QtGui/QSpacerItem>
       
    68 #include <QtGui/QTreeView>
       
    69 #include <QtGui/QVBoxLayout>
       
    70 
       
    71 QT_BEGIN_NAMESPACE
       
    72 
       
    73 class Ui_PhraseBookBox
       
    74 {
       
    75 public:
       
    76     QHBoxLayout *unnamed;
       
    77     QVBoxLayout *inputsLayout;
       
    78     QGridLayout *gridLayout;
       
    79     QLabel *target;
       
    80     QLineEdit *targetLed;
       
    81     QLabel *source;
       
    82     QLineEdit *definitionLed;
       
    83     QLineEdit *sourceLed;
       
    84     QLabel *definition;
       
    85     QTreeView *phraseList;
       
    86     QVBoxLayout *buttonLayout;
       
    87     QPushButton *newBut;
       
    88     QPushButton *removeBut;
       
    89     QPushButton *saveBut;
       
    90     QPushButton *closeBut;
       
    91     QSpacerItem *spacer1;
       
    92 
       
    93     void setupUi(QDialog *PhraseBookBox)
       
    94     {
       
    95         if (PhraseBookBox->objectName().isEmpty())
       
    96             PhraseBookBox->setObjectName(QString::fromUtf8("PhraseBookBox"));
       
    97         PhraseBookBox->resize(596, 454);
       
    98         unnamed = new QHBoxLayout(PhraseBookBox);
       
    99         unnamed->setSpacing(6);
       
   100         unnamed->setContentsMargins(11, 11, 11, 11);
       
   101         unnamed->setObjectName(QString::fromUtf8("unnamed"));
       
   102         inputsLayout = new QVBoxLayout();
       
   103         inputsLayout->setSpacing(6);
       
   104         inputsLayout->setObjectName(QString::fromUtf8("inputsLayout"));
       
   105         gridLayout = new QGridLayout();
       
   106         gridLayout->setSpacing(6);
       
   107         gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
       
   108         target = new QLabel(PhraseBookBox);
       
   109         target->setObjectName(QString::fromUtf8("target"));
       
   110 
       
   111         gridLayout->addWidget(target, 1, 0, 1, 1);
       
   112 
       
   113         targetLed = new QLineEdit(PhraseBookBox);
       
   114         targetLed->setObjectName(QString::fromUtf8("targetLed"));
       
   115 
       
   116         gridLayout->addWidget(targetLed, 1, 1, 1, 1);
       
   117 
       
   118         source = new QLabel(PhraseBookBox);
       
   119         source->setObjectName(QString::fromUtf8("source"));
       
   120 
       
   121         gridLayout->addWidget(source, 0, 0, 1, 1);
       
   122 
       
   123         definitionLed = new QLineEdit(PhraseBookBox);
       
   124         definitionLed->setObjectName(QString::fromUtf8("definitionLed"));
       
   125 
       
   126         gridLayout->addWidget(definitionLed, 2, 1, 1, 1);
       
   127 
       
   128         sourceLed = new QLineEdit(PhraseBookBox);
       
   129         sourceLed->setObjectName(QString::fromUtf8("sourceLed"));
       
   130 
       
   131         gridLayout->addWidget(sourceLed, 0, 1, 1, 1);
       
   132 
       
   133         definition = new QLabel(PhraseBookBox);
       
   134         definition->setObjectName(QString::fromUtf8("definition"));
       
   135 
       
   136         gridLayout->addWidget(definition, 2, 0, 1, 1);
       
   137 
       
   138 
       
   139         inputsLayout->addLayout(gridLayout);
       
   140 
       
   141         phraseList = new QTreeView(PhraseBookBox);
       
   142         phraseList->setObjectName(QString::fromUtf8("phraseList"));
       
   143         phraseList->setRootIsDecorated(false);
       
   144         phraseList->setUniformRowHeights(true);
       
   145         phraseList->setItemsExpandable(false);
       
   146         phraseList->setSortingEnabled(true);
       
   147         phraseList->setExpandsOnDoubleClick(false);
       
   148 
       
   149         inputsLayout->addWidget(phraseList);
       
   150 
       
   151 
       
   152         unnamed->addLayout(inputsLayout);
       
   153 
       
   154         buttonLayout = new QVBoxLayout();
       
   155         buttonLayout->setSpacing(6);
       
   156         buttonLayout->setObjectName(QString::fromUtf8("buttonLayout"));
       
   157         newBut = new QPushButton(PhraseBookBox);
       
   158         newBut->setObjectName(QString::fromUtf8("newBut"));
       
   159 
       
   160         buttonLayout->addWidget(newBut);
       
   161 
       
   162         removeBut = new QPushButton(PhraseBookBox);
       
   163         removeBut->setObjectName(QString::fromUtf8("removeBut"));
       
   164 
       
   165         buttonLayout->addWidget(removeBut);
       
   166 
       
   167         saveBut = new QPushButton(PhraseBookBox);
       
   168         saveBut->setObjectName(QString::fromUtf8("saveBut"));
       
   169 
       
   170         buttonLayout->addWidget(saveBut);
       
   171 
       
   172         closeBut = new QPushButton(PhraseBookBox);
       
   173         closeBut->setObjectName(QString::fromUtf8("closeBut"));
       
   174 
       
   175         buttonLayout->addWidget(closeBut);
       
   176 
       
   177         spacer1 = new QSpacerItem(20, 51, QSizePolicy::Minimum, QSizePolicy::Expanding);
       
   178 
       
   179         buttonLayout->addItem(spacer1);
       
   180 
       
   181 
       
   182         unnamed->addLayout(buttonLayout);
       
   183 
       
   184 #ifndef QT_NO_SHORTCUT
       
   185         target->setBuddy(targetLed);
       
   186         source->setBuddy(sourceLed);
       
   187         definition->setBuddy(definitionLed);
       
   188 #endif // QT_NO_SHORTCUT
       
   189         QWidget::setTabOrder(sourceLed, targetLed);
       
   190         QWidget::setTabOrder(targetLed, definitionLed);
       
   191         QWidget::setTabOrder(definitionLed, newBut);
       
   192         QWidget::setTabOrder(newBut, removeBut);
       
   193         QWidget::setTabOrder(removeBut, saveBut);
       
   194         QWidget::setTabOrder(saveBut, closeBut);
       
   195 
       
   196         retranslateUi(PhraseBookBox);
       
   197 
       
   198         QMetaObject::connectSlotsByName(PhraseBookBox);
       
   199     } // setupUi
       
   200 
       
   201     void retranslateUi(QDialog *PhraseBookBox)
       
   202     {
       
   203         PhraseBookBox->setWindowTitle(QApplication::translate("PhraseBookBox", "Edit Phrase Book", 0, QApplication::UnicodeUTF8));
       
   204 #ifndef QT_NO_WHATSTHIS
       
   205         PhraseBookBox->setWhatsThis(QApplication::translate("PhraseBookBox", "This window allows you to add, modify, or delete phrases in a phrase book.", 0, QApplication::UnicodeUTF8));
       
   206 #endif // QT_NO_WHATSTHIS
       
   207         target->setText(QApplication::translate("PhraseBookBox", "&Translation:", 0, QApplication::UnicodeUTF8));
       
   208 #ifndef QT_NO_WHATSTHIS
       
   209         targetLed->setWhatsThis(QApplication::translate("PhraseBookBox", "This is the phrase in the target language corresponding to the source phrase.", 0, QApplication::UnicodeUTF8));
       
   210 #endif // QT_NO_WHATSTHIS
       
   211         source->setText(QApplication::translate("PhraseBookBox", "S&ource phrase:", 0, QApplication::UnicodeUTF8));
       
   212 #ifndef QT_NO_WHATSTHIS
       
   213         definitionLed->setWhatsThis(QApplication::translate("PhraseBookBox", "This is a definition for the source phrase.", 0, QApplication::UnicodeUTF8));
       
   214 #endif // QT_NO_WHATSTHIS
       
   215 #ifndef QT_NO_WHATSTHIS
       
   216         sourceLed->setWhatsThis(QApplication::translate("PhraseBookBox", "This is the phrase in the source language.", 0, QApplication::UnicodeUTF8));
       
   217 #endif // QT_NO_WHATSTHIS
       
   218         definition->setText(QApplication::translate("PhraseBookBox", "&Definition:", 0, QApplication::UnicodeUTF8));
       
   219 #ifndef QT_NO_WHATSTHIS
       
   220         newBut->setWhatsThis(QApplication::translate("PhraseBookBox", "Click here to add the phrase to the phrase book.", 0, QApplication::UnicodeUTF8));
       
   221 #endif // QT_NO_WHATSTHIS
       
   222         newBut->setText(QApplication::translate("PhraseBookBox", "&New Phrase", 0, QApplication::UnicodeUTF8));
       
   223 #ifndef QT_NO_WHATSTHIS
       
   224         removeBut->setWhatsThis(QApplication::translate("PhraseBookBox", "Click here to remove the phrase from the phrase book.", 0, QApplication::UnicodeUTF8));
       
   225 #endif // QT_NO_WHATSTHIS
       
   226         removeBut->setText(QApplication::translate("PhraseBookBox", "&Remove Phrase", 0, QApplication::UnicodeUTF8));
       
   227 #ifndef QT_NO_WHATSTHIS
       
   228         saveBut->setWhatsThis(QApplication::translate("PhraseBookBox", "Click here to save the changes made.", 0, QApplication::UnicodeUTF8));
       
   229 #endif // QT_NO_WHATSTHIS
       
   230         saveBut->setText(QApplication::translate("PhraseBookBox", "&Save", 0, QApplication::UnicodeUTF8));
       
   231 #ifndef QT_NO_WHATSTHIS
       
   232         closeBut->setWhatsThis(QApplication::translate("PhraseBookBox", "Click here to close this window.", 0, QApplication::UnicodeUTF8));
       
   233 #endif // QT_NO_WHATSTHIS
       
   234         closeBut->setText(QApplication::translate("PhraseBookBox", "Close", 0, QApplication::UnicodeUTF8));
       
   235     } // retranslateUi
       
   236 
       
   237 };
       
   238 
       
   239 namespace Ui {
       
   240     class PhraseBookBox: public Ui_PhraseBookBox {};
       
   241 } // namespace Ui
       
   242 
       
   243 QT_END_NAMESPACE
       
   244 
       
   245 #endif // PHRASEBOOKBOX_H