File indexing completed on 2025-01-05 03:59:36
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2007 Torsten Rahn <tackat@kde.org> 0004 0005 #ifndef MARBLE_LATLONBOXWIDGET_H 0006 #define MARBLE_LATLONBOXWIDGET_H 0007 0008 #include <QWidget> 0009 0010 #include "digikam_export.h" 0011 0012 namespace Marble 0013 { 0014 class GeoDataLatLonBox; 0015 0016 class DIGIKAM_EXPORT LatLonBoxWidget: public QWidget 0017 { 0018 Q_OBJECT 0019 0020 public: 0021 explicit LatLonBoxWidget( QWidget * const parent = nullptr, Qt::WindowFlags const f = Qt::WindowFlags() ); 0022 ~LatLonBoxWidget() override; 0023 GeoDataLatLonBox latLonBox() const; 0024 void setLatLonBox( GeoDataLatLonBox const & ); 0025 0026 Q_SIGNALS: 0027 void valueChanged(); 0028 0029 private Q_SLOTS: 0030 void updateLatSingleStep(); 0031 void updateLonSingleStep(); 0032 0033 private: 0034 Q_DISABLE_COPY( LatLonBoxWidget ) 0035 class Private; 0036 Private * const d; 0037 }; 0038 0039 } 0040 0041 #endif