Files
qmltermwidget/examples/cpp/RemoteTerm/remoteterm.h
T
willbelr 380e812373 Added an example for PyQt5 (#389)
* added pyqt5 example

* fixed example path on build

* improved pyqt example

* simplified example
2020-12-24 21:44:23 +08:00

20 lines
319 B
C++

#ifndef WIDGET_H
#define WIDGET_H
#include <qtermwidget5/qtermwidget.h>
class QTcpSocket;
class RemoteTerm : public QTermWidget
{
Q_OBJECT
public:
RemoteTerm(const QString &ipaddr, quint16 port, QWidget *parent = 0);
public slots:
void atError();
private:
QTcpSocket *socket;
};
#endif // WIDGET_H