Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_tool_button.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2011 José Luis Vergara <pentalis@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef KIS_TOOL_BUTTON_H
8
#define KIS_TOOL_BUTTON_H
9
10
#include <QToolButton>
11
#include <kritaui_export.h>
12
21
class
KRITAUI_EXPORT
KisToolButton
:
public
QToolButton
22
{
23
Q_OBJECT
24
public
:
25
explicit
KisToolButton
(QWidget *parent = 0);
26
27
protected
:
28
void
mousePressEvent(QMouseEvent *e)
override
;
29
void
mouseReleaseEvent(QMouseEvent *e)
override
;
30
31
private
:
32
bool
m_tabletContact
;
33
};
34
35
#endif
// KIS_TOOL_BUTTON_H
KisToolButton
Definition
kis_tool_button.h:22
KisToolButton::m_tabletContact
bool m_tabletContact
Definition
kis_tool_button.h:32
libs
ui
widgets
kis_tool_button.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52