1 UI展示内容调整

jizhi
bob.pan 5 years ago
parent ace2bff209
commit a494893c78

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -0,0 +1,19 @@
{
"COM": {
"baute": "19200",
"comName": "COM1",
"useRaster": true
},
"Raster": {
"basehight": 0,
"basehight_bool": false,
"beilv": 1,
"beilv_bool": true,
"lowNum": 0,
"lowNum_bool": false,
"maxsize": 10,
"maxsize_bool": false,
"mid_value": 0.8,
"mid_value_bool": false
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -18,6 +18,9 @@
<property name="windowTitle">
<string>检测配置任务表</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>0</number>
@ -110,6 +113,9 @@
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(230, 230, 230);</string>
</property>
</widget>
</item>
<item row="1" column="0">
@ -233,6 +239,9 @@
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(230, 230, 230);</string>
</property>
</widget>
</item>
<item row="2" column="0">
@ -282,6 +291,13 @@
<height>30</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="toolTip">
<string>添加型号到检测列表</string>
</property>
@ -310,6 +326,13 @@
<height>30</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="toolTip">
<string>从检测列表移除所选型号</string>
</property>
@ -456,6 +479,9 @@
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(230, 230, 230);</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="4">

@ -302,7 +302,7 @@ background-color: rgb(170, 170, 127);</string>
</sizepolicy>
</property>
<property name="currentIndex">
<number>2</number>
<number>1</number>
</property>
<widget class="QWidget" name="page_2">
<layout class="QGridLayout" name="gridLayout_3">
@ -433,7 +433,14 @@ background-color: rgb(170, 170, 127);</string>
</spacer>
</item>
<item row="2" column="0" rowspan="3">
<widget class="QTableView" name="tableView_checkShengchang"/>
<widget class="QTableView" name="tableView_checkShengchang">
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
</font>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="CheckDlg_label_Pic">
@ -477,6 +484,11 @@ background-color: rgb(170, 170, 127);</string>
<height>30</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
@ -487,6 +499,11 @@ background-color: rgb(170, 170, 127);</string>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>双击单条记录显示图片</string>
</property>
@ -1277,6 +1294,15 @@ background-color: rgb(255, 255, 255);</string>
<height>30</height>
</size>
</property>
<property name="font">
<font>
<family>Consolas</family>
<pointsize>12</pointsize>
<weight>9</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(85, 255, 0);
font: 75 12pt &quot;Consolas&quot;;</string>
@ -1497,6 +1523,11 @@ font: 75 12pt &quot;Consolas&quot;;</string>
</item>
<item row="3" column="0" colspan="3">
<widget class="QScrollArea" name="scrollArea">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
@ -1744,13 +1775,24 @@ font: 75 12pt &quot;Consolas&quot;;</string>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_Tab3_Title">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>报警记录查询</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QTableView" name="tableView_TWarning"/>
<widget class="QTableView" name="tableView_TWarning">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
</widget>
</item>
<item row="3" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2">

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>993</width>
<height>657</height>
<height>699</height>
</rect>
</property>
<property name="windowTitle">
@ -94,6 +94,9 @@
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(230, 230, 230);</string>
</property>
<property name="wheel_prop_tableview_header" stdset="0">
<stringlist>
<string>modelID</string>
@ -126,7 +129,10 @@
</font>
</property>
<property name="autoFillBackground">
<bool>true</bool>
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(230, 230, 230);</string>
</property>
<property name="title">
<string>轮毂信息:</string>
@ -259,6 +265,11 @@
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="checkBox">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>加入训练</string>
</property>
@ -320,6 +331,11 @@
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_4">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>最小偏距</string>
</property>
@ -327,6 +343,11 @@
</item>
<item>
<widget class="QDoubleSpinBox" name="doubleSpinBox_min">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::NoButtons</enum>
</property>
@ -337,6 +358,11 @@
</item>
<item>
<widget class="QLabel" name="label_5">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>最大偏距</string>
</property>
@ -344,6 +370,11 @@
</item>
<item>
<widget class="QDoubleSpinBox" name="doubleSpinBox_max">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::NoButtons</enum>
</property>
@ -428,6 +459,11 @@
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="ModelMgr_label_12">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>阈值调节</string>
</property>
@ -435,6 +471,11 @@
</item>
<item>
<widget class="QSlider" name="ModelMgr_horizontalSlider">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -448,6 +489,11 @@
<height>0</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>0%</string>
</property>
@ -477,7 +523,11 @@
</widget>
</item>
<item row="0" column="0">
<widget class="QListWidget" name="listWidget"/>
<widget class="QListWidget" name="listWidget">
<property name="styleSheet">
<string notr="true">background-color: rgb(230, 230, 230);</string>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="2">
<layout class="QVBoxLayout" name="verticalLayout">

@ -993,8 +993,20 @@ void lpMainWin::timerEvent(QTimerEvent *event)
void lpMainWin::closeEvent(QCloseEvent *event)
{
QMessageBox info(this);
info.setWindowIcon(QIcon(":/image/leaper"));
info.setWindowTitle(QObject::tr("警告"));
info.setText(QObject::tr("本检测系统正在运行,您真的要关闭?"));
info.setStandardButtons(QMessageBox::Ok | QMessageBox::Cancel);
info.setButtonText(QMessageBox::Ok, QObject::tr("确定"));
info.setButtonText(QMessageBox::Cancel, QObject::tr("取消"));
if (info.exec() != QMessageBox::Ok)
{
return event->ignore();
}
return event->accept();
}
void lpMainWin::SendModelKuTskFun()
{
/*
@ -1431,7 +1443,7 @@ void lpMainWin::onShowResult(Result2Ui* pRlt)
ui.main_lb_res_model_pic->setStyleSheet(QString("QLabel{border: 5px solid rgb(250,0,0,250);background-color: rgb(200, 200, 200);}"));
pRlt->m_strModel = "NG";
ui.main_lb_res_okng->setText("NG");
ui.main_lb_res_okng->setStyleSheet("background-color: rgb(255, 0, 0);");
ui.main_lb_res_okng->setStyleSheet("font: 75 24pt \"Consolas\";background-color: rgb(255, 0, 0);");
IWheelModel *pModel = m_pCtrl->getModel("NG");
if (pModel) {
pModel->increCount();
@ -1446,7 +1458,7 @@ void lpMainWin::onShowResult(Result2Ui* pRlt)
ui.main_lb_res_model_pic->setPixmap(pix.scaled(scare - 15, scare - 15));
pModel->increCount();
ui.main_lb_res_okng->setText("OK");
ui.main_lb_res_okng->setStyleSheet("background-color: rgb(0, 255, 0);");
ui.main_lb_res_okng->setStyleSheet("font: 75 24pt \"Consolas\";background-color: rgb(0, 255, 0);");
ui.main_lb_res_model_pic->setStyleSheet(QString("QLabel{border: 5px solid rgb(0,250,0,250);background-color: rgb(200, 200, 200);}"));
emit m_pTableCheck->sgValueChange(pModel->getModelID());
}

Loading…
Cancel
Save