17 #ifndef AGXQT_CAMERALISTWIDGET_H
18 #define AGXQT_CAMERALISTWIDGET_H
22 #include <agxQt/ui_CameraList.h>
23 #include <QCloseEvent>
45 : QAbstractListModel(parent), m_cameraSet(cameraSet) {}
47 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
49 QVariant
data(
const QModelIndex &index,
int role)
const;
51 QVariant
headerData(
int section, Qt::Orientation orientation,
52 int role = Qt::DisplayRole)
const;
54 Qt::ItemFlags
flags(
const QModelIndex &index)
const;
56 bool setData(
const QModelIndex &index,
const QVariant &value,
57 int role = Qt::EditRole);
101 Ui::CameraViewList * m_ui;
CameraViewSet is a class that handles and manages a set of cameras that the user should be able to sw...
Model used to access data from the camera view set (Model-view Design pattern)
int rowCount(const QModelIndex &parent=QModelIndex()) const
CameraDescriptionSet * getCameraDescriptionSet()
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
QVariant data(const QModelIndex &index, int role) const
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
CameraViewModel(CameraDescriptionSet *cameraSet, QObject *parent=0)
Qt::ItemFlags flags(const QModelIndex &index) const
Contains classes/utility functions for connecting AGX to QT with OSG.