File indexing completed on 2025-01-19 03:55:49
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2015-08-21 0007 * Description : a bar to indicate pending metadata 0008 * 0009 * SPDX-FileCopyrightText: 2015 by Veaceslav Munteanu <veaceslav dot munteanu90 at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_METADATA_STATUS_BAR_H 0016 #define DIGIKAM_METADATA_STATUS_BAR_H 0017 0018 // Qt includes 0019 0020 #include <QWidget> 0021 0022 // Local includes 0023 0024 #include "metadatahubmngr.h" 0025 #include "progressmanager.h" 0026 0027 namespace Digikam 0028 { 0029 0030 class MetadataStatusBar : public QWidget 0031 { 0032 Q_OBJECT 0033 0034 public: 0035 0036 explicit MetadataStatusBar(QWidget* const parent); 0037 ~MetadataStatusBar() override; 0038 0039 public Q_SLOTS: 0040 0041 void slotSettingsChanged(); 0042 void slotSetPendingItems(int number); 0043 void slotAddedProgressItem(ProgressItem* item); 0044 void slotCompletedProgressItem(ProgressItem* item); 0045 0046 private: 0047 0048 class Private; 0049 Private* const d; 0050 }; 0051 0052 } // namespace Digikam 0053 0054 #endif // DIGIKAM_METADATA_STATUS_BAR_H