Debian Codegraph @

tests/auto/tools/uic/baseline/qfiledialog.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 'qfiledialog.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 QFILEDIALOG_H
40 #define QFILEDIALOG_H
41
42 #include <QtCore/QVariant>
43 #include <QtWidgets/QApplication>
44 #include <QtWidgets/QComboBox>
45 #include <QtWidgets/QDialog>
46 #include <QtWidgets/QDialogButtonBox>
47 #include <QtWidgets/QFrame>
48 #include <QtWidgets/QGridLayout>
49 #include <QtWidgets/QHBoxLayout>
50 #include <QtWidgets/QHeaderView>
51 #include <QtWidgets/QLabel>
52 #include <QtWidgets/QSplitter>
53 #include <QtWidgets/QStackedWidget>
54 #include <QtWidgets/QToolButton>
55 #include <QtWidgets/QVBoxLayout>
56 #include <QtWidgets/QWidget>
57 #include "qfiledialog_p.h"
58 #include "qsidebar_p.h"
59
60 QT_BEGIN_NAMESPACE
61
62 class Ui_QFileDialog
63 {
64 public:
65 QGridLayout *gridLayout;
66 QLabel *lookInLabel;
67 QHBoxLayout *hboxLayout;
68 QFileDialogComboBox *lookInCombo;
69 QToolButton *backButton;
70 QToolButton *forwardButton;
71 QToolButton *toParentButton;
72 QToolButton *newFolderButton;
73 QToolButton *listModeButton;
74 QToolButton *detailModeButton;
75 QSplitter *splitter;
76 QSidebar *sidebar;
77 QFrame *frame;
78 QVBoxLayout *vboxLayout;
79 QStackedWidget *stackedWidget;
80 QWidget *page;
81 QVBoxLayout *vboxLayout1;
82 QFileDialogListView *listView;
83 QWidget *page_2;
84 QVBoxLayout *vboxLayout2;
85 QFileDialogTreeView *treeView;
86 QLabel *fileNameLabel;
87 QFileDialogLineEdit *fileNameEdit;
88 QDialogButtonBox *buttonBox;
89 QLabel *fileTypeLabel;
90 QComboBox *fileTypeCombo;
91
92 void setupUi(QDialog *QFileDialog)
93 {
94 if (QFileDialog->objectName().isEmpty())
95 QFileDialog->setObjectName(QString::fromUtf8("QFileDialog"));
96 QFileDialog->resize(521, 316);
97 QFileDialog->setSizeGripEnabled(true);
98 gridLayout = new QGridLayout(QFileDialog);
99 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
100 lookInLabel = new QLabel(QFileDialog);
101 lookInLabel->setObjectName(QString::fromUtf8("lookInLabel"));
102
103 gridLayout->addWidget(lookInLabel, 0, 0, 1, 1);
104
105 hboxLayout = new QHBoxLayout();
106 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
107 lookInCombo = new QFileDialogComboBox(QFileDialog);
108 lookInCombo->setObjectName(QString::fromUtf8("lookInCombo"));
109 QSizePolicy sizePolicy(QSizePolicy::Ignored, QSizePolicy::Fixed);
110 sizePolicy.setHorizontalStretch(1);
111 sizePolicy.setVerticalStretch(0);
112 sizePolicy.setHeightForWidth(lookInCombo->sizePolicy().hasHeightForWidth());
113 lookInCombo->setSizePolicy(sizePolicy);
114 lookInCombo->setMinimumSize(QSize(50, 0));
115
116 hboxLayout->addWidget(lookInCombo);
117
118 backButton = new QToolButton(QFileDialog);
119 backButton->setObjectName(QString::fromUtf8("backButton"));
120
121 hboxLayout->addWidget(backButton);
122
123 forwardButton = new QToolButton(QFileDialog);
124 forwardButton->setObjectName(QString::fromUtf8("forwardButton"));
125
126 hboxLayout->addWidget(forwardButton);
127
128 toParentButton = new QToolButton(QFileDialog);
129 toParentButton->setObjectName(QString::fromUtf8("toParentButton"));
130
131 hboxLayout->addWidget(toParentButton);
132
133 newFolderButton = new QToolButton(QFileDialog);
134 newFolderButton->setObjectName(QString::fromUtf8("newFolderButton"));
135
136 hboxLayout->addWidget(newFolderButton);
137
138 listModeButton = new QToolButton(QFileDialog);
139 listModeButton->setObjectName(QString::fromUtf8("listModeButton"));
140
141 hboxLayout->addWidget(listModeButton);
142
143 detailModeButton = new QToolButton(QFileDialog);
144 detailModeButton->setObjectName(QString::fromUtf8("detailModeButton"));
145
146 hboxLayout->addWidget(detailModeButton);
147
148
149 gridLayout->addLayout(hboxLayout, 0, 1, 1, 2);
150
151 splitter = new QSplitter(QFileDialog);
152 splitter->setObjectName(QString::fromUtf8("splitter"));
153 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
154 sizePolicy1.setHorizontalStretch(0);
155 sizePolicy1.setVerticalStretch(0);
156 sizePolicy1.setHeightForWidth(splitter->sizePolicy().hasHeightForWidth());
157 splitter->setSizePolicy(sizePolicy1);
158 splitter->setOrientation(Qt::Horizontal);
159 sidebar = new QSidebar(splitter);
160 sidebar->setObjectName(QString::fromUtf8("sidebar"));
161 splitter->addWidget(sidebar);
162 frame = new QFrame(splitter);
163 frame->setObjectName(QString::fromUtf8("frame"));
164 frame->setFrameShape(QFrame::NoFrame);
165 frame->setFrameShadow(QFrame::Raised);
166 vboxLayout = new QVBoxLayout(frame);
167 vboxLayout->setSpacing(0);
168 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
169 vboxLayout->setContentsMargins(0, 0, 0, 0);
170 stackedWidget = new QStackedWidget(frame);
171 stackedWidget->setObjectName(QString::fromUtf8("stackedWidget"));
172 page = new QWidget();
173 page->setObjectName(QString::fromUtf8("page"));
174 vboxLayout1 = new QVBoxLayout(page);
175 vboxLayout1->setSpacing(0);
176 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
177 vboxLayout1->setContentsMargins(0, 0, 0, 0);
178 listView = new QFileDialogListView(page);
179 listView->setObjectName(QString::fromUtf8("listView"));
180
181 vboxLayout1->addWidget(listView);
182
183 stackedWidget->addWidget(page);
184 page_2 = new QWidget();
185 page_2->setObjectName(QString::fromUtf8("page_2"));
186 vboxLayout2 = new QVBoxLayout(page_2);
187 vboxLayout2->setSpacing(0);
188 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
189 vboxLayout2->setContentsMargins(0, 0, 0, 0);
190 treeView = new QFileDialogTreeView(page_2);
191 treeView->setObjectName(QString::fromUtf8("treeView"));
192
193 vboxLayout2->addWidget(treeView);
194
195 stackedWidget->addWidget(page_2);
196
197 vboxLayout->addWidget(stackedWidget);
198
199 splitter->addWidget(frame);
200
201 gridLayout->addWidget(splitter, 1, 0, 1, 3);
202
203 fileNameLabel = new QLabel(QFileDialog);
204 fileNameLabel->setObjectName(QString::fromUtf8("fileNameLabel"));
205 QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Preferred);
206 sizePolicy2.setHorizontalStretch(0);
207 sizePolicy2.setVerticalStretch(0);
208 sizePolicy2.setHeightForWidth(fileNameLabel->sizePolicy().hasHeightForWidth());
209 fileNameLabel->setSizePolicy(sizePolicy2);
210 fileNameLabel->setMinimumSize(QSize(0, 0));
211
212 gridLayout->addWidget(fileNameLabel, 2, 0, 1, 1);
213
214 fileNameEdit = new QFileDialogLineEdit(QFileDialog);
215 fileNameEdit->setObjectName(QString::fromUtf8("fileNameEdit"));
216 QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Fixed);
217 sizePolicy3.setHorizontalStretch(1);
218 sizePolicy3.setVerticalStretch(0);
219 sizePolicy3.setHeightForWidth(fileNameEdit->sizePolicy().hasHeightForWidth());
220 fileNameEdit->setSizePolicy(sizePolicy3);
221
222 gridLayout->addWidget(fileNameEdit, 2, 1, 1, 1);
223
224 buttonBox = new QDialogButtonBox(QFileDialog);
225 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
226 buttonBox->setOrientation(Qt::Vertical);
227 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
228
229 gridLayout->addWidget(buttonBox, 2, 2, 2, 1);
230
231 fileTypeLabel = new QLabel(QFileDialog);
232 fileTypeLabel->setObjectName(QString::fromUtf8("fileTypeLabel"));
233 QSizePolicy sizePolicy4(QSizePolicy::Preferred, QSizePolicy::Fixed);
234 sizePolicy4.setHorizontalStretch(0);
235 sizePolicy4.setVerticalStretch(0);
236 sizePolicy4.setHeightForWidth(fileTypeLabel->sizePolicy().hasHeightForWidth());
237 fileTypeLabel->setSizePolicy(sizePolicy4);
238
239 gridLayout->addWidget(fileTypeLabel, 3, 0, 1, 1);
240
241 fileTypeCombo = new QComboBox(QFileDialog);
242 fileTypeCombo->setObjectName(QString::fromUtf8("fileTypeCombo"));
243 QSizePolicy sizePolicy5(QSizePolicy::Expanding, QSizePolicy::Fixed);
244 sizePolicy5.setHorizontalStretch(0);
245 sizePolicy5.setVerticalStretch(0);
246 sizePolicy5.setHeightForWidth(fileTypeCombo->sizePolicy().hasHeightForWidth());
247 fileTypeCombo->setSizePolicy(sizePolicy5);
248
249 gridLayout->addWidget(fileTypeCombo, 3, 1, 1, 1);
250
251 QWidget::setTabOrder(lookInCombo, backButton);
252 QWidget::setTabOrder(backButton, forwardButton);
253 QWidget::setTabOrder(forwardButton, toParentButton);
254 QWidget::setTabOrder(toParentButton, newFolderButton);
255 QWidget::setTabOrder(newFolderButton, listModeButton);
256 QWidget::setTabOrder(listModeButton, detailModeButton);
257 QWidget::setTabOrder(detailModeButton, sidebar);
258 QWidget::setTabOrder(sidebar, listView);
259 QWidget::setTabOrder(listView, fileNameEdit);
260 QWidget::setTabOrder(fileNameEdit, fileTypeCombo);
261 QWidget::setTabOrder(fileTypeCombo, buttonBox);
262 QWidget::setTabOrder(buttonBox, treeView);
263
264 retranslateUi(QFileDialog);
265
266 stackedWidget->setCurrentIndex(0);
267
268
269 QMetaObject::connectSlotsByName(QFileDialog);
270 } // setupUi
271
272 void retranslateUi(QDialog *QFileDialog)
273 {
274 lookInLabel->setText(QCoreApplication::translate("QFileDialog", "Look in:", nullptr));
275 #if QT_CONFIG(tooltip)
276 backButton->setToolTip(QCoreApplication::translate("QFileDialog", "Back", nullptr));
277 #endif // QT_CONFIG(tooltip)
278 #if QT_CONFIG(tooltip)
279 forwardButton->setToolTip(QCoreApplication::translate("QFileDialog", "Forward", nullptr));
280 #endif // QT_CONFIG(tooltip)
281 #if QT_CONFIG(tooltip)
282 toParentButton->setToolTip(QCoreApplication::translate("QFileDialog", "Parent Directory", nullptr));
283 #endif // QT_CONFIG(tooltip)
284 #if QT_CONFIG(tooltip)
285 newFolderButton->setToolTip(QCoreApplication::translate("QFileDialog", "Create New Folder", nullptr));
286 #endif // QT_CONFIG(tooltip)
287 #if QT_CONFIG(tooltip)
288 listModeButton->setToolTip(QCoreApplication::translate("QFileDialog", "List View", nullptr));
289 #endif // QT_CONFIG(tooltip)
290 #if QT_CONFIG(tooltip)
291 detailModeButton->setToolTip(QCoreApplication::translate("QFileDialog", "Detail View", nullptr));
292 #endif // QT_CONFIG(tooltip)
293 fileTypeLabel->setText(QCoreApplication::translate("QFileDialog", "Files of type:", nullptr));
294 (void)QFileDialog;
295 } // retranslateUi
296
297 };
298
299 namespace Ui {
300 class QFileDialog: public Ui_QFileDialog {};
301 } // namespace Ui
302
303 QT_END_NAMESPACE
304
305 #endif // QFILEDIALOG_H