CCIMXDesktop
 
Loading...
Searching...
No Matches
AppLauncherApp Class Reference

Widget class representing the settings application UI. More...

#include <AppLauncherApp.h>

Inheritance diagram for AppLauncherApp:
AppWidget

Signals

void indicate_open_launch_window ()
 Signal emitted to indicate that the settings window should be opened.
 
- Signals inherited from AppWidget
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.
 
- Public Member Functions inherited from AppWidget
 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.
 
ApplicationWrapperget_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

- Public Types inherited from AppWidget
enum class  AppStatus { AppOk , AppNonExsits }
 Enum representing the application status. More...
 
- Protected Member Functions inherited from AppWidget
bool eventFilter (QObject *watched, QEvent *event) override
 Event filter to handle user interaction events.
 

Detailed Description

Widget class representing the settings application UI.

Constructor & Destructor Documentation

◆ AppLauncherApp()

AppLauncherApp::AppLauncherApp ( DesktopMainWindow parent = nullptr)
explicit

Constructs the AppLauncherApp widget.

Parameters
parentPointer to the main desktop window or parent widget.

Member Function Documentation

◆ do_daptch()

void AppLauncherApp::do_daptch ( )
overridevirtual

Executes the dispatch operation for the settings app.

Overrides base class method to provide custom dispatch logic.

Reimplemented from AppWidget.


The documentation for this class was generated from the following files: