MuseScore  3.4
Music composition and notation
Public Member Functions | Static Public Member Functions | List of all members
Ms::PluginAPI::QmlListAccess< T, Container > Class Template Reference

QML access to containers. More...

#include <scoreelement.h>

Inheritance diagram for Ms::PluginAPI::QmlListAccess< T, Container >:
Inheritance graph
[legend]
Collaboration diagram for Ms::PluginAPI::QmlListAccess< T, Container >:
Collaboration graph
[legend]

Public Member Functions

 QmlListAccess (QObject *obj, Container &container)
 

Static Public Member Functions

static int count (QQmlListProperty< T > *l)
 
static T * at (QQmlListProperty< T > *l, int i)
 

Detailed Description

template<typename T, class Container>
class Ms::PluginAPI::QmlListAccess< T, Container >

QML access to containers.

A wrapper which provides read-only access for various items containers.

Constructor & Destructor Documentation

◆ QmlListAccess()

template<typename T, class Container>
Ms::PluginAPI::QmlListAccess< T, Container >::QmlListAccess ( QObject *  obj,
Container &  container 
)
inline

Member Function Documentation

◆ at()

template<typename T, class Container>
static T* Ms::PluginAPI::QmlListAccess< T, Container >::at ( QQmlListProperty< T > *  l,
int  i 
)
inlinestatic

◆ count()

template<typename T, class Container>
static int Ms::PluginAPI::QmlListAccess< T, Container >::count ( QQmlListProperty< T > *  l)
inlinestatic

The documentation for this class was generated from the following file: