text: #ifndef MAINWINDOW_H
  #define MAINWINDOW_H
  
  #include <QMainWindow>
  #include <QtNetwork/QNetworkAccessManager>
  #include <QFile>
  
  namespace Ui {
  class MainWindow;
  }
  
  class MainWindow : public QMainWindow
  {
      Q_OBJECT
  
  public:
      explicit MainWindow(QWidget *parent = 0);
      ~MainWindow();
  
  private:
      Ui::MainWindow *ui;
      QNetworkAccessManager *manager=nullptr;
      QByteArray ba;
  
  public slots:
      void test_get();
      void test_upload_file();
  };
  
  #endif // MAINWINDOW_H
  