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

marble

  • Marble
  • MarbleControlBox
Public Slots | Signals | Public Member Functions | List of all members
Marble::MarbleControlBox Class Reference

#include <MarbleControlBox.h>

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

Public Slots

void selectTheme (const QString &)
 
void setCurrentLocationTabShown (bool show)
 
void setFileViewTabShown (bool show)
 
void setLegendTabShown (bool show)
 
void setMapViewTabShown (bool show)
 
void setNavigationTabShown (bool show)
 
void setRoutingTabShown (bool show)
 

Signals

void searchFinished ()
 
void showMapWizard ()
 
void showUploadDialog ()
 

Public Member Functions

 MarbleControlBox (QWidget *parent=0)
 
 ~MarbleControlBox ()
 
CurrentLocationWidget * currentLocationWidget ()
 
void search (const QString &searchTerm, SearchMode searchMode)
 
void setMarbleWidget (MarbleWidget *widget)
 
void setWorkOffline (bool offline)
 

Detailed Description

A widget class that contains advanced controls for a MarbleWidget.

This widget lets the user control an instance of MarbleWidget. The widget contains a ToolBox with 3 pages: a Navigation page with a search tool for cities and other names, a Legend page with a legend for the symbols on the map, and a Map View page with a choice of themes / datasets.

The Navigation page lets the user navigate around the globe by using buttons for panning and a slider for zooming. There is also a "Home" button that lets the user go back to a predefined point at the earth, not unlike the home page in a web browser. In addition there is a search tool that lets the user search for names of points of interest (cities, mountains, glaciers, etc).

The Legend page does not contain any controls, but displays a legend of the symbols that are displayed on the globe.

The Map View page gives the user a choice of different datasets to display, which can also be thought of as different visual themes. The default datasets are a standard Atlas view, a Night view, and a Satellite view.

See also
MarbleWidget
MarbleNavigator

Definition at line 72 of file MarbleControlBox.h.

Constructor & Destructor Documentation

Marble::MarbleControlBox::MarbleControlBox ( QWidget *  parent = 0)
explicit

Construct a new MarbleControlBox.

Parameters
parentthe parent widget

Definition at line 75 of file MarbleControlBox.cpp.

Marble::MarbleControlBox::~MarbleControlBox ( )

Definition at line 114 of file MarbleControlBox.cpp.

Member Function Documentation

CurrentLocationWidget * Marble::MarbleControlBox::currentLocationWidget ( )

Provides access to the current location widget for session restoring.

Definition at line 236 of file MarbleControlBox.cpp.

void Marble::MarbleControlBox::search ( const QString &  searchTerm,
SearchMode  searchMode 
)

Brings the navigation tab to the front and initiates a search for the given term.

Definition at line 241 of file MarbleControlBox.cpp.

void Marble::MarbleControlBox::searchFinished ( )
signal
void Marble::MarbleControlBox::selectTheme ( const QString &  theme)
slot

Definition at line 210 of file MarbleControlBox.cpp.

void Marble::MarbleControlBox::setCurrentLocationTabShown ( bool  show)
slot

Control whether the Current Location tab is shown.

Parameters
showboolean that controls if the Current Location tab is shown.

Definition at line 189 of file MarbleControlBox.cpp.

void Marble::MarbleControlBox::setFileViewTabShown ( bool  show)
slot

Control whether the File View tab is shown.

Parameters
showboolean that controls if the File View tab is shown.

Definition at line 183 of file MarbleControlBox.cpp.

void Marble::MarbleControlBox::setLegendTabShown ( bool  show)
slot

Control whether the Legend tab is shown.

Parameters
showboolean that controls if the Legend tab is shown.

Definition at line 171 of file MarbleControlBox.cpp.

void Marble::MarbleControlBox::setMapViewTabShown ( bool  show)
slot

Control whether the Map View tab is shown.

Parameters
showboolean that controls if the Map View tab is shown.

Definition at line 177 of file MarbleControlBox.cpp.

void Marble::MarbleControlBox::setMarbleWidget ( MarbleWidget *  widget)

Set the MarbleWidget to be controlled by this widget.

Parameters
widgetthe MarbleWidget to be controlled.

Sets a MarbleWidget so that it will be controlled by this widget. This call create all the connections of signals and slots that are necessary to have full control of the MarbleWidget, and thereby frees the programmer from doing it.

Definition at line 119 of file MarbleControlBox.cpp.

void Marble::MarbleControlBox::setNavigationTabShown ( bool  show)
slot

Control whether the Navigation tab is shown.

Parameters
showboolean that controls if the Navigation tab is shown.

Definition at line 165 of file MarbleControlBox.cpp.

void Marble::MarbleControlBox::setRoutingTabShown ( bool  show)
slot

Control whether the Routing tab is shown.

Parameters
showboolean that controls if the Routing tab is shown.

Definition at line 202 of file MarbleControlBox.cpp.

void Marble::MarbleControlBox::setWorkOffline ( bool  offline)

Toggle offline mode of download manager and runners.

Definition at line 228 of file MarbleControlBox.cpp.

void Marble::MarbleControlBox::showMapWizard ( )
signal
void Marble::MarbleControlBox::showUploadDialog ( )
signal

The documentation for this class was generated from the following files:
  • MarbleControlBox.h
  • MarbleControlBox.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