2 #include <State/Widgets/Values/TypeComboBox.hpp>
4 #include <Device/Address/AddressSettings.hpp>
6 #include <Explorer/Explorer/DeviceExplorerModel.hpp>
8 #include <QAbstractItemModel>
9 #include <QStyledItemDelegate>
15 class DeviceExplorerModel;
61 bool setData(
const QModelIndex& index,
const QVariant& value,
int role)
override;
62 Qt::ItemFlags flags(
const QModelIndex& index)
const override;
63 QModelIndex index(
int row,
int column,
const QModelIndex& parent)
const override;
64 QModelIndex parent(
const QModelIndex& child)
const override;
65 int rowCount(
const QModelIndex& parent)
const override;
66 int columnCount(
const QModelIndex& parent)
const override;
67 QVariant valueColumnData(
const State::Value& val,
int role)
const;
68 QVariant data(
const QModelIndex& index,
int role)
const override;
71 int extendedCount()
const noexcept;
72 QPointer<DeviceExplorerModel> m_model;
85 QPainter* painter,
const QStyleOptionViewItem& option,
86 const QModelIndex& index)
const override;
87 QWidget* createEditor(
88 QWidget* parent,
const QStyleOptionViewItem& option,
89 const QModelIndex& index)
const override;
90 void setEditorData(QWidget* editor,
const QModelIndex& index)
const override;
91 void setModelData(QWidget* editor, QAbstractItemModel* model,
const QModelIndex& index)
99 using QWidget::QWidget;
100 virtual ossia::value get()
const = 0;
101 virtual void set(ossia::value t) = 0;
104 void changed(ossia::value arg_1) W_SIGNAL(changed, arg_1);
Definition: AddressItemModel.hpp:78
Displays an address.
Definition: AddressItemModel.hpp:34
Definition: DeviceExplorerModel.hpp:67
Path in a tree of QAbstractItemModel objects.
Definition: TreePath.hpp:34
Definition: AddressSettings.hpp:62