CCIMXDesktop
 
Loading...
Searching...
No Matches
pagefactory.h
1#ifndef PAGEFACTORY_H
2#define PAGEFACTORY_H
3#include <QList>
4class QWidget;
5class AppCardWidget;
7class AppWidget;
12public:
13 /* build a homepage to the Desktop */
14
20 static QWidget* build_home_page(DesktopMainWindow* mainWindow);
21 /* using in build a pesudo pages */
22
32 static QList<AppWidget*> build_pesudo_page(
33 const QString& pixpath, int how_many, DesktopMainWindow* mainWindow);
34
35private:
42 static QList<AppCardWidget*> place_appcards_in_empty_widgets(DesktopMainWindow* mainWindow, QWidget* placed);
43};
44
45#endif // PAGEFACTORY_H
AppCardWidget is a lightweight widget used to post messages to a DesktopToast.
Definition appcardwidget.h:18
The AppWidget class represents an application widget placed on the desktop.
Definition appwidget.h:19
DesktopMainWindow is the main frontend window of the application. For beginners, this is the starting...
Definition desktopmainwindow.h:33
Page Factory produce pages for helping setup the pages :)
Definition pagefactory.h:11
static QList< AppWidget * > build_pesudo_page(const QString &pixpath, int how_many, DesktopMainWindow *mainWindow)
build a pesudo pages
static QWidget * build_home_page(DesktopMainWindow *mainWindow)
big front end to setup a home page
Definition pagefactory.cpp:15