Go to the documentation of this file.
11 #ifndef PATHEDITORDLG_HPP
12 #define PATHEDITORDLG_HPP
16 #include <ui_PathEditorDlg.h>
37 QVariant
data(
const QModelIndex&
index,
int role)
const;
39 QVariant
headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
41 Qt::ItemFlags
flags(
const QModelIndex&
index)
const;
43 QModelIndex
index(
int row,
int column,
const QModelIndex&
parent = QModelIndex())
const;
47 bool isPath(
const QModelIndex& idx)
const;
51 quint32
pathId(
const QModelIndex& idx)
const;
53 quint32
keyframeId(
const QModelIndex& idx)
const;
57 void moveTo(
const QModelIndex& idx)
const;
void moveTo(const QModelIndex &idx) const
PathEditorModel(MGXCamera *c, QObject *parent)
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
QModelIndex parent(const QModelIndex &index) const
int columnCount(const QModelIndex &=QModelIndex()) const
int rowCount(const QModelIndex &parent=QModelIndex()) const
QVariant data(const QModelIndex &index, int role) const
quint32 keyframeId(const QModelIndex &idx) const
bool isPath(const QModelIndex &idx) const
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
void on_pathsView_clicked(const QModelIndex &idx)
qglviewer::KeyFrameInterpolator * path(const QModelIndex &idx) const
bool isKeyframe(const QModelIndex &idx) const
Qt::ItemFlags flags(const QModelIndex &index) const
quint32 pathId(const QModelIndex &idx) const
void on_pathsView_doubleClicked(const QModelIndex &idx)
void on_buttonBox_clicked(QAbstractButton *button)
PathEditorDlg(QWidget *parent, MGXCamera *camera)