Debian Codegraph @

tests/auto/tools/uic/baseline/phrasebookbox.ui.h

raw
1 /*
2 *********************************************************************
3 **
4 ** Copyright (C) 2016 The Qt Company Ltd.
5 ** Contact: https://www.qt.io/licensing/
6 **
7 ** This file is part of the autotests of the Qt Toolkit.
8 **
9 ** $QT_BEGIN_LICENSE:GPL-EXCEPT$
10 ** Commercial License Usage
11 ** Licensees holding valid commercial Qt licenses may use this file in
12 ** accordance with the commercial license agreement provided with the
13 ** Software or, alternatively, in accordance with the terms contained in
14 ** a written agreement between you and The Qt Company. For licensing terms
15 ** and conditions see https://www.qt.io/terms-conditions. For further
16 ** information use the contact form at https://www.qt.io/contact-us.
17 **
18 ** GNU General Public License Usage
19 ** Alternatively, this file may be used under the terms of the GNU
20 ** General Public License version 3 as published by the Free Software
21 ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
22 ** included in the packaging of this file. Please review the following
23 ** information to ensure the GNU General Public License requirements will
24 ** be met: https://www.gnu.org/licenses/gpl-3.0.html.
25 **
26 ** $QT_END_LICENSE$
27 **
28 *********************************************************************
29 */
30
31 /********************************************************************************
32 ** Form generated from reading UI file 'phrasebookbox.ui'
33 **
34 ** Created by: Qt User Interface Compiler version 5.12.0
35 **
36 ** WARNING! All changes made in this file will be lost when recompiling UI file!
37 ********************************************************************************/
38
39 #ifndef PHRASEBOOKBOX_H
40 #define PHRASEBOOKBOX_H
41
42 #include <QtCore/QVariant>
43 #include <QtWidgets/QApplication>
44 #include <QtWidgets/QDialog>
45 #include <QtWidgets/QGridLayout>
46 #include <QtWidgets/QHBoxLayout>
47 #include <QtWidgets/QHeaderView>
48 #include <QtWidgets/QLabel>
49 #include <QtWidgets/QLineEdit>
50 #include <QtWidgets/QPushButton>
51 #include <QtWidgets/QSpacerItem>
52 #include <QtWidgets/QTreeView>
53 #include <QtWidgets/QVBoxLayout>
54
55 QT_BEGIN_NAMESPACE
56
57 class Ui_PhraseBookBox
58 {
59 public:
60 QHBoxLayout *unnamed;
61 QVBoxLayout *inputsLayout;
62 QGridLayout *gridLayout;
63 QLabel *target;
64 QLineEdit *targetLed;
65 QLabel *source;
66 QLineEdit *definitionLed;
67 QLineEdit *sourceLed;
68 QLabel *definition;
69 QTreeView *phraseList;
70 QVBoxLayout *buttonLayout;
71 QPushButton *newBut;
72 QPushButton *removeBut;
73 QPushButton *saveBut;
74 QPushButton *closeBut;
75 QSpacerItem *spacer1;
76
77 void setupUi(QDialog *PhraseBookBox)
78 {
79 if (PhraseBookBox->objectName().isEmpty())
80 PhraseBookBox->setObjectName(QString::fromUtf8("PhraseBookBox"));
81 PhraseBookBox->resize(596, 454);
82 unnamed = new QHBoxLayout(PhraseBookBox);
83 unnamed->setSpacing(6);
84 unnamed->setContentsMargins(11, 11, 11, 11);
85 unnamed->setObjectName(QString::fromUtf8("unnamed"));
86 inputsLayout = new QVBoxLayout();
87 inputsLayout->setSpacing(6);
88 inputsLayout->setObjectName(QString::fromUtf8("inputsLayout"));
89 gridLayout = new QGridLayout();
90 gridLayout->setSpacing(6);
91 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
92 target = new QLabel(PhraseBookBox);
93 target->setObjectName(QString::fromUtf8("target"));
94
95 gridLayout->addWidget(target, 1, 0, 1, 1);
96
97 targetLed = new QLineEdit(PhraseBookBox);
98 targetLed->setObjectName(QString::fromUtf8("targetLed"));
99
100 gridLayout->addWidget(targetLed, 1, 1, 1, 1);
101
102 source = new QLabel(PhraseBookBox);
103 source->setObjectName(QString::fromUtf8("source"));
104
105 gridLayout->addWidget(source, 0, 0, 1, 1);
106
107 definitionLed = new QLineEdit(PhraseBookBox);
108 definitionLed->setObjectName(QString::fromUtf8("definitionLed"));
109
110 gridLayout->addWidget(definitionLed, 2, 1, 1, 1);
111
112 sourceLed = new QLineEdit(PhraseBookBox);
113 sourceLed->setObjectName(QString::fromUtf8("sourceLed"));
114
115 gridLayout->addWidget(sourceLed, 0, 1, 1, 1);
116
117 definition = new QLabel(PhraseBookBox);
118 definition->setObjectName(QString::fromUtf8("definition"));
119
120 gridLayout->addWidget(definition, 2, 0, 1, 1);
121
122
123 inputsLayout->addLayout(gridLayout);
124
125 phraseList = new QTreeView(PhraseBookBox);
126 phraseList->setObjectName(QString::fromUtf8("phraseList"));
127 phraseList->setRootIsDecorated(false);
128 phraseList->setUniformRowHeights(true);
129 phraseList->setItemsExpandable(false);
130 phraseList->setSortingEnabled(true);
131 phraseList->setExpandsOnDoubleClick(false);
132
133 inputsLayout->addWidget(phraseList);
134
135
136 unnamed->addLayout(inputsLayout);
137
138 buttonLayout = new QVBoxLayout();
139 buttonLayout->setSpacing(6);
140 buttonLayout->setObjectName(QString::fromUtf8("buttonLayout"));
141 newBut = new QPushButton(PhraseBookBox);
142 newBut->setObjectName(QString::fromUtf8("newBut"));
143
144 buttonLayout->addWidget(newBut);
145
146 removeBut = new QPushButton(PhraseBookBox);
147 removeBut->setObjectName(QString::fromUtf8("removeBut"));
148
149 buttonLayout->addWidget(removeBut);
150
151 saveBut = new QPushButton(PhraseBookBox);
152 saveBut->setObjectName(QString::fromUtf8("saveBut"));
153
154 buttonLayout->addWidget(saveBut);
155
156 closeBut = new QPushButton(PhraseBookBox);
157 closeBut->setObjectName(QString::fromUtf8("closeBut"));
158
159 buttonLayout->addWidget(closeBut);
160
161 spacer1 = new QSpacerItem(20, 51, QSizePolicy::Minimum, QSizePolicy::Expanding);
162
163 buttonLayout->addItem(spacer1);
164
165
166 unnamed->addLayout(buttonLayout);
167
168 #if QT_CONFIG(shortcut)
169 target->setBuddy(targetLed);
170 source->setBuddy(sourceLed);
171 definition->setBuddy(definitionLed);
172 #endif // QT_CONFIG(shortcut)
173 QWidget::setTabOrder(sourceLed, targetLed);
174 QWidget::setTabOrder(targetLed, definitionLed);
175 QWidget::setTabOrder(definitionLed, newBut);
176 QWidget::setTabOrder(newBut, removeBut);
177 QWidget::setTabOrder(removeBut, saveBut);
178 QWidget::setTabOrder(saveBut, closeBut);
179
180 retranslateUi(PhraseBookBox);
181
182 QMetaObject::connectSlotsByName(PhraseBookBox);
183 } // setupUi
184
185 void retranslateUi(QDialog *PhraseBookBox)
186 {
187 PhraseBookBox->setWindowTitle(QCoreApplication::translate("PhraseBookBox", "Edit Phrase Book", nullptr));
188 #if QT_CONFIG(whatsthis)
189 PhraseBookBox->setWhatsThis(QCoreApplication::translate("PhraseBookBox", "This window allows you to add, modify, or delete phrases in a phrase book.", nullptr));
190 #endif // QT_CONFIG(whatsthis)
191 target->setText(QCoreApplication::translate("PhraseBookBox", "&Translation:", nullptr));
192 #if QT_CONFIG(whatsthis)
193 targetLed->setWhatsThis(QCoreApplication::translate("PhraseBookBox", "This is the phrase in the target language corresponding to the source phrase.", nullptr));
194 #endif // QT_CONFIG(whatsthis)
195 source->setText(QCoreApplication::translate("PhraseBookBox", "S&ource phrase:", nullptr));
196 #if QT_CONFIG(whatsthis)
197 definitionLed->setWhatsThis(QCoreApplication::translate("PhraseBookBox", "This is a definition for the source phrase.", nullptr));
198 #endif // QT_CONFIG(whatsthis)
199 #if QT_CONFIG(whatsthis)
200 sourceLed->setWhatsThis(QCoreApplication::translate("PhraseBookBox", "This is the phrase in the source language.", nullptr));
201 #endif // QT_CONFIG(whatsthis)
202 definition->setText(QCoreApplication::translate("PhraseBookBox", "&Definition:", nullptr));
203 #if QT_CONFIG(whatsthis)
204 newBut->setWhatsThis(QCoreApplication::translate("PhraseBookBox", "Click here to add the phrase to the phrase book.", nullptr));
205 #endif // QT_CONFIG(whatsthis)
206 newBut->setText(QCoreApplication::translate("PhraseBookBox", "&New Phrase", nullptr));
207 #if QT_CONFIG(whatsthis)
208 removeBut->setWhatsThis(QCoreApplication::translate("PhraseBookBox", "Click here to remove the phrase from the phrase book.", nullptr));
209 #endif // QT_CONFIG(whatsthis)
210 removeBut->setText(QCoreApplication::translate("PhraseBookBox", "&Remove Phrase", nullptr));
211 #if QT_CONFIG(whatsthis)
212 saveBut->setWhatsThis(QCoreApplication::translate("PhraseBookBox", "Click here to save the changes made.", nullptr));
213 #endif // QT_CONFIG(whatsthis)
214 saveBut->setText(QCoreApplication::translate("PhraseBookBox", "&Save", nullptr));
215 #if QT_CONFIG(whatsthis)
216 closeBut->setWhatsThis(QCoreApplication::translate("PhraseBookBox", "Click here to close this window.", nullptr));
217 #endif // QT_CONFIG(whatsthis)
218 closeBut->setText(QCoreApplication::translate("PhraseBookBox", "Close", nullptr));
219 } // retranslateUi
220
221 };
222
223 namespace Ui {
224 class PhraseBookBox: public Ui_PhraseBookBox {};
225 } // namespace Ui
226
227 QT_END_NAMESPACE
228
229 #endif // PHRASEBOOKBOX_H