|
| QgsLayoutMultiFrame (QgsLayout *layout) |
| Construct a new multiframe item, attached to the specified layout. More...
|
|
| ~QgsLayoutMultiFrame () override |
|
virtual void | addFrame (QgsLayoutFrame *frame, bool recalcFrameSizes=true) |
| Adds a frame to the multiframe. More...
|
|
void | beginCommand (const QString &commandText, UndoCommand command=UndoNone) |
| Starts new undo command for this item. More...
|
|
void | cancelCommand () |
| Cancels the current item command and discards it. More...
|
|
QgsAbstractLayoutUndoCommand * | createCommand (const QString &text, int id, QUndoCommand *parent=nullptr) override |
| Creates a new layout undo command with the specified text and parent. More...
|
|
QgsExpressionContext | createExpressionContext () const override |
| This method needs to be reimplemented in all classes which implement this interface and return an expression context. More...
|
|
QgsLayoutFrame * | createNewFrame (QgsLayoutFrame *currentFrame, QPointF pos, QSizeF size) |
| Creates a new frame and adds it to the multi frame and layout. More...
|
|
void | deleteFrames () |
| Removes and deletes all child frames. More...
|
|
virtual QString | displayName () const |
| Returns the multiframe display name. More...
|
|
void | endCommand () |
| Completes the current item command and push it onto the layout's undo stack. More...
|
|
virtual void | finalizeRestoreFromXml () |
| Called after all pending items have been restored from XML. More...
|
|
virtual double | findNearbyPageBreak (double yPos) |
| Finds the optimal position to break a frame at. More...
|
|
virtual QSizeF | fixedFrameSize (int frameIndex=-1) const |
| Returns the fixed size for a frame, if desired. More...
|
|
QgsLayoutFrame * | frame (int index) const |
| Returns the child frame at a specified index from the multiframe. More...
|
|
int | frameCount () const |
| Returns the number of frames associated with this multiframe. More...
|
|
int | frameIndex (QgsLayoutFrame *frame) const |
| Returns the index of a frame within the multiframe. More...
|
|
QList< QgsLayoutFrame * > | frames () const |
| Returns a list of all child frames for this multiframe. More...
|
|
virtual QIcon | icon () const |
| Returns the item's icon. More...
|
|
virtual QSizeF | minFrameSize (int frameIndex=-1) const |
| Returns the minimum size for a frames, if desired. More...
|
|
bool | readXml (const QDomElement &itemElement, const QDomDocument &document, const QgsReadWriteContext &context, bool includeFrames=false) |
| Sets the item state from a DOM element. More...
|
|
void | removeFrame (int index, bool removeEmptyPages=false) |
| Removes a frame by index from the multiframe. More...
|
|
virtual void | render (QgsLayoutItemRenderContext &context, const QRectF &renderExtent, int frameIndex)=0 |
| Renders a portion of the multiframe's content into a render context. More...
|
|
ResizeMode | resizeMode () const |
| Returns the resize mode for the multiframe. More...
|
|
void | setResizeMode (ResizeMode mode) |
| Sets the resize mode for the multiframe, and recalculates frame sizes to match. More...
|
|
virtual QSizeF | totalSize () const =0 |
| Returns the total size of the multiframe's content, in layout units. More...
|
|
virtual int | type () const =0 |
| Returns unique multiframe type id. More...
|
|
QString | uuid () const |
| Returns the multiframe identification string. More...
|
|
bool | writeXml (QDomElement &parentElement, QDomDocument &document, const QgsReadWriteContext &context, bool includeFrames=false) const |
| Stores the multiframe state in a DOM element. More...
|
|
| QgsLayoutObject (QgsLayout *layout) |
| Constructor for QgsLayoutObject, with the specified parent layout. More...
|
|
QgsExpressionContext | createExpressionContext () const override |
| Creates an expression context relating to the objects' current state. More...
|
|
QStringList | customProperties () const |
| Returns list of keys stored in custom properties for the object. More...
|
|
QVariant | customProperty (const QString &key, const QVariant &defaultValue=QVariant()) const |
| Read a custom property from the object. More...
|
|
QgsPropertyCollection & | dataDefinedProperties () |
| Returns a reference to the object's property collection, used for data defined overrides. More...
|
|
const QgsPropertyCollection & | dataDefinedProperties () const |
| Returns a reference to the object's property collection, used for data defined overrides. More...
|
|
QgsLayout * | layout () |
| Returns the layout the object is attached to. More...
|
|
const QgsLayout * | layout () const |
| Returns the layout the object is attached to. More...
|
|
void | removeCustomProperty (const QString &key) |
| Remove a custom property from the object. More...
|
|
void | setCustomProperty (const QString &key, const QVariant &value) |
| Set a custom property for the object. More...
|
|
void | setDataDefinedProperties (const QgsPropertyCollection &collection) |
| Sets the objects's property collection, used for data defined overrides. More...
|
|
virtual | ~QgsExpressionContextGenerator ()=default |
|
virtual QgsExpressionContext | createExpressionContext () const =0 |
| This method needs to be reimplemented in all classes which implement this interface and return an expression context. More...
|
|
virtual | ~QgsLayoutUndoObjectInterface ()=default |
| Destructor for QgsLayoutUndoObjectInterface. More...
|
|
virtual QgsAbstractLayoutUndoCommand * | createCommand (const QString &text, int id=0, QUndoCommand *parent=nullptr)=0 |
| Creates a new layout undo command with the specified text and parent. More...
|
|