File indexing completed on 2024-11-24 04:19:27
0001 #pragma once 0002 0003 #include <QObject> 0004 #include <MauiKit4/Core/mauilist.h> 0005 0006 class PlantsList : public MauiList 0007 { 0008 Q_OBJECT 0009 public: 0010 PlantsList(QObject *parent = nullptr); 0011 0012 // QQmlParserStatus interface 0013 void componentComplete(); 0014 0015 // MauiList interface 0016 const FMH::MODEL_LIST &items() const; 0017 0018 private: 0019 FMH::MODEL_LIST m_list; 0020 0021 //Here we have our own custom raw data and turn it into a FMH::MODEL_LIST 0022 FMH::MODEL_LIST getData() const; 0023 };