first re-commit.
This commit is contained in:
45
QtGPIOMain.h
Normal file
45
QtGPIOMain.h
Normal 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
|
Reference in New Issue
Block a user