314 lines
13 KiB
Plaintext
314 lines
13 KiB
Plaintext
/********************************************************************************
|
|
** Form generated from reading UI file 'dlgQrCode.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 4.8.5
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_DLGQRCODE_H
|
|
#define UI_DLGQRCODE_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtGui/QAction>
|
|
#include <QtGui/QApplication>
|
|
#include <QtGui/QButtonGroup>
|
|
#include <QtGui/QCheckBox>
|
|
#include <QtGui/QComboBox>
|
|
#include <QtGui/QDialog>
|
|
#include <QtGui/QGraphicsView>
|
|
#include <QtGui/QGridLayout>
|
|
#include <QtGui/QHBoxLayout>
|
|
#include <QtGui/QHeaderView>
|
|
#include <QtGui/QLabel>
|
|
#include <QtGui/QLineEdit>
|
|
#include <QtGui/QPushButton>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_dlgQrCode
|
|
{
|
|
public:
|
|
QGridLayout *gridLayout_4;
|
|
QGridLayout *gridLayout;
|
|
QGridLayout *gridLayout_3;
|
|
QPushButton *pushBtnClose;
|
|
QComboBox *comboBoxType;
|
|
QPushButton *pushBtnSave;
|
|
QPushButton *pushBtnPreView;
|
|
QComboBox *comboBoxInkColor;
|
|
QHBoxLayout *horizontalLayout_2;
|
|
QLabel *labelVarInc;
|
|
QLineEdit *lineEditVarInc;
|
|
QGridLayout *gridLayout_2;
|
|
QHBoxLayout *horizontalLayout_3;
|
|
QLabel *label_2;
|
|
QLineEdit *lineEditCNT;
|
|
QLabel *label_3;
|
|
QLineEdit *lineEditIn2;
|
|
QLineEdit *lineEditIn;
|
|
QHBoxLayout *horizontalLayout_7;
|
|
QLabel *label_4;
|
|
QHBoxLayout *horizontalLayout;
|
|
QLabel *labRECT;
|
|
QCheckBox *checkBoxAutoCount;
|
|
QCheckBox *checkBoxAuto;
|
|
QCheckBox *checkBox;
|
|
QLabel *labName;
|
|
QLineEdit *lineEdit;
|
|
QGraphicsView *BarCodeView;
|
|
QCheckBox *barCodeCheckBox;
|
|
QComboBox *comboBox_DMType;
|
|
QLabel *label;
|
|
QCheckBox *checkBoxInsertTime;
|
|
|
|
void setupUi(QDialog *dlgQrCode)
|
|
{
|
|
if (dlgQrCode->objectName().isEmpty())
|
|
dlgQrCode->setObjectName(QString::fromUtf8("dlgQrCode"));
|
|
dlgQrCode->resize(560, 300);
|
|
dlgQrCode->setFocusPolicy(Qt::StrongFocus);
|
|
dlgQrCode->setContextMenuPolicy(Qt::NoContextMenu);
|
|
QIcon icon;
|
|
icon.addFile(QString::fromUtf8(":/icon/bypm.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
dlgQrCode->setWindowIcon(icon);
|
|
dlgQrCode->setSizeGripEnabled(false);
|
|
gridLayout_4 = new QGridLayout(dlgQrCode);
|
|
gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
|
|
gridLayout = new QGridLayout();
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
gridLayout_3 = new QGridLayout();
|
|
gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
|
|
pushBtnClose = new QPushButton(dlgQrCode);
|
|
pushBtnClose->setObjectName(QString::fromUtf8("pushBtnClose"));
|
|
pushBtnClose->setMinimumSize(QSize(120, 0));
|
|
|
|
gridLayout_3->addWidget(pushBtnClose, 2, 3, 1, 1);
|
|
|
|
comboBoxType = new QComboBox(dlgQrCode);
|
|
comboBoxType->setObjectName(QString::fromUtf8("comboBoxType"));
|
|
|
|
gridLayout_3->addWidget(comboBoxType, 0, 2, 1, 1);
|
|
|
|
pushBtnSave = new QPushButton(dlgQrCode);
|
|
pushBtnSave->setObjectName(QString::fromUtf8("pushBtnSave"));
|
|
|
|
gridLayout_3->addWidget(pushBtnSave, 1, 3, 1, 1);
|
|
|
|
pushBtnPreView = new QPushButton(dlgQrCode);
|
|
pushBtnPreView->setObjectName(QString::fromUtf8("pushBtnPreView"));
|
|
|
|
gridLayout_3->addWidget(pushBtnPreView, 0, 3, 1, 1);
|
|
|
|
comboBoxInkColor = new QComboBox(dlgQrCode);
|
|
comboBoxInkColor->setObjectName(QString::fromUtf8("comboBoxInkColor"));
|
|
|
|
gridLayout_3->addWidget(comboBoxInkColor, 1, 2, 1, 1);
|
|
|
|
horizontalLayout_2 = new QHBoxLayout();
|
|
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
|
labelVarInc = new QLabel(dlgQrCode);
|
|
labelVarInc->setObjectName(QString::fromUtf8("labelVarInc"));
|
|
labelVarInc->setMaximumSize(QSize(120, 16777215));
|
|
labelVarInc->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
|
|
|
|
horizontalLayout_2->addWidget(labelVarInc);
|
|
|
|
lineEditVarInc = new QLineEdit(dlgQrCode);
|
|
lineEditVarInc->setObjectName(QString::fromUtf8("lineEditVarInc"));
|
|
lineEditVarInc->setMaximumSize(QSize(80, 16777215));
|
|
lineEditVarInc->setInputMethodHints(Qt::ImhDigitsOnly);
|
|
lineEditVarInc->setMaxLength(4);
|
|
|
|
horizontalLayout_2->addWidget(lineEditVarInc);
|
|
|
|
|
|
gridLayout_3->addLayout(horizontalLayout_2, 2, 2, 1, 1);
|
|
|
|
|
|
gridLayout->addLayout(gridLayout_3, 0, 2, 1, 3);
|
|
|
|
gridLayout_2 = new QGridLayout();
|
|
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
|
|
horizontalLayout_3 = new QHBoxLayout();
|
|
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
|
|
label_2 = new QLabel(dlgQrCode);
|
|
label_2->setObjectName(QString::fromUtf8("label_2"));
|
|
|
|
horizontalLayout_3->addWidget(label_2);
|
|
|
|
|
|
gridLayout_2->addLayout(horizontalLayout_3, 0, 0, 1, 1);
|
|
|
|
lineEditCNT = new QLineEdit(dlgQrCode);
|
|
lineEditCNT->setObjectName(QString::fromUtf8("lineEditCNT"));
|
|
lineEditCNT->setMaximumSize(QSize(80, 16777215));
|
|
lineEditCNT->setInputMethodHints(Qt::ImhDigitsOnly);
|
|
lineEditCNT->setMaxLength(10);
|
|
|
|
gridLayout_2->addWidget(lineEditCNT, 1, 1, 1, 1);
|
|
|
|
label_3 = new QLabel(dlgQrCode);
|
|
label_3->setObjectName(QString::fromUtf8("label_3"));
|
|
|
|
gridLayout_2->addWidget(label_3, 0, 1, 1, 1);
|
|
|
|
lineEditIn2 = new QLineEdit(dlgQrCode);
|
|
lineEditIn2->setObjectName(QString::fromUtf8("lineEditIn2"));
|
|
lineEditIn2->setMaxLength(80);
|
|
|
|
gridLayout_2->addWidget(lineEditIn2, 1, 3, 1, 1);
|
|
|
|
lineEditIn = new QLineEdit(dlgQrCode);
|
|
lineEditIn->setObjectName(QString::fromUtf8("lineEditIn"));
|
|
lineEditIn->setMaxLength(100);
|
|
|
|
gridLayout_2->addWidget(lineEditIn, 1, 0, 1, 1);
|
|
|
|
horizontalLayout_7 = new QHBoxLayout();
|
|
horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7"));
|
|
label_4 = new QLabel(dlgQrCode);
|
|
label_4->setObjectName(QString::fromUtf8("label_4"));
|
|
|
|
horizontalLayout_7->addWidget(label_4);
|
|
|
|
|
|
gridLayout_2->addLayout(horizontalLayout_7, 0, 3, 1, 1);
|
|
|
|
|
|
gridLayout->addLayout(gridLayout_2, 5, 0, 1, 5);
|
|
|
|
horizontalLayout = new QHBoxLayout();
|
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
|
labRECT = new QLabel(dlgQrCode);
|
|
labRECT->setObjectName(QString::fromUtf8("labRECT"));
|
|
|
|
horizontalLayout->addWidget(labRECT);
|
|
|
|
checkBoxAutoCount = new QCheckBox(dlgQrCode);
|
|
checkBoxAutoCount->setObjectName(QString::fromUtf8("checkBoxAutoCount"));
|
|
|
|
horizontalLayout->addWidget(checkBoxAutoCount);
|
|
|
|
checkBoxAuto = new QCheckBox(dlgQrCode);
|
|
checkBoxAuto->setObjectName(QString::fromUtf8("checkBoxAuto"));
|
|
|
|
horizontalLayout->addWidget(checkBoxAuto);
|
|
|
|
checkBox = new QCheckBox(dlgQrCode);
|
|
checkBox->setObjectName(QString::fromUtf8("checkBox"));
|
|
|
|
horizontalLayout->addWidget(checkBox);
|
|
|
|
labName = new QLabel(dlgQrCode);
|
|
labName->setObjectName(QString::fromUtf8("labName"));
|
|
labName->setMinimumSize(QSize(120, 0));
|
|
labName->setMaximumSize(QSize(160, 16777215));
|
|
|
|
horizontalLayout->addWidget(labName);
|
|
|
|
|
|
gridLayout->addLayout(horizontalLayout, 3, 0, 1, 5);
|
|
|
|
lineEdit = new QLineEdit(dlgQrCode);
|
|
lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
|
|
lineEdit->setEnabled(false);
|
|
lineEdit->setMaxLength(200);
|
|
lineEdit->setReadOnly(true);
|
|
|
|
gridLayout->addWidget(lineEdit, 6, 0, 1, 5);
|
|
|
|
BarCodeView = new QGraphicsView(dlgQrCode);
|
|
BarCodeView->setObjectName(QString::fromUtf8("BarCodeView"));
|
|
BarCodeView->setMaximumSize(QSize(16777215, 600));
|
|
|
|
gridLayout->addWidget(BarCodeView, 0, 0, 1, 2);
|
|
|
|
barCodeCheckBox = new QCheckBox(dlgQrCode);
|
|
barCodeCheckBox->setObjectName(QString::fromUtf8("barCodeCheckBox"));
|
|
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(barCodeCheckBox->sizePolicy().hasHeightForWidth());
|
|
barCodeCheckBox->setSizePolicy(sizePolicy);
|
|
|
|
gridLayout->addWidget(barCodeCheckBox, 4, 0, 1, 1);
|
|
|
|
comboBox_DMType = new QComboBox(dlgQrCode);
|
|
comboBox_DMType->setObjectName(QString::fromUtf8("comboBox_DMType"));
|
|
comboBox_DMType->setMinimumSize(QSize(0, 0));
|
|
|
|
gridLayout->addWidget(comboBox_DMType, 4, 2, 1, 1);
|
|
|
|
label = new QLabel(dlgQrCode);
|
|
label->setObjectName(QString::fromUtf8("label"));
|
|
label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
|
|
gridLayout->addWidget(label, 4, 1, 1, 1);
|
|
|
|
checkBoxInsertTime = new QCheckBox(dlgQrCode);
|
|
checkBoxInsertTime->setObjectName(QString::fromUtf8("checkBoxInsertTime"));
|
|
sizePolicy.setHeightForWidth(checkBoxInsertTime->sizePolicy().hasHeightForWidth());
|
|
checkBoxInsertTime->setSizePolicy(sizePolicy);
|
|
|
|
gridLayout->addWidget(checkBoxInsertTime, 4, 4, 1, 1);
|
|
|
|
|
|
gridLayout_4->addLayout(gridLayout, 1, 0, 1, 1);
|
|
|
|
|
|
retranslateUi(dlgQrCode);
|
|
|
|
QMetaObject::connectSlotsByName(dlgQrCode);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QDialog *dlgQrCode)
|
|
{
|
|
dlgQrCode->setWindowTitle(QApplication::translate("dlgQrCode", "Dialog", 0, QApplication::UnicodeUTF8));
|
|
pushBtnClose->setText(QApplication::translate("dlgQrCode", "\350\277\224\345\233\236", 0, QApplication::UnicodeUTF8));
|
|
comboBoxType->clear();
|
|
comboBoxType->insertItems(0, QStringList()
|
|
<< QApplication::translate("dlgQrCode", "DataMatrix", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("dlgQrCode", "QRCode", 0, QApplication::UnicodeUTF8)
|
|
);
|
|
pushBtnSave->setText(QApplication::translate("dlgQrCode", "\344\277\235\345\255\230", 0, QApplication::UnicodeUTF8));
|
|
pushBtnPreView->setText(QApplication::translate("dlgQrCode", "\351\242\204\350\247\210", 0, QApplication::UnicodeUTF8));
|
|
comboBoxInkColor->clear();
|
|
comboBoxInkColor->insertItems(0, QStringList()
|
|
<< QApplication::translate("dlgQrCode", "\346\255\243\347\233\270\346\211\223\345\215\260", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("dlgQrCode", "\345\217\215\347\233\270\346\211\223\345\215\260", 0, QApplication::UnicodeUTF8)
|
|
);
|
|
labelVarInc->setText(QApplication::translate("dlgQrCode", "\345\217\230\351\207\217\345\242\236\351\207\217", 0, QApplication::UnicodeUTF8));
|
|
label_2->setText(QApplication::translate("dlgQrCode", "\344\277\241\346\201\257\345\211\215\347\274\200", 0, QApplication::UnicodeUTF8));
|
|
label_3->setText(QApplication::translate("dlgQrCode", "\345\217\230\351\207\217(\345\210\235\345\200\274)", 0, QApplication::UnicodeUTF8));
|
|
label_4->setText(QApplication::translate("dlgQrCode", "\344\277\241\346\201\257\345\220\216\347\274\200", 0, QApplication::UnicodeUTF8));
|
|
labRECT->setText(QApplication::translate("dlgQrCode", "TextLabel", 0, QApplication::UnicodeUTF8));
|
|
checkBoxAutoCount->setText(QApplication::translate("dlgQrCode", "\350\256\241\346\225\260\345\231\250(\345\217\230\351\207\217)", 0, QApplication::UnicodeUTF8));
|
|
checkBoxAuto->setText(QApplication::translate("dlgQrCode", "\350\207\252\345\212\250\345\210\267\346\226\260", 0, QApplication::UnicodeUTF8));
|
|
checkBox->setText(QApplication::translate("dlgQrCode", "\346\217\222\345\205\245\346\226\207\346\241\243", 0, QApplication::UnicodeUTF8));
|
|
labName->setText(QApplication::translate("dlgQrCode", "TextLabel", 0, QApplication::UnicodeUTF8));
|
|
barCodeCheckBox->setText(QApplication::translate("dlgQrCode", "\346\235\241\345\275\242\347\240\201", 0, QApplication::UnicodeUTF8));
|
|
comboBox_DMType->clear();
|
|
comboBox_DMType->insertItems(0, QStringList()
|
|
<< QApplication::translate("dlgQrCode", "\351\273\230\350\256\244", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("dlgQrCode", "8 x 18", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("dlgQrCode", "8 x 32", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("dlgQrCode", "12 x 26", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("dlgQrCode", "12 x 36", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("dlgQrCode", "16 x 36", 0, QApplication::UnicodeUTF8)
|
|
<< QApplication::translate("dlgQrCode", "16 x 48", 0, QApplication::UnicodeUTF8)
|
|
);
|
|
label->setText(QApplication::translate("dlgQrCode", "DM\347\240\201\345\260\272\345\257\270:", 0, QApplication::UnicodeUTF8));
|
|
checkBoxInsertTime->setText(QApplication::translate("dlgQrCode", "\350\207\252\345\212\250\346\217\222\345\205\245\346\227\266\351\227\264", 0, QApplication::UnicodeUTF8));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class dlgQrCode: public Ui_dlgQrCode {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_DLGQRCODE_H
|