29 void editProperty(
int index, QString name, QString value);
QStringList takeProperty(int indexProperty)
takeProperty Returns and remove the property at the specified position.
Definition: card.cpp:36
void addProperty(QString name, QString value)
addProperty Adds card property.
Definition: card.cpp:8
int getNumberOfProperties()
getNumberOfProperties Returns the number of properties.
Definition: card.cpp:53
void editProperty(int index, QString name, QString value)
editProperty Modifies card property.
Definition: card.cpp:14
QString getIconImage() const
getIconImage Returns the image path of the card icon.
Definition: card.cpp:58
QString getTitle() const
getTitle Returns the title of the card.
Definition: card.cpp:43
void removeProperty(int indexProperty)
removeProperty Removes card property.
Definition: card.cpp:20
void setTitle(const QString &value)
setTitle Replaces the title of the card.
Definition: card.cpp:48
QString title
title Title of the card.
Definition: card.h:91
QStringList getProperty(int indexProperty)
getProperty Returns the property at the specified position.
Definition: card.cpp:26
QStringList propertyNames
propertyNames Names of the properties.
Definition: card.h:96
QString iconImage
iconImage Path to the card icon image.
Definition: card.h:86
QStringList propertyValues
propertyValues Value of the properties.
Definition: card.h:101
Card()
Card constructor.
Definition: card.cpp:3
The card class. Represents the elements in information screens.
Definition: card.h:8
void setIconImage(const QString &value)
setIconImage Replaces the card icon image.
Definition: card.cpp:63