digiKam
Loading...
Searching...
No Matches
setupgeolocation.h
Go to the documentation of this file.
1
/* ============================================================
2
*
3
* This file is a part of digiKam project
4
* https://www.digikam.org
5
*
6
* Date : 2023-12-24
7
* Description : geo-location setup page.
8
*
9
* SPDX-FileCopyrightText: 2023-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
*
11
* SPDX-License-Identifier: GPL-2.0-or-later
12
*
13
* ============================================================ */
14
15
#pragma once
16
17
// Qt includes
18
19
#include <QScrollArea>
20
21
// Local includes
22
23
#include "
digikam_export.h
"
24
25
namespace
Digikam
26
{
27
28
class
DIGIKAM_EXPORT
SetupGeolocation
:
public
QScrollArea
29
{
30
Q_OBJECT
31
32
public
:
33
34
enum
GeolocationTab
35
{
36
MarbleView = 0,
37
MarblePlugins
,
38
GoogleMaps
39
};
40
41
public
:
42
43
explicit
SetupGeolocation
(QWidget*
const
parent =
nullptr
);
44
~SetupGeolocation
()
override
;
45
46
void
applySettings();
47
void
cancel();
48
49
void
setActiveTab(GeolocationTab tab);
50
GeolocationTab activeTab()
const
;
51
52
private
:
53
54
void
readSettings();
55
56
private
:
57
58
class
Private;
59
Private*
const
d =
nullptr
;
60
};
61
62
}
// namespace Digikam
Digikam::SetupGeolocation
Definition
setupgeolocation.h:29
Digikam::SetupGeolocation::GeolocationTab
GeolocationTab
Definition
setupgeolocation.h:35
Digikam::SetupGeolocation::MarblePlugins
@ MarblePlugins
Definition
setupgeolocation.h:37
digikam_export.h
Digikam
Definition
datefolderview.cpp:34
core
utilities
setup
setupgeolocation.h
Generated by
1.9.8