17#ifndef AGXQT_CAMERALISTWIDGET_H
18#define AGXQT_CAMERALISTWIDGET_H
29#include <agxQt/ui_CameraList.h>
46 : QAbstractListModel(parent), m_cameraSet(cameraSet) {}
48 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
50 QVariant
data(
const QModelIndex &index,
int role)
const;
52 QVariant
headerData(
int section, Qt::Orientation orientation,
53 int role = Qt::DisplayRole)
const;
55 Qt::ItemFlags
flags(
const QModelIndex &index)
const;
57 bool setData(
const QModelIndex &index,
const QVariant &value,
58 int role = Qt::EditRole);
102 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
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
CameraDescriptionSet * getCameraDescriptionSet()
Contains classes/utility functions for connecting AGX to QT with OSG.