first re-commit.

This commit is contained in:
2025-08-05 22:33:23 +02:00
commit e1ff579d1a
295 changed files with 107130 additions and 0 deletions

45
QtGPIOMain.h Normal file
View File

@@ -0,0 +1,45 @@
/***************************************************************************
QtGPIO
Copyright © 2013-2022 christoph holzheuer
chris@sourceworx.org
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
***************************************************************************/
#ifndef QPIGPIOMAIN_H
#define QPIGPIOMAIN_H
#include <QMainWindow>
#include <ui_QtGPIOMain.h>
#include <iostream>
#include <pigrotarydial.h>
class QtGPIOMain : public QMainWindow, private Ui_QtGPIOMain
{
Q_OBJECT
public:
QtGPIOMain( QWidget* parent = nullptr );
virtual ~QtGPIOMain();
void on_state_changed( bool state );
void on_value_changed( int value );
protected:
pigRotaryDial _pigDial;
};
#endif // QPIGPIOMAIN_H