Files
qt-creator/src/plugins/autotest/testtreeitemdelegate.h

23 lines
548 B
C
Raw Normal View History

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
2014-11-13 12:31:58 +01:00
#pragma once
2014-11-13 12:31:58 +01:00
#include <QStyledItemDelegate>
namespace Autotest {
namespace Internal {
class TestTreeItemDelegate : public QStyledItemDelegate
{
Q_OBJECT
public:
explicit TestTreeItemDelegate(QObject *parent = nullptr);
2014-11-13 12:31:58 +01:00
public:
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
2014-11-13 12:31:58 +01:00
};
} // namespace Internal
} // namespace Autotest