mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-27 08:41:02 +08:00
24 lines
597 B
C++
24 lines
597 B
C++
|
|
|
|
|
|
|
|
|
|
#ifndef EASY_PROFILER_GUI_TREEVIEW_FIRST_COLUMN_DELEGATE_H
|
|
#define EASY_PROFILER_GUI_TREEVIEW_FIRST_COLUMN_DELEGATE_H
|
|
|
|
#include <QStyledItemDelegate>
|
|
|
|
class TreeViewFirstColumnItemDelegate : public QStyledItemDelegate
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit TreeViewFirstColumnItemDelegate(QObject* parent = nullptr);
|
|
~TreeViewFirstColumnItemDelegate() override;
|
|
void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override;
|
|
|
|
}; // END of class TreeViewFirstColumnItemDelegate.
|
|
|
|
#endif // EASY_PROFILER_GUI_TREEVIEW_FIRST_COLUMN_DELEGATE_H
|