ui_testtrdlg.h

来自「这个是从外网下的中英文切换的例子」· C头文件 代码 · 共 72 行

H
72
字号
/********************************************************************************
** Form generated from reading ui file 'testTrDlg.ui'
**
** Created: Tue Jan 20 14:08:40 2009
**      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_TESTTRDLG_H
#define UI_TESTTRDLG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDialog>
#include <QtGui/QPushButton>

QT_BEGIN_NAMESPACE

class Ui_Dialog
{
public:
    QPushButton *engBtn;
    QPushButton *chsBtn;
    QPushButton *loveBtn;
    QPushButton *testBtn;

    void setupUi(QDialog *Dialog)
    {
    if (Dialog->objectName().isEmpty())
        Dialog->setObjectName(QString::fromUtf8("Dialog"));
    Dialog->resize(268, 166);
    engBtn = new QPushButton(Dialog);
    engBtn->setObjectName(QString::fromUtf8("engBtn"));
    engBtn->setGeometry(QRect(14, 30, 121, 23));
    chsBtn = new QPushButton(Dialog);
    chsBtn->setObjectName(QString::fromUtf8("chsBtn"));
    chsBtn->setGeometry(QRect(160, 30, 91, 23));
    loveBtn = new QPushButton(Dialog);
    loveBtn->setObjectName(QString::fromUtf8("loveBtn"));
    loveBtn->setGeometry(QRect(20, 100, 121, 23));
    testBtn = new QPushButton(Dialog);
    testBtn->setObjectName(QString::fromUtf8("testBtn"));
    testBtn->setGeometry(QRect(160, 100, 91, 23));

    retranslateUi(Dialog);

    QMetaObject::connectSlotsByName(Dialog);
    } // setupUi

    void retranslateUi(QDialog *Dialog)
    {
    Dialog->setWindowTitle(QApplication::translate("Dialog", "Dialog", 0, QApplication::UnicodeUTF8));
    engBtn->setText(QApplication::translate("Dialog", "English", 0, QApplication::UnicodeUTF8));
    chsBtn->setText(QApplication::translate("Dialog", "Chinese", 0, QApplication::UnicodeUTF8));
    loveBtn->setText(QApplication::translate("Dialog", "I Love My Family", 0, QApplication::UnicodeUTF8));
    testBtn->setText(QApplication::translate("Dialog", "test tr", 0, QApplication::UnicodeUTF8));
    Q_UNUSED(Dialog);
    } // retranslateUi

};

namespace Ui {
    class Dialog: public Ui_Dialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_TESTTRDLG_H

⌨️ 快捷键说明

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