File indexing completed on 2025-01-19 03:57:31
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 SHOW_FOTO_SETUP_PLUGINS_H 0016 #define SHOW_FOTO_SETUP_PLUGINS_H 0017 0018 // Qt includes 0019 0020 #include <QScrollArea> 0021 0022 namespace ShowFoto 0023 { 0024 0025 class ShowfotoSetupPlugins : public QScrollArea 0026 { 0027 Q_OBJECT 0028 0029 public: 0030 0031 enum PluginTab 0032 { 0033 Generic = 0, 0034 Editor, 0035 Loaders 0036 }; 0037 0038 public: 0039 0040 explicit ShowfotoSetupPlugins(QWidget* const parent = nullptr); 0041 ~ShowfotoSetupPlugins() override; 0042 0043 void setActiveTab(PluginTab tab); 0044 PluginTab activeTab() const; 0045 0046 void applySettings(); 0047 0048 private: 0049 0050 class Private; 0051 Private* const d; 0052 }; 0053 0054 } // namespace ShowFoto 0055 0056 #endif // SHOW_FOTO_SETUP_PLUGINS_H