Custom button with hover effect and shadow.
More...
#include <matrixcombopopup.h>
|
| | HoverButton (const QString &text, QWidget *parent=nullptr) |
| | Constructor.
|
| |
|
| bool | event (QEvent *event) override |
| | Handles hover events to show/hide shadow.
|
| |
Custom button with hover effect and shadow.
◆ HoverButton()
| HoverButton::HoverButton |
( |
const QString & |
text, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| text | Button text |
| parent | Parent widget |
◆ event()
| bool HoverButton::event |
( |
QEvent * |
event | ) |
|
|
inlineoverrideprotected |
Handles hover events to show/hide shadow.
- Parameters
-
- Returns
- Event handling result
The documentation for this class was generated from the following file: