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

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • graphicsview
MarbleGraphicsGridLayout.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 2009 Bastian Holst <bastianholst@gmx.de>
9 //
10 
11 #ifndef MARBLE_MARBLEGRAPHICSGRIDLAYOUT_H
12 #define MARBLE_MARBLEGRAPHICSGRIDLAYOUT_H
13 
14 // Marble
15 #include "AbstractMarbleGraphicsLayout.h"
16 #include "marble_export.h"
17 
18 // Qt
19 #include <QCoreApplication>
20 
21 namespace Marble
22 {
23 
24 class ScreenGraphicsItem;
25 class MarbleGraphicsGridLayoutPrivate;
26 
27 class MARBLE_EXPORT MarbleGraphicsGridLayout : public AbstractMarbleGraphicsLayout
28 {
29  public:
30  MarbleGraphicsGridLayout( int rows, int columns );
31  ~MarbleGraphicsGridLayout();
32 
33  void addItem( ScreenGraphicsItem *item, int row, int column );
34 
39  void updatePositions( MarbleGraphicsItem *parent );
40 
41  Qt::Alignment alignment() const;
42 
43  Qt::Alignment alignment( ScreenGraphicsItem *item ) const;
44 
45  void setAlignment( Qt::Alignment align );
46 
47  void setAlignment( ScreenGraphicsItem *item, Qt::Alignment );
48 
52  int spacing() const;
53 
57  void setSpacing( int spacing );
58 
59  private:
60  MarbleGraphicsGridLayoutPrivate * const d;
61 };
62 
63 } // namespace Marble
64 
65 #endif
Qt::Alignment
typedef Alignment
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::MarbleGraphicsItem
Definition: MarbleGraphicsItem.h:34
Marble::MarbleGraphicsGridLayout
Definition: MarbleGraphicsGridLayout.h:27
marble_export.h
Marble::ScreenGraphicsItem
Definition: ScreenGraphicsItem.h:30
AbstractMarbleGraphicsLayout.h
Marble::AbstractMarbleGraphicsLayout
Definition: AbstractMarbleGraphicsLayout.h:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 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
  • 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