Guitar
src
MyTableWidgetDelegate.h
Go to the documentation of this file.
1
#ifndef MYTABLEWIDGETDELEGATE_H
2
#define MYTABLEWIDGETDELEGATE_H
3
4
#include <QStyledItemDelegate>
5
6
7
class
MyTableWidgetDelegate
:
public
QStyledItemDelegate {
8
public
:
9
explicit
MyTableWidgetDelegate
(QObject *parent =
nullptr
);
10
void
paint
(QPainter *painter,
const
QStyleOptionViewItem &option, QModelIndex
const
&index)
const override
;
11
};
12
13
#endif // MYTABLEWIDGETDELEGATE_H
MyTableWidgetDelegate.h
MyTableWidgetDelegate
Definition:
MyTableWidgetDelegate.h:7
MyTableWidgetDelegate::MyTableWidgetDelegate
MyTableWidgetDelegate(QObject *parent=nullptr)
Definition:
MyTableWidgetDelegate.cpp:8
MyTableWidgetDelegate::paint
void paint(QPainter *painter, const QStyleOptionViewItem &option, QModelIndex const &index) const override
Definition:
MyTableWidgetDelegate.cpp:27
Generated by
1.8.17