mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-06 07:45:26 +01:00
This will allow us to properly style the grid and also remove the need to refresh the whole grid on a window resize
25 lines
382 B
C++
25 lines
382 B
C++
#pragma once
|
|
|
|
#include "flow_widget_item.h"
|
|
#include <QLabel>
|
|
#include <QThread>
|
|
|
|
class screenshot_item : public flow_widget_item
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
screenshot_item(QWidget* parent);
|
|
virtual ~screenshot_item();
|
|
|
|
QString icon_path;
|
|
QSize icon_size;
|
|
QLabel* label{};
|
|
|
|
private:
|
|
std::unique_ptr<QThread> m_thread;
|
|
|
|
Q_SIGNALS:
|
|
void signal_icon_update(const QPixmap& pixmap);
|
|
};
|