代码拉取完成,页面将自动刷新
#ifndef COMPLETEINSPECTION_H
#define COMPLETEINSPECTION_H
#include <QWidget>
#include <QStackedWidget>
#include <QMessageBox>
#include <QTreeWidget>
#include <QThread>
#include <QTreeWidgetItem>
#include <QCheckBox>
#include <QMutex>
#include <QStandardItemModel>
#include <QStandardItem>
#include <QTimer>
#include <QDebug>
#include "share.h"
#include "vsthread.h"
namespace Ui {
class CompleteInspection;
}
class CompleteInspection : public QWidget
{
Q_OBJECT
public:
explicit CompleteInspection(QWidget *parent = nullptr);
~CompleteInspection();
void set_args(QStackedWidget* stack_widget,QWidget* parent_widget);
static bool* selected_inspection_args_p;
void start_inspection();
static QWidget* parent_page_static;
private slots:
void on_pushButton_clicked();
private:
Ui::CompleteInspection *ui;
QStackedWidget* stack_widget;
QWidget* parent_widget;
void set_styles();
static QStandardItemModel* model;
static QList<int> select_rst_list;
/*used_inspection_num*/
static QList<QString> inspection_rst_list;
static int used_inspection_num;
static void reduce_used_inspection_num(QString output,int i);
static int cancel_state;
/* states */
// class InspectionStates{
// public:
// int state_number;
// QString state_name;
// QString button_name;
// QString output_label;
// QTreeWidget main_interface;
// virtual void main_option(CompleteInspection* parent_page);
// virtual void button_option(CompleteInspection* parent_page);
// };
class BeforeInspect {
public:
// static int state_number;
// static QString state_name;
// static QString button_name;
// static QString output_label;
// static QTreeWidget main_interface;
static void main_option(CompleteInspection* parent_page);
// static void button_option(CompleteInspection* parent_page);
// static void update_view(CompleteInspection* parent_page);
};
class Inspecting{
public:
// static int state_number;
// static QString state_name;
// static QString button_name;
// static QString output_label;
// static QTreeWidget main_interface;
static void main_option(CompleteInspection* parent_page,QList<int> select_rst_list);
// static void button_option(CompleteInspection* parent_page);
// static void update_view(CompleteInspection* parent_page);
};
class InspectCompleted {
public:
// static int state_number;
// static QString state_name;
// static QString button_name;
// static QString output_label;
// static QTreeWidget main_interface;
static void main_option(CompleteInspection* parent_page,QList<int> select_rst_list,QList<QString> inspection_rst_list);
// static void button_option(CompleteInspection* parent_page);
// static void update_view(CompleteInspection* parent_page);
};
class Optimizing {
public:
// static int state_number;
// static QString state_name;
// static QString button_name;
// static QString output_label;
// static QTreeWidget main_interface;
static void main_option(CompleteInspection* parent_page,QList<int> select_rst_list);
// static void button_option(CompleteInspection* parent_page);
// static void update_view(CompleteInspection* parent_page);
};
class OptimizeComplete{
public:
// static int state_number;
// static QString state_name;
// static QString button_name;
// static QString output_label;
// static QTreeWidget main_interface;
static void main_option(CompleteInspection* parent_page,QList<int> select_rst_list);
// static void button_option(CompleteInspection* parent_page);
// static void update_view(CompleteInspection* parent_page);
};
class CancelInspection {
public:
// static int state_number;
// static QString state_name;
// static QString button_name;
// static QString output_label;
// static QTreeWidget main_interface;
static void main_option(CompleteInspection* parent_page,QList<int> select_rst_list);
// static void button_option(CompleteInspection* parent_page);
// static void update_view(CompleteInspection* parent_page);
};
// bool before_inspect_bind_flag=0;
// bool inspecting_bind_flag=0;
// bool inspect_completed_bind_flag=0;
// bool optimizing_bind_flag=0;
// bool optimize_complete_bind_flag=0;
// bool cancel_inspection_bind_flag=0;
};
#endif // COMPLETEINSPECTION_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。