The LocalWeatherCard class is the card widgets, press it to trigger the light service(current displaying by toast depatching) More...
#include <localweathercard.h>
Public Member Functions | |
| LocalWeatherCard ()=delete | |
| Construct a new Local Weather Card object default disabled. | |
| Q_DISABLE_COPY (LocalWeatherCard) | |
| disable copy | |
| LocalWeatherCard (DesktopToast *toast, QWidget *parent=nullptr) | |
| Construct a new Local Weather Card object. | |
| void | invoke_preLaunch_work () override |
| concrete implementation of the AppCardWidget | |
| void | operate_comment_label () override |
| operate_comment_label operating self labels | |
Public Member Functions inherited from AppCardWidget | |
| Q_DISABLE_COPY (AppCardWidget) | |
| Disable copy constructor and assignment operator. | |
| AppCardWidget ()=delete | |
| Default constructor deleted to force usage of parameterized constructor. | |
| AppCardWidget (DesktopToast *toast, QWidget *parent=nullptr) | |
| Constructs an AppCardWidget. | |
| ~AppCardWidget () | |
| Virtual destructor. | |
| virtual void | setCurrentIcon (const QPixmap &icons) |
| Set the current icon for the app card. | |
| void | invoke_textlabel_stylefresh () |
| invoke_textlabel_stylefresh | |
| bool | eventFilter (QObject *watched, QEvent *event) override |
| Event filter to handle user interaction events. | |
Protected Member Functions | |
| void | postAppCardWidget () override |
| postAppCardWidget is the concrete implementation of the AppCardWidget | |
| void | setupSelfTextLabelStyle (QLabel *selfTextLabel) override |
| textlabel style reset | |
Protected Member Functions inherited from AppCardWidget | |
| virtual void | setHelperFunction (const QString &what) |
| setHelperFunction: plainly set the text for shown | |
Protected Attributes | |
| LocalWeatherLightFetcher * | localFetcher { nullptr } |
| fetcher instance | |
Protected Attributes inherited from AppCardWidget | |
| DesktopToast * | binding_toast |
| Pointer to the toast widget used for posting messages. | |
| Ui::AppCardWidget * | ui |
| UI object generated from the Qt Designer form. | |
The LocalWeatherCard class is the card widgets, press it to trigger the light service(current displaying by toast depatching)
|
overridevirtual |
concrete implementation of the AppCardWidget
Implements AppCardWidget.
|
overridevirtual |
operate_comment_label operating self labels
Implements AppCardWidget.
|
overrideprotectedvirtual |
postAppCardWidget is the concrete implementation of the AppCardWidget
Implements AppCardWidget.
|
overrideprotectedvirtual |
textlabel style reset
Implements AppCardWidget.