Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef QGUIPROGRESSWIDGET_H
00011 #define QGUIPROGRESSWIDGET_H
00012
00013 #include <Qt3Support/Q3Frame>
00014 #include <Qt3Support/Q3GroupBox>
00015 #include <Qt3Support/Q3MimeSourceFactory>
00016 #include <Qt3Support/Q3ProgressBar>
00017 #include <Qt3Support/Q3TextBrowser>
00018 #include <Qt3Support/Q3TextEdit>
00019 #include <QtCore/QVariant>
00020 #include <QtGui/QAction>
00021 #include <QtGui/QApplication>
00022 #include <QtGui/QButtonGroup>
00023 #include <QtGui/QHBoxLayout>
00024 #include <QtGui/QHeaderView>
00025 #include <QtGui/QLabel>
00026 #include <QtGui/QPushButton>
00027 #include <QtGui/QSpacerItem>
00028 #include <QtGui/QVBoxLayout>
00029 #include <QtGui/QWidget>
00030
00031 QT_BEGIN_NAMESPACE
00032
00033 class Ui_QGuiProgressWidgetUI
00034 {
00035 public:
00036 QVBoxLayout *vboxLayout;
00037 QLabel *textWidget;
00038 Q3TextBrowser *logWidget;
00039 Q3GroupBox *currentGroupBox;
00040 QHBoxLayout *hboxLayout;
00041 QLabel *currentLabel;
00042 Q3ProgressBar *currentProgressBar;
00043 Q3ProgressBar *progressBar;
00044 QHBoxLayout *hboxLayout1;
00045 QLabel *textLabel2;
00046 QLabel *timeLabel;
00047 QSpacerItem *spacer14;
00048 QLabel *textLabel3;
00049 QSpacerItem *spacer12;
00050 QPushButton *abortButton;
00051 QPushButton *closeButton;
00052
00053 void setupUi(QWidget *QGuiProgressWidgetUI)
00054 {
00055 if (QGuiProgressWidgetUI->objectName().isEmpty())
00056 QGuiProgressWidgetUI->setObjectName(QString::fromUtf8("QGuiProgressWidgetUI"));
00057 QGuiProgressWidgetUI->resize(600, 424);
00058 vboxLayout = new QVBoxLayout(QGuiProgressWidgetUI);
00059 vboxLayout->setSpacing(6);
00060 vboxLayout->setContentsMargins(11, 11, 11, 11);
00061 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00062 textWidget = new QLabel(QGuiProgressWidgetUI);
00063 textWidget->setObjectName(QString::fromUtf8("textWidget"));
00064 textWidget->setWordWrap(false);
00065
00066 vboxLayout->addWidget(textWidget);
00067
00068 logWidget = new Q3TextBrowser(QGuiProgressWidgetUI);
00069 logWidget->setObjectName(QString::fromUtf8("logWidget"));
00070
00071 vboxLayout->addWidget(logWidget);
00072
00073 currentGroupBox = new Q3GroupBox(QGuiProgressWidgetUI);
00074 currentGroupBox->setObjectName(QString::fromUtf8("currentGroupBox"));
00075 currentGroupBox->setColumnLayout(0, Qt::Vertical);
00076 currentGroupBox->layout()->setSpacing(6);
00077 currentGroupBox->layout()->setContentsMargins(11, 11, 11, 11);
00078 hboxLayout = new QHBoxLayout();
00079 QBoxLayout *boxlayout = qobject_cast<QBoxLayout *>(currentGroupBox->layout());
00080 if (boxlayout)
00081 boxlayout->addLayout(hboxLayout);
00082 hboxLayout->setAlignment(Qt::AlignTop);
00083 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00084 currentLabel = new QLabel(currentGroupBox);
00085 currentLabel->setObjectName(QString::fromUtf8("currentLabel"));
00086 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
00087 sizePolicy.setHorizontalStretch(0);
00088 sizePolicy.setVerticalStretch(0);
00089 sizePolicy.setHeightForWidth(currentLabel->sizePolicy().hasHeightForWidth());
00090 currentLabel->setSizePolicy(sizePolicy);
00091 currentLabel->setWordWrap(false);
00092
00093 hboxLayout->addWidget(currentLabel);
00094
00095 currentProgressBar = new Q3ProgressBar(currentGroupBox);
00096 currentProgressBar->setObjectName(QString::fromUtf8("currentProgressBar"));
00097
00098 hboxLayout->addWidget(currentProgressBar);
00099
00100
00101 vboxLayout->addWidget(currentGroupBox);
00102
00103 progressBar = new Q3ProgressBar(QGuiProgressWidgetUI);
00104 progressBar->setObjectName(QString::fromUtf8("progressBar"));
00105
00106 vboxLayout->addWidget(progressBar);
00107
00108 hboxLayout1 = new QHBoxLayout();
00109 hboxLayout1->setSpacing(6);
00110 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00111 textLabel2 = new QLabel(QGuiProgressWidgetUI);
00112 textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00113 textLabel2->setWordWrap(false);
00114
00115 hboxLayout1->addWidget(textLabel2);
00116
00117 timeLabel = new QLabel(QGuiProgressWidgetUI);
00118 timeLabel->setObjectName(QString::fromUtf8("timeLabel"));
00119 timeLabel->setWordWrap(false);
00120
00121 hboxLayout1->addWidget(timeLabel);
00122
00123 spacer14 = new QSpacerItem(65, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00124
00125 hboxLayout1->addItem(spacer14);
00126
00127 textLabel3 = new QLabel(QGuiProgressWidgetUI);
00128 textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
00129 textLabel3->setAlignment(Qt::AlignCenter);
00130 textLabel3->setWordWrap(false);
00131
00132 hboxLayout1->addWidget(textLabel3);
00133
00134 spacer12 = new QSpacerItem(65, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00135
00136 hboxLayout1->addItem(spacer12);
00137
00138 abortButton = new QPushButton(QGuiProgressWidgetUI);
00139 abortButton->setObjectName(QString::fromUtf8("abortButton"));
00140
00141 hboxLayout1->addWidget(abortButton);
00142
00143 closeButton = new QPushButton(QGuiProgressWidgetUI);
00144 closeButton->setObjectName(QString::fromUtf8("closeButton"));
00145
00146 hboxLayout1->addWidget(closeButton);
00147
00148
00149 vboxLayout->addLayout(hboxLayout1);
00150
00151
00152 retranslateUi(QGuiProgressWidgetUI);
00153
00154 QMetaObject::connectSlotsByName(QGuiProgressWidgetUI);
00155 }
00156
00157 void retranslateUi(QWidget *QGuiProgressWidgetUI)
00158 {
00159 QGuiProgressWidgetUI->setWindowTitle(QApplication::translate("QGuiProgressWidgetUI", "Progress", 0, QApplication::UnicodeUTF8));
00160 textWidget->setText(QString());
00161 currentGroupBox->setTitle(QApplication::translate("QGuiProgressWidgetUI", "Current Action", 0, QApplication::UnicodeUTF8));
00162 currentLabel->setText(QApplication::translate("QGuiProgressWidgetUI", "Current Action", 0, QApplication::UnicodeUTF8));
00163 textLabel2->setText(QApplication::translate("QGuiProgressWidgetUI", "Elapsed time:", 0, QApplication::UnicodeUTF8));
00164 timeLabel->setText(QApplication::translate("QGuiProgressWidgetUI", "0:00", 0, QApplication::UnicodeUTF8));
00165 textLabel3->setText(QApplication::translate("QGuiProgressWidgetUI", "(c) 2007 Martin Preuss", 0, QApplication::UnicodeUTF8));
00166 abortButton->setText(QApplication::translate("QGuiProgressWidgetUI", "Abort", 0, QApplication::UnicodeUTF8));
00167 closeButton->setText(QApplication::translate("QGuiProgressWidgetUI", "Close", 0, QApplication::UnicodeUTF8));
00168 }
00169
00170 };
00171
00172 namespace Ui {
00173 class QGuiProgressWidgetUI: public Ui_QGuiProgressWidgetUI {};
00174 }
00175
00176 QT_END_NAMESPACE
00177
00178 #endif // QGUIPROGRESSWIDGET_H