mirror of
https://github.com/FAUSheppy/speech-server-client-qt
synced 2025-12-06 00:41:35 +01:00
Implement basic functionality
This commit is contained in:
15
mainwindow.h
15
mainwindow.h
@@ -4,6 +4,7 @@
|
||||
#include <QMainWindow>
|
||||
#include <QNetworkReply>
|
||||
#include <QPushButton>
|
||||
#include <QTableWidget>
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
@@ -19,12 +20,22 @@ public:
|
||||
|
||||
private slots:
|
||||
void importFile();
|
||||
void fileSubmissionFinished(QNetworkReply*);
|
||||
|
||||
void requestFinished(QNetworkReply*);
|
||||
void queryStatusAll();
|
||||
void openContainingDir();
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
QTableWidget *tw;
|
||||
QPushButton *button;
|
||||
QByteArray authHeaderData;
|
||||
QNetworkAccessManager *networkManager;
|
||||
void submitFile(QString filename);
|
||||
void setAuthHeader(const QString username, const QString password);
|
||||
void updateList(QNetworkReply *reply);
|
||||
void addTrackingToList(QNetworkReply *reply);
|
||||
void showNotification(QString str);
|
||||
void queryTransscript(QString trackingId);
|
||||
void saveTranscript(QNetworkReply *reply);
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
Reference in New Issue
Block a user