HX_CoalFlowDetect/mainwindow.h

78 lines
1.4 KiB
C
Raw Normal View History

2024-10-31 22:02:32 +08:00
#ifndef MAINWINDOW_H
2024-10-31 17:47:16 +08:00
#define MAINWINDOW_H
2024-11-01 17:40:37 +08:00
#include <QDateTime>
2024-10-31 17:47:16 +08:00
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow {
Q_OBJECT
2024-10-31 17:47:16 +08:00
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
2024-11-01 17:40:37 +08:00
public slots:
/**
* @brief
* @param consoleInfo
*/
void addBeltWarnInfoToTextEdit(const QString &consoleInfo);
2024-10-31 17:47:16 +08:00
private slots:
void on_pushButton_close_clicked();
2024-10-31 17:47:16 +08:00
void on_pushButton_max_clicked();
2024-10-31 17:47:16 +08:00
void on_pushButton_min_clicked();
2024-10-31 17:47:16 +08:00
private:
/**
2024-10-31 22:02:32 +08:00
* @brief calendarLoopPlay
*/
void calendarLoopPlay();
2024-11-01 17:40:37 +08:00
/**
* @brief setBeltWarnInfoTextEditStyle
*/
void setBeltWarnInfoTextEditStyle();
2024-10-31 22:02:32 +08:00
/**
2024-10-31 22:02:32 +08:00
* @brief addcoalDistributChart
*/
void addcoalDistributChart();
/**
* @brief addbeltSpeedChat 线
*/
void addbeltSpeedChat();
2024-11-01 17:40:37 +08:00
/**
* @brief addCoalStatisticsChart
*/
void addCoalStatisticsChart();
2024-11-01 17:40:37 +08:00
/**
* @brief addCoalBeltVideo
*/
void addCoalBeltVideo();
2024-10-31 17:47:16 +08:00
private:
Ui::MainWindow *ui;
2024-11-01 17:40:37 +08:00
/**
* @brief m_textEditConsoleInfo
*/
QList<QString> m_textEditConsoleInfo;
2024-11-01 17:40:37 +08:00
/**
* @brief m_previousConsleInfoDateTime
*/
QDateTime m_previousConsleInfoDateTime;
2024-10-31 17:47:16 +08:00
};
#endif // MAINWINDOW_H