Marble

AbstractMarbleGraphicsLayout.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2009 Bastian Holst <[email protected]>
4 //
5 
6 #ifndef MARBLE_ABSTRACTMARBLEGRAPHICSLAYOUT_H
7 #define MARBLE_ABSTRACTMARBLEGRAPHICSLAYOUT_H
8 
9 
10 #include "marble_export.h"
11 
12 namespace Marble
13 {
14 
15 class MarbleGraphicsItem;
16 
17 class MARBLE_EXPORT AbstractMarbleGraphicsLayout
18 {
19  public:
20  AbstractMarbleGraphicsLayout();
21  virtual ~AbstractMarbleGraphicsLayout();
22 
23  /**
24  * This updates the positions of all items in the layout.
25  * Calling this will be done on every repainting, so you won't have to do it yourself.
26  */
27  virtual void updatePositions( MarbleGraphicsItem *parent ) = 0;
28 };
29 
30 }
31 
32 #endif
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:07 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.