Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_selection_actions_panel_button.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2026 Luna Lovecraft <ciubix8514@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6
7#ifndef _KIS_SELECTION_ACTIONS_PANEL_BUTTON
8#define _KIS_SELECTION_ACTIONS_PANEL_BUTTON
9
10#include <qabstractbutton.h>
11
13class KisSelectionActionsPanelButton : public QAbstractButton {
14 public:
15 KisSelectionActionsPanelButton(const QString& iconName, const QString &tooltip, int size, QWidget *parent);
17 void draw(QPainter &painter);
18protected:
19 void paintEvent(QPaintEvent *e) override;
20};
21
22
23#endif
Custom widget for selection actions panel buttons, to prevent them being drawn over the pop-up palett...
KisSelectionActionsPanelButton(const QString &iconName, const QString &tooltip, int size, QWidget *parent)