A card widget displaying learning resources, links, and action buttons.
More...
#include <learn_card_widget.h>
|
| bool | event (QEvent *event) override |
| | Handle widget events, including palette and style changes.
|
| |
A card widget displaying learning resources, links, and action buttons.
◆ LearnCardWidget()
| LearnCardWidget::LearnCardWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
Construct a LearnCardWidget.
- Parameters
-
| parent | The parent widget; may be nullptr. |
◆ event()
| bool LearnCardWidget::event |
( |
QEvent * |
event | ) |
|
|
overrideprotected |
Handle widget events, including palette and style changes.
- Parameters
-
| event | The event to handle. |
- Returns
- true if the event was consumed; false to allow further processing by the base class.
◆ isLinksCollapsed()
| bool LearnCardWidget::isLinksCollapsed |
( |
| ) |
const |
Return whether the links section is currently collapsed.
- Returns
- true if the link list is hidden; false if it is visible.
◆ setLinksCollapsed()
| void LearnCardWidget::setLinksCollapsed |
( |
bool |
collapsed | ) |
|
Collapse or expand the links section.
- Parameters
-
| collapsed | true to hide the links list; false to show it. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/widgets/learn_card_widget.h
- /builds/wireshark/wireshark/ui/qt/widgets/learn_card_widget.cpp