• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • plugins
  • render
  • panoramio
PanoramioWidget.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2009 Bastian Holst <bastianholst@gmx.de>
9 //
10 
11 #ifndef PANORAMIOWIDGET_H
12 #define PANORAMIOWIDGET_H
13 
14 #include "AbstractDataPluginWidget.h"
15 
16 #include <QDate>
17 #include <QPixmap>
18 
19 namespace Marble
20 {
21 
22 const QString standardImageSize = "mini_square";
23 
24 class PanoramioWidget : public AbstractDataPluginWidget
25 {
26  public:
27  explicit PanoramioWidget( QObject *parent );
28 
29  QString widgetType() const;
30 
31  bool initialized();
32 
33  void addDownloadedFile( QString url, QString type );
34 
35  QDate uploadDate() const;
36 
37  void setUploadDate( QDate uploadDate );
38 
39  bool render( GeoPainter *painter, ViewportParams *viewport,
40  const QString& renderPos, GeoSceneLayer * layer = 0 );
41 
42  bool operator<( const AbstractDataPluginWidget *other ) const;
43  private:
44  QImage smallImage;
45  QDate m_uploadDate;
46 };
47 
48 }
49 
50 #endif // PANORAMIOWIDGET_H
Marble::PanoramioWidget::setUploadDate
void setUploadDate(QDate uploadDate)
Definition: PanoramioWidget.cpp:59
Marble::GeoPainter
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
Marble::PanoramioWidget::initialized
bool initialized()
Definition: PanoramioWidget.cpp:32
Marble::standardImageSize
const QString standardImageSize
Definition: PanoramioWidget.h:22
AbstractDataPluginWidget
QObject
Marble::PanoramioWidget::uploadDate
QDate uploadDate() const
Definition: PanoramioWidget.cpp:54
Marble::GeoSceneLayer
Layer of a GeoScene document.
Definition: GeoSceneLayer.h:43
Marble::ViewportParams
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
Marble::PanoramioWidget::widgetType
QString widgetType() const
Definition: PanoramioWidget.cpp:27
Marble::PanoramioWidget
Definition: PanoramioWidget.h:24
Marble::PanoramioWidget::PanoramioWidget
PanoramioWidget(QObject *parent)
Definition: PanoramioWidget.cpp:22
Marble::PanoramioWidget::operator<
bool operator<(const AbstractDataPluginWidget *other) const
Definition: PanoramioWidget.cpp:64
Marble::PanoramioWidget::addDownloadedFile
void addDownloadedFile(QString url, QString type)
Definition: PanoramioWidget.cpp:37
Marble::PanoramioWidget::render
bool render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos, GeoSceneLayer *layer=0)
Definition: PanoramioWidget.cpp:74
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal