documentation and folded item delegates from old code back in

This commit is contained in:
itsmattkc
2019-07-02 03:01:46 -07:00
parent 1d05d6571a
commit 85b5bbd5d6
22 changed files with 293 additions and 3 deletions
@@ -0,0 +1,15 @@
#ifndef PROJECTEXPLORERLISTVIEWITEMDELEGATE_H
#define PROJECTEXPLORERLISTVIEWITEMDELEGATE_H
#include <QStyledItemDelegate>
class ProjectExplorerListViewItemDelegate : public QStyledItemDelegate
{
public:
ProjectExplorerListViewItemDelegate(QObject *parent = nullptr);
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override;
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
};
#endif // PROJECTEXPLORERLISTVIEWITEMDELEGATE_H