tahoma2d/toonz/sources/stopmotion/stopmotionserial.h

30 lines
652 B
C
Raw Normal View History

2020-04-27 16:15:39 +12:00
#pragma once
#ifndef STOPMOTIONSERIAL_H
#define STOPMOTIONSERIAL_H
#include <QObject>
class QSerialPort;
//=============================================================================
// StopMotionSerial
//-----------------------------------------------------------------------------
class StopMotionSerial : public QObject {
Q_OBJECT
public:
StopMotionSerial();
~StopMotionSerial();
QStringList m_controlBaudRates, m_serialDevices;
QSerialPort* m_serialPort;
// motion control
QStringList getAvailableSerialPorts();
bool setSerialPort(QString port);
void sendSerialData();
};
#endif // STOPMOTIONSERIAL_H