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

Method T_IconModel

ElaWidgetToolsExample/ModelView/T_IconModel.cpp:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3#include "ElaWidgetToolsDef.h"
4T_IconModel::T_IconModel(QObject* parent)
5 : QAbstractListModel{parent}
6{
7 _metaEnum = QMetaEnum::fromType<ElaIconType::IconName>();
8 _rowCount = _metaEnum.keyCount() - 1;
9 _pIsSearchMode = false;
10}
11
12T_IconModel::~T_IconModel()
13{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected