MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / mousePressEvent

Method mousePressEvent

ElaWidgetTools/ElaMessageButton.cpp:76–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76ElaMessageButton::~ElaMessageButton()
77{
78}
79
80void ElaMessageButton::mousePressEvent(QMouseEvent* event)
81{
82 Q_D(ElaMessageButton);
83 if (event->button() == Qt::LeftButton)
84 {
85 d->_isLeftButtonPress = true;
86 }
87 QPushButton::mousePressEvent(event);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected