mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Add sizeChanged signal for composer item
This commit is contained in:
parent
d413a20174
commit
b3b9674c29
@ -724,6 +724,8 @@ void QgsComposerItem::setSceneRect( const QRectF& rectangle )
|
||||
QTransform t;
|
||||
t.translate( xTranslation, yTranslation );
|
||||
setTransform( t );
|
||||
|
||||
emit sizeChanged();
|
||||
}
|
||||
|
||||
void QgsComposerItem::drawBackground( QPainter* p )
|
||||
|
@ -351,6 +351,8 @@ class CORE_EXPORT QgsComposerItem: public QObject, public QGraphicsRectItem
|
||||
void rotationChanged( double newRotation );
|
||||
/**Used e.g. by the item widgets to update the gui elements*/
|
||||
void itemChanged();
|
||||
/**Emitted if the rectangle changes*/
|
||||
void sizeChanged();
|
||||
private:
|
||||
// Label id (unique within the same composition)
|
||||
QString mId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user