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++
/* This file is part of the KDE project
* SPDX-FileCopyrightText: 2015 Boudewijn Rempt <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KIS_TOOL_OPTIONS_POPUP_H
#define KIS_TOOL_OPTIONS_POPUP_H
#include <QWidget>
#include <QPointer>
class KisToolOptionsPopup : public QWidget
{
Q_OBJECT
public:
explicit KisToolOptionsPopup(QWidget *parent = 0);
~KisToolOptionsPopup() override;
void newOptionWidgets(const QList<QPointer<QWidget> > &optionWidgetList);
Q_SIGNALS:
public Q_SLOTS:
protected:
void contextMenuEvent(QContextMenuEvent *) override;
void hideEvent(QHideEvent *) override;
void showEvent(QShowEvent *) override;
private:
struct Private;
Private *const d;
};
#endif // KIS_TOOL_OPTIONS_POPUP_H