-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSerialCOM.h
More file actions
39 lines (32 loc) · 723 Bytes
/
SerialCOM.h
File metadata and controls
39 lines (32 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* @file SerialCOM.h
* @author Anil Kumar
* @date 15May2021
* @brief This is header of SerialCOM class.
*/
#ifndef SERIALCOM_H
#define SERIALCOM_H
#include <QMainWindow>
#include <WidgetSerialPort.h>
namespace Ui {
class SerialCOM;
}
class SerialCOM : public QMainWindow
{
Q_OBJECT
public:
explicit SerialCOM(QWidget *parent = 0);
~SerialCOM();
public slots:
private slots:
void sl_AboutUs(bool ab);
void sl_Close(bool cl);
void sl_OpenNew(bool nStat);
void sl_CloseTab(int index);
void sl_ChangeTabStatus(WidgetSerialPort* uiSerialPort,int state);
private:
Ui::SerialCOM *ui;
QMap<int,bool> index_stat;
QMap<int,WidgetSerialPort*> sp_widgets;
};
#endif // SERIALCOM_H