📄 ui_grabwindow.h
字号:
/********************************************************************************** Form generated from reading ui file 'GrabWindow.ui'**** Created: Mon Dec 22 15:46:22 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_GRABWINDOW_H#define UI_GRABWINDOW_H#include <QtCore/QVariant>#include <QtGui/QAction>#include <QtGui/QApplication>#include <QtGui/QButtonGroup>#include <QtGui/QLabel>#include <QtGui/QMainWindow>#include <QtGui/QPushButton>#include <QtGui/QSpinBox>#include <QtGui/QWidget>QT_BEGIN_NAMESPACEclass Ui_MainWindow{public: QWidget *centralwidget; QPushButton *GrabPushButton; QLabel *WidthLabel; QLabel *HeightLabel; QSpinBox *WidthSpinBox; QSpinBox *HeightSpinBox; QLabel *GrabPromptLabel; QLabel *ThePictureLabel; QSpinBox *YSpinBox; QLabel *YLabel; QSpinBox *XSpinBox; QLabel *XLabel; void setupUi(QMainWindow *MainWindow) { if (MainWindow->objectName().isEmpty()) MainWindow->setObjectName(QString::fromUtf8("MainWindow")); MainWindow->resize(800, 600); centralwidget = new QWidget(MainWindow); centralwidget->setObjectName(QString::fromUtf8("centralwidget")); centralwidget->setGeometry(QRect(0, 0, 800, 600)); GrabPushButton = new QPushButton(centralwidget); GrabPushButton->setObjectName(QString::fromUtf8("GrabPushButton")); GrabPushButton->setGeometry(QRect(30, 10, 83, 27)); WidthLabel = new QLabel(centralwidget); WidthLabel->setObjectName(QString::fromUtf8("WidthLabel")); WidthLabel->setGeometry(QRect(290, 60, 57, 18)); HeightLabel = new QLabel(centralwidget); HeightLabel->setObjectName(QString::fromUtf8("HeightLabel")); HeightLabel->setGeometry(QRect(300, 100, 57, 18)); WidthSpinBox = new QSpinBox(centralwidget); WidthSpinBox->setObjectName(QString::fromUtf8("WidthSpinBox")); WidthSpinBox->setGeometry(QRect(370, 60, 54, 23)); HeightSpinBox = new QSpinBox(centralwidget); HeightSpinBox->setObjectName(QString::fromUtf8("HeightSpinBox")); HeightSpinBox->setGeometry(QRect(370, 100, 54, 23)); GrabPromptLabel = new QLabel(centralwidget); GrabPromptLabel->setObjectName(QString::fromUtf8("GrabPromptLabel")); GrabPromptLabel->setGeometry(QRect(30, 140, 57, 18)); ThePictureLabel = new QLabel(centralwidget); ThePictureLabel->setObjectName(QString::fromUtf8("ThePictureLabel")); ThePictureLabel->setGeometry(QRect(100, 130, 671, 441)); QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(ThePictureLabel->sizePolicy().hasHeightForWidth()); ThePictureLabel->setSizePolicy(sizePolicy); YSpinBox = new QSpinBox(centralwidget); YSpinBox->setObjectName(QString::fromUtf8("YSpinBox")); YSpinBox->setGeometry(QRect(140, 90, 54, 23)); YLabel = new QLabel(centralwidget); YLabel->setObjectName(QString::fromUtf8("YLabel")); YLabel->setGeometry(QRect(70, 90, 57, 18)); XSpinBox = new QSpinBox(centralwidget); XSpinBox->setObjectName(QString::fromUtf8("XSpinBox")); XSpinBox->setGeometry(QRect(140, 50, 54, 23)); XLabel = new QLabel(centralwidget); XLabel->setObjectName(QString::fromUtf8("XLabel")); XLabel->setGeometry(QRect(60, 50, 57, 18)); MainWindow->setCentralWidget(centralwidget); retranslateUi(MainWindow); QObject::connect(GrabPushButton, SIGNAL(clicked()), MainWindow, SLOT(Grab())); QMetaObject::connectSlotsByName(MainWindow); } // setupUi void retranslateUi(QMainWindow *MainWindow) { MainWindow->setWindowTitle(QApplication::translate("MainWindow", "\345\261\217\345\271\225\346\210\252\345\233\276", 0, QApplication::UnicodeUTF8)); GrabPushButton->setText(QApplication::translate("MainWindow", "\346\210\252\345\233\276", 0, QApplication::UnicodeUTF8)); WidthLabel->setText(QApplication::translate("MainWindow", "\345\256\275\345\272\246", 0, QApplication::UnicodeUTF8)); HeightLabel->setText(QApplication::translate("MainWindow", "\351\253\230\345\272\246", 0, QApplication::UnicodeUTF8)); GrabPromptLabel->setText(QApplication::translate("MainWindow", "\346\210\252\345\233\276\357\274\232", 0, QApplication::UnicodeUTF8)); ThePictureLabel->setText(QString()); YLabel->setText(QApplication::translate("MainWindow", "Y", 0, QApplication::UnicodeUTF8)); XLabel->setText(QApplication::translate("MainWindow", "X", 0, QApplication::UnicodeUTF8)); Q_UNUSED(MainWindow); } // retranslateUi};namespace Ui { class MainWindow: public Ui_MainWindow {};} // namespace UiQT_END_NAMESPACE#endif // UI_GRABWINDOW_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -