Marble

TileLevelRangeWidget.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2
3#ifndef MARBLE_TILELEVELRANGEWIDGET_H
4#define MARBLE_TILELEVELRANGEWIDGET_H
5
6#include <QWidget>
7
8#include "marble_export.h"
9
10namespace Marble
11{
12
13class MARBLE_EXPORT TileLevelRangeWidget: public QWidget
14{
15 Q_OBJECT
16
17 public:
18 explicit TileLevelRangeWidget( QWidget * const parent = nullptr, Qt::WindowFlags const f = Qt::WindowFlags() );
19 ~TileLevelRangeWidget() override;
20
21 QSize sizeHint() const override;
22
23 void setAllowedLevelRange( int const minimumLevel, int const maximumLevel );
24 void setDefaultLevel( int const );
25
26 int topLevel() const;
27 int bottomLevel() const;
28
29 Q_SIGNALS:
30 void topLevelChanged( int );
31 void bottomLevelChanged( int );
32
33 private Q_SLOTS:
34 void setMaximumTopLevel( int const );
35 void setMinimumBottomLevel( int const );
36
37 private:
38 Q_DISABLE_COPY( TileLevelRangeWidget )
39 class Private;
40 Private * const d;
41};
42
43}
44
45#endif
Binds a QML item to a specific geodetic location in screen coordinates.
typedef WindowFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.