diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/checkwindow.cpp b/softwareDirectory/AutoVerScheme/checkwindow.cpp index 67149fb..acd0b24 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.cpp +++ b/softwareDirectory/AutoVerScheme/checkwindow.cpp @@ -6,7 +6,14 @@ ui(new Ui::CheckWindow) { ui->setupUi(this); - //ui->tableWidgetDevice->horizontalHeader()->sectionResizeMode(QHeaderView::Stretch); + ui->tableWidgetDevice->setColumnCount(8); + ui->tableWidgetMethod->setColumnCount(7); + for(int i=2;i<8;i++) + ui->tableWidgetDevice->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=2;i<7;i++) + ui->tableWidgetMethod->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=0;i<2;i++) + ui->tableWidget_3->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); //ui->tableWidgetDevice->verticalHeader()->sectionResizeMode(QHeaderView::Stretch); } diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/checkwindow.cpp b/softwareDirectory/AutoVerScheme/checkwindow.cpp index 67149fb..acd0b24 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.cpp +++ b/softwareDirectory/AutoVerScheme/checkwindow.cpp @@ -6,7 +6,14 @@ ui(new Ui::CheckWindow) { ui->setupUi(this); - //ui->tableWidgetDevice->horizontalHeader()->sectionResizeMode(QHeaderView::Stretch); + ui->tableWidgetDevice->setColumnCount(8); + ui->tableWidgetMethod->setColumnCount(7); + for(int i=2;i<8;i++) + ui->tableWidgetDevice->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=2;i<7;i++) + ui->tableWidgetMethod->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=0;i<2;i++) + ui->tableWidget_3->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); //ui->tableWidgetDevice->verticalHeader()->sectionResizeMode(QHeaderView::Stretch); } diff --git a/softwareDirectory/AutoVerScheme/checkwindow.ui b/softwareDirectory/AutoVerScheme/checkwindow.ui index fa0dc5f..0be769a 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.ui +++ b/softwareDirectory/AutoVerScheme/checkwindow.ui @@ -22,56 +22,63 @@ background-color: rgb(255, 255, 255); - + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 自动检定 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u40.png); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 自动检定 + + + + + @@ -89,18 +96,45 @@ - - - - 12 - 75 - true - - - - 待检设备清单 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u48.svg); + + + + + + + + + + + 12 + 75 + true + + + + 待检设备清单 + + + + @@ -116,18 +150,45 @@ - - - - 12 - 75 - true - - - - 选择检定程序 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u51.svg); + + + + + + + + + + + 12 + 75 + true + + + + 选择检定程序 + + + + @@ -143,18 +204,45 @@ - - - - 12 - 75 - true - - - - 设备连接状态 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u53.svg); + + + + + + + + + + + 12 + 75 + true + + + + 设备连接状态 + + + + @@ -179,9 +267,9 @@ - + - false + true @@ -495,9 +583,9 @@ - + - false + true @@ -758,8 +846,8 @@ showMethod() - 68 - 101 + 675 + 769 666 @@ -774,8 +862,8 @@ showDevice() - 705 - 754 + 726 + 769 1332 diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/checkwindow.cpp b/softwareDirectory/AutoVerScheme/checkwindow.cpp index 67149fb..acd0b24 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.cpp +++ b/softwareDirectory/AutoVerScheme/checkwindow.cpp @@ -6,7 +6,14 @@ ui(new Ui::CheckWindow) { ui->setupUi(this); - //ui->tableWidgetDevice->horizontalHeader()->sectionResizeMode(QHeaderView::Stretch); + ui->tableWidgetDevice->setColumnCount(8); + ui->tableWidgetMethod->setColumnCount(7); + for(int i=2;i<8;i++) + ui->tableWidgetDevice->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=2;i<7;i++) + ui->tableWidgetMethod->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=0;i<2;i++) + ui->tableWidget_3->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); //ui->tableWidgetDevice->verticalHeader()->sectionResizeMode(QHeaderView::Stretch); } diff --git a/softwareDirectory/AutoVerScheme/checkwindow.ui b/softwareDirectory/AutoVerScheme/checkwindow.ui index fa0dc5f..0be769a 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.ui +++ b/softwareDirectory/AutoVerScheme/checkwindow.ui @@ -22,56 +22,63 @@ background-color: rgb(255, 255, 255); - + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 自动检定 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u40.png); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 自动检定 + + + + + @@ -89,18 +96,45 @@ - - - - 12 - 75 - true - - - - 待检设备清单 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u48.svg); + + + + + + + + + + + 12 + 75 + true + + + + 待检设备清单 + + + + @@ -116,18 +150,45 @@ - - - - 12 - 75 - true - - - - 选择检定程序 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u51.svg); + + + + + + + + + + + 12 + 75 + true + + + + 选择检定程序 + + + + @@ -143,18 +204,45 @@ - - - - 12 - 75 - true - - - - 设备连接状态 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u53.svg); + + + + + + + + + + + 12 + 75 + true + + + + 设备连接状态 + + + + @@ -179,9 +267,9 @@ - + - false + true @@ -495,9 +583,9 @@ - + - false + true @@ -758,8 +846,8 @@ showMethod() - 68 - 101 + 675 + 769 666 @@ -774,8 +862,8 @@ showDevice() - 705 - 754 + 726 + 769 1332 diff --git a/softwareDirectory/AutoVerScheme/indexwindow.cpp b/softwareDirectory/AutoVerScheme/indexwindow.cpp index 4883463..fca900a 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.cpp +++ b/softwareDirectory/AutoVerScheme/indexwindow.cpp @@ -4,6 +4,8 @@ #include "QTextStream" #include "checkwindow.h" #include "checkmethodmanage.h" +#include "verifymethodmanage.h" +#include "verifywindow.h" IndexWindow::IndexWindow(QWidget *parent) : QMainWindow(parent), @@ -71,4 +73,19 @@ checkWindow->show(); } +void IndexWindow::showVerifyWindow() +{ + VerifyWindow *checkWindow = new VerifyWindow; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} + +void IndexWindow::showVerifyMethod() +{ + VerifyMethodManage *checkWindow = new VerifyMethodManage; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/checkwindow.cpp b/softwareDirectory/AutoVerScheme/checkwindow.cpp index 67149fb..acd0b24 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.cpp +++ b/softwareDirectory/AutoVerScheme/checkwindow.cpp @@ -6,7 +6,14 @@ ui(new Ui::CheckWindow) { ui->setupUi(this); - //ui->tableWidgetDevice->horizontalHeader()->sectionResizeMode(QHeaderView::Stretch); + ui->tableWidgetDevice->setColumnCount(8); + ui->tableWidgetMethod->setColumnCount(7); + for(int i=2;i<8;i++) + ui->tableWidgetDevice->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=2;i<7;i++) + ui->tableWidgetMethod->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=0;i<2;i++) + ui->tableWidget_3->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); //ui->tableWidgetDevice->verticalHeader()->sectionResizeMode(QHeaderView::Stretch); } diff --git a/softwareDirectory/AutoVerScheme/checkwindow.ui b/softwareDirectory/AutoVerScheme/checkwindow.ui index fa0dc5f..0be769a 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.ui +++ b/softwareDirectory/AutoVerScheme/checkwindow.ui @@ -22,56 +22,63 @@ background-color: rgb(255, 255, 255); - + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 自动检定 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u40.png); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 自动检定 + + + + + @@ -89,18 +96,45 @@ - - - - 12 - 75 - true - - - - 待检设备清单 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u48.svg); + + + + + + + + + + + 12 + 75 + true + + + + 待检设备清单 + + + + @@ -116,18 +150,45 @@ - - - - 12 - 75 - true - - - - 选择检定程序 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u51.svg); + + + + + + + + + + + 12 + 75 + true + + + + 选择检定程序 + + + + @@ -143,18 +204,45 @@ - - - - 12 - 75 - true - - - - 设备连接状态 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u53.svg); + + + + + + + + + + + 12 + 75 + true + + + + 设备连接状态 + + + + @@ -179,9 +267,9 @@ - + - false + true @@ -495,9 +583,9 @@ - + - false + true @@ -758,8 +846,8 @@ showMethod() - 68 - 101 + 675 + 769 666 @@ -774,8 +862,8 @@ showDevice() - 705 - 754 + 726 + 769 1332 diff --git a/softwareDirectory/AutoVerScheme/indexwindow.cpp b/softwareDirectory/AutoVerScheme/indexwindow.cpp index 4883463..fca900a 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.cpp +++ b/softwareDirectory/AutoVerScheme/indexwindow.cpp @@ -4,6 +4,8 @@ #include "QTextStream" #include "checkwindow.h" #include "checkmethodmanage.h" +#include "verifymethodmanage.h" +#include "verifywindow.h" IndexWindow::IndexWindow(QWidget *parent) : QMainWindow(parent), @@ -71,4 +73,19 @@ checkWindow->show(); } +void IndexWindow::showVerifyWindow() +{ + VerifyWindow *checkWindow = new VerifyWindow; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} + +void IndexWindow::showVerifyMethod() +{ + VerifyMethodManage *checkWindow = new VerifyMethodManage; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} diff --git a/softwareDirectory/AutoVerScheme/indexwindow.h b/softwareDirectory/AutoVerScheme/indexwindow.h index 4387b36..a05d802 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.h +++ b/softwareDirectory/AutoVerScheme/indexwindow.h @@ -19,6 +19,8 @@ void loadStyle(const QString &qssFile); void showCheckWindow(); void showCheckMethod(); + void showVerifyWindow(); + void showVerifyMethod(); private: diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/checkwindow.cpp b/softwareDirectory/AutoVerScheme/checkwindow.cpp index 67149fb..acd0b24 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.cpp +++ b/softwareDirectory/AutoVerScheme/checkwindow.cpp @@ -6,7 +6,14 @@ ui(new Ui::CheckWindow) { ui->setupUi(this); - //ui->tableWidgetDevice->horizontalHeader()->sectionResizeMode(QHeaderView::Stretch); + ui->tableWidgetDevice->setColumnCount(8); + ui->tableWidgetMethod->setColumnCount(7); + for(int i=2;i<8;i++) + ui->tableWidgetDevice->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=2;i<7;i++) + ui->tableWidgetMethod->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=0;i<2;i++) + ui->tableWidget_3->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); //ui->tableWidgetDevice->verticalHeader()->sectionResizeMode(QHeaderView::Stretch); } diff --git a/softwareDirectory/AutoVerScheme/checkwindow.ui b/softwareDirectory/AutoVerScheme/checkwindow.ui index fa0dc5f..0be769a 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.ui +++ b/softwareDirectory/AutoVerScheme/checkwindow.ui @@ -22,56 +22,63 @@ background-color: rgb(255, 255, 255); - + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 自动检定 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u40.png); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 自动检定 + + + + + @@ -89,18 +96,45 @@ - - - - 12 - 75 - true - - - - 待检设备清单 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u48.svg); + + + + + + + + + + + 12 + 75 + true + + + + 待检设备清单 + + + + @@ -116,18 +150,45 @@ - - - - 12 - 75 - true - - - - 选择检定程序 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u51.svg); + + + + + + + + + + + 12 + 75 + true + + + + 选择检定程序 + + + + @@ -143,18 +204,45 @@ - - - - 12 - 75 - true - - - - 设备连接状态 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u53.svg); + + + + + + + + + + + 12 + 75 + true + + + + 设备连接状态 + + + + @@ -179,9 +267,9 @@ - + - false + true @@ -495,9 +583,9 @@ - + - false + true @@ -758,8 +846,8 @@ showMethod() - 68 - 101 + 675 + 769 666 @@ -774,8 +862,8 @@ showDevice() - 705 - 754 + 726 + 769 1332 diff --git a/softwareDirectory/AutoVerScheme/indexwindow.cpp b/softwareDirectory/AutoVerScheme/indexwindow.cpp index 4883463..fca900a 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.cpp +++ b/softwareDirectory/AutoVerScheme/indexwindow.cpp @@ -4,6 +4,8 @@ #include "QTextStream" #include "checkwindow.h" #include "checkmethodmanage.h" +#include "verifymethodmanage.h" +#include "verifywindow.h" IndexWindow::IndexWindow(QWidget *parent) : QMainWindow(parent), @@ -71,4 +73,19 @@ checkWindow->show(); } +void IndexWindow::showVerifyWindow() +{ + VerifyWindow *checkWindow = new VerifyWindow; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} + +void IndexWindow::showVerifyMethod() +{ + VerifyMethodManage *checkWindow = new VerifyMethodManage; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} diff --git a/softwareDirectory/AutoVerScheme/indexwindow.h b/softwareDirectory/AutoVerScheme/indexwindow.h index 4387b36..a05d802 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.h +++ b/softwareDirectory/AutoVerScheme/indexwindow.h @@ -19,6 +19,8 @@ void loadStyle(const QString &qssFile); void showCheckWindow(); void showCheckMethod(); + void showVerifyWindow(); + void showVerifyMethod(); private: diff --git a/softwareDirectory/AutoVerScheme/indexwindow.ui b/softwareDirectory/AutoVerScheme/indexwindow.ui index 4149c7d..d69a54d 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.ui +++ b/softwareDirectory/AutoVerScheme/indexwindow.ui @@ -552,9 +552,43 @@ + + toolButton_5 + clicked() + IndexWindow + showVerifyMethod() + + + 706 + 589 + + + 692 + 442 + + + + + toolButton_2 + clicked() + IndexWindow + showVerifyWindow() + + + 758 + 249 + + + 862 + 114 + + + showCheckWindow() showCheckMethod() + showVerifyMethod() + showVerifyWindow() diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/checkwindow.cpp b/softwareDirectory/AutoVerScheme/checkwindow.cpp index 67149fb..acd0b24 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.cpp +++ b/softwareDirectory/AutoVerScheme/checkwindow.cpp @@ -6,7 +6,14 @@ ui(new Ui::CheckWindow) { ui->setupUi(this); - //ui->tableWidgetDevice->horizontalHeader()->sectionResizeMode(QHeaderView::Stretch); + ui->tableWidgetDevice->setColumnCount(8); + ui->tableWidgetMethod->setColumnCount(7); + for(int i=2;i<8;i++) + ui->tableWidgetDevice->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=2;i<7;i++) + ui->tableWidgetMethod->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=0;i<2;i++) + ui->tableWidget_3->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); //ui->tableWidgetDevice->verticalHeader()->sectionResizeMode(QHeaderView::Stretch); } diff --git a/softwareDirectory/AutoVerScheme/checkwindow.ui b/softwareDirectory/AutoVerScheme/checkwindow.ui index fa0dc5f..0be769a 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.ui +++ b/softwareDirectory/AutoVerScheme/checkwindow.ui @@ -22,56 +22,63 @@ background-color: rgb(255, 255, 255); - + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 自动检定 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u40.png); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 自动检定 + + + + + @@ -89,18 +96,45 @@ - - - - 12 - 75 - true - - - - 待检设备清单 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u48.svg); + + + + + + + + + + + 12 + 75 + true + + + + 待检设备清单 + + + + @@ -116,18 +150,45 @@ - - - - 12 - 75 - true - - - - 选择检定程序 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u51.svg); + + + + + + + + + + + 12 + 75 + true + + + + 选择检定程序 + + + + @@ -143,18 +204,45 @@ - - - - 12 - 75 - true - - - - 设备连接状态 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u53.svg); + + + + + + + + + + + 12 + 75 + true + + + + 设备连接状态 + + + + @@ -179,9 +267,9 @@ - + - false + true @@ -495,9 +583,9 @@ - + - false + true @@ -758,8 +846,8 @@ showMethod() - 68 - 101 + 675 + 769 666 @@ -774,8 +862,8 @@ showDevice() - 705 - 754 + 726 + 769 1332 diff --git a/softwareDirectory/AutoVerScheme/indexwindow.cpp b/softwareDirectory/AutoVerScheme/indexwindow.cpp index 4883463..fca900a 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.cpp +++ b/softwareDirectory/AutoVerScheme/indexwindow.cpp @@ -4,6 +4,8 @@ #include "QTextStream" #include "checkwindow.h" #include "checkmethodmanage.h" +#include "verifymethodmanage.h" +#include "verifywindow.h" IndexWindow::IndexWindow(QWidget *parent) : QMainWindow(parent), @@ -71,4 +73,19 @@ checkWindow->show(); } +void IndexWindow::showVerifyWindow() +{ + VerifyWindow *checkWindow = new VerifyWindow; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} + +void IndexWindow::showVerifyMethod() +{ + VerifyMethodManage *checkWindow = new VerifyMethodManage; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} diff --git a/softwareDirectory/AutoVerScheme/indexwindow.h b/softwareDirectory/AutoVerScheme/indexwindow.h index 4387b36..a05d802 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.h +++ b/softwareDirectory/AutoVerScheme/indexwindow.h @@ -19,6 +19,8 @@ void loadStyle(const QString &qssFile); void showCheckWindow(); void showCheckMethod(); + void showVerifyWindow(); + void showVerifyMethod(); private: diff --git a/softwareDirectory/AutoVerScheme/indexwindow.ui b/softwareDirectory/AutoVerScheme/indexwindow.ui index 4149c7d..d69a54d 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.ui +++ b/softwareDirectory/AutoVerScheme/indexwindow.ui @@ -552,9 +552,43 @@ + + toolButton_5 + clicked() + IndexWindow + showVerifyMethod() + + + 706 + 589 + + + 692 + 442 + + + + + toolButton_2 + clicked() + IndexWindow + showVerifyWindow() + + + 758 + 249 + + + 862 + 114 + + + showCheckWindow() showCheckMethod() + showVerifyMethod() + showVerifyWindow() diff --git a/softwareDirectory/AutoVerScheme/res/res.qrc b/softwareDirectory/AutoVerScheme/res/res.qrc index 5a9e304..550a29e 100644 --- a/softwareDirectory/AutoVerScheme/res/res.qrc +++ b/softwareDirectory/AutoVerScheme/res/res.qrc @@ -24,5 +24,11 @@ image/login/u9.png image/Index/u101.png image/Index/u102.png + image/Index/u40.png + image/Index/u53.svg + image/Index/u51.svg + image/Index/u48.svg + image/Index/u7359.svg + image/Index/u1417.svg diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/checkwindow.cpp b/softwareDirectory/AutoVerScheme/checkwindow.cpp index 67149fb..acd0b24 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.cpp +++ b/softwareDirectory/AutoVerScheme/checkwindow.cpp @@ -6,7 +6,14 @@ ui(new Ui::CheckWindow) { ui->setupUi(this); - //ui->tableWidgetDevice->horizontalHeader()->sectionResizeMode(QHeaderView::Stretch); + ui->tableWidgetDevice->setColumnCount(8); + ui->tableWidgetMethod->setColumnCount(7); + for(int i=2;i<8;i++) + ui->tableWidgetDevice->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=2;i<7;i++) + ui->tableWidgetMethod->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=0;i<2;i++) + ui->tableWidget_3->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); //ui->tableWidgetDevice->verticalHeader()->sectionResizeMode(QHeaderView::Stretch); } diff --git a/softwareDirectory/AutoVerScheme/checkwindow.ui b/softwareDirectory/AutoVerScheme/checkwindow.ui index fa0dc5f..0be769a 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.ui +++ b/softwareDirectory/AutoVerScheme/checkwindow.ui @@ -22,56 +22,63 @@ background-color: rgb(255, 255, 255); - + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 自动检定 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u40.png); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 自动检定 + + + + + @@ -89,18 +96,45 @@ - - - - 12 - 75 - true - - - - 待检设备清单 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u48.svg); + + + + + + + + + + + 12 + 75 + true + + + + 待检设备清单 + + + + @@ -116,18 +150,45 @@ - - - - 12 - 75 - true - - - - 选择检定程序 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u51.svg); + + + + + + + + + + + 12 + 75 + true + + + + 选择检定程序 + + + + @@ -143,18 +204,45 @@ - - - - 12 - 75 - true - - - - 设备连接状态 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u53.svg); + + + + + + + + + + + 12 + 75 + true + + + + 设备连接状态 + + + + @@ -179,9 +267,9 @@ - + - false + true @@ -495,9 +583,9 @@ - + - false + true @@ -758,8 +846,8 @@ showMethod() - 68 - 101 + 675 + 769 666 @@ -774,8 +862,8 @@ showDevice() - 705 - 754 + 726 + 769 1332 diff --git a/softwareDirectory/AutoVerScheme/indexwindow.cpp b/softwareDirectory/AutoVerScheme/indexwindow.cpp index 4883463..fca900a 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.cpp +++ b/softwareDirectory/AutoVerScheme/indexwindow.cpp @@ -4,6 +4,8 @@ #include "QTextStream" #include "checkwindow.h" #include "checkmethodmanage.h" +#include "verifymethodmanage.h" +#include "verifywindow.h" IndexWindow::IndexWindow(QWidget *parent) : QMainWindow(parent), @@ -71,4 +73,19 @@ checkWindow->show(); } +void IndexWindow::showVerifyWindow() +{ + VerifyWindow *checkWindow = new VerifyWindow; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} + +void IndexWindow::showVerifyMethod() +{ + VerifyMethodManage *checkWindow = new VerifyMethodManage; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} diff --git a/softwareDirectory/AutoVerScheme/indexwindow.h b/softwareDirectory/AutoVerScheme/indexwindow.h index 4387b36..a05d802 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.h +++ b/softwareDirectory/AutoVerScheme/indexwindow.h @@ -19,6 +19,8 @@ void loadStyle(const QString &qssFile); void showCheckWindow(); void showCheckMethod(); + void showVerifyWindow(); + void showVerifyMethod(); private: diff --git a/softwareDirectory/AutoVerScheme/indexwindow.ui b/softwareDirectory/AutoVerScheme/indexwindow.ui index 4149c7d..d69a54d 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.ui +++ b/softwareDirectory/AutoVerScheme/indexwindow.ui @@ -552,9 +552,43 @@ + + toolButton_5 + clicked() + IndexWindow + showVerifyMethod() + + + 706 + 589 + + + 692 + 442 + + + + + toolButton_2 + clicked() + IndexWindow + showVerifyWindow() + + + 758 + 249 + + + 862 + 114 + + + showCheckWindow() showCheckMethod() + showVerifyMethod() + showVerifyWindow() diff --git a/softwareDirectory/AutoVerScheme/res/res.qrc b/softwareDirectory/AutoVerScheme/res/res.qrc index 5a9e304..550a29e 100644 --- a/softwareDirectory/AutoVerScheme/res/res.qrc +++ b/softwareDirectory/AutoVerScheme/res/res.qrc @@ -24,5 +24,11 @@ image/login/u9.png image/Index/u101.png image/Index/u102.png + image/Index/u40.png + image/Index/u53.svg + image/Index/u51.svg + image/Index/u48.svg + image/Index/u7359.svg + image/Index/u1417.svg diff --git a/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp b/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp index 0e6f0d9..9050ea1 100644 --- a/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::VerifyMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } VerifyMethodManage::~VerifyMethodManage() diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/checkwindow.cpp b/softwareDirectory/AutoVerScheme/checkwindow.cpp index 67149fb..acd0b24 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.cpp +++ b/softwareDirectory/AutoVerScheme/checkwindow.cpp @@ -6,7 +6,14 @@ ui(new Ui::CheckWindow) { ui->setupUi(this); - //ui->tableWidgetDevice->horizontalHeader()->sectionResizeMode(QHeaderView::Stretch); + ui->tableWidgetDevice->setColumnCount(8); + ui->tableWidgetMethod->setColumnCount(7); + for(int i=2;i<8;i++) + ui->tableWidgetDevice->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=2;i<7;i++) + ui->tableWidgetMethod->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=0;i<2;i++) + ui->tableWidget_3->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); //ui->tableWidgetDevice->verticalHeader()->sectionResizeMode(QHeaderView::Stretch); } diff --git a/softwareDirectory/AutoVerScheme/checkwindow.ui b/softwareDirectory/AutoVerScheme/checkwindow.ui index fa0dc5f..0be769a 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.ui +++ b/softwareDirectory/AutoVerScheme/checkwindow.ui @@ -22,56 +22,63 @@ background-color: rgb(255, 255, 255); - + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 自动检定 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u40.png); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 自动检定 + + + + + @@ -89,18 +96,45 @@ - - - - 12 - 75 - true - - - - 待检设备清单 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u48.svg); + + + + + + + + + + + 12 + 75 + true + + + + 待检设备清单 + + + + @@ -116,18 +150,45 @@ - - - - 12 - 75 - true - - - - 选择检定程序 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u51.svg); + + + + + + + + + + + 12 + 75 + true + + + + 选择检定程序 + + + + @@ -143,18 +204,45 @@ - - - - 12 - 75 - true - - - - 设备连接状态 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u53.svg); + + + + + + + + + + + 12 + 75 + true + + + + 设备连接状态 + + + + @@ -179,9 +267,9 @@ - + - false + true @@ -495,9 +583,9 @@ - + - false + true @@ -758,8 +846,8 @@ showMethod() - 68 - 101 + 675 + 769 666 @@ -774,8 +862,8 @@ showDevice() - 705 - 754 + 726 + 769 1332 diff --git a/softwareDirectory/AutoVerScheme/indexwindow.cpp b/softwareDirectory/AutoVerScheme/indexwindow.cpp index 4883463..fca900a 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.cpp +++ b/softwareDirectory/AutoVerScheme/indexwindow.cpp @@ -4,6 +4,8 @@ #include "QTextStream" #include "checkwindow.h" #include "checkmethodmanage.h" +#include "verifymethodmanage.h" +#include "verifywindow.h" IndexWindow::IndexWindow(QWidget *parent) : QMainWindow(parent), @@ -71,4 +73,19 @@ checkWindow->show(); } +void IndexWindow::showVerifyWindow() +{ + VerifyWindow *checkWindow = new VerifyWindow; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} + +void IndexWindow::showVerifyMethod() +{ + VerifyMethodManage *checkWindow = new VerifyMethodManage; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} diff --git a/softwareDirectory/AutoVerScheme/indexwindow.h b/softwareDirectory/AutoVerScheme/indexwindow.h index 4387b36..a05d802 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.h +++ b/softwareDirectory/AutoVerScheme/indexwindow.h @@ -19,6 +19,8 @@ void loadStyle(const QString &qssFile); void showCheckWindow(); void showCheckMethod(); + void showVerifyWindow(); + void showVerifyMethod(); private: diff --git a/softwareDirectory/AutoVerScheme/indexwindow.ui b/softwareDirectory/AutoVerScheme/indexwindow.ui index 4149c7d..d69a54d 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.ui +++ b/softwareDirectory/AutoVerScheme/indexwindow.ui @@ -552,9 +552,43 @@ + + toolButton_5 + clicked() + IndexWindow + showVerifyMethod() + + + 706 + 589 + + + 692 + 442 + + + + + toolButton_2 + clicked() + IndexWindow + showVerifyWindow() + + + 758 + 249 + + + 862 + 114 + + + showCheckWindow() showCheckMethod() + showVerifyMethod() + showVerifyWindow() diff --git a/softwareDirectory/AutoVerScheme/res/res.qrc b/softwareDirectory/AutoVerScheme/res/res.qrc index 5a9e304..550a29e 100644 --- a/softwareDirectory/AutoVerScheme/res/res.qrc +++ b/softwareDirectory/AutoVerScheme/res/res.qrc @@ -24,5 +24,11 @@ image/login/u9.png image/Index/u101.png image/Index/u102.png + image/Index/u40.png + image/Index/u53.svg + image/Index/u51.svg + image/Index/u48.svg + image/Index/u7359.svg + image/Index/u1417.svg diff --git a/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp b/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp index 0e6f0d9..9050ea1 100644 --- a/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::VerifyMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } VerifyMethodManage::~VerifyMethodManage() diff --git a/softwareDirectory/AutoVerScheme/verifymethodmanage.ui b/softwareDirectory/AutoVerScheme/verifymethodmanage.ui index 3933ab0..7716a0e 100644 --- a/softwareDirectory/AutoVerScheme/verifymethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/verifymethodmanage.ui @@ -1,21 +1,264 @@ + - - - VerifyMethodManage 0 0 - 400 - 300 + 1344 + 789 - Form + 核查程序管理 + + background-color: rgb(255, 255, 255); + + + + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 核查程序管理 + + + + + + + + + + 12 + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 1 + 0 + + + + + 72 + 36 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(74, 102, 186); +border-radius:5px; +padding:10px 20px; + + + 查询 + + + + + + + + 0 + 0 + + + + + 72 + 36 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(207, 132, 33); +border-radius:5px; + + + 重置 + + + + + + + + + 12 + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 1 + 0 + + + + + 72 + 26 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(74, 102, 186); +border-radius:5px; +padding:10px 20px; + + + 创建核查程序 + + + + + + + + + false + + + + 选择 + + + + + 序号 + + + + + 核查程序名称 + + + + + 创建人 + + + + + 创建时间 + + + + + 说明 + + + + + 操作 + + + + + - + diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/checkwindow.cpp b/softwareDirectory/AutoVerScheme/checkwindow.cpp index 67149fb..acd0b24 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.cpp +++ b/softwareDirectory/AutoVerScheme/checkwindow.cpp @@ -6,7 +6,14 @@ ui(new Ui::CheckWindow) { ui->setupUi(this); - //ui->tableWidgetDevice->horizontalHeader()->sectionResizeMode(QHeaderView::Stretch); + ui->tableWidgetDevice->setColumnCount(8); + ui->tableWidgetMethod->setColumnCount(7); + for(int i=2;i<8;i++) + ui->tableWidgetDevice->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=2;i<7;i++) + ui->tableWidgetMethod->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=0;i<2;i++) + ui->tableWidget_3->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); //ui->tableWidgetDevice->verticalHeader()->sectionResizeMode(QHeaderView::Stretch); } diff --git a/softwareDirectory/AutoVerScheme/checkwindow.ui b/softwareDirectory/AutoVerScheme/checkwindow.ui index fa0dc5f..0be769a 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.ui +++ b/softwareDirectory/AutoVerScheme/checkwindow.ui @@ -22,56 +22,63 @@ background-color: rgb(255, 255, 255); - + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 自动检定 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u40.png); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 自动检定 + + + + + @@ -89,18 +96,45 @@ - - - - 12 - 75 - true - - - - 待检设备清单 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u48.svg); + + + + + + + + + + + 12 + 75 + true + + + + 待检设备清单 + + + + @@ -116,18 +150,45 @@ - - - - 12 - 75 - true - - - - 选择检定程序 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u51.svg); + + + + + + + + + + + 12 + 75 + true + + + + 选择检定程序 + + + + @@ -143,18 +204,45 @@ - - - - 12 - 75 - true - - - - 设备连接状态 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u53.svg); + + + + + + + + + + + 12 + 75 + true + + + + 设备连接状态 + + + + @@ -179,9 +267,9 @@ - + - false + true @@ -495,9 +583,9 @@ - + - false + true @@ -758,8 +846,8 @@ showMethod() - 68 - 101 + 675 + 769 666 @@ -774,8 +862,8 @@ showDevice() - 705 - 754 + 726 + 769 1332 diff --git a/softwareDirectory/AutoVerScheme/indexwindow.cpp b/softwareDirectory/AutoVerScheme/indexwindow.cpp index 4883463..fca900a 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.cpp +++ b/softwareDirectory/AutoVerScheme/indexwindow.cpp @@ -4,6 +4,8 @@ #include "QTextStream" #include "checkwindow.h" #include "checkmethodmanage.h" +#include "verifymethodmanage.h" +#include "verifywindow.h" IndexWindow::IndexWindow(QWidget *parent) : QMainWindow(parent), @@ -71,4 +73,19 @@ checkWindow->show(); } +void IndexWindow::showVerifyWindow() +{ + VerifyWindow *checkWindow = new VerifyWindow; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} + +void IndexWindow::showVerifyMethod() +{ + VerifyMethodManage *checkWindow = new VerifyMethodManage; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} diff --git a/softwareDirectory/AutoVerScheme/indexwindow.h b/softwareDirectory/AutoVerScheme/indexwindow.h index 4387b36..a05d802 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.h +++ b/softwareDirectory/AutoVerScheme/indexwindow.h @@ -19,6 +19,8 @@ void loadStyle(const QString &qssFile); void showCheckWindow(); void showCheckMethod(); + void showVerifyWindow(); + void showVerifyMethod(); private: diff --git a/softwareDirectory/AutoVerScheme/indexwindow.ui b/softwareDirectory/AutoVerScheme/indexwindow.ui index 4149c7d..d69a54d 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.ui +++ b/softwareDirectory/AutoVerScheme/indexwindow.ui @@ -552,9 +552,43 @@ + + toolButton_5 + clicked() + IndexWindow + showVerifyMethod() + + + 706 + 589 + + + 692 + 442 + + + + + toolButton_2 + clicked() + IndexWindow + showVerifyWindow() + + + 758 + 249 + + + 862 + 114 + + + showCheckWindow() showCheckMethod() + showVerifyMethod() + showVerifyWindow() diff --git a/softwareDirectory/AutoVerScheme/res/res.qrc b/softwareDirectory/AutoVerScheme/res/res.qrc index 5a9e304..550a29e 100644 --- a/softwareDirectory/AutoVerScheme/res/res.qrc +++ b/softwareDirectory/AutoVerScheme/res/res.qrc @@ -24,5 +24,11 @@ image/login/u9.png image/Index/u101.png image/Index/u102.png + image/Index/u40.png + image/Index/u53.svg + image/Index/u51.svg + image/Index/u48.svg + image/Index/u7359.svg + image/Index/u1417.svg diff --git a/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp b/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp index 0e6f0d9..9050ea1 100644 --- a/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::VerifyMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } VerifyMethodManage::~VerifyMethodManage() diff --git a/softwareDirectory/AutoVerScheme/verifymethodmanage.ui b/softwareDirectory/AutoVerScheme/verifymethodmanage.ui index 3933ab0..7716a0e 100644 --- a/softwareDirectory/AutoVerScheme/verifymethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/verifymethodmanage.ui @@ -1,21 +1,264 @@ + - - - VerifyMethodManage 0 0 - 400 - 300 + 1344 + 789 - Form + 核查程序管理 + + background-color: rgb(255, 255, 255); + + + + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 核查程序管理 + + + + + + + + + + 12 + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 1 + 0 + + + + + 72 + 36 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(74, 102, 186); +border-radius:5px; +padding:10px 20px; + + + 查询 + + + + + + + + 0 + 0 + + + + + 72 + 36 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(207, 132, 33); +border-radius:5px; + + + 重置 + + + + + + + + + 12 + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 1 + 0 + + + + + 72 + 26 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(74, 102, 186); +border-radius:5px; +padding:10px 20px; + + + 创建核查程序 + + + + + + + + + false + + + + 选择 + + + + + 序号 + + + + + 核查程序名称 + + + + + 创建人 + + + + + 创建时间 + + + + + 说明 + + + + + 操作 + + + + + - + diff --git a/softwareDirectory/AutoVerScheme/verifywindow.cpp b/softwareDirectory/AutoVerScheme/verifywindow.cpp index aacbb22..5a79fc1 100644 --- a/softwareDirectory/AutoVerScheme/verifywindow.cpp +++ b/softwareDirectory/AutoVerScheme/verifywindow.cpp @@ -12,3 +12,8 @@ { delete ui; } + +void VerifyWindow::showDevice() +{ + ui->stackedWidget->setCurrentIndex(1); +} diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/checkwindow.cpp b/softwareDirectory/AutoVerScheme/checkwindow.cpp index 67149fb..acd0b24 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.cpp +++ b/softwareDirectory/AutoVerScheme/checkwindow.cpp @@ -6,7 +6,14 @@ ui(new Ui::CheckWindow) { ui->setupUi(this); - //ui->tableWidgetDevice->horizontalHeader()->sectionResizeMode(QHeaderView::Stretch); + ui->tableWidgetDevice->setColumnCount(8); + ui->tableWidgetMethod->setColumnCount(7); + for(int i=2;i<8;i++) + ui->tableWidgetDevice->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=2;i<7;i++) + ui->tableWidgetMethod->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=0;i<2;i++) + ui->tableWidget_3->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); //ui->tableWidgetDevice->verticalHeader()->sectionResizeMode(QHeaderView::Stretch); } diff --git a/softwareDirectory/AutoVerScheme/checkwindow.ui b/softwareDirectory/AutoVerScheme/checkwindow.ui index fa0dc5f..0be769a 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.ui +++ b/softwareDirectory/AutoVerScheme/checkwindow.ui @@ -22,56 +22,63 @@ background-color: rgb(255, 255, 255); - + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 自动检定 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u40.png); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 自动检定 + + + + + @@ -89,18 +96,45 @@ - - - - 12 - 75 - true - - - - 待检设备清单 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u48.svg); + + + + + + + + + + + 12 + 75 + true + + + + 待检设备清单 + + + + @@ -116,18 +150,45 @@ - - - - 12 - 75 - true - - - - 选择检定程序 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u51.svg); + + + + + + + + + + + 12 + 75 + true + + + + 选择检定程序 + + + + @@ -143,18 +204,45 @@ - - - - 12 - 75 - true - - - - 设备连接状态 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u53.svg); + + + + + + + + + + + 12 + 75 + true + + + + 设备连接状态 + + + + @@ -179,9 +267,9 @@ - + - false + true @@ -495,9 +583,9 @@ - + - false + true @@ -758,8 +846,8 @@ showMethod() - 68 - 101 + 675 + 769 666 @@ -774,8 +862,8 @@ showDevice() - 705 - 754 + 726 + 769 1332 diff --git a/softwareDirectory/AutoVerScheme/indexwindow.cpp b/softwareDirectory/AutoVerScheme/indexwindow.cpp index 4883463..fca900a 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.cpp +++ b/softwareDirectory/AutoVerScheme/indexwindow.cpp @@ -4,6 +4,8 @@ #include "QTextStream" #include "checkwindow.h" #include "checkmethodmanage.h" +#include "verifymethodmanage.h" +#include "verifywindow.h" IndexWindow::IndexWindow(QWidget *parent) : QMainWindow(parent), @@ -71,4 +73,19 @@ checkWindow->show(); } +void IndexWindow::showVerifyWindow() +{ + VerifyWindow *checkWindow = new VerifyWindow; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} + +void IndexWindow::showVerifyMethod() +{ + VerifyMethodManage *checkWindow = new VerifyMethodManage; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} diff --git a/softwareDirectory/AutoVerScheme/indexwindow.h b/softwareDirectory/AutoVerScheme/indexwindow.h index 4387b36..a05d802 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.h +++ b/softwareDirectory/AutoVerScheme/indexwindow.h @@ -19,6 +19,8 @@ void loadStyle(const QString &qssFile); void showCheckWindow(); void showCheckMethod(); + void showVerifyWindow(); + void showVerifyMethod(); private: diff --git a/softwareDirectory/AutoVerScheme/indexwindow.ui b/softwareDirectory/AutoVerScheme/indexwindow.ui index 4149c7d..d69a54d 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.ui +++ b/softwareDirectory/AutoVerScheme/indexwindow.ui @@ -552,9 +552,43 @@ + + toolButton_5 + clicked() + IndexWindow + showVerifyMethod() + + + 706 + 589 + + + 692 + 442 + + + + + toolButton_2 + clicked() + IndexWindow + showVerifyWindow() + + + 758 + 249 + + + 862 + 114 + + + showCheckWindow() showCheckMethod() + showVerifyMethod() + showVerifyWindow() diff --git a/softwareDirectory/AutoVerScheme/res/res.qrc b/softwareDirectory/AutoVerScheme/res/res.qrc index 5a9e304..550a29e 100644 --- a/softwareDirectory/AutoVerScheme/res/res.qrc +++ b/softwareDirectory/AutoVerScheme/res/res.qrc @@ -24,5 +24,11 @@ image/login/u9.png image/Index/u101.png image/Index/u102.png + image/Index/u40.png + image/Index/u53.svg + image/Index/u51.svg + image/Index/u48.svg + image/Index/u7359.svg + image/Index/u1417.svg diff --git a/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp b/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp index 0e6f0d9..9050ea1 100644 --- a/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::VerifyMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } VerifyMethodManage::~VerifyMethodManage() diff --git a/softwareDirectory/AutoVerScheme/verifymethodmanage.ui b/softwareDirectory/AutoVerScheme/verifymethodmanage.ui index 3933ab0..7716a0e 100644 --- a/softwareDirectory/AutoVerScheme/verifymethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/verifymethodmanage.ui @@ -1,21 +1,264 @@ + - - - VerifyMethodManage 0 0 - 400 - 300 + 1344 + 789 - Form + 核查程序管理 + + background-color: rgb(255, 255, 255); + + + + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 核查程序管理 + + + + + + + + + + 12 + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 1 + 0 + + + + + 72 + 36 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(74, 102, 186); +border-radius:5px; +padding:10px 20px; + + + 查询 + + + + + + + + 0 + 0 + + + + + 72 + 36 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(207, 132, 33); +border-radius:5px; + + + 重置 + + + + + + + + + 12 + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 1 + 0 + + + + + 72 + 26 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(74, 102, 186); +border-radius:5px; +padding:10px 20px; + + + 创建核查程序 + + + + + + + + + false + + + + 选择 + + + + + 序号 + + + + + 核查程序名称 + + + + + 创建人 + + + + + 创建时间 + + + + + 说明 + + + + + 操作 + + + + + - + diff --git a/softwareDirectory/AutoVerScheme/verifywindow.cpp b/softwareDirectory/AutoVerScheme/verifywindow.cpp index aacbb22..5a79fc1 100644 --- a/softwareDirectory/AutoVerScheme/verifywindow.cpp +++ b/softwareDirectory/AutoVerScheme/verifywindow.cpp @@ -12,3 +12,8 @@ { delete ui; } + +void VerifyWindow::showDevice() +{ + ui->stackedWidget->setCurrentIndex(1); +} diff --git a/softwareDirectory/AutoVerScheme/verifywindow.h b/softwareDirectory/AutoVerScheme/verifywindow.h index 1d1159e..3bf5d68 100644 --- a/softwareDirectory/AutoVerScheme/verifywindow.h +++ b/softwareDirectory/AutoVerScheme/verifywindow.h @@ -14,6 +14,8 @@ public: explicit VerifyWindow(QWidget *parent = nullptr); ~VerifyWindow(); +private slots: + void showDevice(); private: Ui::VerifyWindow *ui; diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro index a09da41..1280b70 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro @@ -33,7 +33,9 @@ rulefileitem.cpp \ standard_deviceitem.cpp \ testdataitem.cpp \ - testview.cpp + testview.cpp \ + verifymethodmanage.cpp \ + verifywindow.cpp HEADERS += \ InfoBase.h \ @@ -51,7 +53,9 @@ rulefileitem.h \ standard_deviceitem.h \ testdataitem.h \ - testview.h + testview.h \ + verifymethodmanage.h \ + verifywindow.h FORMS += \ beexamined_deviceitem.ui \ @@ -68,7 +72,9 @@ rulefileitem.ui \ standard_deviceitem.ui \ testdataitem.ui \ - testview.ui + testview.ui \ + verifymethodmanage.ui \ + verifywindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user index d55c873..6ea03c5 100644 --- a/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user +++ b/softwareDirectory/AutoVerScheme/AutoVerScheme.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -287,19 +287,19 @@ 2 - - ProjectExplorer.CustomExecutableRunConfiguration - + Qt4ProjectManager.Qt4RunConfiguration:D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro + D:/dev/QT/AutoCalHainan/software/softwareDirectory/AutoVerScheme/AutoVerScheme.pro false false true + true false false true - + D:/dev/QT/AutoCalHainan/software/softwareDirectory/build-AutoVerScheme-Desktop_Qt_5_14_2_MinGW_32_bit-Debug 1 diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp index b01e521..c5a2376 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::CheckMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } CheckMethodManage::~CheckMethodManage() diff --git a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui index fc8aec8..3bc525a 100644 --- a/softwareDirectory/AutoVerScheme/checkmethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/checkmethodmanage.ui @@ -13,56 +13,66 @@ 检定程序管理 + + background-color: rgb(255, 255, 255); + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 检定程序管理 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 检定程序管理 + + + + + diff --git a/softwareDirectory/AutoVerScheme/checkwindow.cpp b/softwareDirectory/AutoVerScheme/checkwindow.cpp index 67149fb..acd0b24 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.cpp +++ b/softwareDirectory/AutoVerScheme/checkwindow.cpp @@ -6,7 +6,14 @@ ui(new Ui::CheckWindow) { ui->setupUi(this); - //ui->tableWidgetDevice->horizontalHeader()->sectionResizeMode(QHeaderView::Stretch); + ui->tableWidgetDevice->setColumnCount(8); + ui->tableWidgetMethod->setColumnCount(7); + for(int i=2;i<8;i++) + ui->tableWidgetDevice->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=2;i<7;i++) + ui->tableWidgetMethod->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); + for(int i=0;i<2;i++) + ui->tableWidget_3->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); //ui->tableWidgetDevice->verticalHeader()->sectionResizeMode(QHeaderView::Stretch); } diff --git a/softwareDirectory/AutoVerScheme/checkwindow.ui b/softwareDirectory/AutoVerScheme/checkwindow.ui index fa0dc5f..0be769a 100644 --- a/softwareDirectory/AutoVerScheme/checkwindow.ui +++ b/softwareDirectory/AutoVerScheme/checkwindow.ui @@ -22,56 +22,63 @@ background-color: rgb(255, 255, 255); - + - - - - - - 0 - 0 - - - - - 36 - 32 - - - - image: url(:/image/checkdevice/u40.png); - - - - - - - - - - - 1 - 0 - - - - - 14 - 75 - true - - - - background-color: rgb(33, 71, 135); -color: rgb(255, 255, 255); - - - 自动检定 - - - - + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u40.png); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 自动检定 + + + + + @@ -89,18 +96,45 @@ - - - - 12 - 75 - true - - - - 待检设备清单 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u48.svg); + + + + + + + + + + + 12 + 75 + true + + + + 待检设备清单 + + + + @@ -116,18 +150,45 @@ - - - - 12 - 75 - true - - - - 选择检定程序 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u51.svg); + + + + + + + + + + + 12 + 75 + true + + + + 选择检定程序 + + + + @@ -143,18 +204,45 @@ - - - - 12 - 75 - true - - - - 设备连接状态 - - + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u53.svg); + + + + + + + + + + + 12 + 75 + true + + + + 设备连接状态 + + + + @@ -179,9 +267,9 @@ - + - false + true @@ -495,9 +583,9 @@ - + - false + true @@ -758,8 +846,8 @@ showMethod() - 68 - 101 + 675 + 769 666 @@ -774,8 +862,8 @@ showDevice() - 705 - 754 + 726 + 769 1332 diff --git a/softwareDirectory/AutoVerScheme/indexwindow.cpp b/softwareDirectory/AutoVerScheme/indexwindow.cpp index 4883463..fca900a 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.cpp +++ b/softwareDirectory/AutoVerScheme/indexwindow.cpp @@ -4,6 +4,8 @@ #include "QTextStream" #include "checkwindow.h" #include "checkmethodmanage.h" +#include "verifymethodmanage.h" +#include "verifywindow.h" IndexWindow::IndexWindow(QWidget *parent) : QMainWindow(parent), @@ -71,4 +73,19 @@ checkWindow->show(); } +void IndexWindow::showVerifyWindow() +{ + VerifyWindow *checkWindow = new VerifyWindow; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} + +void IndexWindow::showVerifyMethod() +{ + VerifyMethodManage *checkWindow = new VerifyMethodManage; + checkWindow->setWindowState(Qt::WindowMaximized); + checkWindow->setWindowModality(Qt::ApplicationModal); + checkWindow->show(); +} diff --git a/softwareDirectory/AutoVerScheme/indexwindow.h b/softwareDirectory/AutoVerScheme/indexwindow.h index 4387b36..a05d802 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.h +++ b/softwareDirectory/AutoVerScheme/indexwindow.h @@ -19,6 +19,8 @@ void loadStyle(const QString &qssFile); void showCheckWindow(); void showCheckMethod(); + void showVerifyWindow(); + void showVerifyMethod(); private: diff --git a/softwareDirectory/AutoVerScheme/indexwindow.ui b/softwareDirectory/AutoVerScheme/indexwindow.ui index 4149c7d..d69a54d 100644 --- a/softwareDirectory/AutoVerScheme/indexwindow.ui +++ b/softwareDirectory/AutoVerScheme/indexwindow.ui @@ -552,9 +552,43 @@ + + toolButton_5 + clicked() + IndexWindow + showVerifyMethod() + + + 706 + 589 + + + 692 + 442 + + + + + toolButton_2 + clicked() + IndexWindow + showVerifyWindow() + + + 758 + 249 + + + 862 + 114 + + + showCheckWindow() showCheckMethod() + showVerifyMethod() + showVerifyWindow() diff --git a/softwareDirectory/AutoVerScheme/res/res.qrc b/softwareDirectory/AutoVerScheme/res/res.qrc index 5a9e304..550a29e 100644 --- a/softwareDirectory/AutoVerScheme/res/res.qrc +++ b/softwareDirectory/AutoVerScheme/res/res.qrc @@ -24,5 +24,11 @@ image/login/u9.png image/Index/u101.png image/Index/u102.png + image/Index/u40.png + image/Index/u53.svg + image/Index/u51.svg + image/Index/u48.svg + image/Index/u7359.svg + image/Index/u1417.svg diff --git a/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp b/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp index 0e6f0d9..9050ea1 100644 --- a/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp +++ b/softwareDirectory/AutoVerScheme/verifymethodmanage.cpp @@ -6,6 +6,8 @@ ui(new Ui::VerifyMethodManage) { ui->setupUi(this); + for(int i=2;i<7;i++) + ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } VerifyMethodManage::~VerifyMethodManage() diff --git a/softwareDirectory/AutoVerScheme/verifymethodmanage.ui b/softwareDirectory/AutoVerScheme/verifymethodmanage.ui index 3933ab0..7716a0e 100644 --- a/softwareDirectory/AutoVerScheme/verifymethodmanage.ui +++ b/softwareDirectory/AutoVerScheme/verifymethodmanage.ui @@ -1,21 +1,264 @@ + - - - VerifyMethodManage 0 0 - 400 - 300 + 1344 + 789 - Form + 核查程序管理 + + background-color: rgb(255, 255, 255); + + + + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u7359.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 核查程序管理 + + + + + + + + + + 12 + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 1 + 0 + + + + + 72 + 36 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(74, 102, 186); +border-radius:5px; +padding:10px 20px; + + + 查询 + + + + + + + + 0 + 0 + + + + + 72 + 36 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(207, 132, 33); +border-radius:5px; + + + 重置 + + + + + + + + + 12 + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 1 + 0 + + + + + 72 + 26 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(74, 102, 186); +border-radius:5px; +padding:10px 20px; + + + 创建核查程序 + + + + + + + + + false + + + + 选择 + + + + + 序号 + + + + + 核查程序名称 + + + + + 创建人 + + + + + 创建时间 + + + + + 说明 + + + + + 操作 + + + + + - + diff --git a/softwareDirectory/AutoVerScheme/verifywindow.cpp b/softwareDirectory/AutoVerScheme/verifywindow.cpp index aacbb22..5a79fc1 100644 --- a/softwareDirectory/AutoVerScheme/verifywindow.cpp +++ b/softwareDirectory/AutoVerScheme/verifywindow.cpp @@ -12,3 +12,8 @@ { delete ui; } + +void VerifyWindow::showDevice() +{ + ui->stackedWidget->setCurrentIndex(1); +} diff --git a/softwareDirectory/AutoVerScheme/verifywindow.h b/softwareDirectory/AutoVerScheme/verifywindow.h index 1d1159e..3bf5d68 100644 --- a/softwareDirectory/AutoVerScheme/verifywindow.h +++ b/softwareDirectory/AutoVerScheme/verifywindow.h @@ -14,6 +14,8 @@ public: explicit VerifyWindow(QWidget *parent = nullptr); ~VerifyWindow(); +private slots: + void showDevice(); private: Ui::VerifyWindow *ui; diff --git a/softwareDirectory/AutoVerScheme/verifywindow.ui b/softwareDirectory/AutoVerScheme/verifywindow.ui index 957d9cf..4279212 100644 --- a/softwareDirectory/AutoVerScheme/verifywindow.ui +++ b/softwareDirectory/AutoVerScheme/verifywindow.ui @@ -1,21 +1,524 @@ + - - - VerifyWindow 0 0 - 400 - 300 + 1344 + 789 - Form + 自动核查 + + background-color: rgb(255, 255, 255); + + + + + + border-image: url(:/image/Index/u15.png); + + + + 10 + + + + + + 0 + 0 + + + + + 48 + 48 + + + + image: url(:/image/Index/u1417.svg); + + + + + + + + + + + 1 + 0 + + + + + 18 + 75 + true + + + + color: rgb(255, 255, 255); + + + 自动核查 + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u51.svg); + + + + + + + + + + + 12 + 75 + true + + + + 选择核查程序 + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + 48 + 48 + + + + + 12 + 75 + true + + + + image: url(:/image/Index/u53.svg); + + + + + + + + + + + 12 + 75 + true + + + + 设备连接状态 + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + 0 + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + + 120 + 36 + + + + color: rgb(255, 255, 255); +background-color: rgb(55, 83, 123); +border-radius:5px; + + + 加载 + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + true + + + + 选择 + + + + + 序号 + + + + + 检定程序名称 + + + + + 创建人 + + + + + 创建时间 + + + + + 说明 + + + + + 操作 + + + + + + + + 12 + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 1 + 0 + + + + + 72 + 26 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(74, 102, 186); +border-radius:5px; + + + 查询 + + + + + + + + 0 + 0 + + + + + 72 + 26 + + + + + 12 + 75 + true + + + + color: rgb(255, 255, 255); +background-color: rgb(207, 132, 33); +border-radius:5px; + + + 重置 + + + + + + + + + + + + + + + 设备连接关系图 + + + Qt::AlignCenter + + + + + + + 设备连接状态提示 + + + + + + + 设备名称 + + + + + 连接状态 + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + 确定 + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + + + + + 0 + 0 + + + + + 0 + 160 + + + + 设备接口设置 + + + + + + + + - - + + + + pushButton_12 + clicked() + VerifyWindow + showDevice() + + + 669 + 753 + + + 916 + 788 + + + + + + showDevice() +