Loading...
Searching...
No Matches
score::DefaultGraphicsKnobImpl Struct Reference
Static Public Member Functions | |
| template<typename T > | |
| static void | paint (T &self, const score::Skin &skin, const QString &text, QPainter *painter, QWidget *widget, const QStyleOptionGraphicsItem *option=nullptr) |
| template<typename T > | |
| static void | mousePressEvent (T &self, QGraphicsSceneMouseEvent *event) |
| template<typename T > | |
| static void | mouseMoveEvent (T &self, QGraphicsSceneMouseEvent *event) |
| template<typename T > | |
| static void | mouseReleaseEvent (T &self, QGraphicsSceneMouseEvent *event) |
| template<typename T > | |
| static void | ungrabMouseEvent (T &self, QEvent *event) |
|
template<typename T > requires std::is_integral_v<std::decay_t<decltype(std::declval<T>().value())>> | |
| static void | contextMenuEvent (T &self, QPointF pos) |
| template<typename T > requires (!std::is_integral_v<std::decay_t<decltype(std::declval<T>().value())>>) | |
| static void | contextMenuEvent (T &self, QPointF pos) |
| template<typename T > | |
| static void | mouseDoubleClickEvent (T &self, QGraphicsSceneMouseEvent *event) |
Member Function Documentation
◆ contextMenuEvent()
template<typename T >
requires (!std::is_integral_v<std::decay_t<decltype(std::declval<T>().value())>>)
requires (!std::is_integral_v<std::decay_t<decltype(std::declval<T>().value())>>)
|
inlinestatic |
A value typed in as a real number, map(m_value): a scalar control, or one whose value() is more than the number (the time chooser's {time, sync}).
◆ ungrabMouseEvent()
template<typename T >
|
inlinestatic |
QEvent::UngrabMouse: the scene took the implicit grab away and there will be no release to end the drag on. See DefaultGraphicsSliderImpl for what goes wrong if the edit is left open.
The documentation for this struct was generated from the following file: