📄 ui_imagedialog.h
字号:
#ifndef UI_IMAGEDIALOG_H#define UI_IMAGEDIALOG_H#include <QtCore/QVariant>#include <QtGui/QAction>#include <QtGui/QApplication>#include <QtGui/QButtonGroup>#include <QtGui/QComboBox>#include <QtGui/QDialog>#include <QtGui/QGridLayout>#include <QtGui/QHBoxLayout>#include <QtGui/QLabel>#include <QtGui/QLineEdit>#include <QtGui/QPushButton>#include <QtGui/QSpacerItem>#include <QtGui/QSpinBox>#include <QtGui/QVBoxLayout>class Ui_ImageDialog{public: QVBoxLayout *vboxLayout; QGridLayout *gridLayout; QSpinBox *spinBox_2; QLineEdit *lineEdit; QLabel *label; QLabel *label_3; QSpinBox *spinBox; QComboBox *colorDepthCombo; QLabel *label_2; QLabel *label_4; QSpacerItem *spacerItem; QHBoxLayout *hboxLayout; QSpacerItem *spacerItem1; QPushButton *okButton; QPushButton *cancelButton; void setupUi(QDialog *ImageDialog) { ImageDialog->setObjectName(QString::fromUtf8("ImageDialog")); ImageDialog->resize(QSize(239, 163).expandedTo(ImageDialog->minimumSizeHint())); vboxLayout = new QVBoxLayout(ImageDialog); vboxLayout->setSpacing(6); vboxLayout->setMargin(9); vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); gridLayout = new QGridLayout(); gridLayout->setSpacing(6); gridLayout->setMargin(1); gridLayout->setObjectName(QString::fromUtf8("gridLayout")); spinBox_2 = new QSpinBox(ImageDialog); spinBox_2->setObjectName(QString::fromUtf8("spinBox_2")); gridLayout->addWidget(spinBox_2, 2, 1, 1, 1); lineEdit = new QLineEdit(ImageDialog); lineEdit->setObjectName(QString::fromUtf8("lineEdit")); gridLayout->addWidget(lineEdit, 0, 1, 1, 1); label = new QLabel(ImageDialog); label->setObjectName(QString::fromUtf8("label")); gridLayout->addWidget(label, 0, 0, 1, 1); label_3 = new QLabel(ImageDialog); label_3->setObjectName(QString::fromUtf8("label_3")); gridLayout->addWidget(label_3, 2, 0, 1, 1); spinBox = new QSpinBox(ImageDialog); spinBox->setObjectName(QString::fromUtf8("spinBox")); gridLayout->addWidget(spinBox, 1, 1, 1, 1); colorDepthCombo = new QComboBox(ImageDialog); colorDepthCombo->setObjectName(QString::fromUtf8("colorDepthCombo")); gridLayout->addWidget(colorDepthCombo, 3, 1, 1, 1); label_2 = new QLabel(ImageDialog); label_2->setObjectName(QString::fromUtf8("label_2")); gridLayout->addWidget(label_2, 1, 0, 1, 1); label_4 = new QLabel(ImageDialog); label_4->setObjectName(QString::fromUtf8("label_4")); gridLayout->addWidget(label_4, 3, 0, 1, 1); vboxLayout->addLayout(gridLayout); spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); vboxLayout->addItem(spacerItem); hboxLayout = new QHBoxLayout(); hboxLayout->setSpacing(21); hboxLayout->setMargin(1); hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); spacerItem1 = new QSpacerItem(131, 31, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout->addItem(spacerItem1); okButton = new QPushButton(ImageDialog); okButton->setObjectName(QString::fromUtf8("okButton")); hboxLayout->addWidget(okButton); cancelButton = new QPushButton(ImageDialog); cancelButton->setObjectName(QString::fromUtf8("cancelButton")); hboxLayout->addWidget(cancelButton); vboxLayout->addLayout(hboxLayout); retranslateUi(ImageDialog); QObject::connect(lineEdit, SIGNAL(returnPressed()), okButton, SLOT(animateClick())); QMetaObject::connectSlotsByName(ImageDialog); } // setupUi void retranslateUi(QDialog *ImageDialog) { ImageDialog->setWindowTitle(QApplication::translate("ImageDialog", "Imagedialog", 0, QApplication::UnicodeUTF8)); label->setText(QApplication::translate("ImageDialog", "Name", 0, QApplication::UnicodeUTF8)); label_3->setText(QApplication::translate("ImageDialog", "Height", 0, QApplication::UnicodeUTF8)); label_2->setText(QApplication::translate("ImageDialog", "Width", 0, QApplication::UnicodeUTF8)); label_4->setText(QApplication::translate("ImageDialog", "Color depth", 0, QApplication::UnicodeUTF8)); okButton->setText(QApplication::translate("ImageDialog", "OK", 0, QApplication::UnicodeUTF8)); cancelButton->setText(QApplication::translate("ImageDialog", "Cancel", 0, QApplication::UnicodeUTF8)); Q_UNUSED(ImageDialog); } // retranslateUi};namespace Ui { class ImageDialog: public Ui_ImageDialog {};} // namespace Ui#endif // UI_IMAGEDIALOG_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -