/******************************************************************************** ** Form generated from reading UI file 'widget.ui' ** ** Created: Tue Nov 23 11:23:35 2010 ** by: Qt User Interface Compiler version 4.7.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/
#ifndef UI_WIDGET_H #define UI_WIDGET_H
#include <QtCore/QVariant> #include <QtGui/QAction> #include <QtGui/QApplication> #include <QtGui/QButtonGroup> #include <QtGui/QGridLayout> #include <QtGui/QHeaderView> #include <QtGui/QLabel> #include <QtGui/QProgressBar> #include <QtGui/QPushButton> #include <QtGui/QSlider> #include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_Widget { public: QGridLayout *gridLayout; QLabel *label; QPushButton *showbutton; QPushButton *hidebutton; QPushButton *hidebutton_2; QPushButton *showprocess; QPushButton *quitebutton; QSlider *horizontalSlider; QProgressBar *progressBar;
void setupUi(QWidget *Widget) { if (Widget->objectName().isEmpty()) Widget->setObjectName(QString::fromUtf8("Widget")); Widget->resize(400, 300); gridLayout = new QGridLayout(Widget); gridLayout->setSpacing(6); gridLayout->setContentsMargins(11, 11, 11, 11); gridLayout->setObjectName(QString::fromUtf8("gridLayout")); label = new QLabel(Widget); label->setObjectName(QString::fromUtf8("label")); QFont font; font.setFamily(QString::fromUtf8("\346\226\260\345\256\213\344\275\223")); font.setPointSize(22); label->setFont(font);
gridLayout->addWidget(label, 0, 0, 1, 2);
showbutton = new QPushButton(Widget); showbutton->setObjectName(QString::fromUtf8("showbutton"));
gridLayout->addWidget(showbutton, 1, 0, 1, 1);
hidebutton = new QPushButton(Widget); hidebutton->setObjectName(QString::fromUtf8("hidebutton"));
gridLayout->addWidget(hidebutton, 1, 1, 1, 1);
hidebutton_2 = new QPushButton(Widget); hidebutton_2->setObjectName(QString::fromUtf8("hidebutton_2"));
gridLayout->addWidget(hidebutton_2, 2, 0, 1, 1);
showprocess = new QPushButton(Widget); showprocess->setObjectName(QString::fromUtf8("showprocess"));
gridLayout->addWidget(showprocess, 2, 1, 1, 1);
quitebutton = new QPushButton(Widget); quitebutton->setObjectName(QString::fromUtf8("quitebutton"));
gridLayout->addWidget(quitebutton, 3, 0, 1, 2);
horizontalSlider = new QSlider(Widget); horizontalSlider->setObjectName(QString::fromUtf8("horizontalSlider")); horizontalSlider->setMaximum(100); horizontalSlider->setPageStep(0); horizontalSlider->setOrientation(Qt::Horizontal);
gridLayout->addWidget(horizontalSlider, 4, 0, 1, 2);
progressBar = new QProgressBar(Widget); progressBar->setObjectName(QString::fromUtf8("progressBar")); progressBar->setValue(0);
gridLayout->addWidget(progressBar, 5, 0, 1, 2);
retranslateUi(Widget); QObject::connect(showbutton, SIGNAL(clicked()), label, SLOT(show())); QObject::connect(hidebutton, SIGNAL(clicked()), label, SLOT(hide())); QObject::connect(quitebutton, SIGNAL(clicked()), Widget, SLOT(close())); QObject::connect(horizontalSlider, SIGNAL(valueChanged(int)), progressBar, SLOT(setValue(int))); QObject::connect(showbutton, SIGNAL(clicked()), horizontalSlider, SLOT(show())); QObject::connect(showbutton, SIGNAL(clicked()), progressBar, SLOT(show())); QObject::connect(hidebutton, SIGNAL(clicked()), horizontalSlider, SLOT(hide())); QObject::connect(hidebutton, SIGNAL(clicked()), progressBar, SLOT(hide()));
QMetaObject::connectSlotsByName(Widget); } // setupUi
void retranslateUi(QWidget *Widget) { Widget->setWindowTitle(QApplication::translate("Widget", "Widget", 0, QApplication::UnicodeUTF8)); label->setText(QApplication::translate("Widget", " signal and slot", 0, QApplication::UnicodeUTF8)); showbutton->setText(QApplication::translate("Widget", "\346\230\276\347\244\272", 0, QApplication::UnicodeUTF8)); hidebutton->setText(QApplication::translate("Widget", "\351\232\220\350\227\217", 0, QApplication::UnicodeUTF8)); hidebutton_2->setText(QApplication::translate("Widget", "\351\232\220\350\227\217\350\277\233\345\272\246", 0, QApplication::UnicodeUTF8)); showprocess->setText(QApplication::translate("Widget", "\346\230\276\347\244\272\350\277\233\345\272\246", 0, QApplication::UnicodeUTF8)); quitebutton->setText(QApplication::translate("Widget", "\345\205\263\351\227\255", 0, QApplication::UnicodeUTF8)); } // retranslateUi
};
namespace Ui { class Widget: public Ui_Widget {}; } // namespace Ui
QT_END_NAMESPACE
#endif // UI_WIDGET_H
|