digiKam
placeholderwidget.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 : 2010-12-05
7  * Description : Placeholder widget for when backends are activated
8  *
9  * Copyright (C) 2010-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  * Copyright (C) 2010 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_PLACE_HOLDER_WIDGET_H
26 #define DIGIKAM_PLACE_HOLDER_WIDGET_H
27 
28 // Qt includes
29 
30 #include <QFrame>
31 
32 // Local includes
33 
34 #include "digikam_export.h"
35 
36 namespace Digikam
37 {
38 
39 class DIGIKAM_EXPORT PlaceholderWidget : public QFrame
40 {
41  Q_OBJECT
42 
43 public:
44 
45  explicit PlaceholderWidget(QWidget* const parent = nullptr);
46  ~PlaceholderWidget() override;
47 
48  void setMessage(const QString& message);
49 
50 private:
51 
52  Q_DISABLE_COPY(PlaceholderWidget)
53 
54  class Private;
55  const QScopedPointer<Private> d;
56 };
57 
58 } // namespace Digikam
59 
60 #endif // DIGIKAM_PLACE_HOLDER_WIDGET_H
Definition: placeholderwidget.h:40
Definition: datefolderview.cpp:43