mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-04 15:50:10 +01:00
12 lines
455 B
C++
12 lines
455 B
C++
#pragma once
|
|
|
|
#include <QItemDelegate>
|
|
|
|
/** This class is used to get rid of somewhat ugly item focus rectangles. You could change the rectangle instead of omiting it if you wanted */
|
|
class table_item_delegate : public QItemDelegate
|
|
{
|
|
public:
|
|
explicit table_item_delegate(QObject *parent = 0) : QItemDelegate(parent) {}
|
|
virtual void drawFocus(QPainter * /*painter*/, const QStyleOptionViewItem & /*option*/, const QRect & /*rect*/) const override {}
|
|
};
|