17 #ifndef QGSLAYOUTGUIDEWIDGET_H
18 #define QGSLAYOUTGUIDEWIDGET_H
24 #include "ui_qgslayoutguidewidgetbase.h"
26 #include <QStyledItemDelegate>
52 void setCurrentPage(
int page );
56 void addHorizontalGuide();
57 void addVerticalGuide();
59 void deleteHorizontalGuide();
60 void deleteVerticalGuide();
66 void updatePageCount();
94 QWidget *createEditor( QWidget *parent,
const QStyleOptionViewItem & ,
const QModelIndex &index )
const override;
95 void setModelData( QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index )
const override;
116 QWidget *createEditor( QWidget *parent,
const QStyleOptionViewItem & ,
const QModelIndex &index )
const override;
117 void setModelData( QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index )
const override;
View delegate displaying a QgsDoubleSpinBox for the layout guide position.
Filters QgsLayoutGuideCollection models to guides of a single orientation (horizontal or vertical).
View delegate displaying a QgsLayoutUnitsComboBox for the layout guide unit.
A graphical widget to display and interact with QgsLayouts.
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.