Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
SPDX-FileCopyrightText: 2006 Gábor Lehel <[email protected]>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KIS_DOCUMENT_SECTION_TOOLTIP_H
#define KIS_DOCUMENT_SECTION_TOOLTIP_H
#include "KoItemToolTip.h"
class KisNodeModel;
/**
* A default tooltip for a NodeView that shows a thumbnail
* image and the list of properties associated with a node.
*/
class NodeToolTip: public KoItemToolTip
{
Q_OBJECT
public:
NodeToolTip(QWidget *widget);
~NodeToolTip() override;
protected:
QTextDocument *createDocument(const QModelIndex &index) override;
private:
typedef KisNodeModel Model;
};
#endif