Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MAPSCANNER_H
- #define MAPSCANNER_H
- #include <QtWidgets>
- #include <QtWebEngineWidgets/QtWebEngineWidgets>
- #include <QWebEngineView>
- #include <QPixmap>
- #include <QtNetwork/QNetworkAccessManager>
- #include <QNetworkReply>
- #include <QTimer>
- #include <QPair>
- #include <QtCore>
- #include "ui_mapscanner.h"
- class MapScanner : public QDialog
- {
- Q_OBJECT
- public:
- MapScanner(QWidget *parent = 0);
- ~MapScanner();
- protected:
- QWebEngineView *m_View;
- QPixmap *m_Image;
- QPixmap m_renderPixmap;
- QTimer *m_Timer;
- void Work();//что - то
- void SaveImages();//рендерим и сохраняем
- void LoadMaps();
- double LeftStep(double, double);//идем влево
- double RightStep(double, double);//идем вправо
- double DownStep(double, double, double);//идём вниз
- void DownloadMap();//загружаем карту
- int CountI(double,double);//считаем количество снимков по ширине
- int CountJ(double, double,double);//считаем количество снимков по высоте
- private:
- Ui::MapScannerClass ui;
- };
- #endif // MAPSCANNER_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement