A custom QWidget that displays current weather information. More...
#include <WeatherCard.h>
Public Member Functions | |
| WeatherCard (QWidget *parent=nullptr) | |
| Constructs a WeatherCard object. | |
| ~WeatherCard () | |
| Destroys the WeatherCard object. | |
A custom QWidget that displays current weather information.
This widget is designed to present weather data in a compact "card" format. It receives WeatherData objects and updates its UI to reflect the current weather conditions. It typically relies on a WeatherRequestEngine to fetch the actual weather data.
|
explicit |
Constructs a WeatherCard object.
| parent | A pointer to the parent widget, if any. Defaults to nullptr. |
| WeatherCard::~WeatherCard | ( | ) |
Destroys the WeatherCard object.
WeatherRequestEngine.