000c76ada5
Add it only when ui contains button groups. Change-Id: I60a249a36565e6c7c3f7cb51bc146317bc7ddbe5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
99 lines
3.2 KiB
C++
99 lines
3.2 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'filespage.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 FILESPAGE_H
|
|
#define FILESPAGE_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QAction>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QListWidget>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QSpacerItem>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_FilesPage
|
|
{
|
|
public:
|
|
QGridLayout *gridLayout;
|
|
QLabel *fileLabel;
|
|
QListWidget *fileListWidget;
|
|
QPushButton *removeButton;
|
|
QPushButton *removeAllButton;
|
|
QSpacerItem *spacerItem;
|
|
QSpacerItem *spacerItem1;
|
|
|
|
void setupUi(QWidget *FilesPage)
|
|
{
|
|
if (FilesPage->objectName().isEmpty())
|
|
FilesPage->setObjectName(QStringLiteral("FilesPage"));
|
|
FilesPage->resize(417, 242);
|
|
gridLayout = new QGridLayout(FilesPage);
|
|
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
|
fileLabel = new QLabel(FilesPage);
|
|
fileLabel->setObjectName(QStringLiteral("fileLabel"));
|
|
fileLabel->setWordWrap(true);
|
|
|
|
gridLayout->addWidget(fileLabel, 0, 0, 1, 2);
|
|
|
|
fileListWidget = new QListWidget(FilesPage);
|
|
fileListWidget->setObjectName(QStringLiteral("fileListWidget"));
|
|
|
|
gridLayout->addWidget(fileListWidget, 1, 0, 3, 1);
|
|
|
|
removeButton = new QPushButton(FilesPage);
|
|
removeButton->setObjectName(QStringLiteral("removeButton"));
|
|
QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(removeButton->sizePolicy().hasHeightForWidth());
|
|
removeButton->setSizePolicy(sizePolicy);
|
|
|
|
gridLayout->addWidget(removeButton, 1, 1, 1, 1);
|
|
|
|
removeAllButton = new QPushButton(FilesPage);
|
|
removeAllButton->setObjectName(QStringLiteral("removeAllButton"));
|
|
|
|
gridLayout->addWidget(removeAllButton, 2, 1, 1, 1);
|
|
|
|
spacerItem = new QSpacerItem(75, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
gridLayout->addItem(spacerItem, 3, 1, 1, 1);
|
|
|
|
spacerItem1 = new QSpacerItem(20, 31, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
gridLayout->addItem(spacerItem1, 4, 0, 1, 1);
|
|
|
|
|
|
retranslateUi(FilesPage);
|
|
|
|
QMetaObject::connectSlotsByName(FilesPage);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *FilesPage)
|
|
{
|
|
FilesPage->setWindowTitle(QApplication::translate("FilesPage", "Form", nullptr));
|
|
fileLabel->setText(QApplication::translate("FilesPage", "Files:", nullptr));
|
|
removeButton->setText(QApplication::translate("FilesPage", "Remove", nullptr));
|
|
removeAllButton->setText(QApplication::translate("FilesPage", "Remove All", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class FilesPage: public Ui_FilesPage {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // FILESPAGE_H
|