#ifndef EXPERTSCREENCONNWIN_H #define EXPERTSCREENCONNWIN_H #include class CardTable; class ExpertScreenConnWin : public QWidget { Q_OBJECT public: explicit ExpertScreenConnWin(QWidget *parent = nullptr); CardTable *table; QList> netss{QList{}, QList{}, QList{}, QList{}}; }; 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); }; #endif // EXPERTSCREENCONNWIN_H