Newer
Older
AutomaticVerification / softwareDirectory / AutoVerScheme / checkmethodmanage.h
陈实 on 19 Mar 2024 715 bytes 核查程序管理
#ifndef CHECKMETHODMANAGE_H
#define CHECKMETHODMANAGE_H

#include <QWidget>
#include "basecommonapi.h"

namespace Ui {
class CheckMethodManage;
}

class CheckMethodManage : public QWidget
{
    Q_OBJECT

public:
    explicit CheckMethodManage(QWidget *parent = nullptr);
    ~CheckMethodManage();
    void updateTable(bool insert,VerificationProgramInfo program);
private:
    void getCheckMethod();
    void updateRow(int row,VerificationProgramInfo program);
private slots:
    void showNewMethod();
    void on_editButton_clicked();
    void on_deleteButton_clicked();

private:
    Ui::CheckMethodManage *ui;
    QList<VerificationProgramInfo> programList;
    int editIdx=-1;
};

#endif // CHECKMETHODMANAGE_H