d1e3a21631
- Fix some clang nags (QFileInfo::exists(), raw string literals). - Update the version numbers in the baseline to be 5.12 consistently to make future modifications easier. - Introduce another environment variable to redirect the diff output to stderr. This can be used to generate a diff for applying when making larger changes to uic. Task-number: PYSIDE-797 Change-Id: I3f6716f0fe8e5939f6bef3965d90b2bb2c37f4c4 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
96 lines
3.0 KiB
C++
96 lines
3.0 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'downloads.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.12.0
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef DOWNLOADS_H
|
|
#define DOWNLOADS_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QDialog>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QHBoxLayout>
|
|
#include <QtWidgets/QHeaderView>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QPushButton>
|
|
#include <QtWidgets/QSpacerItem>
|
|
#include "edittableview.h"
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_DownloadDialog
|
|
{
|
|
public:
|
|
QGridLayout *gridLayout;
|
|
EditTableView *downloadsView;
|
|
QHBoxLayout *horizontalLayout;
|
|
QPushButton *cleanupButton;
|
|
QSpacerItem *spacerItem;
|
|
QLabel *itemCount;
|
|
QSpacerItem *horizontalSpacer;
|
|
|
|
void setupUi(QDialog *DownloadDialog)
|
|
{
|
|
if (DownloadDialog->objectName().isEmpty())
|
|
DownloadDialog->setObjectName(QString::fromUtf8("DownloadDialog"));
|
|
DownloadDialog->resize(332, 252);
|
|
gridLayout = new QGridLayout(DownloadDialog);
|
|
gridLayout->setSpacing(0);
|
|
gridLayout->setContentsMargins(0, 0, 0, 0);
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
downloadsView = new EditTableView(DownloadDialog);
|
|
downloadsView->setObjectName(QString::fromUtf8("downloadsView"));
|
|
|
|
gridLayout->addWidget(downloadsView, 0, 0, 1, 3);
|
|
|
|
horizontalLayout = new QHBoxLayout();
|
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
|
cleanupButton = new QPushButton(DownloadDialog);
|
|
cleanupButton->setObjectName(QString::fromUtf8("cleanupButton"));
|
|
cleanupButton->setEnabled(false);
|
|
|
|
horizontalLayout->addWidget(cleanupButton);
|
|
|
|
spacerItem = new QSpacerItem(58, 24, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout->addItem(spacerItem);
|
|
|
|
|
|
gridLayout->addLayout(horizontalLayout, 1, 0, 1, 1);
|
|
|
|
itemCount = new QLabel(DownloadDialog);
|
|
itemCount->setObjectName(QString::fromUtf8("itemCount"));
|
|
|
|
gridLayout->addWidget(itemCount, 1, 1, 1, 1);
|
|
|
|
horizontalSpacer = new QSpacerItem(148, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
gridLayout->addItem(horizontalSpacer, 1, 2, 1, 1);
|
|
|
|
|
|
retranslateUi(DownloadDialog);
|
|
|
|
QMetaObject::connectSlotsByName(DownloadDialog);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QDialog *DownloadDialog)
|
|
{
|
|
DownloadDialog->setWindowTitle(QApplication::translate("DownloadDialog", "Downloads", nullptr));
|
|
cleanupButton->setText(QApplication::translate("DownloadDialog", "Clean up", nullptr));
|
|
itemCount->setText(QApplication::translate("DownloadDialog", "0 Items", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class DownloadDialog: public Ui_DownloadDialog {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // DOWNLOADS_H
|