![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <banner_widget.h>
Signals | |
| void | buddyVisibilityChanged () |
Public Member Functions | |
| BannerWidget (QWidget *parent, const QString &text, Qt::Orientation orientation=Qt::Vertical, int transparency=80) | |
| void | mousePressEvent (QMouseEvent *event) override |
| void | setText (const QString &text) const |
| void | setClickable (bool _clickable) |
| void | setBuddy (QWidget *_buddy) |
| QString | getText () const |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) override |
Private Slots | |
| void | toggleBuddyVisibility () const |
| void | updateDropdownIconState () const |
Private Attributes | |
| QLabel * | iconLabel |
| QLabel * | bannerLabel |
| Qt::Orientation | gradientOrientation |
| int | transparency |
| QWidget * | buddy = nullptr |
| bool | clickable = true |
|
explicit |
|
signal |
|
inlinenodiscard |
|
override |
|
overrideprotected |
| void BannerWidget::setBuddy | ( | QWidget * | _buddy | ) |
| void BannerWidget::setClickable | ( | bool | _clickable | ) |
| void BannerWidget::setText | ( | const QString & | text | ) | const |
|
privateslot |
|
privateslot |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |