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

Public Member Functions

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

Detailed Description

A theme parameter to select an integer value.

Constructor & Destructor Documentation

◆ IntThemeParameter()

DigikamGenericHtmlGalleryPlugin::IntThemeParameter::IntThemeParameter ( )
explicit

◆ ~IntThemeParameter()

DigikamGenericHtmlGalleryPlugin::IntThemeParameter::~IntThemeParameter ( )
override

Member Function Documentation

◆ createWidget()

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

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

Implements DigikamGenericHtmlGalleryPlugin::AbstractThemeParameter.

References value.

◆ defaultValue()

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

◆ init()

void DigikamGenericHtmlGalleryPlugin::IntThemeParameter::init ( const QByteArray &  internalName,
const KConfigGroup *  configGroup 
)
overridevirtual

Reads theme parameters from configGroup. Initializes the internalName, name and defaultValue fields.

Reimplemented from DigikamGenericHtmlGalleryPlugin::AbstractThemeParameter.

References DigikamGenericHtmlGalleryPlugin::AbstractThemeParameter::init(), and DigikamGenericHtmlGalleryPlugin::AbstractThemeParameter::internalName().

◆ internalName()

◆ name()

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

◆ valueFromWidget()

QString DigikamGenericHtmlGalleryPlugin::IntThemeParameter::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.


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