6#include <score_lib_base_export.h>
17struct DocumentContext;
26SCORE_LIB_BASE_EXPORT
void deleteGraphicsObject(QGraphicsObject* item);
27SCORE_LIB_BASE_EXPORT
void deleteGraphicsItem(QGraphicsItem* item);
30QGraphicsView* getView(
const QGraphicsItem& self);
32QGraphicsView* getView(
const QPainter& painter);
35QImage newImage(
double logical_w,
double logical_h);
38std::optional<QPointF> mapPointToItem(QPoint global, QGraphicsItem& item);
41void registerItemHelp(
int itemType, QString tooltip, QUrl url)
noexcept;
43QUrl getItemHelpUrl(
int itemType)
noexcept;
62 auto operator=(T* other) { impl = other; }
64 operator bool()
const {
return impl; }
66 operator T*()
const {
return impl; }
68 T& operator*()
const {
return *impl; }
70 T* operator->()
const {
return impl; }
Base toolkit upon which the software is built.
Definition Application.cpp:90
Definition GraphicsItem.hpp:47