2022-08-26 23:15:25 +08:00
|
|
|
#ifndef EXPERTSCREENCONNWIN_H
|
|
|
|
#define EXPERTSCREENCONNWIN_H
|
|
|
|
|
2022-08-30 23:07:13 +08:00
|
|
|
#include <QTableWidget>
|
2022-08-26 23:15:25 +08:00
|
|
|
|
2022-08-30 23:07:13 +08:00
|
|
|
class CardTable;
|
2022-08-26 23:15:25 +08:00
|
|
|
class ExpertScreenConnWin : public QWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit ExpertScreenConnWin(QWidget *parent = nullptr);
|
2022-08-30 23:07:13 +08:00
|
|
|
CardTable *table;
|
|
|
|
QList<QList<QPoint>> netss{QList<QPoint>{}, QList<QPoint>{}, QList<QPoint>{}, QList<QPoint>{}};
|
|
|
|
};
|
2022-08-26 23:15:25 +08:00
|
|
|
|
2022-08-30 23:07:13 +08:00
|
|
|
class CardTable : public QTableWidget {
|
|
|
|
public:
|
|
|
|
explicit CardTable(QWidget *parent = nullptr) : QTableWidget{parent} {}
|
|
|
|
CardTable(int rows, int columns, QWidget *parent = nullptr) : QTableWidget{rows, columns, parent} {}
|
|
|
|
ExpertScreenConnWin *win;
|
|
|
|
protected:
|
|
|
|
void paintEvent(QPaintEvent *event);
|
2022-08-26 23:15:25 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // EXPERTSCREENCONNWIN_H
|