#include "verifymethodmanage.h" #include "ui_verifymethodmanage.h" #include "newverifymethod.h" VerifyMethodManage::VerifyMethodManage(QWidget *parent) : QWidget(parent), ui(new Ui::VerifyMethodManage) { ui->setupUi(this); for(int i=2;i<7;i++) ui->tableWidget_2->horizontalHeader()->setSectionResizeMode(i,QHeaderView::Stretch); } VerifyMethodManage::~VerifyMethodManage() { delete ui; } void VerifyMethodManage::showNewMethod() { NewVerifyMethod* checkWindow = new NewVerifyMethod; checkWindow->setWindowState(Qt::WindowMaximized); checkWindow->setWindowModality(Qt::ApplicationModal); checkWindow->show(); }