2020-03-18 13:34:11 +03:00
|
|
|
#ifndef SVGPROPITEM_H
|
|
|
|
#define SVGPROPITEM_H
|
|
|
|
|
|
|
|
#include "lrobjectpropitem.h"
|
2024-09-04 17:31:16 +03:00
|
|
|
namespace LimeReport {
|
2020-03-18 13:34:11 +03:00
|
|
|
|
2024-09-04 17:31:16 +03:00
|
|
|
class SvgPropItem: public ObjectPropItem {
|
2020-03-18 13:34:11 +03:00
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2024-09-04 17:31:16 +03:00
|
|
|
SvgPropItem(): ObjectPropItem() { }
|
|
|
|
SvgPropItem(QObject* object, ObjectsList* objects, const QString& name,
|
|
|
|
const QString& displayName, const QVariant& value, ObjectPropItem* parent,
|
|
|
|
bool readonly):
|
|
|
|
ObjectPropItem(object, objects, name, displayName, value, parent, readonly)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
QWidget* createProperyEditor(QWidget* parent) const;
|
2020-03-18 13:34:11 +03:00
|
|
|
QString displayValue() const;
|
2024-09-04 17:31:16 +03:00
|
|
|
void setPropertyEditorData(QWidget* propertyEditor, const QModelIndex&) const;
|
|
|
|
void setModelData(QWidget* propertyEditor, QAbstractItemModel* model, const QModelIndex& index);
|
2020-03-18 13:34:11 +03:00
|
|
|
virtual QIcon iconValue() const;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace LimeReport
|
|
|
|
|
|
|
|
#endif // SVGPROPITEM_H
|