16 #ifndef QGSLAYOUTALIGNER_H 17 #define QGSLAYOUTALIGNER_H 19 #include "qgis_core.h" 80 static void alignItems(
QgsLayout *layout,
const QList< QgsLayoutItem * > &items,
Alignment alignment );
87 static void distributeItems(
QgsLayout *layout,
const QList< QgsLayoutItem * > &items,
Distribution distribution );
94 static void resizeItems(
QgsLayout *layout,
const QList< QgsLayoutItem * > &items,
Resize resize );
102 static QRectF boundingRectOfItems(
const QList< QgsLayoutItem * > &items );
104 static QString undoText(
Alignment alignment );
106 static QString undoText(
Resize resize );
119 #endif //QGSLAYOUTALIGNER_H Handles aligning and distributing sets of layout items.
Base class for graphical items within a QgsLayout.
Distribute horizontal equispaced.
Resize height to match shortest height.
Distribute vertical centers.
Distribution
Distribution options.
Resize height to match tallest height.
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.
Resize width to match widest width.
Align horizontal centers.
Alignment
Alignment options.
Distribute vertical equispaced.
Distribute horizontal centers.
Resize width to match narrowest width.