|
|
| DeviceExplorerModel (DeviceDocumentPlugin &, QObject *parent) |
| |
| Device::Node & | rootNode () override |
| |
| const Device::Node & | rootNode () const override |
| |
|
void | setView (DeviceExplorerView *v) |
| |
|
DeviceDocumentPlugin & | deviceModel () const |
| |
|
QModelIndexList | selectedIndexes () const |
| |
|
const score::CommandStackFacade & | commandStack () const |
| |
|
int | addDevice (Device::Node &&deviceNode) |
| |
|
int | addDevice (const Device::Node &deviceNode) |
| |
|
void | updateDevice (const QString &name, const Device::DeviceSettings &dev) |
| |
| bool | replaceDevice (Device::Node &&deviceNode) |
| | Replaces the whole tree of the device named like deviceNode, in place.
|
| |
|
Device::Node * | addAddress (Device::Node *parentNode, const Device::AddressSettings &addressSettings, int row) |
| |
|
void | updateAddress (Device::Node *node, const Device::AddressSettings &addressSettings) |
| |
|
void | addNode (Device::Node *parentNode, Device::Node &&child, int row) |
| |
|
void | updateValue (Device::Node *n, const State::AddressAccessor &addr, const ossia::value &v) |
| |
|
bool | checkDeviceInstantiatable (const Device::DeviceSettings &n) const |
| |
|
bool | checkDeviceEditable (const QString &originalName, const Device::DeviceSettings &n) const |
| |
|
bool | checkAddressInstantiatable (Device::Node &parent, const Device::AddressSettings &addr) |
| |
|
bool | checkAddressEditable (Device::Node &parent, const Device::AddressSettings &before, const Device::AddressSettings &after) |
| |
|
bool | canRenameNode (const Device::Node &n) const |
| | Whether the protocol lets this node be renamed.
|
| |
|
int | columnCount () const |
| |
|
QStringList | getColumns () const |
| |
|
bool | isEmpty () const |
| |
|
bool | isDevice (QModelIndex index) const |
| |
|
bool | hasCut () const |
| |
|
void | debug_printIndexes (const QModelIndexList &indexes) |
| |
|
int | columnCount (const QModelIndex &parent) const override |
| |
|
QVariant | data (const QModelIndex &index, int role) const override |
| |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
| |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role) override |
| |
|
bool | setHeaderData (int, Qt::Orientation, const QVariant &, int=Qt::EditRole) override |
| |
| void | editData (const Device::NodePath &path, Column column, const ossia::value &value, int role) |
| | DeviceExplorerModel::editData.
|
| |
|
void | editData (Device::Node &n, Column column, const ossia::value &value, int role) |
| |
|
Qt::DropActions | supportedDropActions () const override |
| |
|
Qt::DropActions | supportedDragActions () const override |
| |
|
QStringList | mimeTypes () const override |
| |
|
QMimeData * | mimeData (const QModelIndexList &indexes) const override |
| |
|
bool | canDropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const override |
| |
|
bool | dropMimeData (const QMimeData *mimeData, Qt::DropAction action, int row, int column, const QModelIndex &parent) override |
| |
|
SelectedNodes | uniqueSelectedNodes (const QModelIndexList &indexes) const |
| |
|
void | checkAndLoadDevice (Device::Node n) |
| |
|
void | checkAndLoadDevice (Device::DeviceSettings n) |
| |
|
void | nodeChanged (Device::Node *n) |
| |
| void | valueUpdated (Device::Node *n) |
| | A value arrived for this node.
|
| |
| void | deviceTreeAboutToChange (Device::Node *device) |
| |
|
void | deviceTreeChanged (Device::Node *device) |
| |
|
QModelIndex | modelIndexFromNode (node_type &n, int column) const |
| |
|
void | insertNode (node_type &parentNode, const node_type &other, int row) |
| |
|
auto | removeNode (node_type::const_iterator node) |
| |
|
| TreeNodeBasedItemModel (QObject *parent=nullptr) |
| |
|
Device::Node & | nodeFromModelIndex (const QModelIndex &index) const |
| |
|
QModelIndex | parent (const QModelIndex &index) const final override |
| |
|
QModelIndex | index (int row, int column, const QModelIndex &parent) const final override |
| |
|
int | rowCount (const QModelIndex &parent) const final override |
| |
|
bool | hasChildren (const QModelIndex &parent) const final override |
| |
|
template<typename F > |
| void | iterate (const QModelIndex &idx, const F &f) |
| | idx: should be the root index of the view
|
| |
|
QModelIndex | convertPathToIndex (const TreePath &path) const |
| |