marble
#include <MarbleControlBox.h>

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
|
explicit |
Construct a new MarbleControlBox.
- Parameters
-
parent the 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.
|
signal |
|
slot |
Definition at line 210 of file MarbleControlBox.cpp.
|
slot |
Control whether the Current Location tab is shown.
- Parameters
-
show boolean that controls if the Current Location tab is shown.
Definition at line 189 of file MarbleControlBox.cpp.
|
slot |
Control whether the File View tab is shown.
- Parameters
-
show boolean that controls if the File View tab is shown.
Definition at line 183 of file MarbleControlBox.cpp.
|
slot |
Control whether the Legend tab is shown.
- Parameters
-
show boolean that controls if the Legend tab is shown.
Definition at line 171 of file MarbleControlBox.cpp.
|
slot |
Control whether the Map View tab is shown.
- Parameters
-
show boolean 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
-
widget the 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.
|
slot |
Control whether the Navigation tab is shown.
- Parameters
-
show boolean that controls if the Navigation tab is shown.
Definition at line 165 of file MarbleControlBox.cpp.
|
slot |
Control whether the Routing tab is shown.
- Parameters
-
show boolean 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.
|
signal |
|
signal |
The documentation for this class was generated from the following files:
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.