Loading...
Searching...
No Matches
ArrowDialog.hpp
1#pragma once
2#include <QGraphicsItem>
3#include <QPainterPath>
4
5#include <score_lib_base_export.h>
6
7#include <vector>
8
9namespace score
10{
11class SCORE_LIB_BASE_EXPORT ArrowDialog
12 : public QObject
13 , public QGraphicsItem
14{
15public:
16 ArrowDialog(QGraphicsScene* parent);
17
18 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget)
19 override;
20
21private:
22 const QPainterPath& getPath(QSizeF sz);
23
24 QPainterPath createPath(QSizeF sz);
25 static inline std::vector<std::pair<QSizeF, QPainterPath>> paths;
26};
27}
Definition ArrowDialog.hpp:14
Base toolkit upon which the software is built.
Definition Application.cpp:90