-
Notifications
You must be signed in to change notification settings - Fork 0
/
PortTableDlg.h
55 lines (31 loc) · 894 Bytes
/
PortTableDlg.h
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//
// Created by gaochong on 17-12-4.
//
#ifndef ELANTOOL_PORTLISTDLG_H
#define ELANTOOL_PORTLISTDLG_H
#include <QtWidgets/QDialog>
#include <QtCore/QModelIndex>
#include <QtWidgets/QLabel>
#include "PortListViewAll.h"
#include "MainWindow.h"
class PortTableDlg : public QWidget{
Q_OBJECT
private:
PortListViewAll *portListViewAll;
PortListViewAll *SelportListView;
QLabel *allPortLabel2;
QLabel *selPortLabel2;
MainWindow *mainUI;
int AllPortCount = 0;
public:
PortTableDlg( MainWindow *mainUI, QWidget *parent = nullptr );
virtual ~PortTableDlg();
QSize sizeHint() const override;
void UpdateRowCount();
private slots:
void SelportListViewItemDBClick( QModelIndex index );
void portListViewAlltemDBClick( QModelIndex index );
void SaveSelPort();
void CloseSetupDlg();
};
#endif //ELANTOOL_PORTLISTDLG_H