mirror of
https://github.com/fralx/LimeReport.git
synced 2025-09-23 08:29:07 +03:00
geometryLocked property has been added to report items
This commit is contained in:
@@ -93,6 +93,7 @@ void ImageItem::processPopUpAction(QAction *action)
|
||||
if (action->text().compare(tr("Watermark")) == 0){
|
||||
page()->setPropertyToSelectedItems("watermark",action->isChecked());
|
||||
}
|
||||
ItemDesignIntf::processPopUpAction(action);
|
||||
}
|
||||
|
||||
bool ImageItem::useExternalPainter() const
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
namespace LimeReport{
|
||||
|
||||
class ImageItem : public LimeReport::ItemDesignIntf, public IPainterProxy
|
||||
class ImageItem : public ItemDesignIntf, public IPainterProxy
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_ENUMS(Format)
|
||||
|
@@ -152,6 +152,8 @@ void TextItem::processPopUpAction(QAction *action)
|
||||
if (action->text().compare(tr("Hide if empty")) == 0){
|
||||
page()->setPropertyToSelectedItems("hideIfEmpty",action->isChecked());
|
||||
}
|
||||
|
||||
ContentItemDesignIntf::processPopUpAction(action);
|
||||
}
|
||||
|
||||
void TextItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* style, QWidget* widget) {
|
||||
|
@@ -41,7 +41,7 @@
|
||||
namespace LimeReport {
|
||||
|
||||
class Tag;
|
||||
class TextItem : public LimeReport::ContentItemDesignIntf, IPageInit {
|
||||
class TextItem : public ContentItemDesignIntf, IPageInit {
|
||||
Q_OBJECT
|
||||
Q_ENUMS(AutoWidth)
|
||||
Q_ENUMS(AngleType)
|
||||
|
Reference in New Issue
Block a user