Files
gcs-nf/SerialPortDialog/disconnectdialog.h
T

34 lines
520 B
C++
Raw Normal View History

2020-02-20 17:13:31 +08:00
#ifndef DISCONNECTDIALOG_H
2019-12-25 10:53:19 +08:00
#define DISCONNECTDIALOG_H
#include <QDialog>
namespace Ui {
class disconnectdialog;
}
2020-01-17 16:38:58 +08:00
2020-02-20 17:13:31 +08:00
#ifdef QtSerialPort
#include <serialportglobal.h>
class SERIALPORTSHARED_EXPORT disconnectdialog : public QDialog {
#else
2019-12-25 10:53:19 +08:00
class disconnectdialog : public QDialog
{
2020-02-20 17:13:31 +08:00
#endif
2019-12-25 10:53:19 +08:00
Q_OBJECT
public:
explicit disconnectdialog(QWidget *parent = 0);
~disconnectdialog();
int exec();
void accept();
void reject();
private:
Ui::disconnectdialog *ui;
};
#endif // DISCONNECTDIALOG_H