16 #ifndef QGSLAYOUTALIGNER_H 17 #define QGSLAYOUTALIGNER_H 19 #include "qgis_core.h" 78 static void alignItems(
QgsLayout *layout,
const QList< QgsLayoutItem * > &items,
Alignment alignment );
85 static void distributeItems(
QgsLayout *layout,
const QList< QgsLayoutItem * > &items,
Distribution distribution );
92 static void resizeItems(
QgsLayout *layout,
const QList< QgsLayoutItem * > &items,
Resize resize );
100 static QRectF boundingRectOfItems(
const QList< QgsLayoutItem * > &items );
102 static QString undoText(
Alignment alignment );
104 static QString undoText(
Resize resize );
110 #endif //QGSLAYOUTALIGNER_H Handles aligning and distributing sets of layout items.
Base class for graphical items within a QgsLayout.
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 horizontal centers.
Resize width to match narrowest width.