MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / T_IconDelegate

Method T_IconDelegate

ElaWidgetToolsExample/ModelView/T_IconDelegate.cpp:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6#include <QPainter>
7
8T_IconDelegate::T_IconDelegate(QObject* parent)
9 : QStyledItemDelegate{parent}
10{
11 _themeMode = eTheme->getThemeMode();
12 connect(eTheme, &ElaTheme::themeModeChanged, this, [=](ElaThemeType::ThemeMode themeMode) {
13 _themeMode = themeMode;
14 });
15}
16
17T_IconDelegate::~T_IconDelegate()

Callers

nothing calls this directly

Calls 1

getThemeModeMethod · 0.80

Tested by

no test coverage detected