Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
HoverButton Class Reference

Custom button with hover effect and shadow. More...

#include <matrixcombopopup.h>

Inheritance diagram for HoverButton:
Inheritance graph
[legend]
Collaboration diagram for HoverButton:
Collaboration graph
[legend]

Public Member Functions

 HoverButton (const QString &text, QWidget *parent=nullptr)
 Constructor.
 

Protected Member Functions

bool event (QEvent *event) override
 Handles hover events to show/hide shadow.
 

Detailed Description

Custom button with hover effect and shadow.

Constructor & Destructor Documentation

◆ HoverButton()

HoverButton::HoverButton ( const QString &  text,
QWidget *  parent = nullptr 
)
inline

Constructor.

Parameters
textButton text
parentParent widget

Member Function Documentation

◆ event()

bool HoverButton::event ( QEvent *  event)
inlineoverrideprotected

Handles hover events to show/hide shadow.

Parameters
eventEvent to process
Returns
Event handling result

The documentation for this class was generated from the following file: