ui_downloaditem.h
上传用户:huahtool
上传日期:2015-12-10
资源大小:1089k
文件大小:5k
源码类别:

浏览器

开发平台:

Visual C++

  1. /********************************************************************************
  2. ** Form generated from reading ui file 'downloaditem.ui'
  3. **
  4. ** Created: Tue Nov 18 19:00:08 2008
  5. **      by: Qt User Interface Compiler version 4.4.3
  6. **
  7. ** WARNING! All changes made in this file will be lost when recompiling ui file!
  8. ********************************************************************************/
  9. #ifndef UI_DOWNLOADITEM_H
  10. #define UI_DOWNLOADITEM_H
  11. #include <QtCore/QVariant>
  12. #include <QtGui/QAction>
  13. #include <QtGui/QApplication>
  14. #include <QtGui/QButtonGroup>
  15. #include <QtGui/QHBoxLayout>
  16. #include <QtGui/QLabel>
  17. #include <QtGui/QProgressBar>
  18. #include <QtGui/QPushButton>
  19. #include <QtGui/QSpacerItem>
  20. #include <QtGui/QVBoxLayout>
  21. #include <QtGui/QWidget>
  22. #include "squeezelabel.h"
  23. QT_BEGIN_NAMESPACE
  24. class Ui_DownloadItem
  25. {
  26. public:
  27.     QHBoxLayout *horizontalLayout;
  28.     QLabel *fileIcon;
  29.     QVBoxLayout *verticalLayout_2;
  30.     SqueezeLabel *fileNameLabel;
  31.     QProgressBar *progressBar;
  32.     SqueezeLabel *downloadInfoLabel;
  33.     QVBoxLayout *verticalLayout;
  34.     QSpacerItem *verticalSpacer;
  35.     QPushButton *tryAgainButton;
  36.     QPushButton *stopButton;
  37.     QPushButton *openButton;
  38.     QSpacerItem *verticalSpacer_2;
  39.     void setupUi(QWidget *DownloadItem)
  40.     {
  41.     if (DownloadItem->objectName().isEmpty())
  42.         DownloadItem->setObjectName(QString::fromUtf8("DownloadItem"));
  43.     DownloadItem->resize(423, 110);
  44.     horizontalLayout = new QHBoxLayout(DownloadItem);
  45.     horizontalLayout->setMargin(0);
  46.     horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
  47.     fileIcon = new QLabel(DownloadItem);
  48.     fileIcon->setObjectName(QString::fromUtf8("fileIcon"));
  49.     QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
  50.     sizePolicy.setHorizontalStretch(0);
  51.     sizePolicy.setVerticalStretch(0);
  52.     sizePolicy.setHeightForWidth(fileIcon->sizePolicy().hasHeightForWidth());
  53.     fileIcon->setSizePolicy(sizePolicy);
  54.     horizontalLayout->addWidget(fileIcon);
  55.     verticalLayout_2 = new QVBoxLayout();
  56.     verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
  57.     fileNameLabel = new SqueezeLabel(DownloadItem);
  58.     fileNameLabel->setObjectName(QString::fromUtf8("fileNameLabel"));
  59.     QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
  60.     sizePolicy1.setHorizontalStretch(0);
  61.     sizePolicy1.setVerticalStretch(0);
  62.     sizePolicy1.setHeightForWidth(fileNameLabel->sizePolicy().hasHeightForWidth());
  63.     fileNameLabel->setSizePolicy(sizePolicy1);
  64.     verticalLayout_2->addWidget(fileNameLabel);
  65.     progressBar = new QProgressBar(DownloadItem);
  66.     progressBar->setObjectName(QString::fromUtf8("progressBar"));
  67.     progressBar->setValue(0);
  68.     verticalLayout_2->addWidget(progressBar);
  69.     downloadInfoLabel = new SqueezeLabel(DownloadItem);
  70.     downloadInfoLabel->setObjectName(QString::fromUtf8("downloadInfoLabel"));
  71.     QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Preferred);
  72.     sizePolicy2.setHorizontalStretch(0);
  73.     sizePolicy2.setVerticalStretch(0);
  74.     sizePolicy2.setHeightForWidth(downloadInfoLabel->sizePolicy().hasHeightForWidth());
  75.     downloadInfoLabel->setSizePolicy(sizePolicy2);
  76.     verticalLayout_2->addWidget(downloadInfoLabel);
  77.     horizontalLayout->addLayout(verticalLayout_2);
  78.     verticalLayout = new QVBoxLayout();
  79.     verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  80.     verticalSpacer = new QSpacerItem(17, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
  81.     verticalLayout->addItem(verticalSpacer);
  82.     tryAgainButton = new QPushButton(DownloadItem);
  83.     tryAgainButton->setObjectName(QString::fromUtf8("tryAgainButton"));
  84.     tryAgainButton->setEnabled(false);
  85.     verticalLayout->addWidget(tryAgainButton);
  86.     stopButton = new QPushButton(DownloadItem);
  87.     stopButton->setObjectName(QString::fromUtf8("stopButton"));
  88.     verticalLayout->addWidget(stopButton);
  89.     openButton = new QPushButton(DownloadItem);
  90.     openButton->setObjectName(QString::fromUtf8("openButton"));
  91.     verticalLayout->addWidget(openButton);
  92.     verticalSpacer_2 = new QSpacerItem(17, 5, QSizePolicy::Minimum, QSizePolicy::Expanding);
  93.     verticalLayout->addItem(verticalSpacer_2);
  94.     horizontalLayout->addLayout(verticalLayout);
  95.     retranslateUi(DownloadItem);
  96.     QMetaObject::connectSlotsByName(DownloadItem);
  97.     } // setupUi
  98.     void retranslateUi(QWidget *DownloadItem)
  99.     {
  100.     DownloadItem->setWindowTitle(QApplication::translate("DownloadItem", "Form", 0, QApplication::UnicodeUTF8));
  101.     fileIcon->setText(QApplication::translate("DownloadItem", "Ico", 0, QApplication::UnicodeUTF8));
  102.     fileNameLabel->setProperty("text", QVariant(QApplication::translate("DownloadItem", "Filename", 0, QApplication::UnicodeUTF8)));
  103.     downloadInfoLabel->setProperty("text", QVariant(QString()));
  104.     tryAgainButton->setText(QApplication::translate("DownloadItem", "Try Again", 0, QApplication::UnicodeUTF8));
  105.     stopButton->setText(QApplication::translate("DownloadItem", "Stop", 0, QApplication::UnicodeUTF8));
  106.     openButton->setText(QApplication::translate("DownloadItem", "Open", 0, QApplication::UnicodeUTF8));
  107.     Q_UNUSED(DownloadItem);
  108.     } // retranslateUi
  109. };
  110. namespace Ui {
  111.     class DownloadItem: public Ui_DownloadItem {};
  112. } // namespace Ui
  113. QT_END_NAMESPACE
  114. #endif // UI_DOWNLOADITEM_H