Page Contents

Topics

Classes

QLThemeCompatibilityItemDelegate Class

#include <QLayers/qlthemecompatibilityitemdelegate.h>

Inherits: QLGridlineItemDelegate

Public Functions

QLThemeCompatibilityItemDelegate(QObject* parent = nullptr)
virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override

Detailed Description

A QLThemeCompatibilityItemDelegate is a QLGridlineItemDelegate that serves as the item delegate for the QLTableView of a QLThemeCompatibilityCautionDialog.

Member Function Documentation

QLThemeCompatibilityItemDelegate(QObject* parent = nullptr)

Constructs a theme compatibility item delegate.

void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const

Virtual

Override

Renders the delegate using the given painter and style option for the item specified by index.