335 lines
15 KiB
Plaintext
335 lines
15 KiB
Plaintext
/********************************************************************************
|
|
** Form generated from reading UI file 'otherinfo.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_OTHERINFO_H
|
|
#define UI_OTHERINFO_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtGui/QAction>
|
|
#include <QtGui/QApplication>
|
|
#include <QtGui/QButtonGroup>
|
|
#include <QtGui/QCheckBox>
|
|
#include <QtGui/QGridLayout>
|
|
#include <QtGui/QHBoxLayout>
|
|
#include <QtGui/QHeaderView>
|
|
#include <QtGui/QLabel>
|
|
#include <QtGui/QPushButton>
|
|
#include <QtGui/QSpacerItem>
|
|
#include <QtGui/QSpinBox>
|
|
#include <QtGui/QVBoxLayout>
|
|
#include <QtGui/QWidget>
|
|
#include "MemDisplayAndEdit.h"
|
|
#include "PhaseGraphic.h"
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_OtherInfo
|
|
{
|
|
public:
|
|
QVBoxLayout *verticalLayout_2;
|
|
QVBoxLayout *verticalLayout;
|
|
QGridLayout *gridLayout;
|
|
QLabel *labelPhasePosition;
|
|
QLabel *label_7;
|
|
QSpinBox *spinBoxPhaseDetectVoltage;
|
|
QLabel *label_5;
|
|
QSpinBox *spinBoxPhaseShift;
|
|
QSpinBox *spinBoxBlickLightPeriod;
|
|
QLabel *labelFlightTm;
|
|
QLabel *label_3;
|
|
QLabel *lab_phaseDetectDelay;
|
|
QSpinBox *spinBoxHighLowRatio;
|
|
QLabel *label;
|
|
QLabel *lab_enableChargeFullTime;
|
|
QLabel *lab_phaseDetectVol;
|
|
QLabel *lab_phaseHighLowRatio;
|
|
QCheckBox *checkBoxChargeFullTime;
|
|
QLabel *lab_phase_detect_pulse_num;
|
|
QPushButton *pushButtonLockPhase;
|
|
QLabel *label_2;
|
|
QLabel *label_6;
|
|
QLabel *labelPhaseDetectNum;
|
|
QSpinBox *spinBoxPhaseDetectDotNum;
|
|
QLabel *labelPhaseDetectDelay;
|
|
QSpinBox *spinBoxPhaseDetectDelay;
|
|
PhaseGraphic *phaseGraphic;
|
|
MemDisplayAndEdit *memDisplayAndEdit;
|
|
QHBoxLayout *horizontalLayout;
|
|
QSpacerItem *horizontalSpacer;
|
|
QPushButton *pushButtonApply;
|
|
|
|
void setupUi(QWidget *OtherInfo)
|
|
{
|
|
if (OtherInfo->objectName().isEmpty())
|
|
OtherInfo->setObjectName(QString::fromUtf8("OtherInfo"));
|
|
OtherInfo->resize(800, 600);
|
|
OtherInfo->setFocusPolicy(Qt::StrongFocus);
|
|
verticalLayout_2 = new QVBoxLayout(OtherInfo);
|
|
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
|
verticalLayout = new QVBoxLayout();
|
|
verticalLayout->setSpacing(2);
|
|
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
|
gridLayout = new QGridLayout();
|
|
gridLayout->setSpacing(2);
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
labelPhasePosition = new QLabel(OtherInfo);
|
|
labelPhasePosition->setObjectName(QString::fromUtf8("labelPhasePosition"));
|
|
|
|
gridLayout->addWidget(labelPhasePosition, 0, 7, 1, 1);
|
|
|
|
label_7 = new QLabel(OtherInfo);
|
|
label_7->setObjectName(QString::fromUtf8("label_7"));
|
|
label_7->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
|
|
gridLayout->addWidget(label_7, 0, 6, 1, 1);
|
|
|
|
spinBoxPhaseDetectVoltage = new QSpinBox(OtherInfo);
|
|
spinBoxPhaseDetectVoltage->setObjectName(QString::fromUtf8("spinBoxPhaseDetectVoltage"));
|
|
spinBoxPhaseDetectVoltage->setEnabled(true);
|
|
spinBoxPhaseDetectVoltage->setMinimumSize(QSize(0, 37));
|
|
spinBoxPhaseDetectVoltage->setWrapping(true);
|
|
spinBoxPhaseDetectVoltage->setMinimum(1);
|
|
spinBoxPhaseDetectVoltage->setMaximum(100);
|
|
spinBoxPhaseDetectVoltage->setValue(40);
|
|
|
|
gridLayout->addWidget(spinBoxPhaseDetectVoltage, 1, 2, 1, 1);
|
|
|
|
label_5 = new QLabel(OtherInfo);
|
|
label_5->setObjectName(QString::fromUtf8("label_5"));
|
|
label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
|
|
gridLayout->addWidget(label_5, 0, 4, 1, 1);
|
|
|
|
spinBoxPhaseShift = new QSpinBox(OtherInfo);
|
|
spinBoxPhaseShift->setObjectName(QString::fromUtf8("spinBoxPhaseShift"));
|
|
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
|
|
sizePolicy.setHorizontalStretch(0);
|
|
sizePolicy.setVerticalStretch(0);
|
|
sizePolicy.setHeightForWidth(spinBoxPhaseShift->sizePolicy().hasHeightForWidth());
|
|
spinBoxPhaseShift->setSizePolicy(sizePolicy);
|
|
spinBoxPhaseShift->setMinimum(-1560);
|
|
spinBoxPhaseShift->setMaximum(1560);
|
|
spinBoxPhaseShift->setValue(0);
|
|
|
|
gridLayout->addWidget(spinBoxPhaseShift, 0, 5, 1, 1);
|
|
|
|
spinBoxBlickLightPeriod = new QSpinBox(OtherInfo);
|
|
spinBoxBlickLightPeriod->setObjectName(QString::fromUtf8("spinBoxBlickLightPeriod"));
|
|
spinBoxBlickLightPeriod->setEnabled(true);
|
|
spinBoxBlickLightPeriod->setMinimumSize(QSize(0, 37));
|
|
spinBoxBlickLightPeriod->setMinimum(1);
|
|
spinBoxBlickLightPeriod->setMaximum(64000);
|
|
spinBoxBlickLightPeriod->setValue(7);
|
|
|
|
gridLayout->addWidget(spinBoxBlickLightPeriod, 0, 2, 1, 1);
|
|
|
|
labelFlightTm = new QLabel(OtherInfo);
|
|
labelFlightTm->setObjectName(QString::fromUtf8("labelFlightTm"));
|
|
labelFlightTm->setMaximumSize(QSize(16777215, 30));
|
|
|
|
gridLayout->addWidget(labelFlightTm, 1, 7, 1, 1);
|
|
|
|
label_3 = new QLabel(OtherInfo);
|
|
label_3->setObjectName(QString::fromUtf8("label_3"));
|
|
label_3->setMaximumSize(QSize(16777215, 30));
|
|
label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
|
|
gridLayout->addWidget(label_3, 1, 6, 1, 1);
|
|
|
|
lab_phaseDetectDelay = new QLabel(OtherInfo);
|
|
lab_phaseDetectDelay->setObjectName(QString::fromUtf8("lab_phaseDetectDelay"));
|
|
lab_phaseDetectDelay->setMaximumSize(QSize(16777215, 20));
|
|
|
|
gridLayout->addWidget(lab_phaseDetectDelay, 3, 2, 1, 1);
|
|
|
|
spinBoxHighLowRatio = new QSpinBox(OtherInfo);
|
|
spinBoxHighLowRatio->setObjectName(QString::fromUtf8("spinBoxHighLowRatio"));
|
|
spinBoxHighLowRatio->setEnabled(true);
|
|
sizePolicy.setHeightForWidth(spinBoxHighLowRatio->sizePolicy().hasHeightForWidth());
|
|
spinBoxHighLowRatio->setSizePolicy(sizePolicy);
|
|
spinBoxHighLowRatio->setMinimum(30);
|
|
spinBoxHighLowRatio->setMaximum(100);
|
|
spinBoxHighLowRatio->setSingleStep(5);
|
|
spinBoxHighLowRatio->setValue(55);
|
|
|
|
gridLayout->addWidget(spinBoxHighLowRatio, 1, 5, 1, 1);
|
|
|
|
label = new QLabel(OtherInfo);
|
|
label->setObjectName(QString::fromUtf8("label"));
|
|
label->setLayoutDirection(Qt::LeftToRight);
|
|
label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
|
|
gridLayout->addWidget(label, 1, 4, 1, 1);
|
|
|
|
lab_enableChargeFullTime = new QLabel(OtherInfo);
|
|
lab_enableChargeFullTime->setObjectName(QString::fromUtf8("lab_enableChargeFullTime"));
|
|
lab_enableChargeFullTime->setMaximumSize(QSize(16777215, 20));
|
|
|
|
gridLayout->addWidget(lab_enableChargeFullTime, 3, 7, 1, 1);
|
|
|
|
lab_phaseDetectVol = new QLabel(OtherInfo);
|
|
lab_phaseDetectVol->setObjectName(QString::fromUtf8("lab_phaseDetectVol"));
|
|
lab_phaseDetectVol->setMaximumSize(QSize(16777215, 20));
|
|
|
|
gridLayout->addWidget(lab_phaseDetectVol, 3, 6, 1, 1);
|
|
|
|
lab_phaseHighLowRatio = new QLabel(OtherInfo);
|
|
lab_phaseHighLowRatio->setObjectName(QString::fromUtf8("lab_phaseHighLowRatio"));
|
|
lab_phaseHighLowRatio->setMaximumSize(QSize(16777215, 20));
|
|
|
|
gridLayout->addWidget(lab_phaseHighLowRatio, 3, 5, 1, 1);
|
|
|
|
checkBoxChargeFullTime = new QCheckBox(OtherInfo);
|
|
checkBoxChargeFullTime->setObjectName(QString::fromUtf8("checkBoxChargeFullTime"));
|
|
checkBoxChargeFullTime->setLayoutDirection(Qt::LeftToRight);
|
|
|
|
gridLayout->addWidget(checkBoxChargeFullTime, 3, 4, 1, 1);
|
|
|
|
lab_phase_detect_pulse_num = new QLabel(OtherInfo);
|
|
lab_phase_detect_pulse_num->setObjectName(QString::fromUtf8("lab_phase_detect_pulse_num"));
|
|
lab_phase_detect_pulse_num->setMaximumSize(QSize(16777215, 37));
|
|
|
|
gridLayout->addWidget(lab_phase_detect_pulse_num, 3, 1, 1, 1);
|
|
|
|
pushButtonLockPhase = new QPushButton(OtherInfo);
|
|
pushButtonLockPhase->setObjectName(QString::fromUtf8("pushButtonLockPhase"));
|
|
pushButtonLockPhase->setEnabled(false);
|
|
QIcon icon;
|
|
icon.addFile(QString::fromUtf8(":/icon/lockphase.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
pushButtonLockPhase->setIcon(icon);
|
|
|
|
gridLayout->addWidget(pushButtonLockPhase, 1, 0, 1, 1);
|
|
|
|
label_2 = new QLabel(OtherInfo);
|
|
label_2->setObjectName(QString::fromUtf8("label_2"));
|
|
label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
|
|
gridLayout->addWidget(label_2, 1, 1, 1, 1);
|
|
|
|
label_6 = new QLabel(OtherInfo);
|
|
label_6->setObjectName(QString::fromUtf8("label_6"));
|
|
label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
|
|
gridLayout->addWidget(label_6, 0, 1, 1, 1);
|
|
|
|
labelPhaseDetectNum = new QLabel(OtherInfo);
|
|
labelPhaseDetectNum->setObjectName(QString::fromUtf8("labelPhaseDetectNum"));
|
|
labelPhaseDetectNum->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
|
|
gridLayout->addWidget(labelPhaseDetectNum, 2, 1, 1, 1);
|
|
|
|
spinBoxPhaseDetectDotNum = new QSpinBox(OtherInfo);
|
|
spinBoxPhaseDetectDotNum->setObjectName(QString::fromUtf8("spinBoxPhaseDetectDotNum"));
|
|
spinBoxPhaseDetectDotNum->setEnabled(true);
|
|
spinBoxPhaseDetectDotNum->setMinimumSize(QSize(0, 37));
|
|
|
|
gridLayout->addWidget(spinBoxPhaseDetectDotNum, 2, 2, 1, 1);
|
|
|
|
labelPhaseDetectDelay = new QLabel(OtherInfo);
|
|
labelPhaseDetectDelay->setObjectName(QString::fromUtf8("labelPhaseDetectDelay"));
|
|
labelPhaseDetectDelay->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
|
|
|
gridLayout->addWidget(labelPhaseDetectDelay, 2, 4, 1, 1);
|
|
|
|
spinBoxPhaseDetectDelay = new QSpinBox(OtherInfo);
|
|
spinBoxPhaseDetectDelay->setObjectName(QString::fromUtf8("spinBoxPhaseDetectDelay"));
|
|
spinBoxPhaseDetectDelay->setEnabled(true);
|
|
sizePolicy.setHeightForWidth(spinBoxPhaseDetectDelay->sizePolicy().hasHeightForWidth());
|
|
spinBoxPhaseDetectDelay->setSizePolicy(sizePolicy);
|
|
spinBoxPhaseDetectDelay->setMaximum(1000);
|
|
|
|
gridLayout->addWidget(spinBoxPhaseDetectDelay, 2, 5, 1, 1);
|
|
|
|
|
|
verticalLayout->addLayout(gridLayout);
|
|
|
|
phaseGraphic = new PhaseGraphic(OtherInfo);
|
|
phaseGraphic->setObjectName(QString::fromUtf8("phaseGraphic"));
|
|
phaseGraphic->setMinimumSize(QSize(605, 120));
|
|
phaseGraphic->setMaximumSize(QSize(16777215, 16777215));
|
|
|
|
verticalLayout->addWidget(phaseGraphic);
|
|
|
|
memDisplayAndEdit = new MemDisplayAndEdit(OtherInfo);
|
|
memDisplayAndEdit->setObjectName(QString::fromUtf8("memDisplayAndEdit"));
|
|
memDisplayAndEdit->setMinimumSize(QSize(605, 140));
|
|
|
|
verticalLayout->addWidget(memDisplayAndEdit);
|
|
|
|
horizontalLayout = new QHBoxLayout();
|
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
|
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
horizontalLayout->addItem(horizontalSpacer);
|
|
|
|
pushButtonApply = new QPushButton(OtherInfo);
|
|
pushButtonApply->setObjectName(QString::fromUtf8("pushButtonApply"));
|
|
pushButtonApply->setMinimumSize(QSize(0, 70));
|
|
pushButtonApply->setMaximumSize(QSize(250, 16777215));
|
|
QPalette palette;
|
|
QBrush brush(QColor(255, 170, 127, 255));
|
|
brush.setStyle(Qt::SolidPattern);
|
|
palette.setBrush(QPalette::Active, QPalette::Button, brush);
|
|
palette.setBrush(QPalette::Inactive, QPalette::Button, brush);
|
|
palette.setBrush(QPalette::Disabled, QPalette::Button, brush);
|
|
pushButtonApply->setPalette(palette);
|
|
pushButtonApply->setLayoutDirection(Qt::LeftToRight);
|
|
QIcon icon1;
|
|
icon1.addFile(QString::fromUtf8(":/icon/apply.png"), QSize(), QIcon::Normal, QIcon::Off);
|
|
pushButtonApply->setIcon(icon1);
|
|
|
|
horizontalLayout->addWidget(pushButtonApply);
|
|
|
|
horizontalLayout->setStretch(0, 2);
|
|
horizontalLayout->setStretch(1, 1);
|
|
|
|
verticalLayout->addLayout(horizontalLayout);
|
|
|
|
verticalLayout->setStretch(0, 2);
|
|
|
|
verticalLayout_2->addLayout(verticalLayout);
|
|
|
|
|
|
retranslateUi(OtherInfo);
|
|
|
|
QMetaObject::connectSlotsByName(OtherInfo);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QWidget *OtherInfo)
|
|
{
|
|
OtherInfo->setWindowTitle(QApplication::translate("OtherInfo", "Form", 0, QApplication::UnicodeUTF8));
|
|
labelPhasePosition->setText(QString());
|
|
label_7->setText(QApplication::translate("OtherInfo", "\347\233\270\344\275\215\344\275\215\347\275\256\357\274\232", 0, QApplication::UnicodeUTF8));
|
|
label_5->setText(QApplication::translate("OtherInfo", "\347\233\270\344\275\215\345\201\217\347\247\273:", 0, QApplication::UnicodeUTF8));
|
|
labelFlightTm->setText(QString());
|
|
label_3->setText(QApplication::translate("OtherInfo", "\351\243\236\350\241\214\346\227\266\351\227\264\357\274\232", 0, QApplication::UnicodeUTF8));
|
|
lab_phaseDetectDelay->setText(QApplication::translate("OtherInfo", "DetectDelay", 0, QApplication::UnicodeUTF8));
|
|
label->setText(QApplication::translate("OtherInfo", "\347\233\270\346\243\200:", 0, QApplication::UnicodeUTF8));
|
|
lab_enableChargeFullTime->setText(QApplication::translate("OtherInfo", "FullTimeEn", 0, QApplication::UnicodeUTF8));
|
|
lab_phaseDetectVol->setText(QApplication::translate("OtherInfo", "DetectVol", 0, QApplication::UnicodeUTF8));
|
|
lab_phaseHighLowRatio->setText(QApplication::translate("OtherInfo", "HighLowRatio", 0, QApplication::UnicodeUTF8));
|
|
checkBoxChargeFullTime->setText(QApplication::translate("OtherInfo", "\345\205\205\347\224\265\345\215\240\347\251\272\346\257\224100\357\274\205", 0, QApplication::UnicodeUTF8));
|
|
lab_phase_detect_pulse_num->setText(QApplication::translate("OtherInfo", "detect_num", 0, QApplication::UnicodeUTF8));
|
|
pushButtonLockPhase->setText(QApplication::translate("OtherInfo", "\351\224\201\345\256\232\347\233\270\344\275\215", 0, QApplication::UnicodeUTF8));
|
|
label_2->setText(QApplication::translate("OtherInfo", "\347\233\270\344\275\215\346\243\200\346\265\213\347\224\265\345\216\213:", 0, QApplication::UnicodeUTF8));
|
|
label_6->setText(QApplication::translate("OtherInfo", "\351\242\221\351\227\252\347\201\257\345\221\250\346\234\237:", 0, QApplication::UnicodeUTF8));
|
|
labelPhaseDetectNum->setText(QApplication::translate("OtherInfo", "\346\243\200\346\265\213\345\242\250\347\202\271\346\225\260\351\207\217:", 0, QApplication::UnicodeUTF8));
|
|
labelPhaseDetectDelay->setText(QApplication::translate("OtherInfo", "\346\243\200\346\265\213\345\273\266\346\227\266:", 0, QApplication::UnicodeUTF8));
|
|
pushButtonApply->setText(QApplication::translate("OtherInfo", "\345\272\224\347\224\250\345\275\223\345\211\215\351\205\215\347\275\256", 0, QApplication::UnicodeUTF8));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class OtherInfo: public Ui_OtherInfo {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_OTHERINFO_H
|