Q3270
A Qt-based 3270 Terminal Emulator
Loading...
Searching...
No Matches
ClickableSvgItem.h
1
/*
2
* Q3270 Terminal Emulator
3
*
4
* Copyright (c) 2020–2025 Andy Styles
5
* SPDX-License-Identifier: BSD-3-Clause
6
*
7
* This file is part of Q3270.
8
* See the LICENSE file in the project root for full license information.
9
*/
10
11
#ifndef CLICKABLESVGITEM_H
12
#define CLICKABLESVGITEM_H
13
14
#include <QGraphicsSvgItem>
15
16
class
ClickableSvgItem
:
public
QGraphicsSvgItem
17
{
18
public
:
19
using
QGraphicsSvgItem::QGraphicsSvgItem;
20
21
protected
:
22
void
mousePressEvent
(QGraphicsSceneMouseEvent *event)
override
;
23
24
};
25
26
#endif
// CLICKABLESVGITEM_H
ClickableSvgItem
Definition
ClickableSvgItem.h:17
ClickableSvgItem::mousePressEvent
void mousePressEvent(QGraphicsSceneMouseEvent *event) override
ClickableSvgItem::mousePressEvent - a clickable SVG icon.
Definition
ClickableSvgItem.cpp:25
src
Display
ClickableSvgItem.h
Generated by
1.9.8