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

marble

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

#include <GoToDialog.h>

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

Public Member Functions

 GoToDialog (MarbleModel *marbleModel, QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~GoToDialog ()
 
GeoDataCoordinates coordinates () const
 
void setSearchEnabled (bool enabled)
 
void setShowRoutingItems (bool show)
 

Detailed Description

A dialog that provides a list of targets to go to: The current location, route start, destination and via points and bookmarks.

Clicking on a target centers the map on the selected position

Definition at line 33 of file GoToDialog.h.

Constructor & Destructor Documentation

Marble::GoToDialog::GoToDialog ( MarbleModel *  marbleModel,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
explicit

Definition at line 349 of file GoToDialog.cpp.

Marble::GoToDialog::~GoToDialog ( )

Definition at line 386 of file GoToDialog.cpp.

Member Function Documentation

GeoDataCoordinates Marble::GoToDialog::coordinates ( ) const

Returns the position of the item selected by the user, or a default constructed GeoDataLookAt if the dialog was cancelled by the user.

Definition at line 391 of file GoToDialog.cpp.

void Marble::GoToDialog::setSearchEnabled ( bool  enabled)

Toggle whether the dialog can be used to search for placemarks.

Definition at line 401 of file GoToDialog.cpp.

void Marble::GoToDialog::setShowRoutingItems ( bool  show)

Toggle whether routing items (source, destination and via points) are visible.

Definition at line 396 of file GoToDialog.cpp.


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