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

marble

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

#include <NavigationWidget.h>

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

Public Slots

void changeZoom (int zoom)
 
void clearSearch ()
 
void selectTheme (const QString &)
 

Signals

void goHome ()
 
void moveDown ()
 
void moveLeft ()
 
void moveRight ()
 
void moveUp ()
 
void searchFinished ()
 
void zoomChanged (int zoom)
 
void zoomIn ()
 
void zoomOut ()
 

Public Member Functions

 NavigationWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~NavigationWidget ()
 
void search (const QString &searchTerm, SearchMode searchMode)
 
void setMarbleWidget (MarbleWidget *widget)
 

Protected Member Functions

void resizeEvent (QResizeEvent *)
 

Detailed Description

Definition at line 35 of file NavigationWidget.h.

Constructor & Destructor Documentation

Marble::NavigationWidget::NavigationWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
explicit

Definition at line 82 of file NavigationWidget.cpp.

Marble::NavigationWidget::~NavigationWidget ( )

Definition at line 126 of file NavigationWidget.cpp.

Member Function Documentation

void Marble::NavigationWidget::changeZoom ( int  zoom)
slot

Sets the value of the slider.

Parameters
zoomThe new zoom value.

This slot should be called when the zoom value is changed from the widget itself, e.g. by using the scroll wheel. It sets the value of the slider, but nothing more. In particular it doesn't emit the zoomChanged signal.

Definition at line 188 of file NavigationWidget.cpp.

void Marble::NavigationWidget::clearSearch ( )
slot

Clear all previous search results.

Definition at line 208 of file NavigationWidget.cpp.

void Marble::NavigationWidget::goHome ( )
signal

Signal emitted when the Home button has been pressed.

void Marble::NavigationWidget::moveDown ( )
signal

Signal emitted when the Move Down button has been pressed.

void Marble::NavigationWidget::moveLeft ( )
signal

Signal emitted when the Move Left button has been pressed.

void Marble::NavigationWidget::moveRight ( )
signal

Signal emitted when the Move Right button has been pressed.

void Marble::NavigationWidget::moveUp ( )
signal

Signal emitted when the Move Up button has been pressed.

void Marble::NavigationWidget::resizeEvent ( QResizeEvent *  )
protected

Reimplementation of the resizeEvent() of the widget.

If the MarbleControlBox gets shrunk enough, the slider in the Navigation tab will be hidden, leaving only the Zoom Up and Zoom Down buttons.

Definition at line 310 of file NavigationWidget.cpp.

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

Definition at line 172 of file NavigationWidget.cpp.

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

Definition at line 255 of file NavigationWidget.cpp.

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

Set a MarbleWidget associated to this widget.

Parameters
widgetthe MarbleWidget to be set.

Definition at line 131 of file NavigationWidget.cpp.

void Marble::NavigationWidget::zoomChanged ( int  zoom)
signal

Signal emitted when the zoom slider has been moved.

Parameters
zoomThe new zoom value.
void Marble::NavigationWidget::zoomIn ( )
signal

Signal emitted when the Zoom In button has been pressed.

void Marble::NavigationWidget::zoomOut ( )
signal

Signal emitted when the Zoom Out button has been pressed.


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