Update mguangyingpinwidget.cpp
This commit is contained in:
parent
5668845592
commit
63ea8155cf
|
@ -331,13 +331,10 @@ mGuangYingPinWidget::mGuangYingPinWidget(QWidget *parent) : QWidget(parent) {
|
|||
label_ResendTimes->setObjectName(QString::fromUtf8("label_ResendTimes"));
|
||||
horizontalLayout_20->addWidget(label_ResendTimes);
|
||||
|
||||
lineEdit_ResendTimes = new QLineEdit(groupBoxParam);
|
||||
lineEdit_ResendTimes->setObjectName(QString::fromUtf8("lineEdit_ResendTimes"));
|
||||
lineEdit_ResendTimes->setMaximumSize(QSize(80, 16777215));
|
||||
|
||||
lineEdit_ResendTimes = new QLineEdit("10");
|
||||
lineEdit_ResendTimes->setMaximumWidth(80);
|
||||
horizontalLayout_20->addWidget(lineEdit_ResendTimes);
|
||||
|
||||
|
||||
verticalLayout_10->addLayout(horizontalLayout_20);
|
||||
|
||||
horizontalLayout_23 = new QHBoxLayout();
|
||||
|
@ -345,11 +342,10 @@ mGuangYingPinWidget::mGuangYingPinWidget(QWidget *parent) : QWidget(parent) {
|
|||
label_DelayMill = new QLabel(groupBoxParam);
|
||||
horizontalLayout_23->addWidget(label_DelayMill);
|
||||
|
||||
lineEdit_DelayMill = new QLineEdit(groupBoxParam);
|
||||
lineEdit_DelayMill->setMaximumSize(QSize(80, 16777215));
|
||||
lineEdit_DelayMill = new QLineEdit("10");
|
||||
lineEdit_DelayMill->setMaximumWidth(80);
|
||||
horizontalLayout_23->addWidget(lineEdit_DelayMill);
|
||||
|
||||
|
||||
verticalLayout_10->addLayout(horizontalLayout_23);
|
||||
|
||||
|
||||
|
@ -532,63 +528,11 @@ mGuangYingPinWidget::mGuangYingPinWidget(QWidget *parent) : QWidget(parent) {
|
|||
|
||||
horizontalLayout_8->addWidget(textEditReadBuf);
|
||||
|
||||
|
||||
horizontalLayout_3->addLayout(horizontalLayout_8);
|
||||
|
||||
vBox->addLayout(horizontalLayout_3);
|
||||
|
||||
|
||||
groupBox_com->setTitle(tr("Com"));
|
||||
groupBoxMain->setTitle(tr("Main"));
|
||||
label_PortName->setText(tr("PortName"));
|
||||
label_BaudRate->setText(tr("BaudRate"));
|
||||
|
||||
|
||||
label_DataBit->setText(tr("DataBit"));
|
||||
|
||||
|
||||
label_OEBit->setText(tr("OEBit"));
|
||||
|
||||
|
||||
label_StopBit->setText(tr("StopBit"));
|
||||
|
||||
|
||||
label_ComStatus->setText(tr("State:Close"));
|
||||
pushButtonMainOpen->setText(tr("Open"));
|
||||
groupBoxAux->setTitle(tr("Auxiliary"));
|
||||
label_PortNameAux->setText(tr("PortName"));
|
||||
label_BaudRateAux->setText(tr("BaudRate"));
|
||||
|
||||
|
||||
label_DataBitAux->setText(tr("DataBit"));
|
||||
|
||||
|
||||
label_OEBitAux->setText(tr("OEBit"));
|
||||
|
||||
|
||||
label_StopBitAux->setText(tr("StopBit"));
|
||||
|
||||
|
||||
label_ComStatusAux->setText(tr("State:Close"));
|
||||
pushButtonAuxOpen->setText(tr("Open"));
|
||||
pushButtonRefresh->setText(tr("Refresh"));
|
||||
groupBox_Network->setTitle(tr("Network"));
|
||||
groupBoxParam->setTitle(tr("Param configuration"));
|
||||
label_ResendTimes->setText(tr("Resend times"));
|
||||
lineEdit_ResendTimes->setText(tr("10"));
|
||||
label_DelayMill->setText(tr("Delay millsecond"));
|
||||
lineEdit_DelayMill->setText(tr("10"));
|
||||
label_ProgramNum->setText(tr("Program number"));
|
||||
pushButtonSend->setText(tr("Send"));
|
||||
label_BrightNess->setText(tr("Brightness"));
|
||||
pushButtonBrightnessSet->setText(tr("Set"));
|
||||
pushButtonScreenOff->setText(tr("Screen Off"));
|
||||
pushButtonScreenOn->setText(tr("Screen on"));
|
||||
pushButtonClearLog->setText(tr("Clear"));
|
||||
checkBoxDebug->setText(tr("Debug"));
|
||||
|
||||
|
||||
|
||||
pushButtonSend->setProperty("ssType", "progManageTool");
|
||||
pushButtonPrevious->setProperty("ssType", "progManageTool");
|
||||
pushButtonPrevious->setIcon(QIcon(":/res/previous.png"));
|
||||
|
@ -656,6 +600,8 @@ mGuangYingPinWidget::mGuangYingPinWidget(QWidget *parent) : QWidget(parent) {
|
|||
connect(spinBox_ProgramIndex, SIGNAL(valueChanged(int)), this, SLOT(OnAnsyProgramCustomByChanged(int)));
|
||||
connect(spinBox_BrightnessValue, SIGNAL(valueChanged(int)), this, SLOT(OnBrightnessSetByChanged(int)));
|
||||
connect(pushButtonRefresh, SIGNAL(clicked()), this, SLOT(OnRefresh()));
|
||||
|
||||
transUi();
|
||||
}
|
||||
|
||||
void mGuangYingPinWidget::changeEvent(QEvent *event) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user