QRangeModel::RowOptions Struct
template <typename T> struct QRangeModel::RowOptions행 옵션 템플릿은 QRangeModel 에서 행으로 사용되는 유형을 나타내는 방식을 제어하는 사용자 지정 지점을 제공합니다. 더 보기...
이 구조체는 Qt 6.10에 도입되었습니다.
자세한 설명
범위에서 사용되는 유형에 맞게 이 템플릿을 특수화하고 관련 멤버를 추가합니다.
멤버 | Values |
---|---|
static constexpr RowCategory rowCategory | RowCategory |
class ColorEntry { Q_GADGET Q_PROPERTY(QString display MEMBER m_colorName) Q_PROPERTY(QColor decoration READ decoration) Q_PROPERTY(QString toolTip READ toolTip) public: ... }; template <> struct QRangeModel::RowOptions<ColorEntry> { static constexpr auto rowCategory = QRangeModel::RowCategory::MultiRoleItem; };
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.