#pragma once #include #include #include "../emulator/gameInfo.h" #include "game_list_item.h" struct gui_game_info { GameInfo info{}; QPixmap icon; QPixmap pxmap; game_list_item* item = nullptr; }; typedef std::shared_ptr game_info; Q_DECLARE_METATYPE(game_info) class game_list_table : public QTableWidget { public: void clear_list(); protected: void mousePressEvent(QMouseEvent* event) override; };