Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

C++ Backend Charts Demo App

 #ifndef CPPDATAMODEL_H
 #define CPPDATAMODEL_H

 #include <QObject>
 #include <QTimer>

 class CppDataModel : public QObject
 {
   Q_OBJECT
 public:
   explicit CppDataModel(QObject *parent = nullptr);

 signals:
   void dataLoaded(const QString& jsonDataString);

 public slots:
   void loadData();

 private:
   QTimer *timer;

   QString createRandomData();
   QString createRandomEntry(int year, const QString& city);

 private slots:
   void update();
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded