22 #ifndef SYSTEMUICONTROLLER_H
23 #define SYSTEMUICONTROLLER_H
30 #include <QMouseEvent>
33 #include <QSharedPointer>
34 #include <QWeakPointer>
41 #include "CustomEvents.h"
53 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
389 void slotEnterBrickMode(
bool val);
390 void slotExitBrickMode();
395 void slotSelectAll();
397 void slotAnimFinished();
399 void slotKeyEventRejected(
const SysMgrKeyEvent& event);
403 void startPositiveSpaceAnimation(
const QRect& start,
const QRect& end);
404 void stopPositiveSpaceAnimation();
405 void animValueChanged(
const QVariant& value);
407 void setSuspended(
bool);
408 void handleScreenEdgeFlickGesture(
QGesture* gesture);
410 Window* m_parentOfModalWindow;
411 Window* m_activeCardWindow;
412 Window* m_maximizedCardWindow;
414 Window* m_universalSearchWindow;
416 bool m_cardWindowAboutToMaximize;
417 bool m_cardWindowMaximized;
418 bool m_dashboardOpened;
419 bool m_dashboardSoftDismissable;
420 bool m_dashboardHasContent;
422 const bool m_dashboardOwnsNegativeSpace;
423 bool m_launcherShown;
426 bool m_universalSearchShown;
428 bool m_emergencyMode;
432 QRect m_positiveSpace;
433 QRect m_negativeSpace;
434 int m_minimumPositiveSpaceHeight;
435 int m_maximumPositiveSpaceHeight;
437 bool m_launcherVisible;
445 int m_dockBrightness;
446 bool m_statusBarAndNotificationShown;
448 int m_requestedNegativeSpaceTop;
450 int m_uiWidth, m_uiHeight;
461 void applyWindowProperties (
Window* win);
462 void removeWindowProperties ();
463 bool m_isBlockScreenTimeout;
464 bool m_isSubtleLightbar;
465 bool m_activeTouchpanel;
467 uint32_t m_overlayNotificationPosition;
468 bool m_suppressBannerMessages;
469 bool m_suppressGestures;
470 bool m_modalCardWindowActive;
473 struct DirectRenderLayer {
474 bool requestedDirectRendring;
479 int m_currentlyDirectRenderingLayer;
490 std::string getMenuTitleForMaximizedWindow(
Window* win);
492 QWeakPointer<QPixmap> m_iconProgressSurf;
493 QWeakPointer<QPixmap> m_iconWarningSurf;