Open 3D Engine AzQtComponents API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <CardNotification.h>
Inherits QFrame.
Public Member Functions | |
CardNotification (QWidget *parent, const QString &title, const QIcon &icon, const QSize={24, 24}) | |
void | addFeature (QWidget *feature) |
QPushButton * | addButtonFeature (const QString &buttonText) |
Notification class for Card widgets. Displays a message and allows for widgets to be added to handle error cases and solve requirements.
QPushButton* AzQtComponents::CardNotification::addButtonFeature | ( | const QString & | buttonText | ) |
Creates a QPushButton and adds it to the notification frame.
buttonText | The text to display on the newly created button. |
void AzQtComponents::CardNotification::addFeature | ( | QWidget * | feature | ) |
Appends a widget to the notification frame. The widget will be parented to the CardNotification.