dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
mapripper.h
Go to the documentation of this file.
1
13
/*
14
* This program is free software; you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation; either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* This program is distributed in the hope that it will be useful, but
20
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22
* for more details.
23
*
24
* You should have received a copy of the GNU General Public License along
25
* with this program; if not, see <http://www.gnu.org/licenses/>
26
*/
27
#ifndef MAPRIPPER_H
28
#define MAPRIPPER_H
29
30
#include <QThread>
31
#include "../internals/core.h"
32
#include "
mapripform.h
"
33
#include <QObject>
34
#include <QMessageBox>
35
#include "../core/corecommon.h"
36
37
namespace
mapcontrol
38
{
39
class
TLMAPWIDGET_EXPORT
MapRipper
:
public
QThread
40
{
41
Q_OBJECT
42
public
:
43
MapRipper
(
internals::Core
*,
internals::RectLatLng
const
&);
44
void
run();
45
private
:
46
QList<core::Point>
points;
47
int
zoom;
48
core::MapType::Types type;
49
int
sleep;
50
internals::RectLatLng
area;
51
bool
cancel;
52
MapRipForm
* progressForm;
53
int
maxzoom;
54
internals::Core
* core;
55
bool
yesToAll;
56
QMutex mutex;
57
58
signals:
59
void
percentageChanged(
int
const
& perc);
60
void
numberOfTilesChanged(
int
const
& total,
int
const
& actual);
61
void
providerChanged(QString
const
& prov,
int
const
& zoom);
62
63
64
public
slots:
65
void
stopFetching();
66
void
finish();
67
};
68
}
69
#endif // MAPRIPPER_H
MapRipForm
Definition:
mapripform.h:36
internals::RectLatLng
Definition:
rectlatlng.h:37
mapripform.h
Form to be used with the MapRipper class.
internals::Core
Definition:
core.h:69
QList< core::Point >
mapcontrol::MapRipper
Definition:
mapripper.h:39
ground
gcs
src
libs
tlmapcontrol
mapwidget
mapripper.h
Generated by
1.8.6