KDE 4.9 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

GeoGraphicsScene Class Reference

from PyKDE4.marble import *

Inherits: QObject
Namespace: Marble

Detailed Description

This is the home of all GeoGraphicsItems to be shown on the map.


Methods

 __init__ (self, QObject parent=0)
 addItem (self, Marble.GeoGraphicsItem item)
 clear (self)
 eraseAll (self)
[Marble.GeoGraphicsItem] items (self, Marble.GeoDataLatLonAltBox box, int maxZoomLevel)
 removeItem (self, Marble.GeoGraphicsItem item)

Method Documentation

__init__ (  self,
QObject  parent=0
)

Creates a new instance of GeoGraphicsScene

Parameters:
parent  the QObject parent of the Scene

addItem (  self,
Marble.GeoGraphicsItem  item
)

Add an item to the GeoGraphicsScene Adds the item item to the GeoGraphicsScene

clear (   self )

Remove all items from the GeoGraphicsScene Removes all items from the GeoGraphicsScene

eraseAll (   self )

Get all items in the GeoGraphicsScene Returns all items in the GeoGraphicsScene. The items will be returned in no specific order.

Returns:
The list of all GeoGraphicsItems

[Marble.GeoGraphicsItem] items (  self,
Marble.GeoDataLatLonAltBox  box,
int  maxZoomLevel
)

Get the list of items in the specified Box

Parameters:
box  The box around the items.
maxZoomLevel  The max zoom level of tiling

Returns:
The list of items in the specified box in no specific order.

removeItem (  self,
Marble.GeoGraphicsItem  item
)

Remove an item from the GeoGraphicsScene Removes the item item from the GeoGraphicsScene

  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal