File indexing completed on 2025-01-05 03:52:05
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2006-04-04 0007 * Description : a tool to generate HTML image galleries 0008 * 0009 * SPDX-FileCopyrightText: 2006-2010 by Aurelien Gateau <aurelien dot gateau at free dot fr> 0010 * SPDX-FileCopyrightText: 2012-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_STRING_THEME_PARAMETER_H 0017 #define DIGIKAM_STRING_THEME_PARAMETER_H 0018 0019 // Local includes 0020 0021 #include "abstractthemeparameter.h" 0022 0023 namespace DigikamGenericHtmlGalleryPlugin 0024 { 0025 0026 /** 0027 * A theme parameter which let the user enter a string. 0028 */ 0029 class StringThemeParameter : public AbstractThemeParameter 0030 { 0031 public: 0032 0033 QWidget* createWidget(QWidget* parent, const QString& value) const override; 0034 QString valueFromWidget(QWidget*) const override; 0035 }; 0036 0037 } // namespace DigikamGenericHtmlGalleryPlugin 0038 0039 #endif // DIGIKAM_STRING_THEME_PARAMETER_H