qt6windows7/tests/auto/tools/uic/baseline/downloaditem.ui.h

145 lines
5.1 KiB
C
Raw Normal View History

2023-10-30 06:33:08 +08:00
/********************************************************************************
** Form generated from reading UI file 'downloaditem.ui'
**
** Created by: Qt User Interface Compiler version 6.0.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef DOWNLOADITEM_H
#define DOWNLOADITEM_H
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QProgressBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "squeezelabel.h"
QT_BEGIN_NAMESPACE
class Ui_DownloadItem
{
public:
QHBoxLayout *horizontalLayout;
QLabel *fileIcon;
QVBoxLayout *verticalLayout_2;
SqueezeLabel *fileNameLabel;
QProgressBar *progressBar;
SqueezeLabel *downloadInfoLabel;
QVBoxLayout *verticalLayout;
QSpacerItem *verticalSpacer;
QPushButton *tryAgainButton;
QPushButton *stopButton;
QPushButton *openButton;
QSpacerItem *verticalSpacer_2;
void setupUi(QWidget *DownloadItem)
{
if (DownloadItem->objectName().isEmpty())
DownloadItem->setObjectName("DownloadItem");
DownloadItem->resize(423, 110);
horizontalLayout = new QHBoxLayout(DownloadItem);
horizontalLayout->setContentsMargins(0, 0, 0, 0);
horizontalLayout->setObjectName("horizontalLayout");
fileIcon = new QLabel(DownloadItem);
fileIcon->setObjectName("fileIcon");
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(fileIcon->sizePolicy().hasHeightForWidth());
fileIcon->setSizePolicy(sizePolicy);
horizontalLayout->addWidget(fileIcon);
verticalLayout_2 = new QVBoxLayout();
verticalLayout_2->setObjectName("verticalLayout_2");
fileNameLabel = new SqueezeLabel(DownloadItem);
fileNameLabel->setObjectName("fileNameLabel");
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(fileNameLabel->sizePolicy().hasHeightForWidth());
fileNameLabel->setSizePolicy(sizePolicy1);
verticalLayout_2->addWidget(fileNameLabel);
progressBar = new QProgressBar(DownloadItem);
progressBar->setObjectName("progressBar");
progressBar->setValue(0);
verticalLayout_2->addWidget(progressBar);
downloadInfoLabel = new SqueezeLabel(DownloadItem);
downloadInfoLabel->setObjectName("downloadInfoLabel");
QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Preferred);
sizePolicy2.setHorizontalStretch(0);
sizePolicy2.setVerticalStretch(0);
sizePolicy2.setHeightForWidth(downloadInfoLabel->sizePolicy().hasHeightForWidth());
downloadInfoLabel->setSizePolicy(sizePolicy2);
verticalLayout_2->addWidget(downloadInfoLabel);
horizontalLayout->addLayout(verticalLayout_2);
verticalLayout = new QVBoxLayout();
verticalLayout->setObjectName("verticalLayout");
verticalSpacer = new QSpacerItem(17, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout->addItem(verticalSpacer);
tryAgainButton = new QPushButton(DownloadItem);
tryAgainButton->setObjectName("tryAgainButton");
tryAgainButton->setEnabled(false);
verticalLayout->addWidget(tryAgainButton);
stopButton = new QPushButton(DownloadItem);
stopButton->setObjectName("stopButton");
verticalLayout->addWidget(stopButton);
openButton = new QPushButton(DownloadItem);
openButton->setObjectName("openButton");
verticalLayout->addWidget(openButton);
verticalSpacer_2 = new QSpacerItem(17, 5, QSizePolicy::Minimum, QSizePolicy::Expanding);
verticalLayout->addItem(verticalSpacer_2);
horizontalLayout->addLayout(verticalLayout);
retranslateUi(DownloadItem);
QMetaObject::connectSlotsByName(DownloadItem);
} // setupUi
void retranslateUi(QWidget *DownloadItem)
{
DownloadItem->setWindowTitle(QCoreApplication::translate("DownloadItem", "Form", nullptr));
fileIcon->setText(QCoreApplication::translate("DownloadItem", "Ico", nullptr));
fileNameLabel->setProperty("text", QVariant(QCoreApplication::translate("DownloadItem", "Filename", nullptr)));
downloadInfoLabel->setProperty("text", QVariant(QString()));
tryAgainButton->setText(QCoreApplication::translate("DownloadItem", "Try Again", nullptr));
stopButton->setText(QCoreApplication::translate("DownloadItem", "Stop", nullptr));
openButton->setText(QCoreApplication::translate("DownloadItem", "Open", nullptr));
} // retranslateUi
};
namespace Ui {
class DownloadItem: public Ui_DownloadItem {};
} // namespace Ui
QT_END_NAMESPACE
#endif // DOWNLOADITEM_H