new project
This commit is contained in:
41
mainwindow.h
41
mainwindow.h
@ -1,17 +1,7 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
#include "gloab.h"
|
||||
#include "threadread.h"
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QString>
|
||||
#include <QDialog>
|
||||
#include <QVBoxLayout>
|
||||
#include <QProgressBar>
|
||||
#include "qcustplot.h"
|
||||
#include "threadchart.h"
|
||||
#include "threadpoltchart.h"
|
||||
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui {
|
||||
@ -27,39 +17,8 @@ public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
private slots:
|
||||
void on_openFileBtn_clicked();
|
||||
|
||||
void clearCombo();
|
||||
void showStatusbar(const QString &message);
|
||||
void setBeginTime(const QDateTime &begin);
|
||||
void setEndTime(const QDateTime &begin);
|
||||
void addCombo(const QStringList &list);
|
||||
void setProgressBar(int percent);
|
||||
void closeProg();
|
||||
|
||||
void setChartView(int jd,bool isEnum);
|
||||
void setWidget();
|
||||
|
||||
void setPlotChartView(int jd,bool isEnum);
|
||||
|
||||
void on_lineChart_clicked();
|
||||
|
||||
bool isNumeric(const QString &str);
|
||||
|
||||
void on_plotChart_clicked();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
QLabel *m_versionLabel;
|
||||
threadRead *thread_read;
|
||||
ThreadChart *thread_chart;
|
||||
threadPoltChart *thread_polt;
|
||||
|
||||
QProgressBar *progressBar;
|
||||
QVBoxLayout *layout;
|
||||
QChart *chart;
|
||||
QLineSeries *series;
|
||||
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
|
Reference in New Issue
Block a user