Code Review
/
staging
/
HomeScreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
First integration of new HMI design
[staging/HomeScreen.git]
/
HomeScreen
/
src
/
layouthandler.h
diff --git
a/HomeScreen/src/layouthandler.h
b/HomeScreen/src/layouthandler.h
index
7487be5
..
9ca0a9f
100644
(file)
--- a/
HomeScreen/src/layouthandler.h
+++ b/
HomeScreen/src/layouthandler.h
@@
-12,8
+12,6
@@
public:
explicit LayoutHandler(QObject *parent = 0);
~LayoutHandler();
explicit LayoutHandler(QObject *parent = 0);
~LayoutHandler();
- void setUpLayouts();
-
signals:
public slots:
signals:
public slots:
@@
-25,10
+23,17
@@
private:
public slots:
QList<int> requestGetAllSurfacesOfProcess(int pid);
int requestGetSurfaceStatus(int surfaceId);
public slots:
QList<int> requestGetAllSurfacesOfProcess(int pid);
int requestGetSurfaceStatus(int surfaceId);
- void requestRenderSurfaceToArea(int surfaceId, const QRect &renderArea);
+ void requestRenderSurfaceToArea(int surfaceId, int layoutArea);
+ bool requestRenderSurfaceToAreaAllowed(int surfaceId, int layoutArea);
void requestSurfaceIdToFullScreen(int surfaceId);
void setLayoutByName(QString layoutName);
void requestSurfaceIdToFullScreen(int surfaceId);
void setLayoutByName(QString layoutName);
+ // this will receive the surfaceVisibilityChanged signal of the windowmanager
+ void requestSurfaceVisibilityChanged(int surfaceId, bool visible);
+
+Q_SIGNALS: // SIGNALS
+ void surfaceVisibilityChanged(int surfaceId, bool visible);
+
protected:
void timerEvent(QTimerEvent *e);
private:
protected:
void timerEvent(QTimerEvent *e);
private: