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

marble

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

#include <RoutingWidget.h>

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

Public Slots

void addInputWidget ()
 
void openCloudRoutesDialog ()
 
void openRoute ()
 
void saveRoute ()
 
void uploadToCloud ()
 

Public Member Functions

 RoutingWidget (MarbleWidget *marbleWidget, QWidget *parent)
 
 ~RoutingWidget ()
 
void setRouteSyncManager (RouteSyncManager *manager)
 
void setShowDirectionsButtonVisible (bool visible)
 

Protected Member Functions

bool eventFilter (QObject *o, QEvent *e)
 
void resizeEvent (QResizeEvent *e)
 

Detailed Description

A widget consisting of input fields for places / routing destinations, a list view showing routing instructions and a interactive paint layer showing placemarks and the route.

Definition at line 35 of file RoutingWidget.h.

Constructor & Destructor Documentation

Marble::RoutingWidget::RoutingWidget ( MarbleWidget *  marbleWidget,
QWidget *  parent 
)
explicit

Constructor.

Parameters
marbleWidgetThe marble widget used to register an event handler on. Must not be null.
parentOptional parent widget

Definition at line 280 of file RoutingWidget.cpp.

Marble::RoutingWidget::~RoutingWidget ( )

Destructor.

Definition at line 359 of file RoutingWidget.cpp.

Member Function Documentation

void Marble::RoutingWidget::addInputWidget ( )
slot

Add another input field at the end.

Definition at line 468 of file RoutingWidget.cpp.

bool Marble::RoutingWidget::eventFilter ( QObject *  o,
QEvent *  e 
)
protected

Definition at line 759 of file RoutingWidget.cpp.

void Marble::RoutingWidget::openCloudRoutesDialog ( )
slot

Open cloud routes dialog.

Definition at line 705 of file RoutingWidget.cpp.

void Marble::RoutingWidget::openRoute ( )
slot

Ask the user for a kml file to open.

Definition at line 638 of file RoutingWidget.cpp.

void Marble::RoutingWidget::resizeEvent ( QResizeEvent *  e)
protected

Definition at line 803 of file RoutingWidget.cpp.

void Marble::RoutingWidget::saveRoute ( )
slot

Ask the user for a kml file to save the current route to.

Definition at line 670 of file RoutingWidget.cpp.

void Marble::RoutingWidget::setRouteSyncManager ( RouteSyncManager *  manager)

Definition at line 630 of file RoutingWidget.cpp.

void Marble::RoutingWidget::setShowDirectionsButtonVisible ( bool  visible)

Show or hide the "open file..." button.

Default is false (not visible)

Definition at line 625 of file RoutingWidget.cpp.

void Marble::RoutingWidget::uploadToCloud ( )
slot

Upload route to the cloud.

Definition at line 687 of file RoutingWidget.cpp.


The documentation for this class was generated from the following files:
  • RoutingWidget.h
  • RoutingWidget.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:57 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