29 #include "AppLaunchOptionsEvent.h"
32 #include <WindowProperties.h>
34 #include <QGraphicsSceneMouseEvent>
35 #include <QTouchEvent>
36 #include <QPainterPath>
41 #include <QPropertyAnimation>
43 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
55 class CardRoundedCornerShaderStage;
90 virtual void resizeWindowBufferEvent(
int w,
int h, QRect windowScreenBounds,
bool forceSync=
false,
bool ignoreFixedOrient=
false);
94 virtual void flipEventAsync(QRect windowScreenBounds,
bool fromQueue =
false);
95 virtual void asynchFlipCompleted(
int newWidth,
int newHeight,
int newScreenWidth,
int newScreenHeight);
124 virtual bool isHost()
const {
return false; }
200 int visibleWidth = width;
201 int visibleHeight = height;
203 if(
type() != WindowType::Type_ModalChildWindowCard) {
248 virtual void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget);
250 virtual void paintBase(QPainter* painter,
bool maximized);
461 QPointF positionModalWindowWrpParent(
int spaceAvailableAbove,
int windowHeight);
462 void positionModalForMorePositiveSpace(
int availablePosSpace,
int newPositiveSpace);
463 void positionModalForLessPositiveSpace(
int availablePosSpace,
int newPositiveSpace);
465 void increaseHeightAndPositionModalCard(
int availablePosSpace,
int newPositiveSpace);
466 void decreaseHeightAndPositionModalCard(
int availablePosSpace,
int newPositiveSpace);
468 void resetModalWindowPositionInfo();
469 void startModalAnimation();
470 void resizeModalCard();
471 void centerModal(
int availablePositiveSpace);
472 bool canPositionModalAtY(
int yLoc,
bool increasePositiveSpace,
int& correctYLoc);
474 int forwardToModal();
476 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
477 void handleTouchBegin(QTouchEvent *te);
478 void handleTouchEnd(QTouchEvent *te);
479 void handleTouchUpdate(QTouchEvent *te);