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

marble

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

#include <ControlView.h>

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

Public Slots

void launchExternalMapEditor ()
 
void paintPrintPreview (QPrinter *printer)
 
void printMapScreenShot (QPointer< QPrintDialog > dialog)
 
void printPixmap (QPrinter *printer, const QPixmap &pixmap)
 
void printPreview ()
 

Signals

void mapThemeDeleted ()
 
void showMapWizard ()
 
void showUploadDialog ()
 

Public Member Functions

 ControlView (QWidget *=0)
 
virtual ~ControlView ()
 
void addGeoDataFile (QString filename)
 
CloudSyncManager * cloudSyncManager ()
 
CurrentLocationWidget * currentLocationWidget ()
 
QString defaultMapThemeId () const
 
QString externalMapEditor () const
 
QPixmap mapScreenShot ()
 
MapThemeManager * mapThemeManager ()
 
MarbleModel * marbleModel ()
 
MarbleWidget * marbleWidget () const
 
void moveDown ()
 
void moveLeft ()
 
void moveRight ()
 
void moveUp ()
 
void setExternalMapEditor (const QString &editor)
 
QList< QAction * > setupDockWidgets (QMainWindow *mainWindow)
 
void setWorkOffline (bool workOffline)
 
void zoomIn ()
 
void zoomOut ()
 

Static Public Member Functions

static QString applicationVersion ()
 

Detailed Description

Definition at line 45 of file ControlView.h.

Constructor & Destructor Documentation

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

Definition at line 67 of file ControlView.cpp.

Marble::ControlView::~ControlView ( )
virtual

Definition at line 97 of file ControlView.cpp.

Member Function Documentation

void Marble::ControlView::addGeoDataFile ( QString  filename)

Definition at line 614 of file ControlView.cpp.

QString Marble::ControlView::applicationVersion ( )
static

Returns the version of the Marble applications (which differs from the Marble library version).

Definition at line 102 of file ControlView.cpp.

CloudSyncManager * Marble::ControlView::cloudSyncManager ( )

Definition at line 604 of file ControlView.cpp.

CurrentLocationWidget * Marble::ControlView::currentLocationWidget ( )

Definition at line 591 of file ControlView.cpp.

QString Marble::ControlView::defaultMapThemeId ( ) const

Returns a default map theme: earth/srtm/srtm.dgml if installed, any other theme id if earth/srtm/srtm.dgml is not installed, or an empty string if no themes are installed at all.

Definition at line 142 of file ControlView.cpp.

QString Marble::ControlView::externalMapEditor ( ) const

Returns the editor used to launch a map editor application.

Definition at line 609 of file ControlView.cpp.

void Marble::ControlView::launchExternalMapEditor ( )
slot

Start the configured external map editor (or update it if it is already running)

Definition at line 414 of file ControlView.cpp.

QPixmap Marble::ControlView::mapScreenShot ( )
inline

Definition at line 72 of file ControlView.h.

void Marble::ControlView::mapThemeDeleted ( )
signal
MapThemeManager * Marble::ControlView::mapThemeManager ( )

Definition at line 107 of file ControlView.cpp.

MarbleModel* Marble::ControlView::marbleModel ( )
inline

Definition at line 60 of file ControlView.h.

MarbleWidget* Marble::ControlView::marbleWidget ( ) const
inline

Definition at line 59 of file ControlView.h.

void Marble::ControlView::moveDown ( )

Definition at line 137 of file ControlView.cpp.

void Marble::ControlView::moveLeft ( )

Definition at line 122 of file ControlView.cpp.

void Marble::ControlView::moveRight ( )

Definition at line 127 of file ControlView.cpp.

void Marble::ControlView::moveUp ( )

Definition at line 132 of file ControlView.cpp.

void Marble::ControlView::paintPrintPreview ( QPrinter *  printer)
slot

Definition at line 258 of file ControlView.cpp.

void Marble::ControlView::printMapScreenShot ( QPointer< QPrintDialog >  dialog)
slot

Definition at line 164 of file ControlView.cpp.

void Marble::ControlView::printPixmap ( QPrinter *  printer,
const QPixmap &  pixmap 
)
slot

Definition at line 225 of file ControlView.cpp.

void Marble::ControlView::printPreview ( )
slot

Definition at line 244 of file ControlView.cpp.

void Marble::ControlView::setExternalMapEditor ( const QString &  editor)

Change the editor to launch via.

See also
launchExternalMapEditor. Recognized values are 'potlatch', 'josm', 'merkaartor'

Definition at line 496 of file ControlView.cpp.

QList< QAction * > Marble::ControlView::setupDockWidgets ( QMainWindow *  mainWindow)

Definition at line 501 of file ControlView.cpp.

void Marble::ControlView::setWorkOffline ( bool  workOffline)

Definition at line 596 of file ControlView.cpp.

void Marble::ControlView::showMapWizard ( )
signal
void Marble::ControlView::showUploadDialog ( )
signal
void Marble::ControlView::zoomIn ( )

Definition at line 112 of file ControlView.cpp.

void Marble::ControlView::zoomOut ( )

Definition at line 117 of file ControlView.cpp.


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