Widget class representing the settings application UI. More...
#include <AppLauncherApp.h>
Signals | |
void | indicate_open_launch_window () |
Signal emitted to indicate that the settings window should be opened. | |
![]() | |
void | postAppStatus (AppWidget::AppStatus status) |
Signal emitted to notify about the application status. | |
Public Member Functions | |
AppLauncherApp (DesktopMainWindow *parent=nullptr) | |
Constructs the AppLauncherApp widget. | |
void | do_daptch () override |
Executes the dispatch operation for the settings app. | |
![]() | |
AppWidget (const QPixmap &icon, const QString &name, QWidget *parent=nullptr) | |
Constructs an AppWidget with the given icon and app name. | |
void | bindApp (ApplicationWrapper *wrapper) |
Bind an ApplicationWrapper instance to this widget. | |
ApplicationWrapper * | get_app () const |
Get the bound ApplicationWrapper. | |
void | setIcon (const QPixmap &icon) noexcept |
Set the icon displayed by this widget. | |
void | setAppName (const QString &name) noexcept |
Set the application name displayed by this widget. | |
void | setDummy (bool dummy) |
Set this widget as dummy mode. | |
QPixmap | icon () const |
Get the current icon pixmap. | |
void | setIconSize (int iconSize) |
Set the Icon size. | |
int | iconSize () const |
iconSize | |
void | showIconOnly (bool st) |
Show or hide only the icon (hides other UI elements). | |
QString | app_name () const |
Get the application name. | |
void | set_displayed_font (const QFont &f) |
set_displayed_font setFonts of displayed label | |
QFont | currentFont () const |
currentFont get the current displaying font | |
void | setFontColor (const QColor &color) |
setFontColor set the font color | |
~AppWidget () | |
Destructor. | |
Additional Inherited Members | |
![]() | |
enum class | AppStatus { AppOk , AppNonExsits } |
Enum representing the application status. More... | |
![]() | |
bool | eventFilter (QObject *watched, QEvent *event) override |
Event filter to handle user interaction events. | |
Widget class representing the settings application UI.
|
explicit |
Constructs the AppLauncherApp widget.
parent | Pointer to the main desktop window or parent widget. |
|
overridevirtual |
Executes the dispatch operation for the settings app.
Overrides base class method to provide custom dispatch logic.
Reimplemented from AppWidget.