6#include <score_lib_base_export.h>
18struct DocumentContext;
27SCORE_LIB_BASE_EXPORT
void deleteGraphicsObject(QGraphicsObject* item);
28SCORE_LIB_BASE_EXPORT
void deleteGraphicsItem(QGraphicsItem* item);
31QGraphicsView* getView(
const QGraphicsItem& self);
33QGraphicsView* getView(
const QPainter& painter);
36QImage newImage(
double logical_w,
double logical_h);
39std::optional<QPointF> mapPointToItem(QPoint global, QGraphicsItem& item);
42void registerItemHelp(
int itemType, QString tooltip, QUrl url)
noexcept;
44QUrl getItemHelpUrl(
int itemType)
noexcept;
88 auto operator=(T* other) { impl = other; }
90 operator bool()
const {
return impl; }
92 operator T*()
const {
return impl; }
94 T& operator*()
const {
return *impl; }
96 T* operator->()
const {
return impl; }
Base toolkit upon which the software is built.
Definition Application.cpp:116
void retargetInputMethod(QObject *target) noexcept
Point the platform input method at target.
Definition GraphicsItem.cpp:43
void watchSceneInputMethod(QGraphicsScene &scene)
Keep the platform input method in sync with the scene's focus item.
Definition GraphicsItem.cpp:48
Definition GraphicsItem.hpp:73