"Fossies" - the Fresh Open Source Software Archive

Member "digikam-6.3.0/core/dplugins/generic/tools/htmlgallery/parameters/colorthemeparameter.h" (4 Sep 2019, 1524 Bytes) of package /linux/misc/digikam-6.3.0.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "colorthemeparameter.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 6.2.0_vs_6.3.0.

    1 /* ============================================================
    2  *
    3  * This file is a part of digiKam project
    4  * https://www.digikam.org
    5  *
    6  * Date        : 2006-04-04
    7  * Description : a tool to generate HTML image galleries
    8  *
    9  * Copyright (C) 2006-2010 by Aurelien Gateau <aurelien dot gateau at free dot fr>
   10  * Copyright (C) 2012-2019 by Gilles Caulier <caulier dot gilles at gmail dot com>
   11  *
   12  * This program is free software; you can redistribute it
   13  * and/or modify it under the terms of the GNU General
   14  * Public License as published by the Free Software Foundation;
   15  * either version 2, or (at your option) any later version.
   16  *
   17  * This program is distributed in the hope that it will be useful,
   18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20  * GNU General Public License for more details.
   21  *
   22  * ============================================================ */
   23 
   24 #ifndef DIGIKAM_COLOR_THEME_PARAMETER_H
   25 #define DIGIKAM_COLOR_THEME_PARAMETER_H
   26 
   27 // Local includes
   28 
   29 #include "abstractthemeparameter.h"
   30 
   31 namespace DigikamGenericHtmlGalleryPlugin
   32 {
   33 
   34 /**
   35  * A theme parameter to select a color.
   36  */
   37 class ColorThemeParameter : public AbstractThemeParameter
   38 {
   39 public:
   40 
   41     virtual QWidget* createWidget(QWidget* parent, const QString& value) const override;
   42     virtual QString  valueFromWidget(QWidget*)                           const override;
   43 };
   44 
   45 } // namespace DigikamGenericHtmlGalleryPlugin
   46 
   47 #endif // DIGIKAM_COLOR_THEME_PARAMETER_H