digiKam
Digikam::TableViewColumnDescription Class Reference

Public Types

typedef QList< TableViewColumnDescriptionList
 

Public Member Functions

void addSetting (const QString &key, const QString &value)
 
void addSubColumn (const TableViewColumnDescription &subColumnDescription)
 
TableViewColumnDescription setIcon (const QString &iconName)
 
 TableViewColumnDescription ()
 
 TableViewColumnDescription (const QString &id, const QString &title, const QString &settingKey=QString(), const QString &settingValue=QString())
 
TableViewColumnConfiguration toConfiguration () const
 

Static Public Member Functions

static bool FindInListById (const TableViewColumnDescription::List &listToSearch, const QString &targetId, TableViewColumnDescription *const resultDescription)
 

Public Attributes

QString columnIcon
 
QString columnId
 
QHash< QString, QString > columnSettings
 
QString columnTitle
 
QList< TableViewColumnDescriptionsubColumns
 

Member Typedef Documentation

◆ List

Constructor & Destructor Documentation

◆ TableViewColumnDescription() [1/2]

Digikam::TableViewColumnDescription::TableViewColumnDescription ( )
inlineexplicit

◆ TableViewColumnDescription() [2/2]

Digikam::TableViewColumnDescription::TableViewColumnDescription ( const QString &  id,
const QString &  title,
const QString &  settingKey = QString(),
const QString &  settingValue = QString() 
)
inlineexplicit

References addSetting().

Member Function Documentation

◆ addSetting()

void Digikam::TableViewColumnDescription::addSetting ( const QString &  key,
const QString &  value 
)
inline

References columnSettings, and value.

Referenced by TableViewColumnDescription().

◆ addSubColumn()

◆ FindInListById()

static bool Digikam::TableViewColumnDescription::FindInListById ( const TableViewColumnDescription::List listToSearch,
const QString &  targetId,
TableViewColumnDescription *const  resultDescription 
)
inlinestatic

◆ setIcon()

◆ toConfiguration()

Member Data Documentation

◆ columnIcon

QString Digikam::TableViewColumnDescription::columnIcon

Referenced by setIcon().

◆ columnId

QString Digikam::TableViewColumnDescription::columnId

Referenced by FindInListById(), and toConfiguration().

◆ columnSettings

QHash<QString, QString> Digikam::TableViewColumnDescription::columnSettings

Referenced by addSetting(), and toConfiguration().

◆ columnTitle

QString Digikam::TableViewColumnDescription::columnTitle

◆ subColumns

QList<TableViewColumnDescription> Digikam::TableViewColumnDescription::subColumns

Referenced by addSubColumn(), and FindInListById().


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