File indexing completed on 2025-01-05 04:00:15
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2007-02-06 0007 * Description : Setup view panel for dplugins. 0008 * 0009 * SPDX-FileCopyrightText: 2018-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_PLUGINS_H 0016 #define DIGIKAM_SETUP_PLUGINS_H 0017 0018 // Qt includes 0019 0020 #include <QScrollArea> 0021 0022 namespace Digikam 0023 { 0024 0025 class SetupPlugins : public QScrollArea 0026 { 0027 Q_OBJECT 0028 0029 public: 0030 0031 enum PluginTab 0032 { 0033 Generic = 0, 0034 Editor, 0035 Bqm, 0036 Loaders 0037 }; 0038 0039 public: 0040 0041 explicit SetupPlugins(QWidget* const parent = nullptr); 0042 ~SetupPlugins() override; 0043 0044 void setActiveTab(PluginTab tab); 0045 PluginTab activeTab() const; 0046 0047 void applySettings(); 0048 0049 private: 0050 0051 class Private; 0052 Private* const d; 0053 }; 0054 0055 } // namespace Digikam 0056 0057 #endif // DIGIKAM_SETUP_PLUGINS_H