mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-03 20:04:44 +03:00
SVGItem has been added
This commit is contained in:
23
limereport/objectinspector/propertyItems/lrsvgpropitem.h
Normal file
23
limereport/objectinspector/propertyItems/lrsvgpropitem.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef SVGPROPITEM_H
|
||||
#define SVGPROPITEM_H
|
||||
|
||||
#include "lrobjectpropitem.h"
|
||||
namespace LimeReport{
|
||||
|
||||
class SvgPropItem : public ObjectPropItem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
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;
|
||||
QString displayValue() const;
|
||||
void setPropertyEditorData(QWidget *propertyEditor, const QModelIndex &) const;
|
||||
void setModelData(QWidget *propertyEditor, QAbstractItemModel *model, const QModelIndex &index);
|
||||
virtual QIcon iconValue() const;
|
||||
};
|
||||
|
||||
} // namespace LimeReport
|
||||
|
||||
#endif // SVGPROPITEM_H
|
Reference in New Issue
Block a user