inial commit

This commit is contained in:
Carl Philipp Klemm 2025-08-25 17:01:34 +02:00
commit e87470d14e
10 changed files with 472 additions and 0 deletions

31
mainwindow.h Normal file
View file

@ -0,0 +1,31 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <memory>
#include "channelwidget.h"
namespace Ui
{
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
std::vector<std::shared_ptr<ChannelWidget>> channels;
Ui::MainWindow *ui;
signals:
void channelStateChanged(uint16_t device, uint16_t channel);
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
private:
void enumerateDevices();
};
#endif // MAINWINDOW_H