qt5base-lts/tests/auto/tools/uic/baseline/qfiledialog.ui.h
Matti Paaso 974c210835 Update license headers and add new license files
- Renamed LICENSE.LGPL to LICENSE.LGPLv21
- Added LICENSE.LGPLv3
- Removed LICENSE.GPL

Change-Id: Iec3406e3eb3f133be549092015cefe33d259a3f2
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>
2014-09-24 12:26:19 +02:00

313 lines
12 KiB
C++

/*
*********************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the autotests of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** 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
** a written agreement between you and Digia. For licensing terms and
** conditions see http://qt.digia.com/licensing. For further information
** use the contact form at http://qt.digia.com/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 or version 3 as published by the Free
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
** following information to ensure the GNU Lesser General Public License
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Digia gives you certain additional
** rights. These rights are described in the Digia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** $QT_END_LICENSE$
**
*********************************************************************
*/
/********************************************************************************
** Form generated from reading UI file 'qfiledialog.ui'
**
** Created by: Qt User Interface Compiler version 5.0.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef QFILEDIALOG_H
#define QFILEDIALOG_H
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "qfiledialog_p.h"
#include "qsidebar_p.h"
QT_BEGIN_NAMESPACE
class Ui_QFileDialog
{
public:
QGridLayout *gridLayout;
QLabel *lookInLabel;
QHBoxLayout *hboxLayout;
QFileDialogComboBox *lookInCombo;
QToolButton *backButton;
QToolButton *forwardButton;
QToolButton *toParentButton;
QToolButton *newFolderButton;
QToolButton *listModeButton;
QToolButton *detailModeButton;
QSplitter *splitter;
QSidebar *sidebar;
QFrame *frame;
QVBoxLayout *vboxLayout;
QStackedWidget *stackedWidget;
QWidget *page;
QVBoxLayout *vboxLayout1;
QFileDialogListView *listView;
QWidget *page_2;
QVBoxLayout *vboxLayout2;
QFileDialogTreeView *treeView;
QLabel *fileNameLabel;
QFileDialogLineEdit *fileNameEdit;
QDialogButtonBox *buttonBox;
QLabel *fileTypeLabel;
QComboBox *fileTypeCombo;
void setupUi(QDialog *QFileDialog)
{
if (QFileDialog->objectName().isEmpty())
QFileDialog->setObjectName(QStringLiteral("QFileDialog"));
QFileDialog->resize(521, 316);
QFileDialog->setSizeGripEnabled(true);
gridLayout = new QGridLayout(QFileDialog);
gridLayout->setObjectName(QStringLiteral("gridLayout"));
lookInLabel = new QLabel(QFileDialog);
lookInLabel->setObjectName(QStringLiteral("lookInLabel"));
gridLayout->addWidget(lookInLabel, 0, 0, 1, 1);
hboxLayout = new QHBoxLayout();
hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
lookInCombo = new QFileDialogComboBox(QFileDialog);
lookInCombo->setObjectName(QStringLiteral("lookInCombo"));
QSizePolicy sizePolicy(QSizePolicy::Ignored, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(1);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(lookInCombo->sizePolicy().hasHeightForWidth());
lookInCombo->setSizePolicy(sizePolicy);
lookInCombo->setMinimumSize(QSize(50, 0));
hboxLayout->addWidget(lookInCombo);
backButton = new QToolButton(QFileDialog);
backButton->setObjectName(QStringLiteral("backButton"));
hboxLayout->addWidget(backButton);
forwardButton = new QToolButton(QFileDialog);
forwardButton->setObjectName(QStringLiteral("forwardButton"));
hboxLayout->addWidget(forwardButton);
toParentButton = new QToolButton(QFileDialog);
toParentButton->setObjectName(QStringLiteral("toParentButton"));
hboxLayout->addWidget(toParentButton);
newFolderButton = new QToolButton(QFileDialog);
newFolderButton->setObjectName(QStringLiteral("newFolderButton"));
hboxLayout->addWidget(newFolderButton);
listModeButton = new QToolButton(QFileDialog);
listModeButton->setObjectName(QStringLiteral("listModeButton"));
hboxLayout->addWidget(listModeButton);
detailModeButton = new QToolButton(QFileDialog);
detailModeButton->setObjectName(QStringLiteral("detailModeButton"));
hboxLayout->addWidget(detailModeButton);
gridLayout->addLayout(hboxLayout, 0, 1, 1, 2);
splitter = new QSplitter(QFileDialog);
splitter->setObjectName(QStringLiteral("splitter"));
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(splitter->sizePolicy().hasHeightForWidth());
splitter->setSizePolicy(sizePolicy1);
splitter->setOrientation(Qt::Horizontal);
sidebar = new QSidebar(splitter);
sidebar->setObjectName(QStringLiteral("sidebar"));
splitter->addWidget(sidebar);
frame = new QFrame(splitter);
frame->setObjectName(QStringLiteral("frame"));
frame->setFrameShape(QFrame::NoFrame);
frame->setFrameShadow(QFrame::Raised);
vboxLayout = new QVBoxLayout(frame);
vboxLayout->setSpacing(0);
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
vboxLayout->setContentsMargins(0, 0, 0, 0);
stackedWidget = new QStackedWidget(frame);
stackedWidget->setObjectName(QStringLiteral("stackedWidget"));
page = new QWidget();
page->setObjectName(QStringLiteral("page"));
vboxLayout1 = new QVBoxLayout(page);
vboxLayout1->setSpacing(0);
vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
vboxLayout1->setContentsMargins(0, 0, 0, 0);
listView = new QFileDialogListView(page);
listView->setObjectName(QStringLiteral("listView"));
vboxLayout1->addWidget(listView);
stackedWidget->addWidget(page);
page_2 = new QWidget();
page_2->setObjectName(QStringLiteral("page_2"));
vboxLayout2 = new QVBoxLayout(page_2);
vboxLayout2->setSpacing(0);
vboxLayout2->setObjectName(QStringLiteral("vboxLayout2"));
vboxLayout2->setContentsMargins(0, 0, 0, 0);
treeView = new QFileDialogTreeView(page_2);
treeView->setObjectName(QStringLiteral("treeView"));
vboxLayout2->addWidget(treeView);
stackedWidget->addWidget(page_2);
vboxLayout->addWidget(stackedWidget);
splitter->addWidget(frame);
gridLayout->addWidget(splitter, 1, 0, 1, 3);
fileNameLabel = new QLabel(QFileDialog);
fileNameLabel->setObjectName(QStringLiteral("fileNameLabel"));
QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Preferred);
sizePolicy2.setHorizontalStretch(0);
sizePolicy2.setVerticalStretch(0);
sizePolicy2.setHeightForWidth(fileNameLabel->sizePolicy().hasHeightForWidth());
fileNameLabel->setSizePolicy(sizePolicy2);
fileNameLabel->setMinimumSize(QSize(0, 0));
gridLayout->addWidget(fileNameLabel, 2, 0, 1, 1);
fileNameEdit = new QFileDialogLineEdit(QFileDialog);
fileNameEdit->setObjectName(QStringLiteral("fileNameEdit"));
QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Fixed);
sizePolicy3.setHorizontalStretch(1);
sizePolicy3.setVerticalStretch(0);
sizePolicy3.setHeightForWidth(fileNameEdit->sizePolicy().hasHeightForWidth());
fileNameEdit->setSizePolicy(sizePolicy3);
gridLayout->addWidget(fileNameEdit, 2, 1, 1, 1);
buttonBox = new QDialogButtonBox(QFileDialog);
buttonBox->setObjectName(QStringLiteral("buttonBox"));
buttonBox->setOrientation(Qt::Vertical);
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
gridLayout->addWidget(buttonBox, 2, 2, 2, 1);
fileTypeLabel = new QLabel(QFileDialog);
fileTypeLabel->setObjectName(QStringLiteral("fileTypeLabel"));
QSizePolicy sizePolicy4(QSizePolicy::Preferred, QSizePolicy::Fixed);
sizePolicy4.setHorizontalStretch(0);
sizePolicy4.setVerticalStretch(0);
sizePolicy4.setHeightForWidth(fileTypeLabel->sizePolicy().hasHeightForWidth());
fileTypeLabel->setSizePolicy(sizePolicy4);
gridLayout->addWidget(fileTypeLabel, 3, 0, 1, 1);
fileTypeCombo = new QComboBox(QFileDialog);
fileTypeCombo->setObjectName(QStringLiteral("fileTypeCombo"));
QSizePolicy sizePolicy5(QSizePolicy::Expanding, QSizePolicy::Fixed);
sizePolicy5.setHorizontalStretch(0);
sizePolicy5.setVerticalStretch(0);
sizePolicy5.setHeightForWidth(fileTypeCombo->sizePolicy().hasHeightForWidth());
fileTypeCombo->setSizePolicy(sizePolicy5);
gridLayout->addWidget(fileTypeCombo, 3, 1, 1, 1);
QWidget::setTabOrder(lookInCombo, backButton);
QWidget::setTabOrder(backButton, forwardButton);
QWidget::setTabOrder(forwardButton, toParentButton);
QWidget::setTabOrder(toParentButton, newFolderButton);
QWidget::setTabOrder(newFolderButton, listModeButton);
QWidget::setTabOrder(listModeButton, detailModeButton);
QWidget::setTabOrder(detailModeButton, sidebar);
QWidget::setTabOrder(sidebar, listView);
QWidget::setTabOrder(listView, fileNameEdit);
QWidget::setTabOrder(fileNameEdit, fileTypeCombo);
QWidget::setTabOrder(fileTypeCombo, buttonBox);
QWidget::setTabOrder(buttonBox, treeView);
retranslateUi(QFileDialog);
stackedWidget->setCurrentIndex(0);
QMetaObject::connectSlotsByName(QFileDialog);
} // setupUi
void retranslateUi(QDialog *QFileDialog)
{
lookInLabel->setText(QApplication::translate("QFileDialog", "Look in:", 0));
#ifndef QT_NO_TOOLTIP
backButton->setToolTip(QApplication::translate("QFileDialog", "Back", 0));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
forwardButton->setToolTip(QApplication::translate("QFileDialog", "Forward", 0));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
toParentButton->setToolTip(QApplication::translate("QFileDialog", "Parent Directory", 0));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
newFolderButton->setToolTip(QApplication::translate("QFileDialog", "Create New Folder", 0));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
listModeButton->setToolTip(QApplication::translate("QFileDialog", "List View", 0));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
detailModeButton->setToolTip(QApplication::translate("QFileDialog", "Detail View", 0));
#endif // QT_NO_TOOLTIP
fileTypeLabel->setText(QApplication::translate("QFileDialog", "Files of type:", 0));
Q_UNUSED(QFileDialog);
} // retranslateUi
};
namespace Ui {
class QFileDialog: public Ui_QFileDialog {};
} // namespace Ui
QT_END_NAMESPACE
#endif // QFILEDIALOG_H