File indexing completed on 2025-01-19 03:59:41

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2004-01-02
0007  * Description : album category setup tab.
0008  *
0009  * SPDX-FileCopyrightText: 2004-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_SETUP_CATEGORY_H
0016 #define DIGIKAM_SETUP_CATEGORY_H
0017 
0018 // Qt includes
0019 
0020 #include <QScrollArea>
0021 
0022 namespace Digikam
0023 {
0024 
0025 class SetupCategory : public QScrollArea
0026 {
0027     Q_OBJECT
0028 
0029 public:
0030 
0031     explicit SetupCategory(QWidget* const parent = nullptr);
0032     ~SetupCategory() override;
0033 
0034     void applySettings();
0035     void readSettings();
0036 
0037 private Q_SLOTS:
0038 
0039     void slotCategorySelectionChanged();
0040     void slotAddCategory();
0041     void slotDelCategory();
0042     void slotRepCategory();
0043 
0044 private:
0045 
0046     class Private;
0047     Private* const d;
0048 };
0049 
0050 } // namespace Digikam
0051 
0052 #endif // DIGIKAM_SETUP_CATEGORY_H