Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_tool_options_popup.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2015 Boudewijn Rempt <boud@valdyas.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6#ifndef KIS_TOOL_OPTIONS_POPUP_H
7#define KIS_TOOL_OPTIONS_POPUP_H
8
9#include <QWidget>
10#include <QPointer>
11
12class KisToolOptionsPopup : public QWidget
13{
14 Q_OBJECT
15public:
16 explicit KisToolOptionsPopup(QWidget *parent = 0);
17 ~KisToolOptionsPopup() override;
18
19 void newOptionWidgets(const QList<QPointer<QWidget> > &optionWidgetList);
20
21Q_SIGNALS:
22
23public Q_SLOTS:
24
25protected:
26 void contextMenuEvent(QContextMenuEvent *) override;
27 void hideEvent(QHideEvent *) override;
28 void showEvent(QShowEvent *) override;
29
30private:
31
32 struct Private;
33 Private *const d;
34};
35
36#endif // KIS_TOOL_OPTIONS_POPUP_H
void showEvent(QShowEvent *) override
void hideEvent(QHideEvent *) override
void contextMenuEvent(QContextMenuEvent *) override
KisToolOptionsPopup(QWidget *parent=0)
void newOptionWidgets(const QList< QPointer< QWidget > > &optionWidgetList)