ui_frm_drivesettings.h

来自「qt4.4.3下编写的嵌入式UI界面」· C头文件 代码 · 共 138 行

H
138
字号
/********************************************************************************** Form generated from reading ui file 'frm_driveSettings.ui'**** Created: Tue Mar 3 18:00:41 2009**      by: Qt User Interface Compiler version 4.4.3**** WARNING! All changes made in this file will be lost when recompiling ui file!********************************************************************************/#ifndef UI_FRM_DRIVESETTINGS_H#define UI_FRM_DRIVESETTINGS_H#include <QtCore/QVariant>#include <QtGui/QAction>#include <QtGui/QApplication>#include <QtGui/QButtonGroup>#include <QtGui/QComboBox>#include <QtGui/QFrame>#include <QtGui/QLabel>#include <QtGui/QLineEdit>#include <QtGui/QPushButton>#include <QtGui/QWidget>QT_BEGIN_NAMESPACEclass Ui_frm_driver{public:    QLabel *label;    QLabel *label_2;    QLabel *label_3;    QComboBox *comboBox;    QLabel *label_5;    QLabel *label_7;    QLineEdit *edt_capacity;    QLineEdit *edt_remain;    QLineEdit *edt_format;    QFrame *line;    QPushButton *pbtn_ok;    QPushButton *pbtn_close;    void setupUi(QWidget *frm_driver)    {    if (frm_driver->objectName().isEmpty())        frm_driver->setObjectName(QString::fromUtf8("frm_driver"));    frm_driver->setWindowModality(Qt::WindowModal);    frm_driver->resize(522, 229);    frm_driver->setStyleSheet(QString::fromUtf8("font: 12pt \"\346\226\207\346\263\211\351\251\277\346\255\243\351\273\221\";\n""background-color: rgb(112, 200, 11);"));    label = new QLabel(frm_driver);    label->setObjectName(QString::fromUtf8("label"));    label->setGeometry(QRect(30, 40, 91, 24));    label_2 = new QLabel(frm_driver);    label_2->setObjectName(QString::fromUtf8("label_2"));    label_2->setGeometry(QRect(20, 110, 91, 24));    label_3 = new QLabel(frm_driver);    label_3->setObjectName(QString::fromUtf8("label_3"));    label_3->setGeometry(QRect(150, 80, 70, 24));    comboBox = new QComboBox(frm_driver);    comboBox->setObjectName(QString::fromUtf8("comboBox"));    comboBox->setGeometry(QRect(130, 30, 291, 37));    label_5 = new QLabel(frm_driver);    label_5->setObjectName(QString::fromUtf8("label_5"));    label_5->setGeometry(QRect(260, 80, 101, 24));    label_7 = new QLabel(frm_driver);    label_7->setObjectName(QString::fromUtf8("label_7"));    label_7->setGeometry(QRect(400, 80, 70, 24));    edt_capacity = new QLineEdit(frm_driver);    edt_capacity->setObjectName(QString::fromUtf8("edt_capacity"));    edt_capacity->setGeometry(QRect(120, 110, 113, 34));    edt_capacity->setAlignment(Qt::AlignCenter);    edt_capacity->setReadOnly(true);    edt_remain = new QLineEdit(frm_driver);    edt_remain->setObjectName(QString::fromUtf8("edt_remain"));    edt_remain->setGeometry(QRect(250, 110, 113, 34));    edt_remain->setAlignment(Qt::AlignCenter);    edt_remain->setReadOnly(true);    edt_format = new QLineEdit(frm_driver);    edt_format->setObjectName(QString::fromUtf8("edt_format"));    edt_format->setGeometry(QRect(380, 110, 113, 34));    edt_format->setAlignment(Qt::AlignCenter);    edt_format->setReadOnly(true);    line = new QFrame(frm_driver);    line->setObjectName(QString::fromUtf8("line"));    line->setGeometry(QRect(20, 160, 491, 20));    line->setFrameShape(QFrame::HLine);    line->setFrameShadow(QFrame::Sunken);    pbtn_ok = new QPushButton(frm_driver);    pbtn_ok->setObjectName(QString::fromUtf8("pbtn_ok"));    pbtn_ok->setGeometry(QRect(150, 180, 100, 36));    QFont font;    font.setFamily(QString::fromUtf8("\346\226\207\346\263\211\351\251\277\346\255\243\351\273\221"));    font.setPointSize(12);    pbtn_ok->setFont(font);    pbtn_close = new QPushButton(frm_driver);    pbtn_close->setObjectName(QString::fromUtf8("pbtn_close"));    pbtn_close->setGeometry(QRect(280, 180, 100, 36));    pbtn_close->setFont(font);    retranslateUi(frm_driver);    QObject::connect(pbtn_close, SIGNAL(clicked()), frm_driver, SLOT(close()));    QObject::connect(pbtn_ok, SIGNAL(clicked()), frm_driver, SLOT(close()));    QMetaObject::connectSlotsByName(frm_driver);    } // setupUi    void retranslateUi(QWidget *frm_driver)    {    frm_driver->setWindowTitle(QApplication::translate("frm_driver", "\347\243\201\347\233\230\347\256\241\347\220\206", 0, QApplication::UnicodeUTF8));    label->setText(QApplication::translate("frm_driver", "\347\241\254\347\233\230\351\200\211\346\213\251", 0, QApplication::UnicodeUTF8));    label_2->setText(QApplication::translate("frm_driver", "\347\241\254\347\233\230\344\277\241\346\201\257", 0, QApplication::UnicodeUTF8));    label_3->setText(QApplication::translate("frm_driver", "\345\256\271\351\207\217", 0, QApplication::UnicodeUTF8));    comboBox->clear();    comboBox->insertItems(0, QStringList()     << QApplication::translate("frm_driver", "Disk 0", 0, QApplication::UnicodeUTF8)     << QApplication::translate("frm_driver", "Disk 1", 0, QApplication::UnicodeUTF8)     << QApplication::translate("frm_driver", "Disk 2", 0, QApplication::UnicodeUTF8)    );    label_5->setText(QApplication::translate("frm_driver", "\345\211\251\344\275\231\347\251\272\351\227\264", 0, QApplication::UnicodeUTF8));    label_7->setText(QApplication::translate("frm_driver", "\346\240\274\345\274\217\345\214\226", 0, QApplication::UnicodeUTF8));    edt_capacity->setText(QApplication::translate("frm_driver", "0M", 0, QApplication::UnicodeUTF8));    edt_remain->setText(QApplication::translate("frm_driver", "0M", 0, QApplication::UnicodeUTF8));    edt_format->setText(QApplication::translate("frm_driver", "\346\230\257", 0, QApplication::UnicodeUTF8));    pbtn_ok->setText(QApplication::translate("frm_driver", "\346\240\274\345\274\217\345\214\226", 0, QApplication::UnicodeUTF8));    pbtn_close->setText(QApplication::translate("frm_driver", "\345\217\226\346\266\210", 0, QApplication::UnicodeUTF8));    Q_UNUSED(frm_driver);    } // retranslateUi};namespace Ui {    class frm_driver: public Ui_frm_driver {};} // namespace UiQT_END_NAMESPACE#endif // UI_FRM_DRIVESETTINGS_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?