• 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
FileViewWidget.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 2010 Bastian Holst <bastianholst@gmx.de>
9 //
10 
11 #ifndef MARBLE_FILEVIEWWIDGET_H
12 #define MARBLE_FILEVIEWWIDGET_H
13 
14 // Marble
15 #include "marble_export.h"
16 
17 // Qt
18 #include <QWidget>
19 
20 class QModelIndex;
21 
22 namespace Marble
23 {
24 
25 class FileManager;
26 class GeoDataPlacemark;
27 class GeoDataLatLonBox;
28 class GeoDataTreeModel;
29 class MarbleWidget;
30 
31 class FileViewWidgetPrivate;
32 
33 class MARBLE_EXPORT FileViewWidget : public QWidget
34 {
35  Q_OBJECT
36 
37  public:
38  explicit FileViewWidget( QWidget *parent = 0, Qt::WindowFlags f = 0 );
39  ~FileViewWidget();
40 
41 
42  void setMarbleWidget( MarbleWidget *widget );
43 
44  Q_SIGNALS:
45  void centerOn( const GeoDataPlacemark &, bool animated );
46  void centerOn( const GeoDataLatLonBox &, bool animated );
47 
48  private Q_SLOTS:
49  void mapCenterOnTreeViewModel( const QModelIndex & );
50 
51  private:
52  Q_PRIVATE_SLOT( d, void enableFileViewActions() )
53  Q_PRIVATE_SLOT( d, void saveFile() )
54  Q_PRIVATE_SLOT( d, void closeFile() )
55  Q_DISABLE_COPY( FileViewWidget )
56 
57  FileViewWidgetPrivate * const d;
58 };
59 
60 }
61 
62 #endif
QWidget
Marble::MarbleWidget
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:102
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::FileViewWidget
Definition: FileViewWidget.h:33
marble_export.h
MarbleWidget
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
Marble::GeoDataPlacemark
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
Marble::GeoDataLatLonBox
A class that defines a 2D bounding box for geographic data.
Definition: GeoDataLatLonBox.h:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 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