Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QRangeModel::RowOptions< T > Class Template Reference

\inmodule QtCore More...

#include <qrangemodel.h>

Inheritance diagram for QRangeModel::RowOptions< T >:
Collaboration diagram for QRangeModel::RowOptions< T >:

Detailed Description

template<typename T>
class QRangeModel::RowOptions< T >

\inmodule QtCore

The RowOptions template provides a customization point to control how QRangeModel represents types used as rows.

Since
6.10

Specialize this template for the type used in your range, and add the relevant members.

\table \header

{
Q_PROPERTY(QString display MEMBER m_colorName)
Q_PROPERTY(QString toolTip READ toolTip)
public:

\dots

};
template <>
{
static constexpr auto rowCategory = QRangeModel::RowCategory::MultiRoleItem;
};

Definition at line 27 of file qrangemodel.h.


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