Newer
Older
AutomaticVerification / softwareDirectory / AutoVerScheme / checkmethodmanage.cpp
陈实 on 12 Mar 2024 647 bytes 增加选择设备界面
#include "checkmethodmanage.h"
#include "ui_checkmethodmanage.h"
#include "newcheckmethod.h"

CheckMethodManage::CheckMethodManage(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::CheckMethodManage)
{
    ui->setupUi(this);
    for(int i=2;i<7;i++)
        ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch);
}

CheckMethodManage::~CheckMethodManage()
{
    delete ui;
}

void CheckMethodManage::showNewMethod()
{
    NewCheckMethod* checkWindow = new NewCheckMethod;
    checkWindow->setWindowState(Qt::WindowMaximized);
    checkWindow->setWindowModality(Qt::ApplicationModal);
    checkWindow->show();
}