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

marble/src

Marble::NavigationFloatItem

Marble::NavigationFloatItem Class Reference

Provides a float item with zoom and move controls. More...

#include <NavigationFloatItem.h>

Inheritance diagram for Marble::NavigationFloatItem:

Inheritance graph
[legend]

List of all members.


Public Member Functions

QStringList backendTypes () const
QString description () const
QString guiString () const
QIcon icon () const
void initialize ()
bool isInitialized () const
QString name () const
QString nameId () const
 NavigationFloatItem (const QPointF &point=QPointF(-10,-10), const QSizeF &size=QSizeF(100.0, 250.0))
bool needsUpdate (ViewportParams *viewport)
bool renderFloatItem (GeoPainter *painter, ViewportParams *viewport, GeoSceneLayer *layer=0)
 ~NavigationFloatItem ()

Protected Member Functions

bool eventFilter (QObject *object, QEvent *e)

Detailed Description

Provides a float item with zoom and move controls.

Definition at line 32 of file NavigationFloatItem.h.


Constructor & Destructor Documentation

NavigationFloatItem::NavigationFloatItem ( const QPointF &  point = QPointF( -10, -10 ),
const QSizeF &  size = QSizeF( 100.0, 250.0 ) 
) [explicit]

Definition at line 26 of file NavigationFloatItem.cpp.

NavigationFloatItem::~NavigationFloatItem (  ) 

Definition at line 35 of file NavigationFloatItem.cpp.


Member Function Documentation

QStringList NavigationFloatItem::backendTypes (  )  const [virtual]

Returns the name(s) of the backend that the plugin can render This method should return the name of the backend that the plugin can render.

The string has to be the same one that is given for the attribute in the layer element of the DGML file that backend is able to process. Examples to replace available default backends would be "vector" or "texture". To provide a completely new kind of functionality please choose your own unique string.

Implements Marble::MarbleRenderPluginInterface.

Definition at line 39 of file NavigationFloatItem.cpp.

QString NavigationFloatItem::description (  )  const [virtual]

Returns a user description of the plugin.

Implements Marble::MarbleRenderPluginInterface.

Definition at line 59 of file NavigationFloatItem.cpp.

bool NavigationFloatItem::eventFilter ( QObject *  object,
QEvent *  e 
) [protected]

Reimplemented from Marble::MarbleAbstractFloatItem.

Definition at line 119 of file NavigationFloatItem.cpp.

QString NavigationFloatItem::guiString (  )  const [virtual]

Returns the string that should appear in the UI / in the menu.

Using a "&" you can suggest key shortcuts

Example: "&Stars"

Implements Marble::MarbleRenderPluginInterface.

Definition at line 49 of file NavigationFloatItem.cpp.

QIcon NavigationFloatItem::icon (  )  const [virtual]

Returns an icon for the plugin.

Implements Marble::MarbleRenderPluginInterface.

Definition at line 64 of file NavigationFloatItem.cpp.

void NavigationFloatItem::initialize (  )  [virtual]

Implements Marble::MarbleRenderPluginInterface.

Definition at line 69 of file NavigationFloatItem.cpp.

bool NavigationFloatItem::isInitialized (  )  const [virtual]

Implements Marble::MarbleRenderPluginInterface.

Definition at line 85 of file NavigationFloatItem.cpp.

QString NavigationFloatItem::name (  )  const [virtual]

Returns the "real name" of the backend.

Example: "Starry Sky Plugin"

Implements Marble::MarbleRenderPluginInterface.

Definition at line 44 of file NavigationFloatItem.cpp.

QString NavigationFloatItem::nameId (  )  const [virtual]

Returns the name ID of the backend.

Example: "starrysky"

Implements Marble::MarbleRenderPluginInterface.

Definition at line 54 of file NavigationFloatItem.cpp.

bool NavigationFloatItem::needsUpdate ( ViewportParams *  viewport  )  [virtual]

Reimplemented from Marble::MarbleAbstractFloatItem.

Definition at line 90 of file NavigationFloatItem.cpp.

bool NavigationFloatItem::renderFloatItem ( GeoPainter *  painter,
ViewportParams *  viewport,
GeoSceneLayer *  layer = 0 
) [virtual]

Reimplemented from Marble::MarbleAbstractFloatItem.

Definition at line 107 of file NavigationFloatItem.cpp.


The documentation for this class was generated from the following files:
  • NavigationFloatItem.h
  • NavigationFloatItem.cpp

marble/src

Skip menu "marble/src"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal