digiKam
colorlabelfilter.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 : 2011-02-09
7  * Description : color label filter
8  *
9  * Copyright (C) 2011-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_COLOR_LABEL_FILTER_H
25 #define DIGIKAM_COLOR_LABEL_FILTER_H
26 
27 // Qt includes
28 
29 #include <QList>
30 #include <QWidget>
31 
32 // Local includes
33 
34 #include "colorlabelwidget.h"
35 
36 namespace Digikam
37 {
38 
39 class TAlbum;
40 
42 {
43  Q_OBJECT
44 
45 public:
46 
47  explicit ColorLabelFilter(QWidget* const parent = nullptr);
48  ~ColorLabelFilter() override;
49 
51 
52  void reset();
53 
54 Q_SIGNALS:
55 
57 
58 private Q_SLOTS:
59 
60  void slotColorLabelSelectionChanged();
61 };
62 
63 } // namespace Digikam
64 
65 #endif // DIGIKAM_COLOR_LABEL_FILTER_H
Definition: colorlabelfilter.h:42
void reset()
Definition: colorlabelfilter.cpp:50
ColorLabelFilter(QWidget *const parent=nullptr)
Definition: colorlabelfilter.cpp:35
QList< TAlbum * > getCheckedColorLabelTags()
Definition: colorlabelfilter.cpp:56
~ColorLabelFilter() override
Definition: colorlabelfilter.cpp:46
void signalColorLabelSelectionChanged(const QList< ColorLabel > &)
Definition: colorlabelwidget.h:46
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43