3 Star 0 Fork 1

hezitation/safety_center

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
completeinspection.h 4.64 KB
一键复制 编辑 原始数据 按行查看 历史
coco 提交于 2024-01-08 19:02 . lsh123
#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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/hezitation/safety_center.git
git@gitee.com:hezitation/safety_center.git
hezitation
safety_center
safety_center
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385