marble
tour-preview.cpp
Go to the documentation of this file.
122 QImage screenshot = QPixmap::grabWidget( mapWidget ).toImage().convertToFormat( QImage::Format_RGB888 );
QImage convertToFormat(Format format, QFlags< Qt::ImageConversionFlag > flags) const
void addPrimitive(GeoDataTourPrimitive *primitive)
Definition: GeoDataPlaylist.cpp:103
void setAltitude(const qreal altitude)
set the altitude of the Point in meters
Definition: GeoDataCoordinates.cpp:1191
This file contains the headers for MarbleModel.
qreal distanceSphere(qreal lon1, qreal lat1, qreal lon2, qreal lat2)
This method calculates the shortest distance between two points on a sphere.
Definition: MarbleMath.h:52
void animatedFlight(MarbleWidget *mapWidget, GeoDataTour *tour)
Definition: tour-preview.cpp:102
Definition: GeoDataTour.h:25
int size() const
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
RoutingModel * routingModel()
Provides access to the routing model which contains a list of routing instructions describing steps t...
Definition: RoutingManager.cpp:261
void resize(int w, int h)
void setRange(qreal range)
Change the distance (in meters) between the camera and the object looked at.
Definition: GeoDataLookAt.cpp:114
Definition: GeoDataFlyTo.h:23
void loadRoute(const QString &filename)
Opens the given filename (kml format) and loads the route contained in it.
Definition: RoutingManager.cpp:337
Definition: GeoDataPlaylist.h:22
Definition: TourPlayback.h:28
void setPlaylist(GeoDataPlaylist *playlist)
Definition: GeoDataTour.cpp:74
Definition: GeoDataFlyTo.h:28
A LineString that allows to store a contiguous set of line segments.
Definition: GeoDataLineString.h:75
GeoDataCoordinates & at(int pos)
Returns a reference to the coordinates of a node at a given position. This method detaches the return...
Definition: GeoDataLineString.cpp:143
void setView(GeoDataAbstractView *view)
Definition: GeoDataFlyTo.cpp:120
qreal longitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the longitude of the GeoDataCoordinates object use the unit parameter to switch between Rad...
Definition: GeoDataCoordinates.cpp:739
void centerOn(const qreal lon, const qreal lat, bool animated=false)
Center the view on a geographical point.
Definition: MarbleWidget.cpp:549
void setMarbleWidget(MarbleWidget *widget)
Definition: TourPlayback.cpp:110
Definition: GeoDataLookAt.h:23
void setLongitude(qreal lon, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian)
set the longitude in a GeoDataCoordinates object
Definition: GeoDataCoordinates.cpp:679
QPixmap grabWidget(QWidget *widget, const QRect &rectangle)
uchar * bits()
This file contains the headers for MarbleWidget.
Definition: Route.h:20
void setDistance(qreal distance)
Set the distance of the observer to the globe in km.
Definition: MarbleWidget.cpp:1076
void setFlyToMode(const FlyToMode flyToMode)
Definition: GeoDataFlyTo.cpp:140
QImage toImage() const
QStringList arguments()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
The abstract class that creates a renderable item.
Definition: RenderPlugin.h:43
QList< RenderPlugin * > renderPlugins() const
Returns a list of all RenderPlugins on the widget, this includes float items.
Definition: MarbleWidget.cpp:1107
applicationName
void setCoordinates(const GeoDataCoordinates &coordinates)
set the GeoDataCoordinates object
Definition: GeoDataLookAt.cpp:66
void msleep(unsigned long msecs)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.