digiKam
DigikamGenericHtmlGalleryPlugin::ColorThemeParameter Class Reference
+ Inheritance diagram for DigikamGenericHtmlGalleryPlugin::ColorThemeParameter:

Public Member Functions

QWidget * createWidget (QWidget *parent, const QString &value) const override
 
QString defaultValue () const
 
virtual void init (const QByteArray &internalName, const KConfigGroup *configGroup)
 
QByteArray internalName () const
 
QString name () const
 
QString valueFromWidget (QWidget *) const override
 

Detailed Description

A theme parameter to select a color.

Member Function Documentation

◆ createWidget()

QWidget * DigikamGenericHtmlGalleryPlugin::ColorThemeParameter::createWidget ( QWidget *  parent,
const QString &  value 
) const
overridevirtual

This method should return a QWidget representing the parameter, initialized with value.

Implements DigikamGenericHtmlGalleryPlugin::AbstractThemeParameter.

References Digikam::DColorSelector::setColor(), and value.

◆ defaultValue()

QString DigikamGenericHtmlGalleryPlugin::AbstractThemeParameter::defaultValue ( ) const
inherited

◆ init()

void DigikamGenericHtmlGalleryPlugin::AbstractThemeParameter::init ( const QByteArray &  internalName,
const KConfigGroup *  configGroup 
)
virtualinherited

◆ internalName()

◆ name()

QString DigikamGenericHtmlGalleryPlugin::AbstractThemeParameter::name ( ) const
inherited

◆ valueFromWidget()

QString DigikamGenericHtmlGalleryPlugin::ColorThemeParameter::valueFromWidget ( QWidget *  ) const
overridevirtual

The opposite of createWidget: given a widget previously created with createWidget, this method returns the current widget value.

Implements DigikamGenericHtmlGalleryPlugin::AbstractThemeParameter.

References Digikam::DColorSelector::color().


The documentation for this class was generated from the following files: