mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
34 lines
808 B
C++
34 lines
808 B
C++
#pragma once
|
|
#include "simulator_base.hpp"
|
|
|
|
class Test_Sim : public Simulator_base
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit Test_Sim(Communication *comms = nullptr, QObject *parent = nullptr);
|
|
void timer() override;
|
|
void run_at_startup() override;
|
|
|
|
private:
|
|
void button_clicked(UI_button *id);
|
|
void slider_changed(UI_slider *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;
|
|
UI_plot m_plot;
|
|
UI_table m_table;
|
|
UI_spinbox m_spinbox;
|
|
UI_double_spinbox m_double_spinbox;
|
|
UI_hex_spinbox m_hex_spinbox;
|
|
UI_tab_widget m_tab_widget;
|
|
UI_stacked_widget m_stacked_widget;
|
|
UI_status_bar m_status_bar;
|
|
};
|