HX_CoalFlowDetect/mainwindow.h

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