1#ifndef H_EXTENSIONS_CUTEHMI_GUI_1_INCLUDE_CUTEHMI_GUI_CUTEAPPLICATION_HPP
2#define H_EXTENSIONS_CUTEHMI_GUI_1_INCLUDE_CUTEHMI_GUI_CUTEAPPLICATION_HPP
4#include "internal/common.hpp"
7#include <QElapsedTimer>
30#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
32 QML_UNCREATABLE(
"CuteApplication is a singleton")
39 static constexpr int IDLE_MEASURE_INTERVAL = 1000;
43 Q_PROPERTY(
double idle READ idle NOTIFY idleChanged)
45 Q_PROPERTY(
bool idleMeasureEnabled READ idleMeasureEnabled WRITE setIdleMeasureEnabled NOTIFY idleMeasureEnabledChanged)
63 bool idleMeasureEnabled()
const;
65 void setIdleMeasureEnabled(
bool idleMeasureEnabled);
79 void updateIdleTime();
84 void setIdle(
double idle);
93 bool idleMeasureEnabled;
101 idleMeasureEnabled(false)
Application.
Definition: CuteApplication.hpp:25
void idleMeasureEnabledChanged()