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

marble

  • Marble
  • ScreenOverlayGraphicsItem
Public Member Functions | Protected Member Functions | List of all members
Marble::ScreenOverlayGraphicsItem Class Reference

#include <ScreenOverlayGraphicsItem.h>

Inheritance diagram for Marble::ScreenOverlayGraphicsItem:
Inheritance graph
[legend]

Public Member Functions

 ScreenOverlayGraphicsItem (const GeoDataScreenOverlay *screenOverlay)
 
const GeoDataScreenOverlay * screenOverlay () const
 
void setProjection (const ViewportParams *viewport)
 
- Public Member Functions inherited from Marble::ScreenGraphicsItem
 ScreenGraphicsItem (MarbleGraphicsItem *parent=0)
 
virtual ~ScreenGraphicsItem ()
 
QList< QPointF > absolutePositions () const
 
GraphicsItemFlags flags () const
 
QPointF position () const
 
QPointF positivePosition () const
 
void setFlags (GraphicsItemFlags flags)
 
void setPosition (const QPointF &position)
 
- Public Member Functions inherited from Marble::MarbleGraphicsItem
virtual ~MarbleGraphicsItem ()
 
CacheMode cacheMode () const
 
bool contains (const QPointF &point) const
 
virtual QRectF contentRect () const
 
virtual QSizeF contentSize () const
 
void hide ()
 
AbstractMarbleGraphicsLayout * layout () const
 
bool paintEvent (QPainter *painter, const ViewportParams *viewport)
 
void setCacheMode (CacheMode mode)
 
virtual void setContentSize (const QSizeF &size)
 
void setLayout (AbstractMarbleGraphicsLayout *layout)
 
void setSize (const QSizeF &size)
 
void setVisible (bool visible)
 
void show ()
 
QSizeF size () const
 
bool visible () const
 

Protected Member Functions

virtual void paint (QPainter *painter)
 
- Protected Member Functions inherited from Marble::ScreenGraphicsItem
 ScreenGraphicsItem (ScreenGraphicsItemPrivate *d_ptr)
 
virtual bool eventFilter (QObject *, QEvent *)
 
- Protected Member Functions inherited from Marble::MarbleGraphicsItem
 MarbleGraphicsItem (MarbleGraphicsItemPrivate *d_ptr)
 
void update ()
 

Additional Inherited Members

- Public Types inherited from Marble::ScreenGraphicsItem
enum  GraphicsItemFlag { ItemIsMovable = 0x1, ItemIsHideable = 0x2 }
 
- Public Types inherited from Marble::MarbleGraphicsItem
enum  CacheMode { NoCache, ItemCoordinateCache, DeviceCoordinateCache }
 
- Protected Attributes inherited from Marble::MarbleGraphicsItem
MarbleGraphicsItemPrivate *const d
 

Detailed Description

Definition at line 25 of file ScreenOverlayGraphicsItem.h.

Constructor & Destructor Documentation

Marble::ScreenOverlayGraphicsItem::ScreenOverlayGraphicsItem ( const GeoDataScreenOverlay *  screenOverlay)
explicit
Todo:
: take the possible size values into account according to kml spec

Definition at line 18 of file ScreenOverlayGraphicsItem.cpp.

Member Function Documentation

void Marble::ScreenOverlayGraphicsItem::paint ( QPainter *  painter)
protectedvirtual

Paints the item in item coordinates.

This has to be reimplemented by the subclass This function will be called by paintEvent().

Reimplemented from Marble::MarbleGraphicsItem.

Definition at line 66 of file ScreenOverlayGraphicsItem.cpp.

const GeoDataScreenOverlay * Marble::ScreenOverlayGraphicsItem::screenOverlay ( ) const

Definition at line 29 of file ScreenOverlayGraphicsItem.cpp.

void Marble::ScreenOverlayGraphicsItem::setProjection ( const ViewportParams *  viewport)
virtual
Todo:
: take overlayXY into account

Reimplemented from Marble::MarbleGraphicsItem.

Definition at line 34 of file ScreenOverlayGraphicsItem.cpp.


The documentation for this class was generated from the following files:
  • ScreenOverlayGraphicsItem.h
  • ScreenOverlayGraphicsItem.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 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
  • 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