Neuro/gui/NeuroUI/neuroui.h

37 lines
565 B
C
Raw Normal View History

2015-10-24 12:44:33 +00:00
#ifndef NEUROUI_H
#define NEUROUI_H
#include <QMainWindow>
#include <memory>
#include "netlearner.h"
2015-10-24 12:44:33 +00:00
namespace Ui {
class NeuroUI;
2015-10-24 12:44:33 +00:00
}
class NeuroUI : public QMainWindow
{
Q_OBJECT
private:
std::unique_ptr<NetLearner> m_netLearner;
2015-10-24 12:44:33 +00:00
public:
explicit NeuroUI(QWidget *parent = 0);
~NeuroUI();
private slots:
void on_runButton_clicked();
void logMessage(const QString &logMessage);
void netLearnerStarted();
void netLearnerFinished();
2015-10-25 08:51:09 +00:00
void progress(double progress);
2015-10-24 12:44:33 +00:00
private:
Ui::NeuroUI *ui;
};
#endif // NEUROUI_H