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

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
MarbleControlBox.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2004-2007 Torsten Rahn <tackat@kde.org>
9 // Copyright 2007 Inge Wallin <ingwa@kde.org>
10 // Copyright 2007 Thomas Zander <zander@kde.org>
11 //
12 
13 #ifndef MARBLE_MARBLECONTROLBOX_H
14 #define MARBLE_MARBLECONTROLBOX_H
15 
16 
17 #include "marble_export.h"
18 
19 #include <QToolBox>
20 
21 #include "MarbleGlobal.h"
22 
23 
31 class QResizeEvent;
32 class QString;
33 class QStandardItemModel;
34 
35 namespace Marble
36 {
37 
38 class MarbleWidget;
39 class MarbleControlBoxPrivate;
40 class AutoNavigation;
41 class CurrentLocationWidget;
42 
72 class MARBLE_EXPORT MarbleControlBox : public QToolBox
73 {
74  Q_OBJECT
75 
76  public:
81  explicit MarbleControlBox( QWidget *parent = 0 );
82  ~MarbleControlBox();
83 
93  void setMarbleWidget( MarbleWidget *widget );
94 
98  void setWorkOffline(bool offline);
99 
101  CurrentLocationWidget * currentLocationWidget();
102 
106  void search( const QString &searchTerm, SearchMode searchMode );
107 
108  public Q_SLOTS:
109  void selectTheme( const QString & );
110 
115  void setNavigationTabShown( bool show );
120  void setLegendTabShown( bool show );
125  void setMapViewTabShown( bool show );
130  void setCurrentLocationTabShown( bool show );
135  void setFileViewTabShown( bool show );
136 
141  void setRoutingTabShown( bool show );
142 
143 Q_SIGNALS:
144  void showMapWizard();
145  void showUploadDialog();
146  void searchFinished();
147 
148  private:
149  void setWidgetTabShown( QWidget * widget, int insertIndex,
150  bool show, QString &text );
151 
152  Q_DISABLE_COPY( MarbleControlBox )
153  MarbleControlBoxPrivate * const d;
154 };
155 
156 }
157 
158 #endif
Marble::SearchMode
SearchMode
Search mode: Global (worldwide) versus area (local, regional) search.
Definition: MarbleGlobal.h:179
QToolBox
search
Definition: google-search.qml:12
QWidget
Marble::MarbleControlBox
A widget class that contains advanced controls for a MarbleWidget.
Definition: MarbleControlBox.h:72
Marble::MarbleWidget
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:102
Marble::CurrentLocationWidget
Definition: CurrentLocationWidget.h:30
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
MarbleGlobal.h
marble_export.h
MarbleWidget
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:51 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