digiKam
geolocationfilter.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 : 2007-10-22
7  * Description : a widget to filter album contents by geolocation
8  *
9  * Copyright (C) 2007-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2011 by Michael G. Hansen <mike at mghansen dot de>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_GEO_LOCATION_FILTER_H
26 #define DIGIKAM_GEO_LOCATION_FILTER_H
27 
28 // Qt includes
29 
30 #include <QComboBox>
31 
32 // Local includes
33 
34 #include "itemfiltersettings.h"
35 
36 namespace Digikam
37 {
38 
39 class GeolocationFilter : public QComboBox
40 {
41  Q_OBJECT
42 
43 public:
44 
45  explicit GeolocationFilter(QWidget* const parent);
46  ~GeolocationFilter() override;
47 
50 
51 Q_SIGNALS:
52 
54 
55 private Q_SLOTS:
56 
57  void slotFilterChanged();
58 };
59 
60 } // namespace Digikam
61 
62 #endif // DIGIKAM_GEO_LOCATION_FILTER_H
Definition: geolocationfilter.h:40
void setGeolocationFilter(const ItemFilterSettings::GeolocationCondition &condition)
Definition: geolocationfilter.cpp:54
~GeolocationFilter() override
Definition: geolocationfilter.cpp:50
void signalFilterChanged(const ItemFilterSettings::GeolocationCondition &condition)
ItemFilterSettings::GeolocationCondition geolocationFilter() const
Definition: geolocationfilter.cpp:71
GeolocationFilter(QWidget *const parent)
Definition: geolocationfilter.cpp:34
GeolocationCondition
Possible logical matching condition used to sort geolocation.
Definition: itemfiltersettings.h:118
Definition: datefolderview.cpp:43