score
Home
Classes
Namespaces
Files
GraphicsSceneToolPalette.hpp
1
#pragma once
2
#include <QObject>
3
#include <QPoint>
4
5
#include <score_lib_base_export.h>
6
7
class
QGraphicsScene;
8
9
class
SCORE_LIB_BASE_EXPORT
GraphicsSceneToolPalette
:
public
QObject
10
{
11
public
:
12
explicit
GraphicsSceneToolPalette
(
const
QGraphicsScene& scene)
13
: m_scene{scene}
14
{
15
}
16
virtual
~
GraphicsSceneToolPalette
();
17
18
QPointF scenePoint;
19
20
const
QGraphicsScene& scene()
const
{
return
m_scene; }
21
22
private
:
23
const
QGraphicsScene& m_scene;
24
};
GraphicsSceneToolPalette
Definition:
GraphicsSceneToolPalette.hpp:10