mirror of
https://github.com/FAUSheppy/speech-server-client-qt
synced 2025-12-06 00:41:35 +01:00
31 lines
497 B
C++
31 lines
497 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <QNetworkReply>
|
|
#include <QPushButton>
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = nullptr);
|
|
~MainWindow();
|
|
|
|
private slots:
|
|
void importFile();
|
|
void fileSubmissionFinished(QNetworkReply*);
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
QPushButton *button;
|
|
void submitFile(QString filename);
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|