Files
remote-ui/tools/simulators/test_sim.hpp
T
sani7 9eef1fc3ff Move to Qt
Everything seems to be working
Only timer is not moved over
2024-09-12 16:59:54 +02:00

23 lines
580 B
C++

#pragma once
#include "simulator_base.hpp"
class Test_Sim : public Simulator_base {
Q_OBJECT
public:
Test_Sim(QObject* parrent = nullptr);
void timer() override;
void run_at_startup() override;
private:
void button_clicked(std::string id);
void slider_changed(std::string id, double value);
private:
UI_button m_button;
UI_combobox m_combobox;
UI_label m_label;
UI_checkbox m_checkbox;
UI_slider m_slider;
UI_dial m_dial;
UI_thermo m_thermo;
UI_led m_led;
};