#include <kdialog.h> #include <klocale.h> /******************************************************************************** ** Form generated from reading ui file 'waitwidgetbase.ui' ** ** Created: Fri Jul 18 16:46:54 2008 ** by: Qt User Interface Compiler version 4.4.0 ** ** WARNING! All changes made in this file will be lost when recompiling ui file! ********************************************************************************/ #ifndef UI_WAITWIDGETBASE_H #define UI_WAITWIDGETBASE_H #include <QtCore/QVariant> #include <QtGui/QAction> #include <QtGui/QApplication> #include <QtGui/QButtonGroup> #include <QtGui/QDialog> #include <QtGui/QFrame> #include <QtGui/QGridLayout> #include <QtGui/QHBoxLayout> #include <QtGui/QLabel> #include <QtGui/QProgressBar> #include <QtGui/QPushButton> #include <QtGui/QSpacerItem> QT_BEGIN_NAMESPACE class Ui_WaitWidgetBase { public: QGridLayout *gridLayout; QFrame *frame; QGridLayout *gridLayout1; QLabel *operationNameLabel; QProgressBar *progressBar; QSpacerItem *spacerItem; QHBoxLayout *hboxLayout; QSpacerItem *spacerItem1; QPushButton *abortButton; QSpacerItem *spacerItem2; void setupUi(QDialog *WaitWidgetBase) { if (WaitWidgetBase->objectName().isEmpty()) WaitWidgetBase->setObjectName(QString::fromUtf8("WaitWidgetBase")); WaitWidgetBase->resize(373, 133); gridLayout = new QGridLayout(WaitWidgetBase); gridLayout->setObjectName(QString::fromUtf8("gridLayout")); gridLayout->setHorizontalSpacing(0); gridLayout->setVerticalSpacing(0); gridLayout->setContentsMargins(3, 3, 3, 3); frame = new QFrame(WaitWidgetBase); frame->setObjectName(QString::fromUtf8("frame")); frame->setFrameShape(QFrame::StyledPanel); gridLayout1 = new QGridLayout(frame); gridLayout1->setObjectName(QString::fromUtf8("gridLayout1")); operationNameLabel = new QLabel(frame); operationNameLabel->setObjectName(QString::fromUtf8("operationNameLabel")); gridLayout1->addWidget(operationNameLabel, 0, 0, 1, 1); progressBar = new QProgressBar(frame); progressBar->setObjectName(QString::fromUtf8("progressBar")); progressBar->setValue(24); progressBar->setTextVisible(false); gridLayout1->addWidget(progressBar, 1, 0, 1, 1); spacerItem = new QSpacerItem(333, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); gridLayout1->addItem(spacerItem, 2, 0, 1, 1); hboxLayout = new QHBoxLayout(); hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout->addItem(spacerItem1); abortButton = new QPushButton(frame); abortButton->setObjectName(QString::fromUtf8("abortButton")); QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(abortButton->sizePolicy().hasHeightForWidth()); abortButton->setSizePolicy(sizePolicy); hboxLayout->addWidget(abortButton); spacerItem2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout->addItem(spacerItem2); gridLayout1->addLayout(hboxLayout, 3, 0, 1, 1); gridLayout->addWidget(frame, 0, 0, 1, 1); retranslateUi(WaitWidgetBase); QMetaObject::connectSlotsByName(WaitWidgetBase); } // setupUi void retranslateUi(QDialog *WaitWidgetBase) { WaitWidgetBase->setStyleSheet(QString()); frame->setStyleSheet(QString()); operationNameLabel->setStyleSheet(QString()); operationNameLabel->setText(tr2i18n("Please Wait...", 0)); progressBar->setStyleSheet(tr2i18n("background: white;", 0)); abortButton->setStyleSheet(QString()); abortButton->setText(tr2i18n("Abort", 0)); Q_UNUSED(WaitWidgetBase); } // retranslateUi }; namespace Ui { class WaitWidgetBase: public Ui_WaitWidgetBase {}; } // namespace Ui QT_END_NAMESPACE #endif // WAITWIDGETBASE_H