hlp:桂林国际齿轮泵代码
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'DialogLineSpace.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "../DialogLineSpace.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'DialogLineSpace.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 63
|
||||
#error "This file was generated using the moc from 4.8.5. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
static const uint qt_meta_data_DialogLineSpace[] = {
|
||||
|
||||
// content:
|
||||
6, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_DialogLineSpace[] = {
|
||||
"DialogLineSpace\0"
|
||||
};
|
||||
|
||||
void DialogLineSpace::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData DialogLineSpace::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject DialogLineSpace::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_DialogLineSpace,
|
||||
qt_meta_data_DialogLineSpace, &staticMetaObjectExtraData }
|
||||
};
|
||||
|
||||
#ifdef Q_NO_DATA_RELOCATION
|
||||
const QMetaObject &DialogLineSpace::getStaticMetaObject() { return staticMetaObject; }
|
||||
#endif //Q_NO_DATA_RELOCATION
|
||||
|
||||
const QMetaObject *DialogLineSpace::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DialogLineSpace::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DialogLineSpace))
|
||||
return static_cast<void*>(const_cast< DialogLineSpace*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DialogLineSpace::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,537 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'picedit.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_PICEDIT_H
|
||||
#define UI_PICEDIT_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QAction>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QButtonGroup>
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QComboBox>
|
||||
#include <QtGui/QFrame>
|
||||
#include <QtGui/QGridLayout>
|
||||
#include <QtGui/QHBoxLayout>
|
||||
#include <QtGui/QHeaderView>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QRadioButton>
|
||||
#include <QtGui/QScrollArea>
|
||||
#include <QtGui/QSpacerItem>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QVBoxLayout>
|
||||
#include <QtGui/QWidget>
|
||||
#include "PicWidget.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_PicEdit
|
||||
{
|
||||
public:
|
||||
QGridLayout *gridLayout_2;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QGridLayout *gridLayout_5;
|
||||
QPushButton *pushButtonStartInput;
|
||||
QPushButton *pushButtonInsertVari;
|
||||
QPushButton *pushButtonSave;
|
||||
QPushButton *pushButtonReduce;
|
||||
QPushButton *pushButtonEnlarge;
|
||||
QComboBox *comboBoxLattice;
|
||||
QLabel *label_2;
|
||||
QSpinBox *spinBoxHeightPoint;
|
||||
QComboBox *comboBoxBoldMul;
|
||||
QLineEdit *lineEditInputTxt;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QScrollArea *scrollArea;
|
||||
PicWidget *widgetPic;
|
||||
QGridLayout *gridLayout_3;
|
||||
QLabel *label_ROWCOL;
|
||||
QLabel *labelScaleLeval;
|
||||
QLabel *labInserMode;
|
||||
QLabel *labelFileName;
|
||||
QLabel *label_CURXY;
|
||||
QFrame *line;
|
||||
QGridLayout *gridLayout;
|
||||
QPushButton *pushButtonNew;
|
||||
QPushButton *pushButtonOpen;
|
||||
QPushButton *pushButtonCharSpace;
|
||||
QPushButton *pushButtonInsertMode;
|
||||
QPushButton *pushButtonDeleteChar;
|
||||
QPushButton *pushButtonImport;
|
||||
QPushButton *pushButtonSaveAs;
|
||||
QPushButton *pushButtonZKEdit;
|
||||
QCheckBox *checkBoxDrawGridEn;
|
||||
QCheckBox *checkBoxBold;
|
||||
QCheckBox *checkBoxControlChar;
|
||||
QPushButton *pushButtonHome;
|
||||
QPushButton *pushButtonLeft;
|
||||
QPushButton *pushButtonUp;
|
||||
QPushButton *pushButtonDown;
|
||||
QPushButton *pushButtonRight;
|
||||
QPushButton *pushButtonEnd;
|
||||
QRadioButton *radioButtonCharCurrent;
|
||||
QRadioButton *radioButtonDotCurrent;
|
||||
QFrame *line_2;
|
||||
QFrame *line_4;
|
||||
QSpacerItem *verticalSpacer;
|
||||
QFrame *line_3;
|
||||
QGridLayout *gridLayout_4;
|
||||
QLabel *label_Note;
|
||||
QLabel *labelNote2;
|
||||
|
||||
void setupUi(QWidget *PicEdit)
|
||||
{
|
||||
if (PicEdit->objectName().isEmpty())
|
||||
PicEdit->setObjectName(QString::fromUtf8("PicEdit"));
|
||||
PicEdit->resize(642, 442);
|
||||
PicEdit->setFocusPolicy(Qt::StrongFocus);
|
||||
gridLayout_2 = new QGridLayout(PicEdit);
|
||||
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
|
||||
verticalLayout = new QVBoxLayout();
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
gridLayout_5 = new QGridLayout();
|
||||
gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
|
||||
pushButtonStartInput = new QPushButton(PicEdit);
|
||||
pushButtonStartInput->setObjectName(QString::fromUtf8("pushButtonStartInput"));
|
||||
pushButtonStartInput->setMinimumSize(QSize(0, 40));
|
||||
pushButtonStartInput->setMaximumSize(QSize(72, 16777215));
|
||||
|
||||
gridLayout_5->addWidget(pushButtonStartInput, 0, 0, 1, 1);
|
||||
|
||||
pushButtonInsertVari = new QPushButton(PicEdit);
|
||||
pushButtonInsertVari->setObjectName(QString::fromUtf8("pushButtonInsertVari"));
|
||||
pushButtonInsertVari->setMinimumSize(QSize(63, 40));
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/icon/vari.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonInsertVari->setIcon(icon);
|
||||
|
||||
gridLayout_5->addWidget(pushButtonInsertVari, 0, 3, 1, 1);
|
||||
|
||||
pushButtonSave = new QPushButton(PicEdit);
|
||||
pushButtonSave->setObjectName(QString::fromUtf8("pushButtonSave"));
|
||||
pushButtonSave->setMinimumSize(QSize(50, 40));
|
||||
QIcon icon1;
|
||||
icon1.addFile(QString::fromUtf8(":/icon/filesave.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonSave->setIcon(icon1);
|
||||
|
||||
gridLayout_5->addWidget(pushButtonSave, 0, 2, 1, 1);
|
||||
|
||||
pushButtonReduce = new QPushButton(PicEdit);
|
||||
pushButtonReduce->setObjectName(QString::fromUtf8("pushButtonReduce"));
|
||||
pushButtonReduce->setMinimumSize(QSize(55, 40));
|
||||
QIcon icon2;
|
||||
icon2.addFile(QString::fromUtf8(":/icon/zoomout.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonReduce->setIcon(icon2);
|
||||
|
||||
gridLayout_5->addWidget(pushButtonReduce, 0, 4, 1, 1);
|
||||
|
||||
pushButtonEnlarge = new QPushButton(PicEdit);
|
||||
pushButtonEnlarge->setObjectName(QString::fromUtf8("pushButtonEnlarge"));
|
||||
pushButtonEnlarge->setMinimumSize(QSize(55, 40));
|
||||
QIcon icon3;
|
||||
icon3.addFile(QString::fromUtf8(":/icon/zoomin.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonEnlarge->setIcon(icon3);
|
||||
|
||||
gridLayout_5->addWidget(pushButtonEnlarge, 0, 5, 1, 1);
|
||||
|
||||
comboBoxLattice = new QComboBox(PicEdit);
|
||||
comboBoxLattice->setObjectName(QString::fromUtf8("comboBoxLattice"));
|
||||
comboBoxLattice->setMinimumSize(QSize(74, 40));
|
||||
comboBoxLattice->setMaximumSize(QSize(74, 16777215));
|
||||
comboBoxLattice->setInputMethodHints(Qt::ImhNone);
|
||||
|
||||
gridLayout_5->addWidget(comboBoxLattice, 0, 6, 1, 1);
|
||||
|
||||
label_2 = new QLabel(PicEdit);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
label_2->setMaximumSize(QSize(16777215, 20));
|
||||
label_2->setAlignment(Qt::AlignCenter);
|
||||
|
||||
gridLayout_5->addWidget(label_2, 0, 8, 1, 1);
|
||||
|
||||
spinBoxHeightPoint = new QSpinBox(PicEdit);
|
||||
spinBoxHeightPoint->setObjectName(QString::fromUtf8("spinBoxHeightPoint"));
|
||||
spinBoxHeightPoint->setMinimumSize(QSize(40, 40));
|
||||
spinBoxHeightPoint->setMaximumSize(QSize(40, 16777215));
|
||||
spinBoxHeightPoint->setBaseSize(QSize(0, 0));
|
||||
spinBoxHeightPoint->setMinimum(1);
|
||||
spinBoxHeightPoint->setMaximum(256);
|
||||
spinBoxHeightPoint->setValue(40);
|
||||
|
||||
gridLayout_5->addWidget(spinBoxHeightPoint, 0, 9, 1, 1);
|
||||
|
||||
comboBoxBoldMul = new QComboBox(PicEdit);
|
||||
comboBoxBoldMul->setObjectName(QString::fromUtf8("comboBoxBoldMul"));
|
||||
comboBoxBoldMul->setMinimumSize(QSize(0, 40));
|
||||
comboBoxBoldMul->setMaximumSize(QSize(62, 16777215));
|
||||
|
||||
gridLayout_5->addWidget(comboBoxBoldMul, 0, 7, 1, 1);
|
||||
|
||||
lineEditInputTxt = new QLineEdit(PicEdit);
|
||||
lineEditInputTxt->setObjectName(QString::fromUtf8("lineEditInputTxt"));
|
||||
lineEditInputTxt->setMaximumSize(QSize(10, 25));
|
||||
QFont font;
|
||||
font.setKerning(true);
|
||||
lineEditInputTxt->setFont(font);
|
||||
lineEditInputTxt->setMouseTracking(false);
|
||||
lineEditInputTxt->setFocusPolicy(Qt::StrongFocus);
|
||||
lineEditInputTxt->setAcceptDrops(false);
|
||||
lineEditInputTxt->setInputMethodHints(Qt::ImhDigitsOnly|Qt::ImhHiddenText|Qt::ImhNoAutoUppercase|Qt::ImhNoPredictiveText|Qt::ImhPreferLowercase);
|
||||
|
||||
gridLayout_5->addWidget(lineEditInputTxt, 0, 10, 1, 1);
|
||||
|
||||
|
||||
verticalLayout->addLayout(gridLayout_5);
|
||||
|
||||
horizontalLayout = new QHBoxLayout();
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
scrollArea = new QScrollArea(PicEdit);
|
||||
scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
|
||||
scrollArea->setMinimumSize(QSize(0, 145));
|
||||
scrollArea->setMaximumSize(QSize(16777215, 145));
|
||||
scrollArea->setInputMethodHints(Qt::ImhNone);
|
||||
scrollArea->setWidgetResizable(false);
|
||||
scrollArea->setAlignment(Qt::AlignCenter);
|
||||
widgetPic = new PicWidget();
|
||||
widgetPic->setObjectName(QString::fromUtf8("widgetPic"));
|
||||
widgetPic->setGeometry(QRect(159, 21, 300, 100));
|
||||
widgetPic->setLayoutDirection(Qt::RightToLeft);
|
||||
widgetPic->setInputMethodHints(Qt::ImhDigitsOnly);
|
||||
scrollArea->setWidget(widgetPic);
|
||||
|
||||
horizontalLayout->addWidget(scrollArea);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout);
|
||||
|
||||
gridLayout_3 = new QGridLayout();
|
||||
gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
|
||||
gridLayout_3->setHorizontalSpacing(0);
|
||||
gridLayout_3->setVerticalSpacing(6);
|
||||
label_ROWCOL = new QLabel(PicEdit);
|
||||
label_ROWCOL->setObjectName(QString::fromUtf8("label_ROWCOL"));
|
||||
label_ROWCOL->setMinimumSize(QSize(80, 0));
|
||||
label_ROWCOL->setMaximumSize(QSize(130, 16777215));
|
||||
|
||||
gridLayout_3->addWidget(label_ROWCOL, 0, 0, 1, 1);
|
||||
|
||||
labelScaleLeval = new QLabel(PicEdit);
|
||||
labelScaleLeval->setObjectName(QString::fromUtf8("labelScaleLeval"));
|
||||
labelScaleLeval->setMinimumSize(QSize(80, 0));
|
||||
labelScaleLeval->setMaximumSize(QSize(80, 16777215));
|
||||
labelScaleLeval->setAlignment(Qt::AlignCenter);
|
||||
|
||||
gridLayout_3->addWidget(labelScaleLeval, 0, 6, 1, 1);
|
||||
|
||||
labInserMode = new QLabel(PicEdit);
|
||||
labInserMode->setObjectName(QString::fromUtf8("labInserMode"));
|
||||
labInserMode->setMaximumSize(QSize(52, 16777215));
|
||||
labInserMode->setAlignment(Qt::AlignCenter);
|
||||
|
||||
gridLayout_3->addWidget(labInserMode, 0, 7, 1, 1);
|
||||
|
||||
labelFileName = new QLabel(PicEdit);
|
||||
labelFileName->setObjectName(QString::fromUtf8("labelFileName"));
|
||||
labelFileName->setMinimumSize(QSize(0, 16));
|
||||
labelFileName->setMaximumSize(QSize(200, 16777215));
|
||||
labelFileName->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
|
||||
|
||||
gridLayout_3->addWidget(labelFileName, 0, 9, 1, 1);
|
||||
|
||||
label_CURXY = new QLabel(PicEdit);
|
||||
label_CURXY->setObjectName(QString::fromUtf8("label_CURXY"));
|
||||
label_CURXY->setMinimumSize(QSize(80, 0));
|
||||
label_CURXY->setMaximumSize(QSize(130, 16777215));
|
||||
|
||||
gridLayout_3->addWidget(label_CURXY, 0, 5, 1, 1);
|
||||
|
||||
|
||||
verticalLayout->addLayout(gridLayout_3);
|
||||
|
||||
line = new QFrame(PicEdit);
|
||||
line->setObjectName(QString::fromUtf8("line"));
|
||||
line->setFrameShape(QFrame::HLine);
|
||||
line->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
verticalLayout->addWidget(line);
|
||||
|
||||
gridLayout = new QGridLayout();
|
||||
gridLayout->setSpacing(5);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
pushButtonNew = new QPushButton(PicEdit);
|
||||
pushButtonNew->setObjectName(QString::fromUtf8("pushButtonNew"));
|
||||
pushButtonNew->setMinimumSize(QSize(90, 50));
|
||||
QIcon icon4;
|
||||
icon4.addFile(QString::fromUtf8(":/icon/filenew.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonNew->setIcon(icon4);
|
||||
|
||||
gridLayout->addWidget(pushButtonNew, 2, 2, 1, 1);
|
||||
|
||||
pushButtonOpen = new QPushButton(PicEdit);
|
||||
pushButtonOpen->setObjectName(QString::fromUtf8("pushButtonOpen"));
|
||||
pushButtonOpen->setMinimumSize(QSize(90, 50));
|
||||
QIcon icon5;
|
||||
icon5.addFile(QString::fromUtf8(":/icon/fileopen.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonOpen->setIcon(icon5);
|
||||
|
||||
gridLayout->addWidget(pushButtonOpen, 2, 1, 1, 1);
|
||||
|
||||
pushButtonCharSpace = new QPushButton(PicEdit);
|
||||
pushButtonCharSpace->setObjectName(QString::fromUtf8("pushButtonCharSpace"));
|
||||
pushButtonCharSpace->setMinimumSize(QSize(90, 50));
|
||||
QIcon icon6;
|
||||
icon6.addFile(QString::fromUtf8(":/icon/linespace.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonCharSpace->setIcon(icon6);
|
||||
|
||||
gridLayout->addWidget(pushButtonCharSpace, 0, 1, 1, 1);
|
||||
|
||||
pushButtonInsertMode = new QPushButton(PicEdit);
|
||||
pushButtonInsertMode->setObjectName(QString::fromUtf8("pushButtonInsertMode"));
|
||||
pushButtonInsertMode->setMinimumSize(QSize(90, 50));
|
||||
|
||||
gridLayout->addWidget(pushButtonInsertMode, 0, 2, 1, 1);
|
||||
|
||||
pushButtonDeleteChar = new QPushButton(PicEdit);
|
||||
pushButtonDeleteChar->setObjectName(QString::fromUtf8("pushButtonDeleteChar"));
|
||||
pushButtonDeleteChar->setMinimumSize(QSize(90, 50));
|
||||
QIcon icon7;
|
||||
icon7.addFile(QString::fromUtf8(":/icon/keydelete.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonDeleteChar->setIcon(icon7);
|
||||
|
||||
gridLayout->addWidget(pushButtonDeleteChar, 0, 3, 1, 1);
|
||||
|
||||
pushButtonImport = new QPushButton(PicEdit);
|
||||
pushButtonImport->setObjectName(QString::fromUtf8("pushButtonImport"));
|
||||
pushButtonImport->setEnabled(true);
|
||||
pushButtonImport->setMinimumSize(QSize(90, 50));
|
||||
QIcon icon8;
|
||||
icon8.addFile(QString::fromUtf8(":/icon/insert.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonImport->setIcon(icon8);
|
||||
|
||||
gridLayout->addWidget(pushButtonImport, 0, 4, 1, 1);
|
||||
|
||||
pushButtonSaveAs = new QPushButton(PicEdit);
|
||||
pushButtonSaveAs->setObjectName(QString::fromUtf8("pushButtonSaveAs"));
|
||||
pushButtonSaveAs->setMinimumSize(QSize(90, 50));
|
||||
QIcon icon9;
|
||||
icon9.addFile(QString::fromUtf8(":/icon/filesaveas.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonSaveAs->setIcon(icon9);
|
||||
|
||||
gridLayout->addWidget(pushButtonSaveAs, 2, 3, 1, 1);
|
||||
|
||||
pushButtonZKEdit = new QPushButton(PicEdit);
|
||||
pushButtonZKEdit->setObjectName(QString::fromUtf8("pushButtonZKEdit"));
|
||||
pushButtonZKEdit->setEnabled(true);
|
||||
pushButtonZKEdit->setMinimumSize(QSize(90, 50));
|
||||
|
||||
gridLayout->addWidget(pushButtonZKEdit, 2, 4, 1, 1);
|
||||
|
||||
checkBoxDrawGridEn = new QCheckBox(PicEdit);
|
||||
checkBoxDrawGridEn->setObjectName(QString::fromUtf8("checkBoxDrawGridEn"));
|
||||
checkBoxDrawGridEn->setChecked(true);
|
||||
|
||||
gridLayout->addWidget(checkBoxDrawGridEn, 5, 4, 1, 1);
|
||||
|
||||
checkBoxBold = new QCheckBox(PicEdit);
|
||||
checkBoxBold->setObjectName(QString::fromUtf8("checkBoxBold"));
|
||||
checkBoxBold->setFocusPolicy(Qt::NoFocus);
|
||||
checkBoxBold->setLayoutDirection(Qt::LeftToRight);
|
||||
|
||||
gridLayout->addWidget(checkBoxBold, 5, 2, 1, 1);
|
||||
|
||||
checkBoxControlChar = new QCheckBox(PicEdit);
|
||||
checkBoxControlChar->setObjectName(QString::fromUtf8("checkBoxControlChar"));
|
||||
|
||||
gridLayout->addWidget(checkBoxControlChar, 5, 3, 1, 1);
|
||||
|
||||
pushButtonHome = new QPushButton(PicEdit);
|
||||
pushButtonHome->setObjectName(QString::fromUtf8("pushButtonHome"));
|
||||
pushButtonHome->setMinimumSize(QSize(50, 50));
|
||||
pushButtonHome->setMaximumSize(QSize(70, 50));
|
||||
|
||||
gridLayout->addWidget(pushButtonHome, 0, 6, 1, 1);
|
||||
|
||||
pushButtonLeft = new QPushButton(PicEdit);
|
||||
pushButtonLeft->setObjectName(QString::fromUtf8("pushButtonLeft"));
|
||||
pushButtonLeft->setMinimumSize(QSize(50, 50));
|
||||
pushButtonLeft->setMaximumSize(QSize(70, 50));
|
||||
QIcon icon10;
|
||||
icon10.addFile(QString::fromUtf8(":/icon/arrowleft.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonLeft->setIcon(icon10);
|
||||
|
||||
gridLayout->addWidget(pushButtonLeft, 2, 6, 1, 1);
|
||||
|
||||
pushButtonUp = new QPushButton(PicEdit);
|
||||
pushButtonUp->setObjectName(QString::fromUtf8("pushButtonUp"));
|
||||
pushButtonUp->setMinimumSize(QSize(50, 50));
|
||||
pushButtonUp->setMaximumSize(QSize(70, 50));
|
||||
QIcon icon11;
|
||||
icon11.addFile(QString::fromUtf8(":/icon/arrowup.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonUp->setIcon(icon11);
|
||||
|
||||
gridLayout->addWidget(pushButtonUp, 0, 7, 1, 1);
|
||||
|
||||
pushButtonDown = new QPushButton(PicEdit);
|
||||
pushButtonDown->setObjectName(QString::fromUtf8("pushButtonDown"));
|
||||
pushButtonDown->setMinimumSize(QSize(50, 50));
|
||||
pushButtonDown->setMaximumSize(QSize(70, 50));
|
||||
QIcon icon12;
|
||||
icon12.addFile(QString::fromUtf8(":/icon/arrowdown.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonDown->setIcon(icon12);
|
||||
|
||||
gridLayout->addWidget(pushButtonDown, 2, 7, 1, 1);
|
||||
|
||||
pushButtonRight = new QPushButton(PicEdit);
|
||||
pushButtonRight->setObjectName(QString::fromUtf8("pushButtonRight"));
|
||||
pushButtonRight->setMinimumSize(QSize(50, 50));
|
||||
pushButtonRight->setMaximumSize(QSize(70, 50));
|
||||
QIcon icon13;
|
||||
icon13.addFile(QString::fromUtf8(":/icon/arrowright.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
pushButtonRight->setIcon(icon13);
|
||||
|
||||
gridLayout->addWidget(pushButtonRight, 2, 8, 1, 1);
|
||||
|
||||
pushButtonEnd = new QPushButton(PicEdit);
|
||||
pushButtonEnd->setObjectName(QString::fromUtf8("pushButtonEnd"));
|
||||
pushButtonEnd->setMinimumSize(QSize(50, 50));
|
||||
pushButtonEnd->setMaximumSize(QSize(70, 50));
|
||||
|
||||
gridLayout->addWidget(pushButtonEnd, 0, 8, 1, 1);
|
||||
|
||||
radioButtonCharCurrent = new QRadioButton(PicEdit);
|
||||
radioButtonCharCurrent->setObjectName(QString::fromUtf8("radioButtonCharCurrent"));
|
||||
|
||||
gridLayout->addWidget(radioButtonCharCurrent, 5, 6, 1, 1);
|
||||
|
||||
radioButtonDotCurrent = new QRadioButton(PicEdit);
|
||||
radioButtonDotCurrent->setObjectName(QString::fromUtf8("radioButtonDotCurrent"));
|
||||
|
||||
gridLayout->addWidget(radioButtonDotCurrent, 5, 8, 1, 1);
|
||||
|
||||
line_2 = new QFrame(PicEdit);
|
||||
line_2->setObjectName(QString::fromUtf8("line_2"));
|
||||
line_2->setFrameShape(QFrame::HLine);
|
||||
line_2->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
gridLayout->addWidget(line_2, 4, 1, 1, 8);
|
||||
|
||||
line_4 = new QFrame(PicEdit);
|
||||
line_4->setObjectName(QString::fromUtf8("line_4"));
|
||||
line_4->setFrameShape(QFrame::VLine);
|
||||
line_4->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
gridLayout->addWidget(line_4, 0, 5, 3, 1);
|
||||
|
||||
|
||||
verticalLayout->addLayout(gridLayout);
|
||||
|
||||
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||
|
||||
verticalLayout->addItem(verticalSpacer);
|
||||
|
||||
line_3 = new QFrame(PicEdit);
|
||||
line_3->setObjectName(QString::fromUtf8("line_3"));
|
||||
line_3->setFrameShape(QFrame::HLine);
|
||||
line_3->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
verticalLayout->addWidget(line_3);
|
||||
|
||||
gridLayout_4 = new QGridLayout();
|
||||
gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
|
||||
label_Note = new QLabel(PicEdit);
|
||||
label_Note->setObjectName(QString::fromUtf8("label_Note"));
|
||||
|
||||
gridLayout_4->addWidget(label_Note, 0, 4, 1, 1);
|
||||
|
||||
labelNote2 = new QLabel(PicEdit);
|
||||
labelNote2->setObjectName(QString::fromUtf8("labelNote2"));
|
||||
labelNote2->setMaximumSize(QSize(300, 16777215));
|
||||
labelNote2->setAlignment(Qt::AlignCenter);
|
||||
|
||||
gridLayout_4->addWidget(labelNote2, 0, 5, 1, 1);
|
||||
|
||||
|
||||
verticalLayout->addLayout(gridLayout_4);
|
||||
|
||||
|
||||
gridLayout_2->addLayout(verticalLayout, 0, 0, 1, 1);
|
||||
|
||||
|
||||
retranslateUi(PicEdit);
|
||||
|
||||
comboBoxLattice->setCurrentIndex(0);
|
||||
|
||||
|
||||
QMetaObject::connectSlotsByName(PicEdit);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *PicEdit)
|
||||
{
|
||||
PicEdit->setWindowTitle(QApplication::translate("PicEdit", "Form", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonStartInput->setText(QApplication::translate("PicEdit", "\345\274\200\345\220\257\350\275\257\351\224\256\347\233\230", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonInsertVari->setText(QApplication::translate("PicEdit", "\346\217\222\345\205\245\345\217\230\351\207\217", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonSave->setText(QApplication::translate("PicEdit", "\344\277\235\345\255\230/\346\211\223\345\215\260", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonReduce->setText(QApplication::translate("PicEdit", "\347\274\251\345\260\217", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonEnlarge->setText(QApplication::translate("PicEdit", "\346\224\276\345\244\247", 0, QApplication::UnicodeUTF8));
|
||||
comboBoxLattice->clear();
|
||||
comboBoxLattice->insertItems(0, QStringList()
|
||||
<< QApplication::translate("PicEdit", "5\347\202\271\351\230\265", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("PicEdit", "7\347\202\271\351\230\265", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("PicEdit", "9\347\202\271\351\230\265", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("PicEdit", "12\347\202\271\351\230\265\345\256\213\344\275\223", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("PicEdit", "16\347\202\271\351\230\265\345\256\213\344\275\223", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("PicEdit", "16\347\202\271\351\230\265\351\273\221\344\275\223", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("PicEdit", "24\347\202\271\351\230\265\345\256\213\344\275\223", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("PicEdit", "24\347\202\271\351\230\265\351\273\221\344\275\223", 0, QApplication::UnicodeUTF8)
|
||||
);
|
||||
label_2->setText(QApplication::translate("PicEdit", "\345\210\227\351\253\230", 0, QApplication::UnicodeUTF8));
|
||||
comboBoxBoldMul->clear();
|
||||
comboBoxBoldMul->insertItems(0, QStringList()
|
||||
<< QApplication::translate("PicEdit", "\346\227\240\345\212\240\347\262\227", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("PicEdit", "\345\212\240\347\262\2271\345\200\215", 0, QApplication::UnicodeUTF8)
|
||||
<< QApplication::translate("PicEdit", "\345\212\240\347\262\2272\345\200\215", 0, QApplication::UnicodeUTF8)
|
||||
);
|
||||
label_ROWCOL->setText(QApplication::translate("PicEdit", "\345\205\211\346\240\205\357\274\273X:Y\357\274\275", 0, QApplication::UnicodeUTF8));
|
||||
labelScaleLeval->setText(QApplication::translate("PicEdit", "\346\224\276\345\244\247\346\257\224\344\276\213", 0, QApplication::UnicodeUTF8));
|
||||
labInserMode->setText(QApplication::translate("PicEdit", " \346\217\222\345\205\245\346\250\241\345\274\217", 0, QApplication::UnicodeUTF8));
|
||||
labelFileName->setText(QApplication::translate("PicEdit", "\346\226\207\344\273\266\345\220\215", 0, QApplication::UnicodeUTF8));
|
||||
label_CURXY->setText(QApplication::translate("PicEdit", "CURR[X,Y]", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonNew->setText(QApplication::translate("PicEdit", "\346\226\260\345\273\272\344\277\241\346\201\257", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonOpen->setText(QApplication::translate("PicEdit", "\346\211\223\345\274\200\346\226\207\344\273\266", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonCharSpace->setText(QApplication::translate("PicEdit", "\345\255\227\347\254\246\351\227\264\350\267\235", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonInsertMode->setText(QApplication::translate("PicEdit", "\346\217\222\345\205\245/\344\277\256\346\224\271", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonDeleteChar->setText(QApplication::translate("PicEdit", "\345\210\240\351\231\244\345\255\227\347\254\246", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonImport->setText(QApplication::translate("PicEdit", "\346\217\222\345\205\245\345\233\276\347\211\207", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonSaveAs->setText(QApplication::translate("PicEdit", "\344\277\235\345\255\230\344\270\272", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonZKEdit->setText(QApplication::translate("PicEdit", "\345\255\227\345\272\223\347\274\226\350\276\221", 0, QApplication::UnicodeUTF8));
|
||||
checkBoxDrawGridEn->setText(QApplication::translate("PicEdit", "\347\275\221\346\240\274", 0, QApplication::UnicodeUTF8));
|
||||
checkBoxBold->setText(QApplication::translate("PicEdit", "\347\262\227\344\275\223", 0, QApplication::UnicodeUTF8));
|
||||
checkBoxControlChar->setText(QApplication::translate("PicEdit", "\346\230\276\347\244\272\346\216\247\345\210\266\347\254\246", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonHome->setText(QApplication::translate("PicEdit", "\350\241\214\351\246\226", 0, QApplication::UnicodeUTF8));
|
||||
pushButtonLeft->setText(QString());
|
||||
pushButtonUp->setText(QString());
|
||||
pushButtonDown->setText(QString());
|
||||
pushButtonRight->setText(QString());
|
||||
pushButtonEnd->setText(QApplication::translate("PicEdit", "\350\241\214\345\260\276", 0, QApplication::UnicodeUTF8));
|
||||
radioButtonCharCurrent->setText(QApplication::translate("PicEdit", "\345\255\227\347\254\246\345\205\211\346\240\207", 0, QApplication::UnicodeUTF8));
|
||||
radioButtonDotCurrent->setText(QApplication::translate("PicEdit", "\345\203\217\347\264\240\345\205\211\346\240\207", 0, QApplication::UnicodeUTF8));
|
||||
label_Note->setText(QApplication::translate("PicEdit", "\347\274\226\350\276\221\347\216\260\346\234\211\347\232\204\345\244\232\345\255\227\344\275\223", 0, QApplication::UnicodeUTF8));
|
||||
labelNote2->setText(QApplication::translate("PicEdit", "\347\202\271\345\207\273\345\205\211\346\240\205\345\217\257\346\211\223\345\274\200\351\224\256\347\233\230\357\274\214\347\202\271\345\207\273\347\251\272\347\231\275\345\244\204\345\205\263\351\227\255 ", 0, QApplication::UnicodeUTF8));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class PicEdit: public Ui_PicEdit {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_PICEDIT_H
|
||||
@@ -0,0 +1,195 @@
|
||||
#ifndef PRINTSETTING_H
|
||||
#define PRINTSETTING_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "dialogmodifypasswd.h"
|
||||
#include "DialogAuthorization.h"
|
||||
#include "ParaSettingUI.h"
|
||||
#include "dlginputaddr.h"
|
||||
|
||||
#include "dlgvarlength.h"
|
||||
#include "dialogshowcounter.h"
|
||||
|
||||
#include "TextEditOption.h" // 需要使用文件文本编辑功能
|
||||
#include <QLineEdit>
|
||||
#include <QString>
|
||||
#include <QTableWidget>
|
||||
//#include "mainwindow.h"
|
||||
|
||||
namespace Ui {
|
||||
class PrintSetting;
|
||||
}
|
||||
|
||||
class PicScene;
|
||||
class PicTextItem;
|
||||
|
||||
class PrintSetting : public QWidget,public ParaSettingUI
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PrintSetting(QWidget *parent = 0);
|
||||
~PrintSetting();
|
||||
|
||||
void updateSysParaToUI(); //重载
|
||||
void applyUIPara(); //重载
|
||||
void updateCnt1GroupsTblWgt();void updateCnt2GroupsTblWgt();
|
||||
|
||||
void checkCnt1EndValueOnUI();void checkCnt2EndValueOnUI();
|
||||
void ApplyCnt1GroupSetting();void ApplyCnt2GroupSetting();
|
||||
void updateSysStatusToUI();
|
||||
void updateAuthorization(int auth);
|
||||
void PreviewEdit(); //
|
||||
void bindSysPara(SysPara *sysPara);
|
||||
void LoadCnt1GroupSettingsToUI();void LoadCnt2GroupSettingsToUI();
|
||||
void rowWidgetCreate(int rowIndex);void rowWidgetCreate2(int rowIndex);
|
||||
|
||||
void moveRow(int currentRow, int toRow);void moveRow_2(int currentRow, int toRow);
|
||||
void on_moveUp_clicked();void on_moveUp_2_clicked();
|
||||
void on_moveDown_clicked();void on_moveDown_2_clicked();
|
||||
|
||||
void PrintSettingLog();
|
||||
void getFpgaVersionSetDisable();
|
||||
|
||||
DlgInputAddr *dlgInputAddr;
|
||||
bool flagOfSpecailSettng ;
|
||||
bool flagOfEngineeringMode;
|
||||
void SpecailSettingsDisplay();
|
||||
void EngineeringModeDisplay();
|
||||
bool flagOfModuleDecimal;
|
||||
bool flagOfModuleHide;
|
||||
bool flagOfAuthEnter;
|
||||
void ModuleDecimalDisplay();
|
||||
void ModuleHideDisplay();
|
||||
void ModuleDecimalHideDisplay(const bool bEnabled);
|
||||
void uiSettingForNo66();
|
||||
void uiSettingForNo67();
|
||||
void uiSettingForNo72();
|
||||
void uiSettingForNo73();
|
||||
void specailMachineSetting(bool);
|
||||
bool getCurrentTabWidget();
|
||||
public slots:
|
||||
|
||||
void updateUIForSpecialCondition();
|
||||
signals:
|
||||
void HiddenFunction(bool);
|
||||
|
||||
private slots:
|
||||
void on_radioButtonSpecialCondition_clicked(bool checked);
|
||||
void refreshtimerHandler(void);
|
||||
|
||||
void ondialogShowCounterAccepted(void);
|
||||
|
||||
void on_checkVarLenChg();
|
||||
void on_VarLenSet();
|
||||
|
||||
void on_pushButtonRanddomBackUP_pressed();
|
||||
void PrintupdateSysParaToUI();
|
||||
void showVolDacEdit(int auth);
|
||||
void on_pushButtonApply_pressed();
|
||||
void on_checkBoxResetCnt1CurrValue_released();
|
||||
void on_checkBoxResetCnt2CurrValue_released();
|
||||
void on_pushButtonClearRunTime_pressed();
|
||||
void on_pushOnlyCNT1Clear_pressed();
|
||||
void on_pushOnlyCNT2Clear_pressed();
|
||||
|
||||
void ondialogAuthorizationAccepted();
|
||||
void ondialogAuthVarSetAccepted();
|
||||
void on_dialogModPasswdAccepted();
|
||||
|
||||
void on_checkBoxSuspendAfterPhaseFault_clicked();
|
||||
void on_checkBoxPowerOffAfterPhaseFault_clicked();
|
||||
|
||||
void on_pushButtonAuth_pressed();
|
||||
// void on_pushButtonXFileSelect_pressed();
|
||||
|
||||
void on_spinBoxLastLineEndPointFixedValue_valueChanged(int arg1);
|
||||
|
||||
void on_pushButtonRecommendedSetting_clicked();
|
||||
void onUpdateCnt1GroupDisp(bool bChangeToNext);void onUpdateCnt2GroupDisp(bool bChangeToNext);
|
||||
|
||||
void on_Cnt3AddRowBtn_pressed();void on_Cnt3AddRowBtn_2_pressed();
|
||||
|
||||
void on_Cnt3RemoveRowBtn_pressed();void on_Cnt3RemoveRowBtn_2_pressed();
|
||||
|
||||
void on_Cnt3InsertRowBtn_pressed();void on_Cnt3InsertRowBtn_2_pressed();
|
||||
|
||||
void on_checkBoxGroupCnt1_clicked(bool checked);void on_checkBoxGroupCnt_2_clicked(bool checked);
|
||||
|
||||
void on_cnt3RemoveAllRowsBtn_pressed();void on_cnt3RemoveAllRowsBtn_2_pressed();
|
||||
void on_cnt3RemoveAllRowsBtn_3_pressed();void on_cnt3RemoveAllRowsBtn_4_pressed();
|
||||
void on_comboBoxAlterPrintEnable_currentIndexChanged(int index);
|
||||
|
||||
void on_checkVol1of8En_clicked(bool checked);
|
||||
|
||||
void on_checkmode0211_clicked(bool checked);
|
||||
void on_spinBoxExpiryDate_valueChanged(int arg1);
|
||||
|
||||
void on_CBDateFormat1_currentIndexChanged(int index);
|
||||
void showMachInfo(QString);
|
||||
void showRemoteControl(QString SuperNodeIP,QString EdgeIP);
|
||||
|
||||
void on_volButton_clicked();
|
||||
|
||||
void on_spinBoxColDelay_valueChanged(int arg1);
|
||||
|
||||
void on_radioButtonFUllColFIxVal_clicked(bool checked);
|
||||
|
||||
void on_metreCountButton_clicked();
|
||||
|
||||
void on_lockoulsepushButton_clicked();
|
||||
|
||||
void on_spinBoxCnt1EndValue_valueChanged(int arg1);
|
||||
|
||||
void on_pushButtonUpRow_clicked();void on_pushButtonUpRow_2_clicked();
|
||||
|
||||
void on_pushButtonDownRow_clicked();void on_pushButtonDownRow_2_clicked();
|
||||
|
||||
|
||||
void on_checkBoxResetCnt3CurrValue_released();
|
||||
void on_checkBoxSaveCNTStateValue_released();
|
||||
void on_checkBoxCircleProductCnt_released();
|
||||
|
||||
void on_pushOnlyCNT3Clear_pressed();
|
||||
void setCNT1BackColor(bool flag);
|
||||
void setCNT2BackColor(bool flag);
|
||||
void setCNT3BackColor(bool flag);
|
||||
// void setDisableFontWidth(bool);
|
||||
|
||||
void setDisableFontWidth(bool);
|
||||
private slots:
|
||||
void autoUpdateFontWidth(const unsigned int);
|
||||
|
||||
void on_checkBox_FastMode_clicked();
|
||||
|
||||
void currentChanged(int sel);
|
||||
Q_SIGNALS:
|
||||
void authChanged(int auth);
|
||||
void printPriveiw();
|
||||
void change_OutputPulse();
|
||||
void SwitchTimerShowItem(bool flag);
|
||||
private:
|
||||
Ui::PrintSetting *ui;
|
||||
//MainWindow *mainWindow;
|
||||
DialogAuthorization *dialogAuthorization;
|
||||
DialogAuthorization *dialogAuthVarSet;
|
||||
DlgVarLength *dlgvarLen;
|
||||
int auth;
|
||||
|
||||
Dialogmodifypasswd *dialogModPasswd;
|
||||
DialogShowCounter *dialogShowCounter;
|
||||
int modify_vol;
|
||||
int keepVolVal;
|
||||
QTimer *refresh_timer;
|
||||
|
||||
int lockpulse;
|
||||
int area_end;
|
||||
int last_area_end;
|
||||
PicScene* pGetPicScene;
|
||||
|
||||
//当前打印的长度
|
||||
unsigned int current_print_col_num;
|
||||
bool qwstatus[5];//分段计米
|
||||
};
|
||||
|
||||
#endif // PRINTSETTING_H
|
||||
Reference in New Issue
Block a user