0
0
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:
Arin Alexander
2019-06-28 20:12:47 +03:00
parent 99757097cc
commit f7e1a383e9
22 changed files with 208 additions and 20 deletions

View File

@@ -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

View File

@@ -33,7 +33,7 @@
namespace LimeReport{
class ImageItem : public LimeReport::ItemDesignIntf, public IPainterProxy
class ImageItem : public ItemDesignIntf, public IPainterProxy
{
Q_OBJECT
Q_ENUMS(Format)

View File

@@ -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) {

View File

@@ -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)