7 #ifndef GUIDESDELEGATE_H
8 #define GUIDESDELEGATE_H
10 #include <QItemDelegate>
32 void setEditorData(QWidget *editor,
const QModelIndex &index)
const;
34 void setModelData(QWidget *editor,
35 QAbstractItemModel *model,
36 const QModelIndex &index)
const;
38 void updateEditorGeometry(QWidget *editor,
39 const QStyleOptionViewItem &option,
40 const QModelIndex &index)
const;
42 void unitChange(
int docUnitDecimals);
61 QWidget *createEditor(QWidget *parent,
62 const QStyleOptionViewItem &option,
63 const QModelIndex &index)
const;
77 QWidget *createEditor(QWidget *parent,
78 const QStyleOptionViewItem &option,
79 const QModelIndex &index)
const;
A delegate for vertical guides model/view. Limit guides for page width.
Definition: guidesdelegate.h:70
the Document Class
Definition: scribusdoc.h:90
A delegate/editor for guides model. It's based on the ScrSpinBox widget. User cannot enter any others...
Definition: guidesdelegate.h:20
A delegate for horizontal guides model/view. Limit guides for page height.
Definition: guidesdelegate.h:54