aboutsummaryrefslogtreecommitdiff
path: root/include/completion/CompleterDelegate.hpp
blob: fc7a321415c1ae69266d49cd482e2ff5559000c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <QStyledItemDelegate>
#include <QWidget>
#include <QtCore>

class CompleterDelegate : public QStyledItemDelegate {
  Q_OBJECT

public:
  explicit CompleterDelegate(QObject *parent = nullptr);

  void paint(QPainter *painter, const QStyleOptionViewItem &option,
             const QModelIndex &index) const override;
};