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

marble

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

#include <ElevationProfileFloatItem.h>

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

Signals

void dataUpdated ()
 
- Signals inherited from Marble::RenderPlugin
void actionGroupsChanged ()
 
void enabledChanged (bool enable)
 
void repaintNeeded (QRegion dirtyRegion=QRegion())
 
void settingsChanged (QString nameId)
 
void userCheckableChanged (bool isUserCheckable)
 
void visibilityChanged (bool visible, const QString &nameId)
 

Public Member Functions

 ElevationProfileFloatItem (const MarbleModel *marbleModel=0)
 
 ~ElevationProfileFloatItem ()
 
virtual QStringList backendTypes () const
 
QDialog * configDialog ()
 
virtual QString copyrightYears () const
 
virtual QString description () const
 
virtual QString guiString () const
 
virtual QIcon icon () const
 
virtual void initialize ()
 
virtual bool isInitialized () const
 
virtual QString name () const
 
virtual QString nameId () const
 
virtual void paintContent (QPainter *painter)
 
virtual QList< PluginAuthor > pluginAuthors () const
 
virtual void setProjection (const ViewportParams *viewport)
 
virtual QString version () const
 
virtual qreal zValue () const
 
- Public Member Functions inherited from Marble::AbstractFloatItem
 AbstractFloatItem (const MarbleModel *marbleModel, const QPointF &point=QPointF(10.0, 10.0), const QSizeF &size=QSizeF(150.0, 50.0))
 
virtual ~AbstractFloatItem ()
 
QFont font () const
 
QPen pen () const
 
bool positionLocked () const
 
bool render (GeoPainter *painter, ViewportParams *viewport, const QString &renderPos="FLOAT_ITEM", GeoSceneLayer *layer=0)
 
virtual QString renderPolicy () const
 
virtual QStringList renderPosition () const
 
virtual RenderType renderType () const
 
void setFont (const QFont &font)
 
void setPen (const QPen &pen)
 
virtual void setSettings (const QHash< QString, QVariant > &settings)
 
virtual QHash< QString, QVariant > settings () const
 
void setVisible (bool visible)
 
bool visible () const
 
- Public Member Functions inherited from Marble::RenderPlugin
 RenderPlugin (const MarbleModel *marbleModel)
 
virtual ~RenderPlugin ()
 
virtual const QList
< QActionGroup * > * 
actionGroups () const
 
bool enabled () const
 
bool isUserCheckable () const
 
const MarbleModel * marbleModel () const
 
virtual RenderPlugin * newInstance (const MarbleModel *marbleModel) const =0
 
RenderState renderState () const
 
virtual QString runtimeTrace () const
 
virtual const QList
< QActionGroup * > * 
toolbarActionGroups () const
 
bool visible () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 
- Public Member Functions inherited from Marble::RenderPluginInterface
virtual ~RenderPluginInterface ()
 
- Public Member Functions inherited from Marble::PluginInterface
virtual ~PluginInterface ()
 
virtual QString aboutDataText () const
 
- Public Member Functions inherited from Marble::LayerInterface
virtual ~LayerInterface ()
 
- Public Member Functions inherited from Marble::FrameGraphicsItem
 FrameGraphicsItem (MarbleGraphicsItem *parent=0)
 
virtual ~FrameGraphicsItem ()
 
QBrush background () const
 
QBrush borderBrush () const
 
Qt::PenStyle borderStyle () const
 
qreal borderWidth () const
 
QRectF contentRect () const
 
QSizeF contentSize () const
 
FrameType frame () const
 
qreal margin () const
 
qreal marginBottom () const
 
qreal marginLeft () const
 
qreal marginRight () const
 
qreal marginTop () const
 
qreal padding () const
 
QRectF paintedRect () const
 
void setBackground (const QBrush &background)
 
void setBorderBrush (const QBrush &brush)
 
void setBorderStyle (Qt::PenStyle style)
 
void setBorderWidth (qreal width)
 
void setContentSize (const QSizeF &size)
 
void setFrame (FrameType type)
 
void setMargin (qreal margin)
 
void setMarginBottom (qreal marginBottom)
 
void setMarginLeft (qreal marginLeft)
 
void setMarginRight (qreal marginRight)
 
void setMarginTop (qreal marginTop)
 
void setPadding (qreal width)
 
- 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
 
void hide ()
 
AbstractMarbleGraphicsLayout * layout () const
 
bool paintEvent (QPainter *painter, const ViewportParams *viewport)
 
void setCacheMode (CacheMode mode)
 
void setLayout (AbstractMarbleGraphicsLayout *layout)
 
void setSize (const QSizeF &size)
 
void setVisible (bool visible)
 
void show ()
 
QSizeF size () const
 
bool visible () const
 
- Public Member Functions inherited from Marble::DialogConfigurationInterface
virtual ~DialogConfigurationInterface ()
 

Protected Member Functions

virtual void contextMenuEvent (QWidget *w, QContextMenuEvent *e)
 
bool eventFilter (QObject *object, QEvent *e)
 
- Protected Member Functions inherited from Marble::AbstractFloatItem
QMenu * contextMenu ()
 
virtual void toolTipEvent (QHelpEvent *e)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Protected Member Functions inherited from Marble::FrameGraphicsItem
virtual QPainterPath backgroundShape () const
 
virtual void paint (QPainter *painter)
 
virtual void paintBackground (QPainter *painter)
 
- Protected Member Functions inherited from Marble::ScreenGraphicsItem
 ScreenGraphicsItem (ScreenGraphicsItemPrivate *d_ptr)
 
- Protected Member Functions inherited from Marble::MarbleGraphicsItem
 MarbleGraphicsItem (MarbleGraphicsItemPrivate *d_ptr)
 
void update ()
 

Additional Inherited Members

- Public Types inherited from Marble::RenderPlugin
enum  RenderType {
  UnknownRenderType, TopLevelRenderType, PanelRenderType, OnlineRenderType,
  ThemeRenderType
}
 
- Public Types inherited from Marble::FrameGraphicsItem
enum  FrameType { NoFrame, RectFrame, RoundedRectFrame, ShadowFrame }
 
- Public Types inherited from Marble::ScreenGraphicsItem
enum  GraphicsItemFlag { ItemIsMovable = 0x1, ItemIsHideable = 0x2 }
 
- Public Types inherited from Marble::MarbleGraphicsItem
enum  CacheMode { NoCache, ItemCoordinateCache, DeviceCoordinateCache }
 
- Public Slots inherited from Marble::AbstractFloatItem
void hide ()
 
void setPositionLocked (bool lock)
 
void show ()
 
- Public Slots inherited from Marble::RenderPlugin
QAction * action () const
 
void restoreDefaultSettings ()
 
void setEnabled (bool enabled)
 
bool setSetting (const QString &key, const QVariant &value)
 
QVariant setting (const QString &key) const
 
QStringList settingKeys () const
 
void setUserCheckable (bool isUserCheckable)
 
void setVisible (bool visible)
 
- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Protected Attributes inherited from Marble::MarbleGraphicsItem
MarbleGraphicsItemPrivate *const d
 
- Properties inherited from Marble::RenderPlugin
QString description
 
bool enabled
 
QString name
 
QString nameId
 
bool userCheckable
 
QString version
 
bool visible
 
- Properties inherited from QObject
 objectName
 

Detailed Description

The class that creates an interactive elvation profile.

Definition at line 43 of file ElevationProfileFloatItem.h.

Constructor & Destructor Documentation

Marble::ElevationProfileFloatItem::ElevationProfileFloatItem ( const MarbleModel *  marbleModel = 0)
explicit

Definition at line 38 of file ElevationProfileFloatItem.cpp.

Marble::ElevationProfileFloatItem::~ElevationProfileFloatItem ( )

Definition at line 77 of file ElevationProfileFloatItem.cpp.

Member Function Documentation

QStringList Marble::ElevationProfileFloatItem::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::RenderPluginInterface.

Definition at line 81 of file ElevationProfileFloatItem.cpp.

QDialog * Marble::ElevationProfileFloatItem::configDialog ( )
virtual

Returns a pointer to the configuration dialog of the plugin.

Returns
: Pointer to the configuration dialog, which must be non-zero.

Implements Marble::DialogConfigurationInterface.

Definition at line 383 of file ElevationProfileFloatItem.cpp.

void Marble::ElevationProfileFloatItem::contextMenuEvent ( QWidget *  w,
QContextMenuEvent *  e 
)
protectedvirtual

Reimplemented from Marble::AbstractFloatItem.

Definition at line 401 of file ElevationProfileFloatItem.cpp.

QString Marble::ElevationProfileFloatItem::copyrightYears ( ) const
virtual

Implements Marble::PluginInterface.

Definition at line 116 of file ElevationProfileFloatItem.cpp.

void Marble::ElevationProfileFloatItem::dataUpdated ( )
signal
QString Marble::ElevationProfileFloatItem::description ( ) const
virtual

Returns a user description of the plugin.

Implements Marble::PluginInterface.

Definition at line 111 of file ElevationProfileFloatItem.cpp.

bool Marble::ElevationProfileFloatItem::eventFilter ( QObject *  object,
QEvent *  e 
)
protectedvirtual

Reimplemented from Marble::AbstractFloatItem.

Definition at line 423 of file ElevationProfileFloatItem.cpp.

QString Marble::ElevationProfileFloatItem::guiString ( ) const
virtual

String that should be displayed in GUI.

Using a "&" you can suggest key shortcuts

Example: "&Stars"

Returns
string for gui usage

Implements Marble::RenderPlugin.

Definition at line 96 of file ElevationProfileFloatItem.cpp.

QIcon Marble::ElevationProfileFloatItem::icon ( ) const
virtual

Returns an icon for the plugin.

Implements Marble::PluginInterface.

Definition at line 128 of file ElevationProfileFloatItem.cpp.

void Marble::ElevationProfileFloatItem::initialize ( )
virtual

Implements Marble::RenderPluginInterface.

Definition at line 133 of file ElevationProfileFloatItem.cpp.

bool Marble::ElevationProfileFloatItem::isInitialized ( ) const
virtual

Implements Marble::RenderPluginInterface.

Definition at line 149 of file ElevationProfileFloatItem.cpp.

QString Marble::ElevationProfileFloatItem::name ( ) const
virtual

Returns the user-visible name of the plugin.

The user-visible name should be context free, i.e. the name should provide enough information as to what the plugin is about in the context of Marble.

Example: "Starry Sky Background", "OpenRouteService Routing"

Implements Marble::PluginInterface.

Definition at line 91 of file ElevationProfileFloatItem.cpp.

QString Marble::ElevationProfileFloatItem::nameId ( ) const
virtual

Returns the unique name of the plugin.

Examples: "starrysky", "openrouteservice"

Implements Marble::PluginInterface.

Definition at line 101 of file ElevationProfileFloatItem.cpp.

void Marble::ElevationProfileFloatItem::paintContent ( QPainter *  painter)
virtual

Here the items paint their content.

Reimplemented from Marble::FrameGraphicsItem.

Definition at line 178 of file ElevationProfileFloatItem.cpp.

QList< PluginAuthor > Marble::ElevationProfileFloatItem::pluginAuthors ( ) const
virtual

Implements Marble::PluginInterface.

Definition at line 121 of file ElevationProfileFloatItem.cpp.

void Marble::ElevationProfileFloatItem::setProjection ( const ViewportParams *  viewport)
virtual

Reimplemented from Marble::MarbleGraphicsItem.

Definition at line 154 of file ElevationProfileFloatItem.cpp.

QString Marble::ElevationProfileFloatItem::version ( ) const
virtual

Implements Marble::PluginInterface.

Definition at line 106 of file ElevationProfileFloatItem.cpp.

qreal Marble::ElevationProfileFloatItem::zValue ( ) const
virtual

Returns the z value of the layer (default: 0.0).

If two layers are painted at the same render position, the one with the higher z value is painted on top. If both have the same z value, their paint order is undefined.

Reimplemented from Marble::LayerInterface.

Definition at line 86 of file ElevationProfileFloatItem.cpp.


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