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

DesktopMainWindow is the main frontend window of the application. For beginners, this is the starting point to understand the UI details. More...

#include <desktopmainwindow.h>

Inheritance diagram for DesktopMainWindow:

Public Slots

void handle_app_status (AppWidget::AppStatus status)
 Handle status changes of applications (like errors)
 
void open_settings_window ()
 open_settings_window catches the signals of open_settings
 
void open_launch_window ()
 open_launch_window
 
void install_for_new_dynamicpage (AppWidget *appWidgets)
 install_for_new_dynamicpage for the persistance apps of new
 
void process_set_appwidgets_config (const AppWidgetsSettingsInfoPack &info)
 process_set_appwidgets_config
 
void process_wallpaper_settings (BaseWallPaperSettings *settings)
 process_wallpaper_settings
 

Signals

void updateProgress (const QString &message, const int processings)
 updateProgress
 

Public Member Functions

 DesktopMainWindow (QWidget *parent=nullptr)
 Construct a new Desktop Main Window object.
 
 ~DesktopMainWindow ()
 Destroy the Desktop Main Window object.
 
 __PROPERTY_GETSET (int, slide_limitive)
 slider property setter
 
void init ()
 init init the windows sessions
 
void showToast (const QString &message)
 Show a toast message on the main window.
 
DesktopToastdesktop_toast () const
 Get pointer to DesktopToast handler.
 
WallPaperEnginequeryWallpaperEngine ()
 queryWallpaperEngine
 
DownDockWidgetdownDockWidget () const
 Get the global DownDockWidget instance.
 
void to_next_page ()
 Slide to the next page in UI.
 
void to_prev_page ()
 Slide to the previous page in UI.
 
void install_remote_appwrapper (ApplicationWrapper *wrapper)
 Install a remote application wrapper.
 
QStackedWidget * stackedWidget () const
 Get the QStackedWidget used for page sliding.
 
NetAbilityScannernetAbilityScanner () const
 netAbilityScanner get the netScanner
 
GlobalClockSourcesclock_src () const
 clock_src clock src fetcher
 
TopSideBarWidgettopSideBar () const
 topSideBar fetcher
 
void post_show ()
 Perform initialization after main window is shown.
 

Protected Member Functions

void mousePressEvent (QMouseEvent *event) override
 mouse press sessions
 
void mouseReleaseEvent (QMouseEvent *event) override
 mouse release sessions
 
void resizeEvent (QResizeEvent *event) override
 resize sessions
 

Friends

class PageFactory
 
class WallPaperEngine
 

Detailed Description

DesktopMainWindow is the main frontend window of the application. For beginners, this is the starting point to understand the UI details.

Constructor & Destructor Documentation

◆ DesktopMainWindow()

DesktopMainWindow::DesktopMainWindow ( QWidget *  parent = nullptr)
explicit

Construct a new Desktop Main Window object.

Parameters
parent

Member Function Documentation

◆ clock_src()

GlobalClockSources * DesktopMainWindow::clock_src ( ) const
inline

clock_src clock src fetcher

Returns

◆ desktop_toast()

DesktopToast * DesktopMainWindow::desktop_toast ( ) const
inline

Get pointer to DesktopToast handler.

Returns
DesktopToast instance

◆ downDockWidget()

DownDockWidget * DesktopMainWindow::downDockWidget ( ) const

Get the global DownDockWidget instance.

Returns
DownDockWidget instance

◆ handle_app_status

void DesktopMainWindow::handle_app_status ( AppWidget::AppStatus  status)
slot

Handle status changes of applications (like errors)

Parameters
statusCurrent app status

◆ install_remote_appwrapper()

void DesktopMainWindow::install_remote_appwrapper ( ApplicationWrapper wrapper)
inline

Install a remote application wrapper.

Parameters
wrapperPointer to ApplicationWrapper to install

◆ mousePressEvent()

void DesktopMainWindow::mousePressEvent ( QMouseEvent *  event)
overrideprotected

mouse press sessions

Parameters
event

◆ mouseReleaseEvent()

void DesktopMainWindow::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotected

mouse release sessions

Parameters
event

◆ netAbilityScanner()

NetAbilityScanner * DesktopMainWindow::netAbilityScanner ( ) const
inline

netAbilityScanner get the netScanner

Returns

◆ process_set_appwidgets_config

void DesktopMainWindow::process_set_appwidgets_config ( const AppWidgetsSettingsInfoPack info)
slot

process_set_appwidgets_config

Parameters
infoinfos

◆ process_wallpaper_settings

void DesktopMainWindow::process_wallpaper_settings ( BaseWallPaperSettings settings)
slot

process_wallpaper_settings

Parameters
settingspackages

◆ queryWallpaperEngine()

WallPaperEngine * DesktopMainWindow::queryWallpaperEngine ( )
inline

queryWallpaperEngine

Returns
WallPaperEngine instances

◆ resizeEvent()

void DesktopMainWindow::resizeEvent ( QResizeEvent *  event)
overrideprotected

resize sessions

Parameters
event

◆ showToast()

void DesktopMainWindow::showToast ( const QString &  message)

Show a toast message on the main window.

Parameters
messageMessage to display

◆ stackedWidget()

QStackedWidget * DesktopMainWindow::stackedWidget ( ) const

Get the QStackedWidget used for page sliding.

Returns
QStackedWidget pointer

◆ topSideBar()

TopSideBarWidget * DesktopMainWindow::topSideBar ( ) const

topSideBar fetcher

Returns

◆ updateProgress

void DesktopMainWindow::updateProgress ( const QString &  message,
const int  processings 
)
signal

updateProgress

Parameters
message
processings

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