mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
b5349478cf
The next commit will add `.git-blame-ignore-revs` https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
18 lines
439 B
C++
18 lines
439 B
C++
#ifndef __DELEGATE_HH_INCLUDED__
|
|
#define __DELEGATE_HH_INCLUDED__
|
|
|
|
#include <QAbstractItemDelegate>
|
|
#include <QStyledItemDelegate>
|
|
|
|
class WordListItemDelegate: public QStyledItemDelegate
|
|
{
|
|
public:
|
|
explicit WordListItemDelegate( QAbstractItemDelegate * delegate );
|
|
virtual void paint( QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index ) const;
|
|
|
|
private:
|
|
QStyledItemDelegate * mainDelegate;
|
|
};
|
|
|
|
#endif
|