#include <pad.hpp>
|
| static const int | Type = QGraphicsItem::UserType + 1 |
| |
|
| QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
| |
| void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override |
| |
| void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override |
| |
◆ Pad()
◆ boundingRect()
| QRectF Pad::boundingRect |
( |
| ) |
const |
|
override |
◆ getInterface()
◆ getSceneDockPoint()
| QPoint Pad::getSceneDockPoint |
( |
| ) |
const |
Get position for the cable to dock to.
This method the position, where the cable starts/ends. Normally the midpoint of the pad.
- Returns
- Point in scence coordinates
◆ getSide()
◆ hoverEnterEvent()
| void Pad::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * | event | ) |
|
|
overrideprotected |
◆ hoverLeaveEvent()
| void Pad::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * | event | ) |
|
|
overrideprotected |
◆ itemChange()
| QVariant Pad::itemChange |
( |
GraphicsItemChange | change, |
|
|
const QVariant & | value ) |
|
overrideprotected |
◆ paint()
| void Pad::paint |
( |
QPainter * | painter, |
|
|
const QStyleOptionGraphicsItem * | option, |
|
|
QWidget * | widget ) |
|
override |
◆ positionChanged
| void Pad::positionChanged |
( |
| ) |
|
|
signal |
◆ setHover()
| void Pad::setHover |
( |
bool | hover | ) |
|
Sets the hover state.
This method set the hover state. If true, there are visual differences to indicate that the Pad is currently on hover. If false, the Pad has the default appearance. Note: This method does not sets the opservation of a hover, but the hover itself.
- Parameters
-
◆ type()
◆ Type
| const int Pad::Type = QGraphicsItem::UserType + 1 |
|
static |
The documentation for this class was generated from the following files:
- src/nodeeditor/graphicsitems/pad.hpp
- src/nodeeditor/graphicsitems/pad.cpp