10 #include <QAbstractTableModel>
11 #include "scribusstructs.h"
30 int rowCount(
const QModelIndex & parent = QModelIndex())
const;
31 int columnCount(
const QModelIndex & parent = QModelIndex())
const;
33 QVariant data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
34 bool setData(
const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole);
36 Qt::ItemFlags flags(
const QModelIndex & index)
const;
38 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
40 void removeValues(
const Guides & v);
52 void unitChange(
int docUnitIndex,
int docUnitDecimals,
double offset);
66 int m_docUnitDecimals;
Guides values()
Get values back to the app.
Definition: guidesmodel.cpp:139
void setValues(Guides values)
Set new values into the model.
Definition: guidesmodel.cpp:131
void valueChanged()
Signal emmitted when the user finish the editation of one value.
A model for guides lists. It holds guides as a double QList (it will be expanded later because of RFE...
Definition: guidesmodel.h:22