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