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;
121 #endif // QGSLAYOUTGUIDEWIDGET_H