digiKam
filterstatusbar.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-11-27
7  * Description : a bar to indicate icon-view filters status
8  *
9  * Copyright (C) 2007-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_FILTER_STATUS_BAR_H
25 #define DIGIKAM_FILTER_STATUS_BAR_H
26 
27 // Qt includes
28 
29 #include <QWidget>
30 
31 // Local includes
32 
33 #include "itemfiltersettings.h"
34 
35 namespace Digikam
36 {
37 
38 class FilterStatusBar : public QWidget
39 {
40  Q_OBJECT
41 
42 public:
43 
44  explicit FilterStatusBar(QWidget* const parent);
45  ~FilterStatusBar() override;
46 
47 public Q_SLOTS:
48 
49  void slotFilterMatches(bool);
50  void slotFilterSettingsChanged(const ItemFilterSettings& settings);
51 
52 Q_SIGNALS:
53 
56 
57 private:
58 
59  class Private;
60  Private* const d;
61 };
62 
63 } // namespace Digikam
64 
65 #endif // DIGIKAM_FILTER_STATUS_BAR_H
Definition: filterstatusbar.h:39
void slotFilterSettingsChanged(const ItemFilterSettings &settings)
Definition: filterstatusbar.cpp:221
~FilterStatusBar() override
Definition: filterstatusbar.cpp:121
FilterStatusBar(QWidget *const parent)
Definition: filterstatusbar.cpp:75
void slotFilterMatches(bool)
Definition: filterstatusbar.cpp:126
Definition: itemfiltersettings.h:98
Definition: datefolderview.cpp:43